lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 14 Mar 2024 09:36:08 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>
To: Jishnu Prakash <quic_jprakash@...cinc.com>, jic23@...nel.org,
 robh+dt@...nel.org, krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
 andersson@...nel.org, konrad.dybcio@...aro.org, lee@...nel.org,
 andriy.shevchenko@...ux.intel.com, daniel.lezcano@...aro.org,
 dmitry.baryshkov@...aro.org
Cc: lars@...afoo.de, luca@...tu.xyz, marijn.suijten@...ainline.org,
 agross@...nel.org, sboyd@...nel.org, rafael@...nel.org, rui.zhang@...el.com,
 lukasz.luba@....com, linus.walleij@...aro.org, quic_subbaram@...cinc.com,
 quic_collinsd@...cinc.com, quic_amelende@...cinc.com,
 quic_kamalw@...cinc.com, kernel@...cinc.com, linux-kernel@...r.kernel.org,
 linux-arm-msm@...r.kernel.org, linux-arm-msm-owner@...r.kernel.org,
 linux-iio@...r.kernel.org, linux-pm@...r.kernel.org,
 devicetree@...r.kernel.org, cros-qcom-dts-watchers@...omium.org
Subject: Re: [PATCH v3 2/3] dt-bindings: iio: adc: Add support for QCOM PMIC5
 Gen3 ADC

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