Re: [PATCH v2 02/15] dt-bindings: usb: qcom,pmic-typec: add support for the PMI632 block

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux