Skip to content

Commit

Permalink
mips: dts: ingenic: Switch to simple-audio-card,hp-det-gpios
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
  • Loading branch information
Geert Uytterhoeven authored and Thomas Bogendoerfer committed Feb 21, 2025
1 parent 4c303ad commit 2398902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/gcw0.dts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"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>;
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/boot/dts/ingenic/rs90.dts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
"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 = <&amp>;

simple-audio-card,bitclock-master = <&dai_codec>;
Expand Down

0 comments on commit 2398902

Please sign in to comment.