Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320170

[PATCH v4 0/3] arm64/clk: EXYNOS: Consolidate Exynos7 symbol

From Krzysztof Kozlowski <k.kozlowski@samsung.com>
Newsgroups linux.kernel
Subject [PATCH v4 0/3] arm64/clk: EXYNOS: Consolidate Exynos7 symbol
Date 2016-01-28 01:40 +0100
Message-ID <qVIMV-3vP-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

Patchset attempts to remove the ARCH_EXYNOS7 symbol.

All patches depend on previous ones so no cherry-picked.
I was thinking about merging this through arm-soc tree after getting
needed acks (clk, arm-soc?).


Changes since v3:
=================
1. Rebase on next-20160127 (s3c64xx became multiplatform).

Changes since v2:
=================
1. Follow Arnd's advice about not enabling silently the newly added
   EXYNOS_ARM64_COMMON_CLK, when COMPILE_TEST is enabled. This was
   also a trigger for some changes in placement of Samsung clocks
   Kconfig entries...
2. ... which lead to introducing patch 1.


Logic:
======
Now the clock selection algorithm works like:
1. For Exynos ARMv7 and ARMv8 the platforms select COMMON_CLK
   and COMMON_CLK_SAMSUNG.
2. As before: clock drivers for Exynos ARMv7 will be selected by
   respective SOC/ARCH_EXYNOS_XXX symbol.
3. For Exynos ARMv8 the clock drivers will be enabled by default
   by EXYNOS_ARM64_COMMON_CLK symbol.

Rationale:
==========
We don't need ARCH_EXYNOS7 symbol because all ARMv8 platforms should
fall under generic ARCH_EXYNOS. In the same time there is no sense
in building clocks for these ARMv8 SoCs on ARMv7 builds.


Best regards,
Krzysztof


Krzysztof Kozlowski (3):
  clk: samsung: Enable COMPILE_TEST for Samsung clocks
  clk: samsung: Don't build ARMv8 clock drivers on ARMv7
  arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

 arch/arm/mach-exynos/Kconfig        |  1 +
 arch/arm/mach-s3c24xx/Kconfig       |  8 ++++++++
 arch/arm/mach-s3c64xx/Kconfig       |  1 +
 arch/arm/mach-s5pv210/Kconfig       |  1 +
 arch/arm64/Kconfig.platforms        | 12 +++---------
 arch/arm64/boot/dts/exynos/Makefile |  2 +-
 arch/arm64/configs/defconfig        |  2 +-
 drivers/clk/Kconfig                 |  2 +-
 drivers/clk/samsung/Kconfig         | 14 +++++++++-----
 drivers/clk/samsung/Makefile        |  4 ++--
 10 files changed, 28 insertions(+), 19 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/3] arm64/clk: EXYNOS: Consolidate Exynos7 symbol Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-28 01:40 +0100
  [PATCH v4 1/3] clk: samsung: Enable COMPILE_TEST for Samsung clocks Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-28 01:40 +0100
    Re: [PATCH v4 1/3] clk: samsung: Enable COMPILE_TEST for Samsung  clocks Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-28 20:20 +0100
    Re: [PATCH v4 1/3] clk: samsung: Enable COMPILE_TEST for Samsung  clocks Stephen Boyd <sboyd@codeaurora.org> - 2016-01-29 21:50 +0100
  [PATCH v4 2/3] clk: samsung: Don't build ARMv8 clock drivers on ARMv7 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-28 01:40 +0100
    Re: [PATCH v4 2/3] clk: samsung: Don't build ARMv8 clock drivers on  ARMv7 Chanwoo Choi <cw00.choi@samsung.com> - 2016-01-28 02:30 +0100
    Re: [PATCH v4 2/3] clk: samsung: Don't build ARMv8 clock drivers on  ARMv7 Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-28 20:20 +0100
    Re: [PATCH v4 2/3] clk: samsung: Don't build ARMv8 clock drivers on  ARMv7 Stephen Boyd <sboyd@codeaurora.org> - 2016-01-29 21:50 +0100
  [PATCH v4 3/3] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into  ARCH_EXYNOS Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-01-28 01:40 +0100
    Re: [PATCH v4 3/3] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol  into ARCH_EXYNOS Javier Martinez Canillas <javier@osg.samsung.com> - 2016-01-28 20:20 +0100
  Re: [PATCH v4 0/3] arm64/clk: EXYNOS: Consolidate Exynos7 symbol Andi Shyti <andi.shyti@samsung.com> - 2016-01-29 02:20 +0100

csiph-web