Unverified Commit 93218e3f authored by Martijn de Gouw's avatar Martijn de Gouw Committed by Mark Brown
Browse files

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: default avatarMartijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20251117202215.1936139-1-martijn.de.gouw@prodrive-technologies.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent fb1ebb10
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -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