Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: pincfg-node: Add "input-schmitt" property
@ 2024-07-14 11:28 Inochi Amaoto
  2024-07-15  9:21 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 7+ messages in thread
From: Inochi Amaoto @ 2024-07-14 11:28 UTC (permalink / raw)
  To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Inochi Amaoto, linux-gpio, devicetree, linux-kernel

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
+
   input-schmitt-enable:
     type: boolean
     description: enable schmitt-trigger mode
--
2.45.2


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-16  6:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-07-16  2:16       ` Inochi Amaoto
2024-07-16  6:16         ` Krzysztof Kozlowski
2024-07-16  6:50           ` Inochi Amaoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox