20 Oct, 2014
1 commit
-
A platform_driver does not need to set an owner, it will be populated by the
driver core.Signed-off-by: Wolfram Sang
28 Apr, 2014
1 commit
-
The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.Signed-off-by: Jingoo Han
Signed-off-by: Thierry Reding
18 May, 2013
1 commit
-
devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.Signed-off-by: Wolfram Sang
Acked-by: Stephen Warren
27 Feb, 2013
1 commit
-
Pull PWM changes from Thierry Reding:
"A new driver has been added to support the PWM mode of the timer
counter blocks found on Atmel AT91 SoCs. The VT8500 driver now
supports changing the PWM signal polarity and the TI drivers (EHRPWM
and ECAP) gained suspend and resume functionality.User drivers can now query the core for whether access to a PWM device
will sleep (if the PWM chip is on a slow bus such as I2C or SPI).The pwm-backlight driver now handles the backlight BL_CORE_FBBLANK
state in addition to the FB layer's blanking states.To round things off, a few fixes and cleanups are also included"
* tag 'for-3.9-rc1' of git://gitorious.org/linux-pwm/linux-pwm:
pwm: twl: Use to_twl() instead of container_of()
pwm: tegra: assume CONFIG_OF
pwm_backlight: Validate dft_brightness in main probe function
pwm: Export pwm_{set,get}_chip_data()
pwm: Make Kconfig entries more consistent
pwm: Add can_sleep property to drivers
pwm: Add pwm_can_sleep() as exported API to users
pwm-backlight: handle BL_CORE_FBBLANK state
pwm: pwm-tiecap: Low power sleep support
pwm: pwm-tiehrpwm: Low power sleep support
pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver
pwm: vt8500: Add polarity support
pwm: vt8500: Register write busy test performed incorrectly
pwm: atmel: add Timer Counter Block PWM driver
23 Jan, 2013
1 commit
-
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
Acked-by: Viresh Kumar
Signed-off-by: Greg Kroah-Hartman
09 Jan, 2013
2 commits
-
Add support to set polarity on PWM devices, allowing for inverted
duty cycles.Also update the binding document to #pwm-cells = to allow
passing the flags from devicetree.Signed-off-by: Tony Prisk
Signed-off-by: Thierry Reding -
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
Signed-off-by: Thierry Reding
23 Nov, 2012
2 commits
-
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
Tested-by: Peter Vasil
Signed-off-by: Thierry Reding -
A missing '{' causes a build error in pwm-vt8500.c
Signed-off-by: Tony Prisk
Signed-off-by: Thierry Reding
01 Nov, 2012
1 commit
-
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
Acked-by: Arnd Bergmann
Signed-off-by: Thierry Reding
17 Aug, 2012
1 commit
-
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
Signed-off-by: Thierry Reding
23 Jul, 2012
1 commit
-
Signed-off-by: Axel Lin
Signed-off-by: Thierry Reding
03 Jul, 2012
1 commit
-
Move the driver to drivers/pwm/ and convert it to use the framework.
Signed-off-by: Sascha Hauer
Cc: Alexey Charkov
Signed-off-by: Thierry Reding