On Sun, 15 Nov 2020 21:57:43 +0100, Linus Walleij wrote: > These accelerometers have bindings used in the kernel and > several device trees but no proper bindings documentation. > Add it. > > Also add a compatible for the BMA222 that I am right now > adding support for in the driver. > > Cc: devicetree@xxxxxxxxxxxxxxx > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- > ChangeLog v2->v3: > - Fix up an include directive in the example to be > outside of the I2C node. > ChangeLog v1->v2: > - Rename to simply bosch,bma255.yaml after one of the > common accelerometers. > - Specify that the SPI uses a 4-wire interface. > - Specify maximum SPI clock frequency to 10MHz. (Checked > all the datasheets.) > --- > .../bindings/iio/accel/bosch,bma255.yaml | 73 +++++++++++++++++++ > 1 file changed, 73 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/accel/bosch,bma255.yaml > Reviewed-by: Rob Herring <robh@xxxxxxxxxx>