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>
pull/1354/merge
Martijn de Gouw 2025-11-17 21:22:13 +01:00 committed by Mark Brown
parent fb1ebb1046
commit 93218e3f2c
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 24 additions and 0 deletions

View File

@ -139,6 +139,30 @@ properties:
When WDOG_B signal is asserted a warm reset will be done instead of cold
reset.
nxp,pmic-on-req-on-debounce-us:
enum: [ 120, 20000, 100000, 750000 ]
description: Debounce time for PMIC_ON_REQ high.
nxp,pmic-on-req-off-debounce-us:
enum: [ 120, 2000 ]
description: Debounce time for PMIC_ON_REQ is asserted low
nxp,power-on-step-ms:
enum: [ 1, 2, 4, 8]
description: Time step configuration during power on sequence
nxp,power-down-step-ms:
enum: [ 2, 4, 8, 16 ]
description: Time step configuration during power down sequence
nxp,restart-ms:
enum: [ 250, 500 ]
description: Time to stay off regulators during Cold reset
npx,pmic-rst-b-debounce-ms:
enum: [ 10, 50, 100, 500, 1000, 2000, 4000, 8000 ]
description: PMIC_RST_B debounce time
required:
- compatible
- reg