mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
7de209ca57
commit
cda58da142
1 changed files with 3 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue