arm64: dts: rockchip: fix audio on Firefly-RK3399
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first
Changes in v2 from the cover letter
- 1/3 is new: model the headphone output enable GPIO as a simple-audio-amplifier aux device, the way rk3399-roc-pc-plus.dts does.
- 2/3 replaces the old 1/2. It now splits GPIO4_A0 into its own pinctrl group and gives it to i2s1 before disabling i2s0, instead of just removing the override.
- 3/3 is the old 2/2, unchanged apart from the commit message.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | arm64: dts: rockchip: fix analog headphone output on rk3399-fireflyarch/ | +14 | 0 replies | |
| 2/3 | arm64: dts: rockchip: disable unused i2s0 on rk3399-fireflyarch/ | +8 | 0 replies | |
| 3/3 | arm64: dts: rockchip: enable HDMI audio on rk3399-fireflyarch/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] arm64: dts: rockchip: fix audio on Firefly-RK3399
This supersedes my earlier two-patch series [1].
Patch 1/2 there dropped the &i2s0 override outright. That is wrong: the i2s0 pin groups also list GPIO4_A0, which carries SCLK_I2S_8CH_OUT, the codec MCLK. Dropping the override unmuxes that pin and leaves analog audio dead. I have asked for that series to be dropped. The HDMI patch depended on it, so it is not resent on its own but as 3/3 here.
1/3 is independent of the other two and fixes a separate bug: the GPIO that gates the headphone output is muxed by the board file but never claimed or driven, so the jack has never worked with a mainline kernel.
2/3 and 3/3 have to stay in this order; 3/3 needs the pl330 channels that 2/3 frees.
Changes in v2:
- 1/3 is new: model the headphone output enable GPIO as a simple-audio-amplifier aux device, the way rk3399-roc-pc-plus.dts does.
- 2/3 replaces the old 1/2. It now splits GPIO4_A0 into its own pinctrl group and gives it to i2s1 before disabling i2s0, instead of just removing the override.
- 3/3 is the old 2/2, unchanged apart from the commit message.
Tested on a Firefly-RK3399 running 6.18. What was not done: the patched tree was not built as a full kernel, and the DTS was compiled and the resulting DTB inspected instead; the changes were exercised on the board through an equivalent DTB rather than a kernel built from this tree. I have no schematic for the board, so 1/3 relies on measurement rather than on knowing what the GPIO switches.
[1] https://lore.kernel.org/all/[email protected]/
Yaozhong Li (3):
arm64: dts: rockchip: fix analog headphone output on rk3399-firefly
arm64: dts: rockchip: disable unused i2s0 on rk3399-firefly
arm64: dts: rockchip: enable HDMI audio on rk3399-firefly
.../boot/dts/rockchip/rk3399-firefly.dts | 36 +++++++++++++------ 1 file changed, 26 insertions(+), 10 deletions(-)
Signature · 7 lines
2.55.0.windows.3 _______________________________________________ Linux-rockchip mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-rockchip