diff options
author | Martin Kepplinger <martink@posteo.de> | 2015-09-01 14:45:09 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-23 22:23:21 +0300 |
commit | c5ea1b58e8f51d8cd72e46cc398742988a614054 (patch) | |
tree | c8da1f08bfa2a6b347e557c88a9b5d87caeb2115 /Documentation/devicetree/bindings/iio/accel/mma8452.txt | |
parent | c3cdd6e48e35b7a02f28e301ef30a87ff3cd6527 (diff) | |
download | linux-c5ea1b58e8f51d8cd72e46cc398742988a614054.tar.xz |
iio: mma8452: add support for MMA8453Q accelerometer chip
This adds support for the 10 bit version if Freescale's accelerometers
of this series. The datasheet is available at Freescale's website:
http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8453Q.pdf
It creates a devicetree bindings file to document the new functionality
and removes the driver from the trivial-devices list.
Signed-off-by: Martin Kepplinger <martin.kepplinger@theobroma-systems.com>
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/accel/mma8452.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/accel/mma8452.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/accel/mma8452.txt b/Documentation/devicetree/bindings/iio/accel/mma8452.txt new file mode 100644 index 000000000000..c3bc272e2030 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/mma8452.txt @@ -0,0 +1,22 @@ +Freescale MMA8452Q or MMA8453Q triaxial accelerometer + +Required properties: + + - compatible: should contain one of + * "fsl,mma8452" + * "fsl,mma8453" + - reg: the I2C address of the chip + +Optional properties: + + - interrupt-parent: should be the phandle for the interrupt controller + - interrupts: interrupt mapping for GPIO IRQ + +Example: + + mma8453fc@1d { + compatible = "fsl,mma8453"; + reg = <0x1d>; + interrupt-parent = <&gpio1>; + interrupts = <5 0>; + }; |