1 Device tree bindings for IR LED connected through SPI bus which is used as
4 The IR LED switch is connected to the MOSI line of the SPI device and the data
5 are delivered thourgh that.
8 - compatible: should be "ir-spi-led".
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
18 Documentation/devicetree/bindings/regulator/fixed-regulator.yaml
23 compatible = "ir-spi-led";
25 spi-max-frequency = <5000000>;
26 power-supply = <&vdd_led>;
28 duty-cycle = /bits/ 8 <60>;