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 ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux