ASoc:dt-bindings:tas2780:remove unused item in DT and revise the format
Subsystems (2)
PATCH v6 1/1 ASoc:dt-bindings:tas2780:remove unused item in DT and revise the format
1.remove unused item in DT 2.revise the format
Signed-off-by Raphael-Xu <[email protected]>
--- .../devicetree/bindings/sound/tas2780.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-)
Documentation/devicetree/bindings/sound/tas2780.yaml +11 -8
@@ -22,24 +22,29 @@ properties: - ti,tas2780 reg: - maxItems: 1 - description: | - I2C address of the device can be between 0x38 to 0x45. + description: + I2C address of the device can be between 0x38 to 0x3f. + minimum: 0x38 + maximum: 0x3f reset-gpios: - maxItems: 1 description: GPIO used to reset the device. + maxItems: 1 interrupts: maxItems: 1 ti,imon-slot-no: - $ref: /schemas/types.yaml#/definitions/uint32 description: TDM TX current sense time slot. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 ti,vmon-slot-no: - $ref: /schemas/types.yaml#/definitions/uint32 description: TDM TX voltage sense time slot. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 '#sound-dai-cells': const: 1
@@ -60,10 +65,8 @@ examples: compatible = "ti,tas2780"; reg = <0x38>; #sound-dai-cells = <1>; - interrupt-parent = <&gpio1>; interrupts = <14>; reset-gpios = <&gpio1 15 0>; - shutdown-gpios = <&gpio1 15 0>; ti,imon-slot-no = <0>; ti,vmon-slot-no = <2>; };
Signature · 1 line
2.35.1