Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: iio: magnetometer: bosch,bmc150_magn: add bmx055 magnetometer binding

Add the device-tree binding for the bosch BMX055 IMU (magnetometer
part), which is compatible with bmc150_magn.

Datasheet: https://cdn.sparkfun.com/assets/b/9/1/f/4/bst-bmx055-ds000_datasheet.pdf
Signed-off-by: Jun Yan <jerrysteve1101@gmail.com>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

Jun Yan and committed by
Jonathan Cameron
e1d2445b 3712dd05

+9 -5
+9 -5
Documentation/devicetree/bindings/iio/magnetometer/bosch,bmc150_magn.yaml
··· 21 21 description: 22 22 Note the bmm150_magn is a deprecated compatible as this part contains only 23 23 a magnetometer. 24 - enum: 25 - - bosch,bmc150_magn 26 - - bosch,bmc156_magn 27 - - bosch,bmm150 28 - - bosch,bmm150_magn 24 + oneOf: 25 + - enum: 26 + - bosch,bmc150_magn 27 + - bosch,bmc156_magn 28 + - bosch,bmm150 29 + - bosch,bmm150_magn 30 + - items: 31 + - const: bosch,bmx055-magn 32 + - const: bosch,bmc150_magn 29 33 30 34 reg: 31 35 maxItems: 1