diff options
author | Lorenzo Miori <memorys60@gmail.com> | 2012-04-07 10:30:23 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-05-28 19:39:14 +0200 |
commit | 3cad5573b68917442564dc4f210fac056447c5cd (patch) | |
tree | 16e7f637a7bf9a22b00fde445a97f267b5467cc2 /firmware/export | |
parent | 9c33f93c1c9bfd37f33f638eccceefa4c0d5b5e6 (diff) | |
download | rockbox-3cad5573b68917442564dc4f210fac056447c5cd.tar.gz rockbox-3cad5573b68917442564dc4f210fac056447c5cd.zip |
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')
-rw-r--r-- | firmware/export/config/samsungypr0.h | 15 |
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 @@ | |||
75 | //#define HAVE_RTC_RAM | 75 | //#define HAVE_RTC_RAM |
76 | 76 | ||
77 | /* define this if you have a real-time clock */ | 77 | /* define this if you have a real-time clock */ |
78 | //#define CONFIG_RTC APPLICATION | ||
79 | #define CONFIG_RTC RTC_AS3514 | 78 | #define CONFIG_RTC RTC_AS3514 |
80 | #define HAVE_RTC_ALARM | 79 | #define HAVE_RTC_ALARM |
81 | 80 | ||
@@ -103,9 +102,17 @@ | |||
103 | 102 | ||
104 | #define HAVE_SW_TONE_CONTROLS | 103 | #define HAVE_SW_TONE_CONTROLS |
105 | 104 | ||
106 | /* TODO: Make use of the si4703 tuner hardware */ | 105 | #define CONFIG_TUNER SI4700 |
107 | /* #define CONFIG_TUNER SI4700 */ | 106 | #define HAVE_TUNER_PWR_CTRL |
108 | /* #define HAVE_TUNER_PWR_CTRL*/ | 107 | |
108 | /* TODO: next step: enable RDS | ||
109 | #define HAVE_RDS_CAP | ||
110 | #define RDS_ISR_PROCESSING | ||
111 | */ | ||
112 | |||
113 | /* Define this for FM radio input available */ | ||
114 | #define HAVE_FMRADIO_IN | ||
115 | #define INPUT_SRC_CAPS SRC_CAP_FMRADIO | ||
109 | 116 | ||
110 | /* We have a GPIO that detects it */ | 117 | /* We have a GPIO that detects it */ |
111 | #define HAVE_HEADPHONE_DETECTION | 118 | #define HAVE_HEADPHONE_DETECTION |