Skip to content
Snippets Groups Projects
Commit 9a8d64fa authored by Song Qiang's avatar Song Qiang Committed by Jonathan Cameron
Browse files

iio: magnetometer: Add DT support for PNI RM3100

parent cad4d0a3
No related branches found
No related tags found
No related merge requests found
* PNI RM3100 3-axis magnetometer sensor
Required properties:
- compatible : should be "pni,rm3100"
- reg : the I2C address or SPI chip select number of the sensor.
Optional properties:
- interrupts: data ready (DRDY) from the chip.
The interrupts can be triggered on level high.
Example:
rm3100: rm3100@20 {
compatible = "pni,rm3100";
reg = <0x20>;
interrupt-parent = <&gpio0>;
interrupts = <4 IRQ_TYPE_LEVEL_HIGH>;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment