Skip to content

Exynos5: Fix warnings and enrich clock_get_periph_rate

Minkyu Kang u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest0 of 7 patches 0 repliesNew

Patches in v6 No applies recorded yet

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

Reviews trailers per patch

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

Read the v6 thread

Cover letter [U-Boot] [PATCH v6 0/7] Exynos5: Fix warnings and enrich clock_get_periph_rate
Quoted 43 lines · Akshay Saraswat

This patch series does following changes -
1. Removing compiler warnings for clock_get_periph_rate.
2. Adding and enabling support for Exynos542x in clock_get_periph_rate.
3. Replacing peripheral specific function calls with clock_get_periph_rate.
4. Remove code from clocks file which became useless due to introduction of clock_get_periph_rate.

Changes since v5:
- Elaborated commit message and fixed a nit.

Changes since v4:
- Added Reviewed-by in patches 3 and 5.
- Split patch 6 of version 4 into two patches 6 and 7.

Changes since v3:
- Added Reviewed-by & Tested-by in patches 1, 2 and 4.
- Patch-3: Handled SPLL case in exynos542x_get_periph_rate.
- Patch-3: Changed EXYNOS542x -> EXYNOS542X in pll_src_bit enum.
- Merged pathces 5 and 6 of version 3.
- Patch-6: New patch for dealing with variety of mask bits.

Changes since v2:
- Patch-1: Added debug message for unknown periph IDs.
- Patch-2: Changed exynos5420 -> exynos542x in comment.
- Patch-3: Fixed enum and soc_get_periph_rate switch.
- Patch-3: Added checks for negative values in soc_get_periph_rate.
- Patch-4: Added checks for negative values in soc_get_periph_rate.

Changes since v1:
- Added 2 new patches.

Akshay Saraswat (7):
Exynos5: Fix compiler warnings due to clock_get_periph_rate
Exynos542x: Move exynos5420_get_pll_clk up and rename
Exynos542x: Add and enable get_periph_rate support
Exynos5: Fix exynos5_get_periph_rate calculations
Exynos5: Use clock_get_periph_rate generic API
Exynos: clock: change mask bits as per peripheral
Exynos: Clock: Cleanup soc_get_periph_rate

Quoted 4 lines
 arch/arm/cpu/armv7/exynos/clock.c      | 617 ++++++++++++++++-----------------
 arch/arm/include/asm/arch-exynos/clk.h |   4 +
 2 files changed, 298 insertions(+), 323 deletions(-)

applied to u-boot-samsung.

Thank,
Minkyu Kang.