mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
5a059bd268
This patch adds support for the hmc5983 i2c interface. This chip is almost identical to the hmc5883. The difference being added temperature compensation, additional available sample rate (220Hz) and an SPI interface. Signed-off-by: Josef Gajdusek <atx@atx.name> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
22 lines
476 B
Plaintext
22 lines
476 B
Plaintext
* Honeywell HMC5843 magnetometer sensor
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "honeywell,hmc5843"
|
|
Other models which are supported with driver are:
|
|
"honeywell,hmc5883"
|
|
"honeywell,hmc5883l"
|
|
"honeywell,hmc5983"
|
|
- reg : the I2C address of the magnetometer - typically 0x1e
|
|
|
|
Optional properties:
|
|
|
|
- gpios : should be device tree identifier of the magnetometer DRDY pin
|
|
|
|
Example:
|
|
|
|
hmc5843@1e {
|
|
compatible = "honeywell,hmc5843"
|
|
reg = <0x1e>;
|
|
};
|