--- Begin Message ---
- To: alsa-devel@xxxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, lgirdwood@xxxxxxxxx, broonie@xxxxxxxxxx
- Subject: [PATCH 9/9] ARM: dts: chameleonv3: Add ssm2603 mute gpio
- From: Paweł Anikiel <pan@xxxxxxxxxxxx>
- Date: Fri, 14 Apr 2023 16:02:03 +0200
- Cc: tiwai@xxxxxxxx, robh+dt@xxxxxxxxxx, krzysztof.kozlowski+dt@xxxxxxxxxx, dinguyen@xxxxxxxxxx, lars@xxxxxxxxxx, nuno.sa@xxxxxxxxxx, upstream@xxxxxxxxxxxx, Paweł Anikiel <pan@xxxxxxxxxxxx>
- In-reply-to: <20230414140203.707729-1-pan@semihalf.com>
- References: <20230414140203.707729-1-pan@semihalf.com>
The ssm2603 mute pin is connected to a gpio expander. Add this
connection to the devicetree.
Signed-off-by: Paweł Anikiel <pan@xxxxxxxxxxxx>
---
arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts b/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts
index c75f41058196..81e83ce0f8e7 100644
--- a/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts
+++ b/arch/arm/boot/dts/socfpga_arria10_chameleonv3.dts
@@ -3,6 +3,7 @@
* Copyright 2022 Google LLC
*/
/dts-v1/;
+#include <dt-bindings/gpio/gpio.h>
#include "socfpga_arria10_mercury_aa1.dtsi"
/ {
@@ -67,6 +68,7 @@ &i2c0 {
ssm2603: audio-codec@1a {
compatible = "adi,ssm2603";
reg = <0x1a>;
+ mute-gpios = <&u80 0 GPIO_ACTIVE_LOW>;
};
};
--
2.40.0.634.g4ca3ef3211-goog
--- End Message ---