mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 03:20:25 -04:00
arm64: dts: rockchip: Switch to hp-det-gpios
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>
This commit is contained in:
committed by
Heiko Stuebner
parent
7ac5c0a592
commit
3ca743f8a5
@@ -47,7 +47,7 @@ button-recovery {
|
||||
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",
|
||||
|
||||
@@ -545,7 +545,7 @@ rt5651: audio-codec@1a {
|
||||
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>;
|
||||
};
|
||||
|
||||
@@ -21,5 +21,5 @@ &es8316 {
|
||||
};
|
||||
|
||||
&sound {
|
||||
hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ brcmf: wifi@1 {
|
||||
};
|
||||
|
||||
&sound {
|
||||
hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&uart0 {
|
||||
|
||||
@@ -40,7 +40,7 @@ brcmf: wifi@1 {
|
||||
};
|
||||
|
||||
&sound {
|
||||
hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
hp-det-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
&spi1 {
|
||||
|
||||
@@ -167,7 +167,7 @@ rt5651: rt5651@1a {
|
||||
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>;
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ analog-sound {
|
||||
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",
|
||||
|
||||
@@ -46,7 +46,7 @@ analog-sound {
|
||||
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",
|
||||
|
||||
@@ -32,7 +32,7 @@ analog-sound {
|
||||
"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>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user