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