Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Martijn de Gouw and committed by
Mark Brown
93218e3f fb1ebb10

+24
+24
Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
··· 139 139 When WDOG_B signal is asserted a warm reset will be done instead of cold 140 140 reset. 141 141 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 + 142 166 required: 143 167 - compatible 144 168 - reg