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
This commit is contained in:
Marcin Bukat 2026-09-29 09:30:23 +02:00
parent 2190a31dac
commit f7655e226c

View file

@ -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