[ASoC: da7219: Add Jack insertion detection polarity selection 2/2] ASoC: dt-bindings: da7219: Add jack-ins-det-pty property

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

 



Add `dlg,jack-ins-det-pty` property for Jack insertion detection
polarity selection.

Signed-off-by: David Rau <David.Rau.opensource@xxxxxxxxxxxxxx>
---
 Documentation/devicetree/bindings/sound/dialog,da7219.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/sound/dialog,da7219.yaml b/Documentation/devicetree/bindings/sound/dialog,da7219.yaml
index 9160f68696dd..bb5af48ab1e1 100644
--- a/Documentation/devicetree/bindings/sound/dialog,da7219.yaml
+++ b/Documentation/devicetree/bindings/sound/dialog,da7219.yaml
@@ -122,6 +122,12 @@ properties:
           Debounce time for jack insertion (ms).
         $ref: /schemas/types.yaml#/definitions/uint32
 
+      dlg,jack-ins-det-pty:
+        enum: ["low", "high"]
+        description:
+          Polarity for jack insertion detection.
+        $ref: /schemas/types.yaml#/definitions/string
+
       dlg,jack-det-rate:
         enum: ["32_64", "64_128", "128_256", "256_512"]
         description:
@@ -215,6 +221,7 @@ examples:
               dlg,btn-cfg = <50>;
               dlg,mic-det-thr = <500>;
               dlg,jack-ins-deb = <20>;
+              dlg,jack-ins-det-pty = "low";
               dlg,jack-det-rate = "32_64";
               dlg,jack-rem-deb = <1>;
 
-- 
2.17.1




[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