mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-09 23:53:28 -04:00
rk27generic: FM radio screen keys, tuner noted as an RDA5807P
The FM screen had no actions for the rk27xx generic keypad; give it those its keymap already maps (menu, play, stop, exit) in radio.c. The board's tuner is an RDA5807P. It keeps being driven as a TEA5767, in the chip's compatible mode, as the original firmware does: tuning, seek and the stereo indicator work so, and the RDA mode would bring nothing here - this variant has no RDS. Say so next to CONFIG_TUNER. The tuner's audio is on the codec's line input 1: only that line is powered and mixed in while the radio plays (RK27XX_CODEC_FM_LINE 1). With line 2 instead the radio is silent. Tested on the rk27generic board: manual tuning, seek, stereo indicator and audio. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I2135ee484705ff0fce6d88e73288d8ed2aec6c2d
This commit is contained in:
parent
19caf27567
commit
89e9ade855
2 changed files with 10 additions and 0 deletions
|
|
@ -97,6 +97,12 @@
|
|||
#define FM_PLAY
|
||||
#define FM_MODE
|
||||
|
||||
#elif (CONFIG_KEYPAD == RK27XX_GENERIC_PAD)
|
||||
#define FM_MENU
|
||||
#define FM_PLAY
|
||||
#define FM_STOP
|
||||
#define FM_EXIT
|
||||
|
||||
#elif (CONFIG_KEYPAD == SAMSUNG_YPR0_PAD)
|
||||
#define FM_MENU
|
||||
#define FM_PRESET
|
||||
|
|
|
|||
|
|
@ -109,8 +109,12 @@
|
|||
/* Define the type of audio codec */
|
||||
#define HAVE_RK27XX_CODEC
|
||||
|
||||
/* The tuner is an RDA5807P, driven in its TEA5767 compatible mode as the
|
||||
* original firmware does - it has no RDS, and its own mode brings nothing */
|
||||
#define CONFIG_TUNER TEA5767
|
||||
#define CONFIG_TUNER_XTAL 32768
|
||||
/* its audio is on the codec's line input 1 */
|
||||
#define RK27XX_CODEC_FM_LINE 1
|
||||
|
||||
/* #define HAVE_PCM_DMA_ADDRESS */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue