Skip to content

Commit 64da060

Browse files
andyshrkmmind
authored andcommitted
arm64: dts: rockchip: Fix the i2c address of es8316 on Cool Pi CM5
According to the hardware design, the i2c address of audio codec es8316 on Cool Pi CM5 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: 791c154 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB") Signed-off-by: Andy Yan <andyshrk@163.com> Link: https://lore.kernel.org/r/20240324112833.2181961-1-andyshrk@163.com [also adapted the node name to audio-codec@10] Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent d7ed698 commit 64da060

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,9 @@
216216
pinctrl-0 = <&i2c7m0_xfer>;
217217
status = "okay";
218218

219-
es8316: audio-codec@11 {
219+
es8316: audio-codec@10 {
220220
compatible = "everest,es8316";
221-
reg = <0x11>;
221+
reg = <0x10>;
222222
assigned-clocks = <&cru I2S0_8CH_MCLKOUT>;
223223
assigned-clock-rates = <12288000>;
224224
clocks = <&cru I2S0_8CH_MCLKOUT>;

0 commit comments

Comments
 (0)