| Age | Commit message (Collapse) | Author |
|
Use the driver-model PWM driver in preference to the old code.
Signed-off-by: Simon Glass <[email protected]>
Acked-by: Anatolij Gustschin <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
|
|
Move this option to Kconfig and clean up the header files. Adjust the only
user (the LCD driver) to work with the new driver.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
|
|
This PWM supports four channels. The driver always uses the 32KHz clock,
and adjusts the duty cycle accordingly.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
|
|
Add a simple driver which implements the standard PWM uclass interface.
Signed-off-by: Simon Glass <[email protected]>
|
|
Add a uclass that supports Pulse Width Modulation (PWM) devices. It
provides methods to enable/disable and configure the device.
Signed-off-by: Simon Glass <[email protected]>
|
|
The break after return is unreachable code, remove it.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
|
|
pwm_id_to_reg() can return NULL, so add NULL testing to prevent NULL pointer
dereference.
Signed-off-by: Axel Lin <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
|
|
Prevent overflow by casting duty_ns to ull first. This bug came up when trying to create a 200 Hz PWM
Signed-off-by: Brecht Neyrinck <[email protected]>
Acked-by: Heiko Schocher<[email protected]>
|
|
add basic support for the pwm modul found on imx6.
Pieces of this code are based on linux code from drivers/pwm/pwm-imx.c
Commit "cd3de83f1476 Linux 3.16-rc4"
Signed-off-by: Heiko Schocher <[email protected]>
Acked-by: Stefano Babic <[email protected]>
Cc: Wolfgang Denk <[email protected]>
|