Devicetree
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Inochi Amaoto <inochiama@outlook.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>,
	Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: pincfg-node: Add "input-schmitt" property
Date: Mon, 15 Jul 2024 17:19:41 +0100	[thread overview]
Message-ID: <20240715-strainer-creamlike-b1ff49b25c1f@spud> (raw)
In-Reply-To: <IA1PR20MB495302FAFD2003B831342CF4BBA12@IA1PR20MB4953.namprd20.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 1639 bytes --]

On Mon, Jul 15, 2024 at 05:55:28PM +0800, Inochi Amaoto wrote:
> On Mon, Jul 15, 2024 at 11:21:25AM GMT, Krzysztof Kozlowski wrote:
> > On 14/07/2024 13:28, Inochi Amaoto wrote:
> > > On Sophgo CV18XX platform, threshold strength of schmitt trigger can
> > > be configured. As this standard property is already supported by the
> > > common pinconf code. Add "input-schmitt" property in pincfg-node.yaml
> > > so that other platforms requiring such feature can make use of this
> > > property.
> > > 
> > > Signed-off-by: Inochi Amaoto <inochiama@outlook.com>
> > > ---
> > >  Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml | 4 ++++
> > >  1 file changed, 4 insertions(+)
> > > 
> > > diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> > > index d0af21a564b4..e838fcac7f2a 100644
> > > --- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> > > +++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
> > > @@ -88,6 +88,10 @@ properties:
> > >      description: disable input on pin (no effect on output, such as
> > >        disabling an input buffer)
> > > 
> > > +  input-schmitt:
> > > +    $ref: /schemas/types.yaml#/definitions/uint32
> > > +    description: threshold strength for schmitt-trigger
> > 
> > Strength in which units? This should have proper property name suffix.
> > 
> 
> I think it should be mV. Using voltage may leads to decimal.

The standard suffix for voltage is "-microvolts", so no issues with
decimals :) And with a standard suffix, the $ref can be dropped.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2024-07-15 16:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-14 11:28 [PATCH] dt-bindings: pincfg-node: Add "input-schmitt" property Inochi Amaoto
2024-07-15  9:21 ` Krzysztof Kozlowski
2024-07-15  9:55   ` Inochi Amaoto
2024-07-15 16:19     ` Conor Dooley [this message]
2024-07-16  2:16       ` Inochi Amaoto
2024-07-16  6:16         ` Krzysztof Kozlowski
2024-07-16  6:50           ` Inochi Amaoto

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=20240715-strainer-creamlike-b1ff49b25c1f@spud \
    --to=conor@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=inochiama@outlook.com \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /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