From 445eecaabbebdff58442058adcde2273092ff909 Mon Sep 17 00:00:00 2001 From: Jishnu Prakash Date: Thu, 8 Apr 2021 16:10:21 +0530 Subject: [PATCH] dt-bindings: leds-qpnp-flash-v2: Add support to control ramp time Add device tree properties "qcom,ramp-up-step" and "qcom,ramp-down-step", to configure the time steps for flash current ramp up and ramp down. Change-Id: I0cfe8c21f55fe864364337bb6c909426be966d6d --- bindings/leds/leds-qpnp-flash-v2.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/leds/leds-qpnp-flash-v2.txt b/bindings/leds/leds-qpnp-flash-v2.txt index bb7e5202391a..e2216afa583c 100644 --- a/bindings/leds/leds-qpnp-flash-v2.txt +++ b/bindings/leds/leds-qpnp-flash-v2.txt @@ -21,6 +21,12 @@ Optional properties: 128, 192. Unit is uS. - qcom,warmup-delay-us : Integer type to specify warm up delay. Valid values are 32, 64, 128, 192. Unit is uS. +- qcom,ramp-up-step : Integer property to specify flash current ramp up time + step. Unit is in nS. Allowed values are: 200, 400, 800, 1600, + 3200, 6400, 12800, 25600. +- qcom,ramp-down-step : Integer property to specify flash current ramp down + time step. Unit is in nS. Allowed values are: 200, 400, 800, 1600, + 3200, 6400, 12800, 25600. - qcom,short-circuit-det : Boolean property which enables short circuit fault detection. - qcom,open-circuit-det : Boolean property which enables open circuit fault detection. - qcom,vph-droop-det : Boolean property which enables VPH droop detection.