forked from Minki/linux
f4b7f751c6
Add support for parsing 'gpios' property when initializing from oftree. This patch adds also the binding documentation file. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
19 lines
374 B
Plaintext
19 lines
374 B
Plaintext
* AsahiKASEI AK8975 magnetometer sensor
|
|
|
|
Required properties:
|
|
|
|
- compatible : should be "asahi-kasei,ak8975"
|
|
- reg : the I2C address of the magnetometer
|
|
|
|
Optional properties:
|
|
|
|
- gpios : should be device tree identifier of the magnetometer DRDY pin
|
|
|
|
Example:
|
|
|
|
ak8975@0c {
|
|
compatible = "asahi-kasei,ak8975";
|
|
reg = <0x0c>;
|
|
gpios = <&gpj0 7 0>;
|
|
};
|