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/proximity/as3935.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 Austrian Microsystems AS3935 Franklin lightning sensor device driver
    2 
    3 Required properties:
    4         - compatible: must be "ams,as3935"
    5         - reg: SPI chip select number for the device
    6         - spi-max-frequency: specifies maximum SPI clock frequency
    7         - spi-cpha: SPI Mode 1. Refer to spi/spi-bus.txt for generic SPI
    8         slave node bindings.
    9         - interrupts : the sole interrupt generated by the device
   10 
   11         Refer to interrupt-controller/interrupts.txt for generic
   12         interrupt client node bindings.
   13 
   14 Optional properties:
   15         - ams,tuning-capacitor-pf: Calibration tuning capacitor stepping
   16           value 0 - 120pF. This will require using the calibration data from
   17           the manufacturer.
   18         - ams,nflwdth: Set the noise and watchdog threshold register on
   19           startup. This will need to set according to the noise from the
   20           MCU board, and possibly the local environment. Refer to the
   21           datasheet for the threshold settings.
   22 
   23 Example:
   24 
   25 as3935@0 {
   26         compatible = "ams,as3935";
   27         reg = <0>;
   28         spi-max-frequency = <400000>;
   29         spi-cpha;
   30         interrupt-parent = <&gpio1>;
   31         interrupts = <16 1>;
   32         ams,tuning-capacitor-pf = <80>;
   33         ams,nflwdth = <0x44>;
   34 };

Cache object: 6b44c296c18eac385b4b3317404e2f5c


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