From 8fff779953b2802e33bccce396036321fb7f3af9 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Mon, 15 Mar 2021 15:33:35 +0530 Subject: [PATCH] dt-bindings: backlight: Add support to configure slew ramp time Add support to configure slew ramp time for brightness change by adding a DT property named "qcom,slew-ramp-time". Change-Id: I1264e120c84cf0f0b339ff883c9de589f058403f --- bindings/leds/backlight/qcom-spmi-wled.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bindings/leds/backlight/qcom-spmi-wled.txt b/bindings/leds/backlight/qcom-spmi-wled.txt index de3ea855..35685ecc 100644 --- a/bindings/leds/backlight/qcom-spmi-wled.txt +++ b/bindings/leds/backlight/qcom-spmi-wled.txt @@ -174,6 +174,15 @@ platforms. The PMIC is connected to the host processor via SPMI bus. "qcom,use-exp-dimming" property is set. This feature is supported from PM7325B onwards. +- qcom,slew-ramp-time + Usage: optional + Value type: + Definition: Software brightness slew ramp time values in ms. This is supported from + PM7325B onwards. + Valid values are 2, 4, 8, 64, 128, 192, 256, 320, 384, 448, 512, 704, 896, + 1024, 2048, 4096. + Default: 256 + Following properties are for child subnodes that are needed for WLED preflash (or torch), flash and switch. These child subnodes can be specified only for PMICs that has WLED5 (e.g. PM8150L).