b9f87404dde26769429b470e1d4854a3c380cf26 |
|
23-Apr-2014 |
Jingoo Han <jg1.han@samsung.com> |
pwm: vt8500: Remove unnecessary OOM messages The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
|
362e9cd2f54e3c72a37ff8e3319366554e48c555 |
|
12-May-2013 |
Wolfram Sang <wsa@the-dreams.de> |
drivers/pwm: don't check resource with devm_ioremap_resource devm_ioremap_resource does sanity checks on the given resource. No need to duplicate this in the driver. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Stephen Warren <swarren@nvidia.com>
|
6d4294d1634543853febc4287ecf02998fd234e1 |
|
21-Jan-2013 |
Thierry Reding <thierry.reding@avionic-design.de> |
pwm: Convert to devm_ioremap_resource() Convert all uses of devm_request_and_ioremap() to the newly introduced devm_ioremap_resource() which provides more consistent error handling. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
3ccb1c1702ed4bb07006d20c8173899a69dae242 |
|
02-Jan-2013 |
Tony Prisk <linux@prisktech.co.nz> |
pwm: vt8500: Add polarity support Add support to set polarity on PWM devices, allowing for inverted duty cycles. Also update the binding document to #pwm-cells = <3> to allow passing the flags from devicetree. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
8ab432caa46413c9f3ca81d82ea9fa5bae07c3c1 |
|
02-Jan-2013 |
Tony Prisk <linux@prisktech.co.nz> |
pwm: vt8500: Register write busy test performed incorrectly Correct operation for register writes is to perform a busy-wait after writing the register. Currently the busy wait it performed before, meaning subsequent register writes to bitfields may occur before the previous field has been updated. Also, all registers are defined as 32-bit read/write. Change pwm_busy_wait() to use readl rather than readb. Improve readability of code with defines for registers and bitfields. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
422470a8265fbb1d182c00ab2421f4b416ab2dba |
|
19-Nov-2012 |
Tony Prisk <linux@prisktech.co.nz> |
pwm: vt8500: Ensure PWM clock is enabled during pwm_config This patch corrects a bug reported by Peter Vasil. When all PWMs are disabled, PWM module may be disabled during calls to pwm_config. This patch enables/disables the clock in pwm_config to ensure the module is active before register read/ writes. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Tested-by: Peter Vasil <petervasil@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
2f9569f7ceab31242b306d040861737580e1876f |
|
19-Nov-2012 |
Tony Prisk <linux@prisktech.co.nz> |
pwm: vt8500: Fix build error A missing '{' causes a build error in pwm-vt8500.c Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
63e1ed2364050073770c085021377d7764969b85 |
|
27-Oct-2012 |
Tony Prisk <linux@prisktech.co.nz> |
pwm: vt8500: Update vt8500 PWM driver support This patch updates pwm-vt8500.c to support devicetree probing and make use of the common clock subsystem. A binding document describing the PWM controller found on arch-vt8500 is also included. Signed-off-by: Tony Prisk <linux@prisktech.co.nz> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
eba7cbe5d8bbc3bc24f46973e44f1566f81d1f56 |
|
10-Aug-2012 |
Sachin Kamat <sachin.kamat@linaro.org> |
pwm: vt8500: Fix coding style issue Fixes the following: WARNING: Prefer pr_warn(... to pr_warning(... pr_warning("Waiting for status bits 0x%x to clear timed out\n", Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
261995dd305ff991ca1cfb462862a5311739333b |
|
01-Jul-2012 |
Axel Lin <axel.lin@gmail.com> |
pwm: Convert pwm-vt8500 to use devm_* APIs Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|
a245ccebb4aad9fae60597d5cbad158c0de4483e |
|
15-Mar-2012 |
Sascha Hauer <s.hauer@pengutronix.de> |
ARM vt8500: Move vt8500 pwm driver to pwm framework Move the driver to drivers/pwm/ and convert it to use the framework. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Cc: Alexey Charkov <alchark@gmail.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
|