pwm: tiehrpwm: Add device-tree binding
commit53ad9e8d37031397ee141f9bf701c0fba4257b0f
authorPhilip, Avinash <avinashphilip@ti.com>
Tue, 27 Nov 2012 08:48:13 +0000 (27 14:18 +0530)
committerThierry Reding <thierry.reding@avionic-design.de>
Wed, 28 Nov 2012 14:16:17 +0000 (28 15:16 +0100)
tree41dda85d04ca64360a42874e6ea62a0299942de5
parentd91861dafda44d808272f55758ca91d962feda6e
pwm: tiehrpwm: Add device-tree binding

This patch
1. Add support for device-tree binding for EHRWPM driver.
2. Set size of pwm-cells set to 3 to support PWM channel number, PWM
   period & polarity configuration from device tree.
3. Add enable/disable clock gating in PWM subsystem common config space.
4. When here set .owner member in platform_driver structure to
   THIS_MODULE.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Documentation/devicetree/bindings/pwm/pwm-tiehrpwm.txt [new file with mode: 0644]
drivers/pwm/pwm-tiehrpwm.c