Re: [PATCH 1/4] dt-bindings: iio: frequency: add adf4377 doc

From: Jonathan Cameron
Date: Sun Nov 06 2022 - 12:39:52 EST


> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > + - clock-names
> > +
>
> allOf with reference to spi-peripheral-props.yaml
>
> > +additionalProperties: false
switch to unevaluatedProperties: false
as well when you do the spi-peripheral-props.yaml addition.

Easy to forget.

Jonathan

> > +
> > +examples:
> > + - |
> > + spi {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > + frequency@0 {
> > + compatible = "adi,adf4377";
> > + reg = <0>;
> > + spi-max-frequency = <10000000>;
> > + clocks = <&adf4377_ref_in>;
> > + clock-names = "ref_in";
> > + };
> > + };
> > +...
>
> Best regards,
> Krzysztof
>