Re: [PATCH v3 2/3] dt-bindings: iio: adc: Add support for QCOM PMIC5 Gen3 ADC

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

 



On 14/03/2024 09:28, Jishnu Prakash wrote:
> 
> followed by updating maxItems back to 1 for all the earlier existing 
> compatibles, using if:then: conditions, like the below example?
> 
>    - if:
>        properties:
>          compatible:
>            contains:
>              const: qcom,spmi-adc5
> 
>      then:
>        properties:
>          reg:
>            maxItems: 1
>          interrupts:
>            maxItems: 1
> 
> 
> If this is acceptable, I'll add ADC5 Gen3 bindings in the same file with 
> changes like the above, else I'll add them in a new file after first 
> creating a common schema file as you suggested.

Please refer to existing files how it is done:
https://elixir.bootlin.com/linux/v6.8/source/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml#L132


Best regards,
Krzysztof





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux