Re: [Linux-stm32] [PATCH v4 9/9] dt-bindings: serial: stm32: Use 'unevaluatedProperties' instead of 'additionalProperties'

From: dillon min
Date: Mon Mar 22 2021 - 07:49:28 EST


Hi Valentin,
Thanks for feedback.

On Mon, Mar 22, 2021 at 7:05 PM Valentin CARON - foss
<valentin.caron@xxxxxxxxxxx> wrote:
>
> Hi Dillon,
>
> It works for me.
>
> On 3/20/21 2:56 AM, dillon.minfei@xxxxxxxxx wrote:
> > From: dillon min <dillon.minfei@xxxxxxxxx>
> >
> > To use additional properties 'bluetooth', need use unevaluatedProperties
> > to fix dtbs_check warnings.
> >
> > 'arch/arm/boot/dts/stm32h750i-art-pi.dt.yaml: serial@40004800: 'bluetooth'
> > does not match any of the regexes: 'pinctrl-[0-9]+'
> >
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Fixes: af1c2d81695b ("dt-bindings: serial: Convert STM32 UART to json-schema")
>
> You can add my:
> Tested-by: Valentin Caron <valentin.caron@xxxxxxxxxxx>
Sure. I will add it to next submit.
>
> > Signed-off-by: dillon min <dillon.minfei@xxxxxxxxx>
> > ---
> >
> > v4:
> > - add Reported-by and Fixes tag
> > - use unevaluatedProperties: false to fix dtbs_check warrnings instead of
> > add 'bluetooth' in st,stm32-uart.yaml
> >
> > Documentation/devicetree/bindings/serial/st,stm32-uart.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
> > index 8631678283f9..305941b1d5a0 100644
> > --- a/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
> > +++ b/Documentation/devicetree/bindings/serial/st,stm32-uart.yaml
> > @@ -80,7 +80,7 @@ required:
> > - interrupts
> > - clocks
> >
> > -additionalProperties: false
> > +unevaluatedProperties: false
> >
> > examples:
> > - |
>
> Regards,
> Valentin