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 --- firmware/export/config/samsungypr0.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h index 48e98e5..10d7aae 100644 --- a/firmware/export/config/samsungypr0.h +++ b/firmware/export/config/samsungypr0.h @@ -75,7 +75,6 @@ //#define HAVE_RTC_RAM /* define this if you have a real-time clock */ -//#define CONFIG_RTC APPLICATION #define CONFIG_RTC RTC_AS3514 #define HAVE_RTC_ALARM @@ -103,9 +102,17 @@ #define HAVE_SW_TONE_CONTROLS -/* TODO: Make use of the si4703 tuner hardware */ -/* #define CONFIG_TUNER SI4700 */ -/* #define HAVE_TUNER_PWR_CTRL*/ +#define CONFIG_TUNER SI4700 +#define HAVE_TUNER_PWR_CTRL + +/* TODO: next step: enable RDS +#define HAVE_RDS_CAP +#define RDS_ISR_PROCESSING +*/ + +/* Define this for FM radio input available */ +#define HAVE_FMRADIO_IN +#define INPUT_SRC_CAPS SRC_CAP_FMRADIO /* We have a GPIO that detects it */ #define HAVE_HEADPHONE_DETECTION -- cgit v1.1