arm64: dts: rockchip: rk3588-vehicle-evb: use a spi-codec driver for the remote adsp

Change to use a spi-codec driver for the remote adsp, instead of the old
dummy codec driver.

Change-Id: I44a41dbdfe8a7489cc94d9a8f83a5b5f0d99a4c8
Signed-off-by: Jun Zeng <jun.zeng@rock-chips.com>
This commit is contained in:
Jun Zeng
2023-11-24 17:53:44 +08:00
committed by Tao Huang
parent bf10d7edd8
commit 3e396a0fff
2 changed files with 36 additions and 18 deletions

View File

@@ -118,14 +118,6 @@
status = "okay";
};
dummy_codec: dummy-codec {
status = "okay";
compatible = "rockchip,dummy-codec";
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&rk3308_reset>;
};
car_rk3308_sound: car-rk3308-sound {
status = "okay";
compatible = "simple-audio-card";
@@ -140,7 +132,7 @@
dai-tdm-slot-width = <32>;
};
codec_master: simple-audio-card,codec {
sound-dai = <&dummy_codec>;
sound-dai = <&spi_codec>;
};
};
};
@@ -326,6 +318,23 @@
status = "disabled";
};
&spi4 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi4m0_cs1 &spi4m0_pins>;
spi_codec: spi-codec@1 {
compatible ="rockchip,spi-codec";
reg = <1>;
spi-lsb-first;
spi-max-frequency = <5000000>;
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&rk3308_reset>;
status = "okay";
};
};
&uart9 {
status = "okay";
pinctrl-names = "default";

View File

@@ -130,14 +130,6 @@
status = "okay";
};
dummy_codec: dummy-codec {
status = "okay";
compatible = "rockchip,dummy-codec";
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&rk3308_reset>;
};
car_rk3308_sound: car-rk3308-sound {
status = "okay";
compatible = "simple-audio-card";
@@ -152,7 +144,7 @@
dai-tdm-slot-width = <32>;
};
codec_master: simple-audio-card,codec {
sound-dai = <&dummy_codec>;
sound-dai = <&spi_codec>;
};
};
};
@@ -339,6 +331,23 @@
status = "disabled";
};
&spi4 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spi4m0_cs1 &spi4m0_pins>;
spi_codec: spi-codec@1 {
compatible ="rockchip,spi-codec";
reg = <1>;
spi-lsb-first;
spi-max-frequency = <5000000>;
#sound-dai-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&rk3308_reset>;
status = "okay";
};
};
&uart7 {
/delete-property/ dmas;
status = "okay";