mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
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:
parent
2190a31dac
commit
f7655e226c
1 changed files with 4 additions and 5 deletions
|
|
@ -1,10 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* This config file is for the Samsung YP-CP3 (rk27xx)
|
* 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 */
|
/* For Rolo and boot loader */
|
||||||
|
|
@ -101,6 +96,10 @@
|
||||||
/* Define the type of audio codec */
|
/* Define the type of audio codec */
|
||||||
#define HAVE_RK27XX_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 this for LCD backlight available */
|
||||||
#define HAVE_BACKLIGHT
|
#define HAVE_BACKLIGHT
|
||||||
#define HAVE_BACKLIGHT_BRIGHTNESS
|
#define HAVE_BACKLIGHT_BRIGHTNESS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue