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

Cache object: 1bcc1af1359369b8b9843715e0e96639


[ 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.