Unverified Commit f10b6c99 authored by Dan Murphy's avatar Dan Murphy Committed by Mark Brown
Browse files

ASoC: tas2562: Add voltage sense slot property



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: default avatarDan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200626154143.20351-2-dmurphy@ti.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 09ed395b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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>;
};