* [PATCH v2] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios
@ 2025-02-05 10:54 Geert Uytterhoeven
2025-02-21 9:32 ` Thomas Bogendoerfer
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2025-02-05 10:54 UTC (permalink / raw)
To: Paul Cercueil, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Thomas Bogendoerfer
Cc: linux-mips, devicetree, Geert Uytterhoeven, Krzysztof Kozlowski
Replace the deprecated "simple-audio-card,hp-det-gpio" property by
"simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
---
v2:
- Add Reviewed-by.
---
arch/mips/boot/dts/ingenic/gcw0.dts | 2 +-
arch/mips/boot/dts/ingenic/rs90.dts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/boot/dts/ingenic/gcw0.dts b/arch/mips/boot/dts/ingenic/gcw0.dts
index 5d33f26fd28c8bd8..8455778928b71cee 100644
--- a/arch/mips/boot/dts/ingenic/gcw0.dts
+++ b/arch/mips/boot/dts/ingenic/gcw0.dts
@@ -91,7 +91,7 @@ sound {
"MIC1N", "Built-in Mic";
simple-audio-card,pin-switches = "Speaker", "Headphones";
- simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>;
+ simple-audio-card,hp-det-gpios = <&gpf 21 GPIO_ACTIVE_LOW>;
simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>;
simple-audio-card,bitclock-master = <&dai_codec>;
diff --git a/arch/mips/boot/dts/ingenic/rs90.dts b/arch/mips/boot/dts/ingenic/rs90.dts
index e8df70dd42bf8e4c..6d2c8aea5f499d34 100644
--- a/arch/mips/boot/dts/ingenic/rs90.dts
+++ b/arch/mips/boot/dts/ingenic/rs90.dts
@@ -148,7 +148,7 @@ sound {
"Speaker", "OUTR";
simple-audio-card,pin-switches = "Speaker";
- simple-audio-card,hp-det-gpio = <&gpd 16 GPIO_ACTIVE_LOW>;
+ simple-audio-card,hp-det-gpios = <&gpd 16 GPIO_ACTIVE_LOW>;
simple-audio-card,aux-devs = <&>;
simple-audio-card,bitclock-master = <&dai_codec>;
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios
2025-02-05 10:54 [PATCH v2] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios Geert Uytterhoeven
@ 2025-02-21 9:32 ` Thomas Bogendoerfer
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Bogendoerfer @ 2025-02-21 9:32 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Paul Cercueil, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
linux-mips, devicetree, Krzysztof Kozlowski
On Wed, Feb 05, 2025 at 11:54:47AM +0100, Geert Uytterhoeven wrote:
> Replace the deprecated "simple-audio-card,hp-det-gpio" property by
> "simple-audio-card,hp-det-gpios" in Simple Audio Card device nodes.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
> ---
> v2:
> - Add Reviewed-by.
> ---
> arch/mips/boot/dts/ingenic/gcw0.dts | 2 +-
> arch/mips/boot/dts/ingenic/rs90.dts | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/mips/boot/dts/ingenic/gcw0.dts b/arch/mips/boot/dts/ingenic/gcw0.dts
> index 5d33f26fd28c8bd8..8455778928b71cee 100644
> --- a/arch/mips/boot/dts/ingenic/gcw0.dts
> +++ b/arch/mips/boot/dts/ingenic/gcw0.dts
> @@ -91,7 +91,7 @@ sound {
> "MIC1N", "Built-in Mic";
> simple-audio-card,pin-switches = "Speaker", "Headphones";
>
> - simple-audio-card,hp-det-gpio = <&gpf 21 GPIO_ACTIVE_LOW>;
> + simple-audio-card,hp-det-gpios = <&gpf 21 GPIO_ACTIVE_LOW>;
> simple-audio-card,aux-devs = <&speaker_amp>, <&headphones_amp>;
>
> simple-audio-card,bitclock-master = <&dai_codec>;
> diff --git a/arch/mips/boot/dts/ingenic/rs90.dts b/arch/mips/boot/dts/ingenic/rs90.dts
> index e8df70dd42bf8e4c..6d2c8aea5f499d34 100644
> --- a/arch/mips/boot/dts/ingenic/rs90.dts
> +++ b/arch/mips/boot/dts/ingenic/rs90.dts
> @@ -148,7 +148,7 @@ sound {
> "Speaker", "OUTR";
> simple-audio-card,pin-switches = "Speaker";
>
> - simple-audio-card,hp-det-gpio = <&gpd 16 GPIO_ACTIVE_LOW>;
> + simple-audio-card,hp-det-gpios = <&gpd 16 GPIO_ACTIVE_LOW>;
> simple-audio-card,aux-devs = <&>;
>
> simple-audio-card,bitclock-master = <&dai_codec>;
> --
> 2.43.0
applied to mips-next.
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-21 9:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05 10:54 [PATCH v2] mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios Geert Uytterhoeven
2025-02-21 9:32 ` Thomas Bogendoerfer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).