dt-bindings: pwm: Add binding for ChromeOS EC PWM
authorBrian Norris <briannorris@chromium.org>
Fri, 15 Jul 2016 23:28:43 +0000 (16:28 -0700)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 25 Jul 2016 08:39:36 +0000 (10:39 +0200)
commit9e60f50b4a79ae2df791d89d08cf2b78ad7629bd
treebee8d37f05bf139f38e1e0f52c5fc8458ca3a673
parent38593426ecc7e0e22873dcd7b5d471eb869a0b6e
dt-bindings: pwm: Add binding for ChromeOS EC PWM

The ChromeOS Embedded Controller can support controlling its attached
PWMs via its host-command interface. The number of supported PWMs varies
on a per-board basis, but we can autodetect this by checking the error
codes, so we don't need an extra property for this. And because the EC
only allows specifying the duty cycle and not the period, we don't
specify the period via pwm-cells, and instead have only support for one
cell -- to specify the index.

Signed-off-by: Brian Norris <briannorris@chromium.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.txt [new file with mode: 0644]