Files
bfe-core1106-sdk/kernel/rv1106-enablement/dts
BFE EngineeringandClaude Opus 4.8 cdbfd7bb72 kernel/rv1106: audio codec VERIFIED — sound card + PCM registers
Ported rv1106_codec.c (acodec) + rk_dsm.c (built, dsm disabled — panel uses
acodec) into 6.18 (6 ASoC API-delta fixes: gpiod, volsw unify, DAIFMT CBC/CBP
rename, remove->void, header swaps). simple-audio-card 'rv1106-acodec'.

Fixed the subagent's gap: cpu DAI SND_SOC_ROCKCHIP_I2S_TDM was left =m (module,
never loaded on bare _b boot) so the card stuck in 'asoc-simple-card: parse
error' deferred probe. Set it + SND_SOC_ROCKCHIP =y.

 VERIFIED on c8a3: /proc/asound/cards shows rv1106-acodec; aplay -l shows
card 0 device 0 ffae0000.i2s-rv1106-hifi; /dev/snd has pcmC0D0p + pcmC0D0c.
Audible speaker test deferred to the bench (with display).

Six drivers verified this run: wifi, TRNG, OTP, GMAC, SARADC, audio.
audio/PORT-PROGRESS.md; DRIVER-PARITY updated; dts snapshot refreshed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017wB8KB3MMQztRDXCMCkPrf
2026-08-25 01:22:35 -06:00
..

RV1106 6.18 devicetree

  • rv1106-warden.dts — our board DT. #includes the vendor rv1106.dtsi (the full SoC: pinctrl, gpio×5, dmac, cru+grf_cru, uart, emmc, i2c, saradc, watchdog, usb, vop, npu, rga, …), then enables only what the wall-HMI needs. No camera/ISP/CSI. Grows one driver batch at a time (see ../DRIVER-PARITY.md).
  • rv1106-warden-m2.dts — the earlier standalone minimal DT used to bring up M2/M3 before the full-SoC transplant; kept for reference.

Transplanting the vendor SoC DT onto 6.18 (recipe)

Copy into arch/arm/boot/dts/rockchip/ of the 6.18 tree: rv1106.dtsi, rv1106-pinctrl.dtsi, rockchip-pinconf.dtsi. Copy the vendor-only dt-bindings headers into include/dt-bindings/: soc/rockchip-system-status.h, suspend/rockchip-rv1106.h, display/media-bus-format.h, and overwrite soc/rockchip,boot-mode.h with the vendor's (it has extra BOOT_CHARGING/UMS/PANIC/WATCHDOG constants the DT uses). Then the two hardware deltas:

  1. Delete the psci node from rv1106.dtsi. RV1106 has no secure monitor in our boot chain, so arm,psci-1.0 + method="smc" makes the SMC call fault → Oops - bad modeAttempted to kill the idle task. (Confirmed on c8a3.)
  2. Enable the peripherals in the board DTS (&uart2, &emmc, …).

Verified on warden-c8a3: pinctrl, gpio04, pl330 DMA, uart1/2/4, i2c3, dw-wdt all probe; full WardenOS userspace boots.