diff mbox series

ARM: qcom: Add support for IPQ40xx

Message ID 20200106135715.1159420-1-robert.marko@sartura.hr (mailing list archive)
State Accepted
Commit f125e2d4339dda6937865f975470b29c84714c9b
Headers show
Series ARM: qcom: Add support for IPQ40xx | expand

Commit Message

Robert Marko Jan. 6, 2020, 1:57 p.m. UTC
From: Christian Lamparter <chunkeey@gmail.com>

Add support for the Qualcomm IPQ40xx SoC in Kconfig.
Also add its appropriate textofs.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: John Crispin <john@phrozen.org>
Tested-by: Robert Marko <robert.marko@sartura.hr>
Cc: Luka Perkov <luka.perkov@sartura.hr>
---
 arch/arm/Makefile          | 1 +
 arch/arm/mach-qcom/Kconfig | 5 +++++
 2 files changed, 6 insertions(+)

Comments

Robert Marko Jan. 25, 2020, 6:47 p.m. UTC | #1
Any issues that are preventing merging of this patch?

Cheers

On Mon, Jan 6, 2020 at 2:57 PM Robert Marko <robert.marko@sartura.hr> wrote:
>
> From: Christian Lamparter <chunkeey@gmail.com>
>
> Add support for the Qualcomm IPQ40xx SoC in Kconfig.
> Also add its appropriate textofs.
>
> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
> Signed-off-by: John Crispin <john@phrozen.org>
> Tested-by: Robert Marko <robert.marko@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
> ---
>  arch/arm/Makefile          | 1 +
>  arch/arm/mach-qcom/Kconfig | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index db857d07114f..3db642722af0 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940)      := 0x00108000
>  ifeq ($(CONFIG_ARCH_SA1100),y)
>  textofs-$(CONFIG_SA1111) := 0x00208000
>  endif
> +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
>  textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
>  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
>  textofs-$(CONFIG_ARCH_MESON) := 0x00208000
> diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> index ecbf3c4eb878..1772eccb5caf 100644
> --- a/arch/arm/mach-qcom/Kconfig
> +++ b/arch/arm/mach-qcom/Kconfig
> @@ -12,6 +12,11 @@ menuconfig ARCH_QCOM
>
>  if ARCH_QCOM
>
> +config ARCH_IPQ40XX
> +       bool "Enable support for IPQ40XX"
> +       select CLKSRC_QCOM
> +       select HAVE_ARM_ARCH_TIMER
> +
>  config ARCH_MSM8X60
>         bool "Enable support for MSM8X60"
>         select CLKSRC_QCOM
> --
> 2.24.1
>
Robert Marko March 25, 2020, 10:25 a.m. UTC | #2
On Mon, Jan 6, 2020 at 2:57 PM Robert Marko <robert.marko@sartura.hr> wrote:
>
> From: Christian Lamparter <chunkeey@gmail.com>
>
> Add support for the Qualcomm IPQ40xx SoC in Kconfig.
> Also add its appropriate textofs.
Any blockers on this patch?

Thanks
>
> Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
> Signed-off-by: John Crispin <john@phrozen.org>
> Tested-by: Robert Marko <robert.marko@sartura.hr>
> Cc: Luka Perkov <luka.perkov@sartura.hr>
> ---
>  arch/arm/Makefile          | 1 +
>  arch/arm/mach-qcom/Kconfig | 5 +++++
>  2 files changed, 6 insertions(+)
>
> diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> index db857d07114f..3db642722af0 100644
> --- a/arch/arm/Makefile
> +++ b/arch/arm/Makefile
> @@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940)      := 0x00108000
>  ifeq ($(CONFIG_ARCH_SA1100),y)
>  textofs-$(CONFIG_SA1111) := 0x00208000
>  endif
> +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
>  textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
>  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
>  textofs-$(CONFIG_ARCH_MESON) := 0x00208000
> diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> index ecbf3c4eb878..1772eccb5caf 100644
> --- a/arch/arm/mach-qcom/Kconfig
> +++ b/arch/arm/mach-qcom/Kconfig
> @@ -12,6 +12,11 @@ menuconfig ARCH_QCOM
>
>  if ARCH_QCOM
>
> +config ARCH_IPQ40XX
> +       bool "Enable support for IPQ40XX"
> +       select CLKSRC_QCOM
> +       select HAVE_ARM_ARCH_TIMER
> +
>  config ARCH_MSM8X60
>         bool "Enable support for MSM8X60"
>         select CLKSRC_QCOM
> --
> 2.24.1
>
Bjorn Andersson March 27, 2020, 10:05 p.m. UTC | #3
On Wed 25 Mar 03:25 PDT 2020, Robert Marko wrote:

> On Mon, Jan 6, 2020 at 2:57 PM Robert Marko <robert.marko@sartura.hr> wrote:
> >
> > From: Christian Lamparter <chunkeey@gmail.com>
> >
> > Add support for the Qualcomm IPQ40xx SoC in Kconfig.
> > Also add its appropriate textofs.
> Any blockers on this patch?
> 

No, I must have missed it in the past. I've picked it up for 5.8.

Thanks for the reminder,
Bjorn

