diff mbox series

[1/2] dt-bindings: pincfg-node: Add "input-schmitt-microvolt" property

Message ID IA1PR20MB4953C71C87FD150D2E64FF41BBAC2@IA1PR20MB4953.namprd20.prod.outlook.com
State New
Headers show
Series pinctrl: pinconf-generic: Add "input-schmitt-microvolt" property | expand

Commit Message

Inochi Amaoto July 18, 2024, 2:23 a.m. UTC
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-microvolt" 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 | 3 +++
 1 file changed, 3 insertions(+)

--
2.45.2

Comments

Krzysztof Kozlowski July 21, 2024, 1:37 p.m. UTC | #1
On 18/07/2024 04:23, 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-microvolt" 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>


Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
index d0af21a564b4..cbfcf215e571 100644
--- a/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml
@@ -96,6 +96,9 @@  properties:
     type: boolean
     description: disable schmitt-trigger mode

+  input-schmitt-microvolt:
+    description: threshold strength for schmitt-trigger
+
   input-debounce:
     $ref: /schemas/types.yaml#/definitions/uint32-array
     description: Takes the debounce time in usec as argument or 0 to disable