Re: [PATCH 1/2] pwm: add DT bindings for the STMPE PWM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Sun, Feb 14, 2016 at 02:08:37PM +0100, Linus Walleij wrote:
> This adds fairly standard device tree bindings for the STMPE
> PWM found in STMPE24xx multi-purpose expanders.
> 
> Cc: devicetree@xxxxxxxxxxxxxxx
> Acked-by: Rob Herring <robh@xxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
>  Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
> 
> diff --git a/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
> new file mode 100644
> index 000000000000..c8b53f39ae31
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt
> @@ -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:
> +
> +stmpe1_pwm0: stmpe_pwm {

Shouldn't the node name simply be "pwm"? stmpe_pwm is kind of redundant
given that this is to be embedded in an MFD node that will, presumably,
be called stmpe.

Thierry

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux