dt-bindings: leds: qcom-clk: Add qcom,default-clk-trigger property

Add property to configure the default trigger for the LED.
This will allow clients to use trigger APIs to configure
the brightness of the LED if needed.

Change-Id: I44dc751f5057233db1f412c067817c80f2a157b6
This commit is contained in:
Veera Vegivada 2021-02-27 16:35:31 +05:30
commit cda58da142

View file

@ -20,13 +20,15 @@ Required properties:
Optional properties:
- qcom,label: Label for the sysfs node.
- qcom,default-clk-trigger: This parameter, if present, is a string
defining the trigger assigned to the LED.
Example:
qcom_clk_led {
compatible = "qcom,clk-led-pwm";
qcom,label = "led_clk_pwm";
qcom,default-clk-trigger = "led_clk_pwm";
qcom,max_duty = <80>;
clocks = <&clock_gcc GCC_GP2_CLK>;
clock-names = "core";