Skip to content

Commit

Permalink
dt-bindings: pwm: Add DT bindings for STMPE PWM
Browse files Browse the repository at this point in the history
This adds fairly standard device tree bindings for the STMPE PWM found
in STMPE24xx multi-purpose expanders.

Cc: devicetree@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
  • Loading branch information
Linus Walleij authored and Thierry Reding committed Jul 11, 2016
1 parent 2bf1c98 commit 27e8c8f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
== 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>;
};

0 comments on commit 27e8c8f

Please sign in to comment.