On 13/01/2024 21:55, Dmitry Baryshkov wrote: > The PMI632 PMIC has the same Type-C register block as the PM8150B. > However this PMIC doesn't support USB Power Delivery. As such it doesn't > have the second region used by the existing pm8150b bindings. Add if > clauses to handle the PMI632 usecase. > > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> ... > +allOf: > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,pmi632-typec > + then: > + properties: > + interrupts: > + maxItems: 8 > + interrupt-names: > + maxItems: 8 > + vdd-pdphy-supply: false > + else: > + properties: > + interrupts: > + minItems: 16 > + interrupt-names: > + maxItems: 16 In both if:else: narrow also "reg". Best regards, Krzysztof