From 3cad5573b68917442564dc4f210fac056447c5cd Mon Sep 17 00:00:00 2001 From: Lorenzo Miori Date: Sat, 7 Apr 2012 10:30:23 +0200 Subject: 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 --- apps/radio/radio.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'apps/radio/radio.c') diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 9f139f49a6..326e6a3bb0 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c @@ -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! */ -- cgit v1.2.3