Fix and Re-organise PWM Timer
v3 cover Fix and Re-organise PWM Timer
Hi Minkyu,
Quoted 63 lines
Dear Akshay,
Quoted 50 lines · Akshay Saraswat
This patch set tries to fix few bugs in timer and re-organises PWM clock code.
Changes since v2:
- Patch-1: New patch.
- Patch-2: None.
- Patch-3: None.
- Patch-4: None.
- Patch-5: Fixed typo paremters in commit message.
- Patch-6: None.
- Patch-7: Added "Acked-by: Simon Glass".
- Patch-8:
Fixed typo peripherial to peripheral.
- Madeexynos5_get_periph_ratestatic.
- Added an empty line.
- Replaced "enumperiph_id" with "int" in function arguments.
- Removed "#include <asm/arch/periph.h>" fromclk.h.
- Added "Acked-by: Simon Glass".
- Patch-9: None.
- Patch-10:
- Replaced "exynos5_get_pwm_clk" with "clock_get_periph_rate" inget_pwm_clkinstead of replacing everywhere.
- Added "Acked-by: Simon Glass".
- Patch-11: New patch.Changes since v1:
- Patch-1: Added "Acked-by: Simon Glass".
- Patch-2: Added "Acked-by: Simon Glass".
- Patch-3: Added "Acked-by: Simon Glass".
- Patch-4: Added "Acked-by: Simon Glass".
- Patch-5: Added "Acked-by: Simon Glass".
- Patch-6: None.
- Patch-7: Fixed few nits.
- Patch-8: Added "Acked-by: Simon Glass".
- Patch-9: Restoredget_pwm_clkcall in case of non-exynos5 cpu.Akshay Saraswat (11):
Exynos5: config: enable time command
Exynos: Changeget_timer()to work correctly
Exynos: Addtimer_get_usfunction
Exynos: pwm: Fix two bugs in the exynos pwm configuration code
Exynos: Avoid a divide by zero by specifying a non-zero period
for pwm 4
Exynos: Tidy up thepwm_configfunction in the exynos pwm driver
Exynos: Add peripherial id for pwm
Exynos: clock: Add generic api to get the clk freq
Exynos: clock: Correct pwm source clk selection
Exynos: pwm: Use generic api to get pwm clk freq
Exynos: pwm: Remove dead code of functionexynos5_get_pwm_clkQuoted 9 lines
arch/arm/cpu/armv7/exynos/clock.c | 167 ++++++++++++++++++++++++++---- arch/arm/cpu/armv7/s5p-common/pwm.c | 42 ++++---- arch/arm/cpu/armv7/s5p-common/timer.c | 117 ++++++++++----------- arch/arm/include/asm/arch-exynos/clk.h | 15 +++ arch/arm/include/asm/arch-exynos/periph.h | 5 + board/samsung/smdk5250/setup.h | 2 +- include/configs/exynos5250-dt.h | 3 + 7 files changed, 244 insertions(+), 107 deletions(-)
Quoted 6 lines
The patch-7 seems to did not reached at mailing list. If not, please let me know a link of patchwork.
Thanks,
Minkyu Kang.
I am sorry. I don't know how come this patch was left when the whole set was posted. I am posting patch-7 now. Please consider it.
Thanks & Regards,
Akshay Saraswat
v3 cover Fix and Re-organise PWM Timer
Quoted 72 lines · Akshay Saraswat
Hi Minkyu,
Quoted 63 lines
Dear Akshay,
Quoted 50 lines · Akshay Saraswat
This patch set tries to fix few bugs in timer and re-organises PWM clock code.
Changes since v2:
- Patch-1: New patch.
- Patch-2: None.
- Patch-3: None.
- Patch-4: None.
- Patch-5: Fixed typo paremters in commit message.
- Patch-6: None.
- Patch-7: Added "Acked-by: Simon Glass".
- Patch-8:
Fixed typo peripherial to peripheral.
- Madeexynos5_get_periph_ratestatic.
- Added an empty line.
- Replaced "enumperiph_id" with "int" in function arguments.
- Removed "#include <asm/arch/periph.h>" fromclk.h.
- Added "Acked-by: Simon Glass".
- Patch-9: None.
- Patch-10:
- Replaced "exynos5_get_pwm_clk" with "clock_get_periph_rate" inget_pwm_clkinstead of replacing everywhere.
- Added "Acked-by: Simon Glass".
- Patch-11: New patch.Changes since v1:
- Patch-1: Added "Acked-by: Simon Glass".
- Patch-2: Added "Acked-by: Simon Glass".
- Patch-3: Added "Acked-by: Simon Glass".
- Patch-4: Added "Acked-by: Simon Glass".
- Patch-5: Added "Acked-by: Simon Glass".
- Patch-6: None.
- Patch-7: Fixed few nits.
- Patch-8: Added "Acked-by: Simon Glass".
- Patch-9: Restoredget_pwm_clkcall in case of non-exynos5 cpu.Akshay Saraswat (11):
Exynos5: config: enable time command
Exynos: Changeget_timer()to work correctly
Exynos: Addtimer_get_usfunction
Exynos: pwm: Fix two bugs in the exynos pwm configuration code
Exynos: Avoid a divide by zero by specifying a non-zero period
for pwm 4
Exynos: Tidy up thepwm_configfunction in the exynos pwm driver
Exynos: Add peripherial id for pwm
Exynos: clock: Add generic api to get the clk freq
Exynos: clock: Correct pwm source clk selection
Exynos: pwm: Use generic api to get pwm clk freq
Exynos: pwm: Remove dead code of functionexynos5_get_pwm_clkQuoted 9 lines
arch/arm/cpu/armv7/exynos/clock.c | 167 ++++++++++++++++++++++++++---- arch/arm/cpu/armv7/s5p-common/pwm.c | 42 ++++---- arch/arm/cpu/armv7/s5p-common/timer.c | 117 ++++++++++----------- arch/arm/include/asm/arch-exynos/clk.h | 15 +++ arch/arm/include/asm/arch-exynos/periph.h | 5 + board/samsung/smdk5250/setup.h | 2 +- include/configs/exynos5250-dt.h | 3 + 7 files changed, 244 insertions(+), 107 deletions(-)Quoted 6 lines
The patch-7 seems to did not reached at mailing list. If not, please let me know a link of patchwork.
Thanks,
Minkyu Kang.
Quoted 6 lines
I am sorry. I don't know how come this patch was left when the whole set was posted. I am posting patch-7 now. Please consider it.
Thanks & Regards,
Akshay Saraswat
applied to u-boot-samsung.
Thanks,
Minkyu Kang.