]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Switch to hp-det-gpios
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 27 Sep 2024 12:42:22 +0000 (14:42 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 5 Oct 2024 17:22:32 +0000 (19:22 +0200)
Replace the deprecated "hp-det-gpio" property by "hp-det-gpios" in Audio
Graph Card and Realtek RT5651 Audio Codec device nodes.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/717e7c9527139c3a3e5246dd367a3ad98c5c81b6.1727438777.git.geert+renesas@glider.be
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3368-lba3368.dts
arch/arm64/boot/dts/rockchip/rk3399-eaidk-610.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts
arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4c.dts
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator.dts
arch/arm64/boot/dts/rockchip/rk3588-armsom-sige7.dts
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

index e0cc4da7f392daf92cdce7fe4d99163382cba58b..c08687df326ddc21804efa3fb9692ed50c68df36 100644 (file)
@@ -47,7 +47,7 @@
        analog-sound {
                compatible = "audio-graph-card";
                dais = <&i2s_8ch_p0>;
-               hp-det-gpio = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
+               hp-det-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>;
                label = "alc5640";
                routing = "Mic Jack", "MICBIAS1",
                          "IN1P", "Mic Jack",
index 1489eb32e266a748daed4a2eef5d6462ba2514d6..80150ff25e02c708899d0e905ba052ad38947407 100644 (file)
                reg = <0x1a>;
                clocks = <&cru SCLK_I2S_8CH_OUT>;
                clock-names = "mclk";
-               hp-det-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
+               hp-det-gpios = <&gpio4 RK_PD4 GPIO_ACTIVE_LOW>;
                spk-con-gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
                #sound-dai-cells = <0>;
        };
index 725ac3c1f6f6501d3b02f96b436adaba74266e7f..4fc9c13dbec123903dfb80313b6c153d43c13d27 100644 (file)
@@ -21,5 +21,5 @@
 };
 
 &sound {
-       hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
+       hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
 };
index 682e8b7297c180b61bb88696f106e4ad96573ea3..9c741d1a3047e758ea9b96cd6e758d46b956bf27 100644 (file)
@@ -39,7 +39,7 @@
 };
 
 &sound {
-       hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
+       hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
 };
 
 &uart0 {
index 82ad2ca6b5c2fc92ecba428522c110fd4fa5b84b..5dc5505b58e2ee10371adf1d3c25d602c7e8fb66 100644 (file)
@@ -40,7 +40,7 @@
 };
 
 &sound {
-       hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
+       hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
 };
 
 &spi1 {
index dbec2b7173a0b677a032fa71b5d6e65e33a1ab24..9ef17ac961d3c45156183df33d282d05b71e86e0 100644 (file)
                reg = <0x1a>;
                clocks = <&cru SCLK_I2S_8CH_OUT>;
                clock-names = "mclk";
-               hp-det-gpio = <&gpio4 RK_PC4 GPIO_ACTIVE_LOW>;
+               hp-det-gpios = <&gpio4 RK_PC4 GPIO_ACTIVE_LOW>;
                spk-con-gpio = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
                #sound-dai-cells = <0>;
        };
index c667704ba985e463567e77be64d6e35164f91763..aefa0d376dd8af20f09a25237f044b9addc7cc0a 100644 (file)
@@ -23,7 +23,7 @@
                compatible = "audio-graph-card";
                dais = <&i2s0_8ch_p0>;
                label = "rk3588-es8316";
-               hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
+               hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&hp_detect>;
                routing = "MIC2", "Mic Jack",
index d0b922b8d67e85a0f22ea3a1aa3af0fdaa8bd029..e4e6c23c66845066b610329030c018c76d3b37a1 100644 (file)
@@ -46,7 +46,7 @@
                compatible = "audio-graph-card";
                label = "rk3588-es8316";
                dais = <&i2s0_8ch_p0>;
-               hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
+               hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&hp_detect>;
                routing = "MIC2", "Mic Jack",
index 966bbc582d89b89c0c4847132ce789d6af1cb847..8d3bbfd996560289330687e08f02f8a1e6c6525a 100644 (file)
@@ -32,7 +32,7 @@
                          "Headphones", "HPOR";
 
                dais = <&i2s0_8ch_p0>;
-               hp-det-gpio = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
+               hp-det-gpios = <&gpio1 RK_PD5 GPIO_ACTIVE_HIGH>;
                pinctrl-names = "default";
                pinctrl-0 = <&hp_detect>;
        };