Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27e8c8f3 authored by Linus Walleij's avatar Linus Walleij Committed by Thierry Reding
Browse files

dt-bindings: pwm: Add DT bindings for STMPE PWM



This adds fairly standard device tree bindings for the STMPE PWM found
in STMPE24xx multi-purpose expanders.

Cc: devicetree@vger.kernel.org
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 2bf1c98a
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
== ST STMPE PWM controller ==

This is a PWM block embedded in the ST Microelectronics STMPE
(ST Multi-Purpose Expander) chips. The PWM is registered as a
subdevices of the STMPE MFD device.

Required properties:
- compatible: should be:
  - "st,stmpe-pwm"
- #pwm-cells: should be 2. See pwm.txt in this directory for a description of
  the cells format.

Example:

pwm0: pwm {
	compatible = "st,stmpe-pwm";
	#pwm-cells = <2>;
};