dt-bindings: pwm: Add bindings doc for ZTE ZX PWM controller
authorShawn Guo <shawn.guo@linaro.org>
Thu, 27 Jul 2017 08:23:36 +0000 (16:23 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 21 Aug 2017 05:34:18 +0000 (07:34 +0200)
commitacfc3e348c4132d44c433b784f83fe3a26e1e328
tree16c821d9ec681f1ad355760817e0239c66ee66be
parent8a88b2a2017d1e7e80db53080baff591fd454722
dt-bindings: pwm: Add bindings doc for ZTE ZX PWM controller

It adds bindings document for ZTE ZX PWM controller. The device has two
clocks: PCLK and WCLK. The PCLK is for register access, and WCLK is the
reference clock for calculating period and duty cycles. Also, the device
supports polarity configuration, so #pwm-cells should be 3.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/pwm-zx.txt [new file with mode: 0644]