From: Conor Dooley <conor@kernel.org>
To: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Robin Gong <yibin.gong@nxp.com>,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: regulator: pca9540: add debounce timer configuration
Date: Wed, 12 Nov 2025 19:06:42 +0000 [thread overview]
Message-ID: <20251112-battered-handful-35937a12aafe@spud> (raw)
In-Reply-To: <20251112163311.720331-1-martijn.de.gouw@prodrive-technologies.com>
[-- Attachment #1: Type: text/plain, Size: 2086 bytes --]
On Wed, Nov 12, 2025 at 05:33:08PM +0100, Martijn de Gouw wrote:
> 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>
> ---
> .../regulator/nxp,pca9450-regulator.yaml | 24 +++++++++++++++++++
> 1 file changed, 24 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
> index a5486c36830f0..3d47390f13016 100644
> --- a/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
> +++ b/Documentation/devicetree/bindings/regulator/nxp,pca9450-regulator.yaml
> @@ -124,6 +124,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.
I left some comments on v1, one a question and one a request for a
change. Please go take a look. Since you'll need a v3
pw-bot: changes-requested
(Please also give a bit more time between revisions for people to go
through their mail queues)
> +
> + 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
> --
> 2.39.2
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2025-11-12 19:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 16:33 [PATCH v2 1/2] dt-bindings: regulator: pca9540: add debounce timer configuration Martijn de Gouw
2025-11-12 19:06 ` Conor Dooley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251112-battered-handful-35937a12aafe@spud \
--to=conor@kernel.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=martijn.de.gouw@prodrive-technologies.com \
--cc=robh@kernel.org \
--cc=yibin.gong@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox