Skip to content

Fix and Re-organise PWM Timer

Minkyu Kang u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/20 of 11 patches 0 repliesNew
  2. v3 posting 1/20 of 11 patches 0 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 11 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [U-Boot] [PATCH 00/11 v3] 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.
- Made exynos5_get_periph_rate static.
- Added an empty line.
- Replaced "enum periph_id" with "int" in function arguments.
- Removed "#include <asm/arch/periph.h>" from clk.h.
- Added "Acked-by: Simon Glass".
- Patch-9: None.
- Patch-10:
- Replaced "exynos5_get_pwm_clk" with "clock_get_periph_rate" in get_pwm_clk instead 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: Restored get_pwm_clk call in case of non-exynos5 cpu.

Akshay Saraswat (11):
Exynos5: config: enable time command
Exynos: Change get_timer() to work correctly
Exynos: Add timer_get_us function
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 the pwm_config function 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 function exynos5_get_pwm_clk

Quoted 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.