From 2f7c68cb55ecb7331f2381deb497c27155f32faf Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 03 Jan 2024 09:43:39 +0000 Subject: [PATCH] update kernel to 5.10.198 --- kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dtsi | 27 ++++++++++++++++++--------- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dtsi b/kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dtsi index 9534104..d562124 100644 --- a/kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dtsi +++ b/kernel/arch/arm64/boot/dts/rockchip/rk3588-vehicle-evb-v20.dtsi @@ -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"; -- Gitblit v1.6.2