Commit b5c8f358 authored by Anson Huang's avatar Anson Huang Committed by Rob Herring

dt-bindings: iio: magnetometer: add dt-bindings for freescale mag3110

Add Freescale MAG3110 dt-bindings and remove it from trivial-devices
dt-bingding doc.
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
[robh: fixup trivial-devices.txt change for trivial-devices.yaml]
Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent acc20387
* FREESCALE MAG3110 magnetometer sensor
Required properties:
- compatible : should be "fsl,mag3110"
- reg : the I2C address of the magnetometer
Optional properties:
- interrupts: the sole interrupt generated by the device
Refer to interrupt-controller/interrupts.txt for generic interrupt client
node bindings.
- vdd-supply: phandle to the regulator that provides power to the sensor.
- vddio-supply: phandle to the regulator that provides power to the sensor's IO.
Example:
magnetometer@e {
compatible = "fsl,mag3110";
reg = <0x0e>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_i2c3_mag3110_int>;
interrupt-parent = <&gpio3>;
interrupts = <16 IRQ_TYPE_EDGE_RISING>;
};
...@@ -80,8 +80,6 @@ properties: ...@@ -80,8 +80,6 @@ properties:
- domintech,dmard09 - domintech,dmard09
# DMARD10: 3-axis Accelerometer # DMARD10: 3-axis Accelerometer
- domintech,dmard10 - domintech,dmard10
# MAG3110: Xtrinsic High Accuracy, 3D Magnetometer
- fsl,mag3110
# MMA7660FC: 3-Axis Orientation/Motion Detection Sensor # MMA7660FC: 3-Axis Orientation/Motion Detection Sensor
- fsl,mma7660 - fsl,mma7660
# MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer # MMA8450Q: Xtrinsic Low-power, 3-axis Xtrinsic Accelerometer
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment