summaryrefslogtreecommitdiff
path: root/firmware/export/config/samsungypr0.h
diff options
context:
space:
mode:
authorLorenzo Miori <memorys60@gmail.com>2012-04-07 10:30:23 +0200
committerThomas Martitz <kugel@rockbox.org>2012-05-28 19:39:14 +0200
commit3cad5573b68917442564dc4f210fac056447c5cd (patch)
tree16e7f637a7bf9a22b00fde445a97f267b5467cc2 /firmware/export/config/samsungypr0.h
parent9c33f93c1c9bfd37f33f638eccceefa4c0d5b5e6 (diff)
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>
Diffstat (limited to 'firmware/export/config/samsungypr0.h')
-rw-r--r--firmware/export/config/samsungypr0.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/firmware/export/config/samsungypr0.h b/firmware/export/config/samsungypr0.h
index 48e98e5b46..10d7aaecb8 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