rockbox/firmware/export/config
Marcin Bukat 361913fdd2 YP-CP3: make the WM8750 the I2S master
The WM8750 frames its ADC on ADCLRC and its DAC on DACLRC. As the I2S
slave both are inputs, and the rk27xx has a single LRCK, which on the
YP-CP3 evidently does not reach ADCLRC: with the rk27xx as the master,
the recording DMA got exact zeros on most visits to the recording
screen and real samples only by chance, sometimes changing partway
through a visit. That stays so with the codec PLL no longer glitching
the I2S clocks (previous commit); with the codec as the master it does
not happen.

The codec now drives BCLK and both LRCKs itself, and the rk27xx I2S
transmitter and receiver are slaves. The codec's MCLK still comes from
the rk27xx codec PLL at 256 fs, so sample rates stay exact. The
original firmware runs the codec as master too, but off a fixed 12 MHz
in USB mode.

RK27XX_I2S_MCLK says the rk27xx makes the codec's MCLK, apart from
CODEC_SLAVE, which also makes it the I2S master. The YP-CP3 drops
CODEC_SLAVE for RK27XX_I2S_MCLK, and the WM8750 driver sets its master
bit as it does for any codec that is not a slave.

Tested on a YP-CP3: playback, FM radio, the recording screen's peak
meter on every visit, recording from the microphone and from FM.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Change-Id: I0dc93d3b2c45fddf61649702a931d11806e78cbf
2026-10-05 22:35:12 +02:00
..
3ds.h 3ds: Port refactor. 2026-09-01 08:39:07 -04:00
agptekrocker.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
aigoerosq.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
android.h Fix warnings introduced in prior commit 2025-10-12 17:20:20 -04:00
cowond2.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
creativezen.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenmozaic.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenv.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenxfi.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenxfi2.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenxfi3.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
creativezenxfistyle.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
echor1.h stm32h743: implement timer API 2026-07-11 17:23:36 -04:00
erosqnative.h x1000: rewrite SD driver using sdmmc_host 2026-08-29 14:48:12 -04:00
fiiom3k.h x1000: rewrite SD driver using sdmmc_host 2026-08-29 14:48:12 -04:00
fiiom3klinux.h hosted: consolidate sysfs-based battery measurement code 2025-12-01 13:39:04 +00:00
gigabeatfx.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
gigabeats.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
gogearhdd1630.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
gogearhdd6330.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
gogearsa9200.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
hibylinux.h hiby: raise the plugin buffer to 2MiB on the 64MB targets 2026-07-27 08:03:54 +01:00
hibyr1.h keyboard: point-mode virtual keyboard for touchscreens 2026-08-25 09:56:46 -04:00
hibyr3proii.h keyboard: point-mode virtual keyboard for touchscreens 2026-08-25 09:56:46 -04:00
hidizsap80max.h ap80max: New hosted port 2026-08-13 17:55:06 -07:00
hifietma8.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
hifietma8c.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
hifietma9.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
hifietma9c.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
hifimanhm60x.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
hifimanhm801.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
iaudiom3.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
iaudiom5.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
iaudiox5.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
ibassodx50.h usb: Fix usb mode not initialized/restored on the DX50/DX90 2026-07-03 12:26:34 -04:00
ibassodx90.h usb: Fix usb mode not initialized/restored on the DX50/DX90 2026-07-03 12:26:34 -04:00
ihifi760.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
ihifi770.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
ihifi770c.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
ihifi800.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
ihifi960.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
imx233-config.h Fix red in 7e31f2a6d5 2026-01-19 13:49:51 -05:00
ipod1g2g.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
ipod3g.h ipod: Turn on SMART support for all PP502x-based iPods 2025-09-16 10:59:57 -04:00
ipod4g.h ipod4g: Pull LCD framebuffer out of IRAM 2026-04-14 10:27:20 -04:00
ipod6g.h ipod6g: add hardware H.264 video playback 2026-09-13 08:07:59 -04:00
ipodcolor.h config: USB_CHARGING_FORCE must be enabled for all iPods 2026-02-23 16:11:38 -05:00
ipodmini1g.h config: USB_CHARGING_FORCE must be enabled for all iPods 2026-02-23 16:11:38 -05:00
ipodmini2g.h config: USB_CHARGING_FORCE must be enabled for all iPods 2026-02-23 16:11:38 -05:00
ipodnano1g.h config: USB_CHARGING_FORCE must be enabled for all iPods 2026-02-23 16:11:38 -05:00
ipodnano2g.h usb: Clean up the pile of USB_FULL_INIT exceptions 2026-01-27 10:27:09 -05:00
ipodnano3g.h ipodnano3g: power, RTC, backlight, battery and audio 2026-09-20 08:53:53 -04:00
ipodnano4g.h ipodnano3g/4g: fix compile issues for normal build 2026-02-04 07:51:40 -05:00
ipodvideo.h config: USB_CHARGING_FORCE must be enabled for all iPods 2026-02-23 16:11:38 -05:00
iriverh10.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
iriverh10_5gb.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
iriverh100.h firmware: move iriver flash helper functions into target tree 2026-09-23 13:44:45 -04:00
iriverh120.h firmware: move iriver flash helper functions into target tree 2026-09-23 13:44:45 -04:00
iriverh300.h firmware: move iriver flash helper functions into target tree 2026-09-23 13:44:45 -04:00
librockplay.h buflib: Check the validity of of handles passed to buflib_get_data() in DEBUG builds. 2014-02-02 16:59:29 +01:00
mpiohd200.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
mpiohd300.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
mrobe100.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
mrobe500.h chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
ondavx747.h chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
ondavx767.h chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
ondavx777.h chore: Get rid of *all* vestigal CVS '$Id:$' tags 2026-06-01 16:01:18 -04:00
rgnano.h hosted: consolidate sysfs-based battery measurement code 2025-12-01 13:39:04 +00:00
rk27generic.h rk27xx: name the NAND's FTL scheme in each target's config 2026-10-01 12:15:25 +02:00
samsungyh820.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
samsungyh920.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
samsungyh925.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
samsungypcp3.h YP-CP3: make the WM8750 the I2S master 2026-10-05 22:35:12 +02:00
samsungypr0.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
samsungypr1.h Fix warnings introduced in prior commit 2025-10-12 17:20:20 -04:00
sansac200.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansac200v2.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansaclip.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansaclipplus.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansaclipv2.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansaclipzip.h Sansa Clip Zip: Implement LCD flip (180 degree rotation) 2026-06-14 23:16:17 -04:00
sansaconnect.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansae200.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansae200v2.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansafuze.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansafuzeplus.h sansafuzeplus: Support up to 96KHz playback. 2026-02-17 14:37:38 -05:00
sansafuzev2.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sansam200v4.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sdlapp.h Fix warnings introduced in prior commit 2025-10-12 17:20:20 -04:00
shanlingq1.h x1000: rewrite SD driver using sdmmc_host 2026-08-29 14:48:12 -04:00
sim.h firmware: move iriver flash helper functions into target tree 2026-09-23 13:44:45 -04:00
sonynwa20.h sonynwz: Properly support multidrive, with hotswap of the SD card 2020-10-18 10:19:42 -04:00
sonynwza10.h sonynwz: Properly support multidrive, with hotswap of the SD card 2020-10-18 10:19:42 -04:00
sonynwza860.h Add support for the NWZ-A860 2017-09-17 00:03:02 +02:00
sonynwze350.h Add support for the NWZ-E350 2017-09-17 23:47:49 +02:00
sonynwze360.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
sonynwze370.h imx233: move SoC-specific config symbols to separate header 2026-01-19 12:47:57 -05:00
sonynwze450.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
sonynwze460.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
sonynwze470.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
sonynwze580.h Initial commit for the Sony NWZ linux port 2017-09-05 21:42:12 +02:00
sonynwzlinux.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
sonynwzs750.h Add support for the Sony NWZ-S750 2017-09-17 14:35:58 +02:00
surfansf28.h surfansf28: Correct touchscreen operation 2026-01-17 19:58:21 -05:00
vibe500.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
xduoox3.h xduoox3: Disable CONFIG_STORAGE_MULTI 2026-02-23 08:23:47 -05:00
xduoox3ii.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00
xduoox20.h Remove BATTERY_TYPES 2025-03-11 02:26:38 -04:00