[PATCH v2 08/20] dt-bindings: mfd: twl4030: Document 64-cycle PWM

From: H. Nikolaus Schaller

Date: Tue Nov 24 2026 - 02:28:11 EST


Document the optional ti,twl4030-pwm-frame-64 property for the
TWL4030 PWM controller. It selects the 64-clock-cycle frame instead
of the default 128-cycle frame, doubling the output frequency and
reducing duty-cycle resolution.

The selection is explicit because the driver does not know the PWM
input clock rate and cannot derive the hardware frame length from a
consumer-requested period. The shorter frame can reduce PWM LOW
intervals during startup mode detection of LED drivers such as the
TI TPS61160/61.

Signed-off-by: H. Nikolaus Schaller <hns@xxxxxxxxxxxxx>
---

Notes:
Changes against V1:
- Revised commit message to focus on the binding and the reason
for explicit 64-cycle frame selection.
- Commit-message review assisted by ChatGPT.

Documentation/devicetree/bindings/mfd/ti,twl.yaml | 9 +++++++++
1 file changed, 9 insertions(+)

diff --git a/Documentation/devicetree/bindings/mfd/ti,twl.yaml b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
index 9cc3e4721612e..f458f0d80f2cd 100644
--- a/Documentation/devicetree/bindings/mfd/ti,twl.yaml
+++ b/Documentation/devicetree/bindings/mfd/ti,twl.yaml
@@ -396,6 +396,15 @@ properties:
'#pwm-cells':
const: 2

+ ti,twl4030-pwm-frame-64:
+ type: boolean
+ description:
+ TWL4030 only; not supported by TWL6030 PWM.
+ Select the short 64-clock-cycle PWM frame instead of the
+ default 128-cycle frame, doubling the PWM frequency. Required
+ for dimming inputs requiring short PWM low intervals during
+ startup mode detection (e.g. TI TPS61160/61).
+
required:
- compatible
- '#pwm-cells'
--
2.56.0