ASoC: tas2562: Add voltage sense slot property
authorDan Murphy <dmurphy@ti.com>
Fri, 26 Jun 2020 15:41:41 +0000 (10:41 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jun 2020 17:48:55 +0000 (18:48 +0100)
Add a property to configure the slot for the voltage sense monitoring of
the device. Vsense data will be sent to the processor via the slot
defined by the property

Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200626154143.20351-2-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/tas2562.txt

index fd0ac8636c01395a7c40b0ffbb06ffc6f89825ab..dc6d7362ded790d0b61d6b5f92d5fead09498237 100644 (file)
@@ -11,6 +11,8 @@ Required properties:
  - compatible:    - Should contain "ti,tas2562", "ti,tas2563".
  - reg:                   - The i2c address. Should be 0x4c, 0x4d, 0x4e or 0x4f.
  - ti,imon-slot-no:- TDM TX current sense time slot.
+ - ti,vmon-slot-no:- TDM TX voltage sense time slot. This slot must always be
+                    greater then ti,imon-slot-no.
 
 Optional properties:
 - interrupt-parent: phandle to the interrupt controller which provides
@@ -30,5 +32,6 @@ tas2562@4c {
 
        shut-down-gpio = <&gpio1 15 0>;
         ti,imon-slot-no = <0>;
+        ti,vmon-slot-no = <1>;
 };