> Thanks
> >
> > Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
> > Signed-off-by: John Crispin <john@phrozen.org>
> > Tested-by: Robert Marko <robert.marko@sartura.hr>
> > Cc: Luka Perkov <luka.perkov@sartura.hr>
> > ---
> >  arch/arm/Makefile          | 1 +
> >  arch/arm/mach-qcom/Kconfig | 5 +++++
> >  2 files changed, 6 insertions(+)
> >
> > diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> > index db857d07114f..3db642722af0 100644
> > --- a/arch/arm/Makefile
> > +++ b/arch/arm/Makefile
> > @@ -152,6 +152,7 @@ textofs-$(CONFIG_PM_H1940)      := 0x00108000
> >  ifeq ($(CONFIG_ARCH_SA1100),y)
> >  textofs-$(CONFIG_SA1111) := 0x00208000
> >  endif
> > +textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
> >  textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
> >  textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
> >  textofs-$(CONFIG_ARCH_MESON) := 0x00208000
> > diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
> > index ecbf3c4eb878..1772eccb5caf 100644
> > --- a/arch/arm/mach-qcom/Kconfig
> > +++ b/arch/arm/mach-qcom/Kconfig
> > @@ -12,6 +12,11 @@ menuconfig ARCH_QCOM
> >
> >  if ARCH_QCOM
> >
> > +config ARCH_IPQ40XX
> > +       bool "Enable support for IPQ40XX"
> > +       select CLKSRC_QCOM
> > +       select HAVE_ARM_ARCH_TIMER
> > +
> >  config ARCH_MSM8X60
> >         bool "Enable support for MSM8X60"
> >         select CLKSRC_QCOM
> > --
> > 2.24.1
> >
Arnd Bergmann March 28, 2020, 9:15 a.m. UTC | #4
On Fri, Mar 27, 2020 at 11:05 PM Bjorn Andersson
<bjorn.andersson@linaro.org> wrote:
>
> On Wed 25 Mar 03:25 PDT 2020, Robert Marko wrote:
>
> > On Mon, Jan 6, 2020 at 2:57 PM Robert Marko <robert.marko@sartura.hr> wrote:
> > >
> > > From: Christian Lamparter <chunkeey@gmail.com>
> > >
> > > Add support for the Qualcomm IPQ40xx SoC in Kconfig.
> > > Also add its appropriate textofs.
> > Any blockers on this patch?
> >
>
> No, I must have missed it in the past. I've picked it up for 5.8.
>

If we only need these few lines, I can still squeeze it in for v5.7 last minute,
just forward that patch to soc@kernel.org. If other things are still needed,
let's wait until v5.8.

      Arnd
Luka Perkov March 29, 2020, 9:17 p.m. UTC | #5
Hello Arnd,

On Sat, Mar 28, 2020 at 10:15 AM Arnd Bergmann <arnd@arndb.de> wrote:
>
> On Fri, Mar 27, 2020 at 11:05 PM Bjorn Andersson
> <bjorn.andersson@linaro.org> wrote:
> >
> > On Wed 25 Mar 03:25 PDT 2020, Robert Marko wrote:
> >
> > > On Mon, Jan 6, 2020 at 2:57 PM Robert Marko <robert.marko@sartura.hr> wrote:
> > > >
> > > > From: Christian Lamparter <chunkeey@gmail.com>
> > > >
> > > > Add support for the Qualcomm IPQ40xx SoC in Kconfig.
> > > > Also add its appropriate textofs.
> > > Any blockers on this patch?
> > >
> >
> > No, I must have missed it in the past. I've picked it up for 5.8.
> >
>
> If we only need these few lines, I can still squeeze it in for v5.7 last minute,
> just forward that patch to soc@kernel.org. If other things are still needed,
> let's wait until v5.8.

These few lines is all that is needed. I'd appreciate if we could land
this in v5.7 rather then wait for v5.8.

Thanks,
Luka
diff mbox series

Patch

diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index db857d07114f..3db642722af0 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -152,6 +152,7 @@  textofs-$(CONFIG_PM_H1940)      := 0x00108000
 ifeq ($(CONFIG_ARCH_SA1100),y)
 textofs-$(CONFIG_SA1111) := 0x00208000
 endif
+textofs-$(CONFIG_ARCH_IPQ40XX) := 0x00208000
 textofs-$(CONFIG_ARCH_MSM8X60) := 0x00208000
 textofs-$(CONFIG_ARCH_MSM8960) := 0x00208000
 textofs-$(CONFIG_ARCH_MESON) := 0x00208000
diff --git a/arch/arm/mach-qcom/Kconfig b/arch/arm/mach-qcom/Kconfig
index ecbf3c4eb878..1772eccb5caf 100644
--- a/arch/arm/mach-qcom/Kconfig
+++ b/arch/arm/mach-qcom/Kconfig
@@ -12,6 +12,11 @@  menuconfig ARCH_QCOM
 
 if ARCH_QCOM
 
+config ARCH_IPQ40XX
+	bool "Enable support for IPQ40XX"
+	select CLKSRC_QCOM
+	select HAVE_ARM_ARCH_TIMER
+
 config ARCH_MSM8X60
 	bool "Enable support for MSM8X60"
 	select CLKSRC_QCOM