The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/iio/magnetometer/ak8975.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 * AsahiKASEI AK8975 magnetometer sensor
    2 
    3 Required properties:
    4 
    5   - compatible : should be "asahi-kasei,ak8975"
    6   - reg : the I2C address of the magnetometer
    7 
    8 Optional properties:
    9 
   10   - gpios : should be device tree identifier of the magnetometer DRDY pin
   11   - vdd-supply: an optional regulator that needs to be on to provide VDD
   12   - mount-matrix: an optional 3x3 mounting rotation matrix
   13 
   14 Example:
   15 
   16 ak8975@c {
   17         compatible = "asahi-kasei,ak8975";
   18         reg = <0x0c>;
   19         gpios = <&gpj0 7 0>;
   20         vdd-supply = <&ldo_3v3_gnss>;
   21         mount-matrix = "-0.984807753012208",  /* x0 */
   22                        "0",                   /* y0 */
   23                        "-0.173648177666930",  /* z0 */
   24                        "0",                   /* x1 */
   25                        "-1",                  /* y1 */
   26                        "0",                   /* z1 */
   27                        "-0.173648177666930",  /* x2 */
   28                        "0",                   /* y2 */
   29                        "0.984807753012208";   /* z2 */
   30 };

Cache object: 7208b8ab0c759456f375a9726377970d


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.