lkml.org 
[lkml]   [2023]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] dt-bindings: usb: connector: disallow additional properties

On Tue, 25 Jul 2023 12:23:25 +0200, Krzysztof Kozlowski wrote:
> USB connector bindings is complete, thus no additional properties should
> be allowed. Add missing 'reg' property and change additionalProperties
> to false, so the schema will check for anything not unexpected. This
> also allows to drop the 'reg' from other bindings referencing the
> usb-connector.yaml and make it required.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>
> ---
>
> Changes in v2:
> 1. Make usb-connector.yaml additionalProperties:false (Rob)
>
> v1:
> https://lore.kernel.org/all/20230723071105.40157-1-krzysztof.kozlowski@linaro.org/
> ---
> .../devicetree/bindings/chrome/google,cros-ec-typec.yaml | 6 ++----
> .../devicetree/bindings/connector/usb-connector.yaml | 5 ++++-
> .../devicetree/bindings/soc/qcom/qcom,pmic-glink.yaml | 6 ------
> Documentation/devicetree/bindings/usb/cypress,cypd4226.yaml | 6 ++----
> 4 files changed, 8 insertions(+), 15 deletions(-)
>

I didn't not fix the double negative and applied, thanks! ;)

\
 
 \ /
  Last update: 2023-07-27 19:10    [W:0.108 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site