1
0
Fork 0
forked from len0rd/rockbox

ypr0: This patch adds radio support to Samsung YP-R0

Basically it uses the default SI4700 radio chip driver, the only thing that's different is the I2C access,
written specifically to interact with my kernel module.
Next things to add are:
- RDS support!

Change-Id: I0ed125641e00f93124d7a34f90dd508e7f1db5a4
Signed-off-by: Lorenzo Miori <memorys60@gmail.com>
This commit is contained in:
Lorenzo Miori 2012-04-07 10:30:23 +02:00 committed by Thomas Martitz
parent 9c33f93c1c
commit 3cad5573b6
12 changed files with 335 additions and 9 deletions

View file

@ -127,6 +127,16 @@
#define FM_MODE
#define FM_STOP
#elif (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD)
#define FM_MENU
#define FM_PRESET
#define FM_STOP
#define FM_MODE
#define FM_EXIT
#define FM_PLAY
#define FM_PREV_PRESET
#define FM_NEXT_PRESET
#endif
/* presets.c needs these so keep unstatic or redo the whole thing! */