Re: [PATCH v2 3/4] doc: dt: pwm: add binding for ChromeOS EC PWM
From: Rob Herring <robh@kernel.org>
Date: 2016-06-06 13:36:36
Also in:
linux-pwm, lkml
From: Rob Herring <robh@kernel.org>
Date: 2016-06-06 13:36:36
Also in:
linux-pwm, lkml
On Thu, Jun 02, 2016 at 06:21:43PM -0700, Brian Norris wrote:
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 1 cell -- to specify the index. Signed-off-by: Brian Norris <briannorris@chromium.org> --- v2: dropped the "google,max-pwms" property .../devicetree/bindings/pwm/google,cros-ec-pwm.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/pwm/google,cros-ec-pwm.txt
Acked-by: Rob Herring <robh@kernel.org>