[U-Boot] [PATCH 00/11 v3] Fix and Re-organise PWM Timer

Akshay Saraswat akshay.s at samsung.com
Thu Mar 28 15:32:14 CET 2013


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

 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(-)

-- 
1.8.0



More information about the U-Boot mailing list