05 Jun, 2019
1 commit
-
Based on 1 normalized pattern(s):
this software is licensed under the terms of the gnu general public
license version 2 as published by the free software foundation and
may be copied distributed and modified under those terms this
program is distributed in the hope that it will be useful but
without any warranty without even the implied warranty of
merchantability or fitness for a particular purpose see the gnu
general public license for more detailsextracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 285 file(s).
Signed-off-by: Thomas Gleixner
Reviewed-by: Alexios Zavras
Reviewed-by: Allison Randal
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141900.642774971@linutronix.de
Signed-off-by: Greg Kroah-Hartman
25 Jul, 2017
1 commit
-
Undo preparation of a clock source if vt8500_pwm_probe() is not
successful.Signed-off-by: Arvind Yadav
Signed-off-by: Thierry Reding
19 Jan, 2017
1 commit
-
Declare pwm_ops structures as const as they are only stored in the ops
field of a pwm_chip structure. This field is of type const struct pwm_ops
*, so pwm_ops structures having this property can be declared as const.
Done using Coccinelle:@r1 disable optional_qualifier@
identifier i;
position p;
@@
static struct pwm_ops i@p={...};@ok1@
identifier r1.i;
position p;
struct pxa_pwm_chip pwm;
struct bfin_pwm_chip bwm;
struct vt8500_chip vp;
struct imx_chip icp;
@@
(
pwm.chip.ops=&i@p
|
bwm.chip.ops=&i@p
|
vp.chip.ops=&i@p
|
icp.chip.ops=&i@p
)@bad@
position p!={r1.p,ok1.p};
identifier r1.i;
@@
i@p@depends on !bad disable optional_qualifier@
identifier r1.i;
@@
+const
struct pwm_ops i;File size details:
text data bss dec hex filename
1646 328 0 1974 7b6 drivers/pwm/pwm-imx.o
1742 224 0 1966 7ae drivers/pwm/pwm-imx.o1941 296 0 2237 8bd drivers/pwm/pwm-pxa.o
2037 192 0 2229 8b5 drivers/pwm/pwm-pxa.o1946 296 0 2242 8c2 drivers/pwm/pwm-vt8500.o
2050 192 0 2242 8c2 drivers/pwm/pwm-vt8500.oThe drivers/pwm/pwm-bfin.o file did not compile.
Signed-off-by: Bhumika Goyal
Signed-off-by: Thierry Reding
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