[PATCH 9/9] ARM: dts: chameleonv3: Add ssm2603 mute gpio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux