On Sun, 29 Nov 2020 22:54:20 +0100, Linus Walleij wrote: > This adds device tree bindings for the Yamaha YAS530 > family of magnetometers/compass sensors. > > Cc: devicetree@xxxxxxxxxxxxxxx > Cc: phone-devel@xxxxxxxxxxxxxxx > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > ChangeLog v3->v4: > - Rename the bindings and file yas530 after the first > introduced component in the family. > - Simplify conditional logic using the if: not: YAML > constructions. > - Use the possibility to set a property to false to just > remvove reset GPIOs and interrupts from variants that > do not have them. > ChangeLog v2->v3: > - Restrict to cover the YAS53x variants, it turns out that > YAS529 is a very different component from the others so > keep that for a separate document when/if needed. > - Rename the file and binding yamaha,53x.yaml > - Use - if: clauses to restrict some properties. > - Fix some spelling mistakes. > - Restrict the nodename to be "magnetometer@[0-9a-f]" > ChangeLog v1->v2: > - Add Yamaha to the vendor list, I was surprised to find > they were not yet listed. > --- > .../iio/magnetometer/yamaha,yas530.yaml | 112 ++++++++++++++++++ > .../devicetree/bindings/vendor-prefixes.yaml | 2 + > 2 files changed, 114 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/magnetometer/yamaha,yas530.yaml > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>