Thread (13 messages) 13 messages, 6 authors, 2025-09-02

Re: [PATCH 5/6] dt-bindings: mfd: mc13xxx: add pwrbutton dt support

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2025-08-17 11:20:31
Also in: linux-devicetree, lkml

On 17/08/2025 12:27, Alexander Kurz wrote:
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/mfd/mc13xxx.txt b/Documentation/devicetree/bindings/mfd/mc13xxx.txt
index 8261ea73278a..3c7bad07858f 100644
--- a/Documentation/devicetree/bindings/mfd/mc13xxx.txt
+++ b/Documentation/devicetree/bindings/mfd/mc13xxx.txt
@@ -24,6 +24,15 @@ Sub-nodes:
   Documentation/devicetree/bindings/leds/common.txt.
 - regulators : Contain the regulator nodes. The regulators are bound using
   their names as listed below with their registers and bits for enabling.
+- pwrbuttons : Contains the onoff input button nodes.
+  - #address-cells: Must be 1.
+  - #size-cells: Must be 0.
+  - reg: Contains the BUTTON ID (see below)
+  - linux,code
+  - debounce-delay-value: debouncing selection of 0 (0ms), 1 (default 30ms),
+    2(150ms) or 3 (750ms).
+  - active-low
+  - enable-reset
We do not take new properties in TXT format, especially entire device nodes.

Please convert the binding to DT schema first and then extend it.


Best regards,
Krzysztof
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help