Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a6066576 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "dt-bindings: backlight: Add support to configure slew ramp time"

parents 88fdc483 072c0d54
Loading
Loading
Loading
Loading
+28 −3
Original line number Diff line number Diff line
@@ -10,9 +10,9 @@ platforms. The PMIC is connected to the host processor via SPMI bus.
	Definition: should be one of the below.
			"qcom,pmi8998-spmi-wled",
			"qcom,pm8150l-spmi-wled",
			"qcom,pm6150l-spmi-wled"
			"qcom,pm660l-spmi-wled"
			"qcom,pm7325b-spmi-wled"
			"qcom,pm6150l-spmi-wled",
			"qcom,pm660l-spmi-wled",
			"qcom,pm7325b-spmi-wled",

- reg
	Usage:      required
@@ -158,6 +158,31 @@ platforms. The PMIC is connected to the host processor via SPMI bus.
		        For details about IIO bindings see:
			    Documentation/devicetree/bindings/iio/iio-bindings.txt

- qcom,use-exp-dimming
	Usage:      optional
	Value type: <bool>
	Definition: Specifies that exponential dimming lookup table values
			    should be used.

- qcom,exp-dimming-map
	Usage:      optional
	Value type: <u32 array>
	Definition: It specifies a table of brightness values that can be programmed
			    into WLED_SINK for exponential dimming which provides smooth brightness
			    change. There should be exactly 256 values in the table and they should
			    be at most 15 bits long. This table would be used only if the
			    "qcom,use-exp-dimming" property is set. This feature is supported from
			    PM7325B onwards.

- qcom,slew-ramp-time
	Usage:      optional
	Value type: <u32>
	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).