Skip to content

Commit 5d101df

Browse files
andyshrkmmind
authored andcommitted
arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi 4B
According to the hardware design, the i2c address of audio codec es8316 on Cool Pi 4B is 0x10. This fix the read/write error like bellow: es8316 7-0011: ASoC: error at soc_component_write_no_lock on es8316.7-0011 for register: [0x0000000c] -6 es8316 7-0011: ASoC: error at soc_component_write_no_lock on es8316.7-0011 for register: [0x00000003] -6 es8316 7-0011: ASoC: error at soc_component_read_no_lock on es8316.7-0011 for register: [0x00000016] -6 es8316 7-0011: ASoC: error at soc_component_read_no_lock on es8316.7-0011 for register: [0x00000016] -6 Fixes: 3f5d336 ("arm64: dts: rockchip: Add support for rk3588s based board Cool Pi 4B") Signed-off-by: Andy Yan <andyshrk@163.com> Link: https://lore.kernel.org/r/20240623115526.2154645-1-andyshrk@163.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 02afd3d commit 5d101df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588s-coolpi-4b.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,9 +288,9 @@
288288
pinctrl-0 = <&i2c7m0_xfer>;
289289
status = "okay";
290290

291-
es8316: audio-codec@11 {
291+
es8316: audio-codec@10 {
292292
compatible = "everest,es8316";
293-
reg = <0x11>;
293+
reg = <0x10>;
294294
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
295295
assigned-clock-rates = <12288000>;
296296
clocks = <&cru I2S0_8CH_MCLKOUT>;

0 commit comments

Comments
 (0)