Skip to content

Commit 93218e3

Browse files
martijndegouwbroonie
authored andcommitted
regulator: dt-bindings: pca9540: add debounce timer configuration
Make the different debounce timers configurable from the devicetree. Depending on the board design, these have to be set different than the default register values. Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://patch.msgid.link/20251117202215.1936139-1-martijn.de.gouw@prodrive-technologies.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fb1ebb1 commit 93218e3

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,30 @@ properties:
139139
When WDOG_B signal is asserted a warm reset will be done instead of cold
140140
reset.
141141

142+
nxp,pmic-on-req-on-debounce-us:
143+
enum: [ 120, 20000, 100000, 750000 ]
144+
description: Debounce time for PMIC_ON_REQ high.
145+
146+
nxp,pmic-on-req-off-debounce-us:
147+
enum: [ 120, 2000 ]
148+
description: Debounce time for PMIC_ON_REQ is asserted low
149+
150+
nxp,power-on-step-ms:
151+
enum: [ 1, 2, 4, 8]
152+
description: Time step configuration during power on sequence
153+
154+
nxp,power-down-step-ms:
155+
enum: [ 2, 4, 8, 16 ]
156+
description: Time step configuration during power down sequence
157+
158+
nxp,restart-ms:
159+
enum: [ 250, 500 ]
160+
description: Time to stay off regulators during Cold reset
161+
162+
npx,pmic-rst-b-debounce-ms:
163+
enum: [ 10, 50, 100, 500, 1000, 2000, 4000, 8000 ]
164+
description: PMIC_RST_B debounce time
165+
142166
required:
143167
- compatible
144168
- reg

0 commit comments

Comments
 (0)