16 Jun, 2020
1 commit
-
Since the PWM framework is switching struct pwm_args.period's datatype
to u64, prepare for this transition by using DIV64_U64_ROUND_CLOSEST to
handle a 64-bit divisor.Cc: Daniel Thompson
Signed-off-by: Guru Das Srinagesh
Signed-off-by: Thierry Reding
24 Dec, 2018
2 commits
-
Adopt the SPDX license identifier headers to ease license compliance
management.Signed-off-by: Alexander Shiyan
Signed-off-by: Thierry Reding -
Commit e39c0df1be5a ("pwm: Introduce the pwm_args concept") has
changed the variable for the period for clps711x-pwm driver, so now
pwm_get/set_period() works with pwm->state.period variable instead
of pwm->args.period.
This patch changes the period variable in other places where it is used.Signed-off-by: Alexander Shiyan
Signed-off-by: Thierry Reding
06 Jul, 2016
1 commit
-
This patch changes the compatibility string to match with the smallest
supported chip (EP7209). Since the DT-support for this CPU is not yet
announced, this change is safe.Signed-off-by: Alexander Shiyan
Signed-off-by: Arnd Bergmann
03 May, 2016
1 commit
-
Currently the PWM core mixes the current PWM state with the per-platform
reference config (specified through the PWM lookup table, DT definition
or directly hardcoded in PWM drivers).Create a struct pwm_args to store this reference configuration, so that
PWM users can differentiate between the current and reference
configurations.Patch all places where pwm->args should be initialized. We keep the
pwm_set_polarity/period() calls until all PWM users are patched to use
pwm_args instead of pwm_get_period/polarity().Signed-off-by: Boris Brezillon
[thierry.reding@gmail.com: reword kerneldoc comments]
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
19 Mar, 2014
1 commit
-
Add a new driver for the ARM CLPS711X Pulse Width Modulator (PWM) interface.
This CPU contain two 4-bit PWM outputs with constant period, based on CPU
PLL frequency. PWM polarity is determined by hardware by power on reset.Signed-off-by: Alexander Shiyan
Signed-off-by: Thierry Reding