diff options
| author | Simon Glass <[email protected]> | 2016-02-21 21:08:49 -0700 |
|---|---|---|
| committer | Minkyu Kang <[email protected]> | 2016-05-25 13:25:18 +0900 |
| commit | 5c2dd4cd7a41ec971a23eec9e993717e5aed8744 (patch) | |
| tree | 1ae675319de36ac0b50f7a7659db901004573102 /arch/arm | |
| parent | 0c84358cb240953b467034a52fcc2f459ba4029b (diff) | |
exynos: pwm: Add a driver for the exynos5 PWM
This driver supports the standard PWM API. There are 5 PWMs. Four are used
normally and the last is normally used as a timer.
Signed-off-by: Simon Glass <[email protected]>
Signed-off-by: Minkyu Kang <[email protected]>
Diffstat (limited to 'arch/arm')
| -rw-r--r-- | arch/arm/cpu/armv7/s5p-common/timer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/s5p-common/timer.c b/arch/arm/cpu/armv7/s5p-common/timer.c index 949abb1c8fe..b63036c64eb 100644 --- a/arch/arm/cpu/armv7/s5p-common/timer.c +++ b/arch/arm/cpu/armv7/s5p-common/timer.c @@ -12,6 +12,9 @@ #include <asm/io.h> #include <asm/arch/pwm.h> #include <asm/arch/clk.h> + +/* Use the old PWM interface for now */ +#undef CONFIG_DM_PWM #include <pwm.h> DECLARE_GLOBAL_DATA_PTR; |
