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/pps/pps-gpio.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 Device-Tree Bindings for a PPS Signal on GPIO
    2 
    3 These properties describe a PPS (pulse-per-second) signal connected to
    4 a GPIO pin.
    5 
    6 Required properties:
    7 - compatible: should be "pps-gpio"
    8 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
    9 
   10 Additional required properties for the PPS ECHO functionality:
   11 - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
   12 - echo-active-ms: duration in ms of the active portion of the echo pulse
   13 
   14 Optional properties:
   15 - assert-falling-edge: when present, assert is indicated by a falling edge
   16                        (instead of by a rising edge)
   17 
   18 Example:
   19         pps {
   20                 pinctrl-names = "default";
   21                 pinctrl-0 = <&pinctrl_pps>;
   22 
   23                 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
   24                 assert-falling-edge;
   25 
   26                 echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
   27                 echo-active-ms = <100>;
   28 
   29                 compatible = "pps-gpio";
   30         };

Cache object: 22c69fcf77fb28f652dfcfd84e69e414


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