alistair23-linux/drivers/pwm
Philip, Avinash af0ba001d2 pwm: Add TI PWM subsystem driver
In some platforms (like am33xx), PWM sub modules (ECAP, EHRPWM, EQEP)
are integrated to PWM subsystem. These PWM submodules has resources
shared and only one register bit-field is provided to control
module/clock enable/disable, makes it difficult to handle common
resources from independent PWMSS submodule drivers.

So the solution here implemented in this patch is, to create driver for
PWMSS and take the role of parent driver for PWM submodules. PWMSS
parent driver enumerates all the child nodes under PWMSS module. Also
symbol "pwmss_submodule_state_change" exported to enable clock gating
for individual PWMSS submodules, and submodule drivers has to enable
clock gating from their drivers.

As this is only supported during DT boot, the parent/child relationship
is created and populated in DT execution flow. The only required change
is inside DTS file, making EHRPWM & ECAP as a child to PWMSS node.

Signed-off-by: Philip, Avinash <avinashphilip@ti.com>
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
2012-11-28 15:14:41 +01:00
..
core.c pwm: Device tree support for PWM polarity 2012-11-22 22:47:12 +01:00
Kconfig pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
Makefile pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-ab8500.c pwm: Move AB8500 PWM driver to PWM framework 2012-09-20 12:52:03 +02:00
pwm-bfin.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-imx.c pwm: i.MX: fix clock lookup 2012-09-12 14:25:07 +02:00
pwm-jz4740.c pwm: Add Ingenic JZ4740 support 2012-10-05 20:56:42 +02:00
pwm-lpc32xx.c pwm: add lpc32xx PWM support 2012-07-23 13:24:05 +02:00
pwm-mxs.c pwm: pwm-mxs: Return proper error if pwmchip_remove() fails 2012-07-23 13:24:01 +02:00
pwm-puv3.c pwm: Move PUV3 PWM driver to PWM framework 2012-10-05 20:56:41 +02:00
pwm-pxa.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-samsung.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-spear.c pwm: spear: Staticize spear_pwm_config() 2012-11-22 22:47:10 +01:00
pwm-tegra.c pwm: Remove a redundant error message when devm_request_and_ioremap fails 2012-08-17 14:08:25 +02:00
pwm-tiecap.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-tiehrpwm.c pwm: Check for negative duty-cycle and period 2012-10-05 20:56:43 +02:00
pwm-tipwmss.c pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-tipwmss.h pwm: Add TI PWM subsystem driver 2012-11-28 15:14:41 +01:00
pwm-twl6030.c pwm: Move TWL6030 PWM driver to PWM framework 2012-09-19 12:04:25 +02:00
pwm-vt8500.c pwm: vt8500: Ensure PWM clock is enabled during pwm_config 2012-11-22 22:47:12 +01:00