From cda58da1423f7d1b9a923ee37c9624bb97f5b97f Mon Sep 17 00:00:00 2001 From: Veera Vegivada Date: Sat, 27 Feb 2021 16:35:31 +0530 Subject: [PATCH] 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 --- bindings/leds/leds-qcom-clk.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/leds/leds-qcom-clk.txt b/bindings/leds/leds-qcom-clk.txt index d3e4d95ef646..cf0cc094b728 100644 --- a/bindings/leds/leds-qcom-clk.txt +++ b/bindings/leds/leds-qcom-clk.txt @@ -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";