dt-bindings: qcom,spmi-adc-tm5: Update interrupts property

Update interrupts property based on compatible property
as it is not required for ADC_TM channels which are
registered without trips.

Change-Id: I48802081cf8d888baa920f009712ce54aa636130
This commit is contained in:
Archana Sriram
2022-10-11 19:21:01 +05:30
parent 0b85428646
commit b1405d02be

View File

@@ -17,8 +17,20 @@ properties:
reg:
maxItems: 1
interrupts:
maxItems: 1
- if:
properties:
compatible:
contains:
const: qcom,spmi-adc-tm5
then:
properties:
interrupts:
maxItems: 1
required:
- interrupts
else:
properties:
interrupts: false
"#thermal-sensor-cells":
const: 1
@@ -105,7 +117,6 @@ patternProperties:
required:
- compatible
- reg
- interrupts
- "#address-cells"
- "#size-cells"
- "#thermal-sensor-cells"