lineage_kernel_xcoverpro/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt

14 lines
387 B
Plaintext
Raw Normal View History

2023-06-18 22:53:49 +00:00
Device tree bindings for IR LED connected through pwm pin which is used as
remote controller transmitter.
Required properties:
- compatible: should be "pwm-ir-tx".
- pwms : PWM property to point to the PWM device (phandle)/port (id)
and to specify the period time to be used: <&phandle id period_ns>;
Example:
irled {
compatible = "pwm-ir-tx";
pwms = <&pwm0 0 10000000>;
};