Path: blob/main/sys/contrib/device-tree/Bindings/iio/magnetometer/ak8975.txt
48525 views
* AsahiKASEI AK8975 magnetometer sensor12Required properties:34- compatible : should be "asahi-kasei,ak8975"5- reg : the I2C address of the magnetometer67Optional properties:89- gpios : should be device tree identifier of the magnetometer DRDY pin10- vdd-supply: an optional regulator that needs to be on to provide VDD11- mount-matrix: an optional 3x3 mounting rotation matrix1213Example:1415ak8975@c {16compatible = "asahi-kasei,ak8975";17reg = <0x0c>;18gpios = <&gpj0 7 0>;19vdd-supply = <&ldo_3v3_gnss>;20mount-matrix = "-0.984807753012208", /* x0 */21"0", /* y0 */22"-0.173648177666930", /* z0 */23"0", /* x1 */24"-1", /* y1 */25"0", /* z1 */26"-0.173648177666930", /* x2 */27"0", /* y2 */28"0.984807753012208"; /* z2 */29};303132