Re: [PATCH v3 06/12] dt-bindings: power: supply: smb347-charger: Document USB VBUS regulator
From: Dmitry Osipenko
Date: Thu Jul 15 2021 - 11:30:03 EST
15.07.2021 02:01, Rob Herring пишет:
> On Tue, Jul 13, 2021 at 03:22:40AM +0300, Dmitry Osipenko wrote:
>> 12.07.2021 18:39, Rob Herring пишет:
>>>> + summit,inok-polarity:
>>>> + description: |
>>>> + Polarity of INOK signal indicating presence of external power supply.
>>>> + $ref: /schemas/types.yaml#/definitions/uint32
>>>> + enum:
>>>> + - 0 # SMB3XX_SYSOK_INOK_ACTIVE_LOW
>>>> + - 1 # SMB3XX_SYSOK_INOK_ACTIVE_HIGH
>>>> +
>>>> + usb-vbus:
>>>> + $ref: "../../regulator/regulator.yaml#"
>>>> + type: object
>>> unevaluatedProperties: false
>>>
>>> With that,
>>>
>>> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
>>>
>>
>> I tried to add the unevaluatedProperties + a random unrelated property
>> to the example usb-vbus node and dt_binding_check is happy with that. So
>> the unevaluatedProperties has no effect, is it supposed to be so?
>
> Yes, until support lands upstream[1].
>
> Rob
>
> [1] https://github.com/Julian/jsonschema/pull/817
>
Thank you for the clarification.