1*4882a593Smuzhiyun* Asahi Kasei AK8974 magnetometer sensor 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunRequired properties: 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun- compatible: 6*4882a593Smuzhiyun * "asahi-kasei,ak8974" 7*4882a593Smuzhiyun * "alps,hscdtd008a" 8*4882a593Smuzhiyun- reg : the I2C address of the magnetometer 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunOptional properties: 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun- avdd-supply: regulator supply for the analog voltage 13*4882a593Smuzhiyun (see regulator/regulator.txt) 14*4882a593Smuzhiyun- dvdd-supply: regulator supply for the digital voltage 15*4882a593Smuzhiyun (see regulator/regulator.txt) 16*4882a593Smuzhiyun- interrupts: data ready (DRDY) and interrupt (INT1) lines 17*4882a593Smuzhiyun from the chip, the DRDY interrupt must be placed first. 18*4882a593Smuzhiyun The interrupts can be triggered on rising or falling 19*4882a593Smuzhiyun edges alike. 20*4882a593Smuzhiyun- mount-matrix: an optional 3x3 mounting rotation matrix 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunExample: 23*4882a593Smuzhiyun 24*4882a593Smuzhiyunak8974@f { 25*4882a593Smuzhiyun compatible = "asahi-kasei,ak8974"; 26*4882a593Smuzhiyun reg = <0x0f>; 27*4882a593Smuzhiyun avdd-supply = <&foo_reg>; 28*4882a593Smuzhiyun dvdd-supply = <&bar_reg>; 29*4882a593Smuzhiyun interrupts = <0 IRQ_TYPE_EDGE_RISING>, 30*4882a593Smuzhiyun <1 IRQ_TYPE_EDGE_RISING>; 31*4882a593Smuzhiyun}; 32