From f7655e226c735187e1847ce3dbcb3c652b9e5c3c Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Tue, 29 Sep 2026 09:30:23 +0200 Subject: [PATCH] Samsung YP-CP3: Seiko S-35390A on I2C as RTC Found in the original firmware by its command-in-address protocol and bit-reversed data; the original firmware leaves it in 12-hour mode, which the driver now handles. Change-Id: I9f4147d3057aaa6aa498a1750cb4e746d69b1be6 --- firmware/export/config/samsungypcp3.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/firmware/export/config/samsungypcp3.h b/firmware/export/config/samsungypcp3.h index 7e206dd036..d716ab2aca 100644 --- a/firmware/export/config/samsungypcp3.h +++ b/firmware/export/config/samsungypcp3.h @@ -1,10 +1,5 @@ /* * This config file is for the Samsung YP-CP3 (rk27xx) - * - * Bring-up state: LCD, backlight, NAND (Scheme A FTL), SD and USB are the - * rk27xx drivers, the LCD with this panel's init sequence; the keys are - * mapped. Power hold, battery measurement, the audio path and any tuner - * are not - see the TODOs in firmware/target/arm/rk27xx/ypcp3/. */ /* For Rolo and boot loader */ @@ -101,6 +96,10 @@ /* Define the type of audio codec */ #define HAVE_RK27XX_CODEC +/* Seiko S-35390A real-time clock on I2C, left in 12-hour mode by the + * original firmware */ +#define CONFIG_RTC RTC_S35390A + /* Define this for LCD backlight available */ #define HAVE_BACKLIGHT #define HAVE_BACKLIGHT_BRIGHTNESS