mirror of
https://github.com/torvalds/linux.git
synced 2026-04-22 16:53:59 -04:00
MMA8652FC and MMA8653FC don't provide the transient interrupt source, so the motion interrupt source is used by providing a new iio_chan_spec definition, so that other supported devices are not affected by this. Datasheets for the newly supported devices are available at Freescale's website: http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8652FC.pdf http://cache.freescale.com/files/sensors/doc/data_sheet/MMA8653FC.pdf 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>
25 lines
527 B
Plaintext
25 lines
527 B
Plaintext
Freescale MMA8452Q, MMA8453Q, MMA8652FC or MMA8653FC triaxial accelerometer
|
|
|
|
Required properties:
|
|
|
|
- compatible: should contain one of
|
|
* "fsl,mma8452"
|
|
* "fsl,mma8453"
|
|
* "fsl,mma8652"
|
|
* "fsl,mma8653"
|
|
- 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>;
|
|
};
|