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/leds/irled/spi-ir-led.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 IR LED connected through SPI bus which is used as
    2 remote controller.
    3 
    4 The IR LED switch is connected to the MOSI line of the SPI device and the data
    5 are delivered thourgh that.
    6 
    7 Required properties:
    8         - compatible: should be "ir-spi-led".
    9 
   10 Optional properties:
   11         - duty-cycle: 8 bit value that represents the percentage of one period
   12           in which the signal is active.  It can be 50, 60, 70, 75, 80 or 90.
   13         - led-active-low: boolean value that specifies whether the output is
   14           negated with a NOT gate.
   15         - power-supply: specifies the power source. It can either be a regulator
   16           or a gpio which enables a regulator, i.e. a regulator-fixed as
   17           described in
   18           Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
   19 
   20 Example:
   21 
   22         irled@0 {
   23                 compatible = "ir-spi-led";
   24                 reg = <0x0>;
   25                 spi-max-frequency = <5000000>;
   26                 power-supply = <&vdd_led>;
   27                 led-active-low;
   28                 duty-cycle = /bits/ 8 <60>;
   29         };

Cache object: e294617999149700a204da5f1ba50a94


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