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


Groups > linux.kernel > #1277841

Re: [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource platforms

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource platforms
Date 2015-11-25 23:10 +0100
Message-ID <qyQqe-3L8-23@gated-at.bofh.it> (permalink)
References <qyPua-3am-15@gated-at.bofh.it> <qyPua-3am-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday 25 November 2015 13:04:36 Stephen Boyd wrote:
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index 2c2b28ee4811..999d523ac09f 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -148,8 +148,7 @@ textofs-$(CONFIG_PM_H1940)      := 0x00108000
>  ifeq ($(CONFIG_ARCH_SA1100),y)
>  textofs-$(CONFIG_SA1111) := 0x00208000
>  endif
> -textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
> -textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
> +textofs-$(CONFIG_HAVE_CLKSRC_QCOM) := 0x00208000
>  textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
>  
>  # Machine directory name.  This list is sorted alphanumerically
> diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> index 2256cd1e25d1..35a03967d9c2 100644
> --- a/arch/arm/mach-qcom/Kconfig
> +++ b/arch/arm/mach-qcom/Kconfig
> @@ -10,6 +10,14 @@ menuconfig ARCH_QCOM
>  
>  if ARCH_QCOM
>  
> +config HAVE_CLKSRC_QCOM
> +       bool "Support platforms with qcom clocksource"
> +       default y
> +       select CLKSRC_QCOM
> +       help
> +         Select this option if you want to support platforms
> +         with the qcom clocksource such as MSM8660 and MSM8960.

Hmm, if we use the option for two things, I think it could use
a different identifier and title, as it seems counterintuitive
to make the text offset based on the clocksource driver.

Is there any common way to classify these, e.g. calling them
'pre-2013 models' or 'Snapdragon S4' as a way to identify them?

The way it appears in Kconfig also still needs to reflect how
this is a subset of the supported platforms (as your current
patch does correctly).

	Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v2 0/3] Remove ARCH_MSM* configs Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 22:10 +0100
  [PATCH v2 3/3] ARM: qcom: Drop ARCH_MSM* configs Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 22:10 +0100
  [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource platforms Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 22:10 +0100
    Re: [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource platforms Arnd Bergmann <arnd@arndb.de> - 2015-11-25 23:10 +0100
      Re: [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource  platforms Stephen Boyd <sboyd@codeaurora.org> - 2015-11-25 23:30 +0100
        Re: [PATCH v2 1/3] ARM: qcom: Make an option for qcom clocksource platforms Arnd Bergmann <arnd@arndb.de> - 2015-11-25 23:50 +0100

csiph-web