[PATCH] dt-bindings: pincfg-node: Add "input-schmitt" property

From: Inochi Amaoto
Date: Sun Jul 14 2024 - 07:29:22 EST


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@xxxxxxxxxxx>
---
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