[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<CH2PR03MB5285D1CFC6043B9EA446AFBC82652@CH2PR03MB5285.namprd03.prod.outlook.com>
Date: Fri, 13 Sep 2024 09:54:05 +0000
From: "Artamonovs, Arturs" <Arturs.Artamonovs@...log.com>
To: Arnd Bergmann <arnd@...db.de>, Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>, Greg Malysa <greg.malysa@...esys.com>,
Philipp
Zabel <p.zabel@...gutronix.de>, Rob Herring <robh@...nel.org>,
Krzysztof
Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
"Agarwal,
Utsav" <Utsav.Agarwal@...log.com>,
Michael Turquette
<mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Linus Walleij
<linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Thomas
Gleixner <tglx@...utronix.de>,
Andi Shyti <andi.shyti@...nel.org>,
Greg
Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby
<jirislaby@...nel.org>, Olof Johansson <olof@...om.net>,
"soc@...nel.org"
<soc@...nel.org>
CC: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>,
"devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>,
"linux-clk@...r.kernel.org"
<linux-clk@...r.kernel.org>,
"open list:GPIO SUBSYSTEM"
<linux-gpio@...r.kernel.org>,
"linux-i2c@...r.kernel.org"
<linux-i2c@...r.kernel.org>,
"linux-serial@...r.kernel.org"
<linux-serial@...r.kernel.org>,
Linux Factory <adsp-linux@...log.com>,
Nathan
Barrett-Morrison <nathan.morrison@...esys.com>
Subject: RE: [PATCH 01/21] arm64: Add ADI ADSP-SC598 SoC
> -----Original Message-----
> From: Arnd Bergmann <arnd@...db.de>
> Sent: Friday, September 13, 2024 9:16 AM
> To: Artamonovs, Arturs <Arturs.Artamonovs@...log.com>; Catalin Marinas
> <catalin.marinas@....com>; Will Deacon <will@...nel.org>; Greg Malysa
> <greg.malysa@...esys.com>; Philipp Zabel <p.zabel@...gutronix.de>; Rob
> Herring <robh@...nel.org>; Krzysztof Kozlowski <krzk+dt@...nel.org>; Conor
> Dooley <conor+dt@...nel.org>; Agarwal, Utsav <Utsav.Agarwal@...log.com>;
> Michael Turquette <mturquette@...libre.com>; Stephen Boyd
> <sboyd@...nel.org>; Linus Walleij <linus.walleij@...aro.org>; Bartosz
> Golaszewski <brgl@...ev.pl>; Thomas Gleixner <tglx@...utronix.de>; Andi Shyti
> <andi.shyti@...nel.org>; Greg Kroah-Hartman <gregkh@...uxfoundation.org>;
> Jiri Slaby <jirislaby@...nel.org>; Olof Johansson <olof@...om.net>;
> soc@...nel.org
> Cc: linux-arm-kernel@...ts.infradead.org; linux-kernel@...r.kernel.org;
> devicetree@...r.kernel.org; linux-clk@...r.kernel.org; open list:GPIO
> SUBSYSTEM <linux-gpio@...r.kernel.org>; linux-i2c@...r.kernel.org; linux-
> serial@...r.kernel.org; Linux Factory <adsp-linux@...log.com>; Nathan Barrett-
> Morrison <nathan.morrison@...esys.com>
> Subject: Re: [PATCH 01/21] arm64: Add ADI ADSP-SC598 SoC
>
> [External]
>
> On Thu, Sep 12, 2024, at 18:24, Arturs Artamonovs via B4 Relay wrote:
> > From: Arturs Artamonovs <arturs.artamonovs@...log.com>
> >
> > Add ADSP-SC598 platform.
> >
>
> > --- a/arch/arm64/Kconfig.platforms
> > +++ b/arch/arm64/Kconfig.platforms
> > @@ -292,6 +292,19 @@ config ARCH_ROCKCHIP
> > This enables support for the ARMv8 based Rockchip chipsets,
> > like the RK3368.
> >
> > +config ARCH_SC59X_64
> > + bool "ADI 64-bit SC59X Platforms"
> > + select TIMER_OF
> > + select GPIOLIB
> > + select PINCTRL
> > + select COMMON_CLK_ADI_SC598
> > + select PINCTRL_ADSP
> > + select ADI_ADSP_IRQ
> > + select COUNTER
>
> You can remove the 'select' statements above and just
> make your drivers 'default ARCH_SC59X_64'.
>
> It may also help to pick a more generic name for the platform
> in case someone wants to add support for SC57x/SC58x later,
> assuming these use some of the same drivers,.
>
> The Kconfig change can normally go into the same patch
> as the MAINTAINERS file update, but should be separate
> from any of the drivers.
>
Hi, yes future plan is too add other platforms like
SC57x/SC58x and SC594. Drivers are compatible.
> > --- /dev/null
> > +++ b/drivers/soc/adi/Makefile
> > @@ -0,0 +1,5 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +
> > +# todo modularize; already depends on CONFIG_ARCH_SC59X_64 though
> > +
> > +obj-y += system.o
> > diff --git a/drivers/soc/adi/system.c b/drivers/soc/adi/system.c
>
> I'm confused about the purpose of this driver. Please
> split this out into a separate patch and add a detailed
> description of how it is actually being used, since it
> does not interact with any of the normal subsystems.
>
Hi, yes we cleaned this driver as much as possible, will
make effort to remove it.
> > diff --git a/include/linux/soc/adi/adsp-gpio-port.h
> > b/include/linux/soc/adi/adsp-gpio-port.h
>
> > --- /dev/null
> > +++ b/include/linux/soc/adi/cpu.h
>
> > --- /dev/null
> > +++ b/include/linux/soc/adi/rcu.h
> > @@ -0,0 +1,55 @@
>
> > diff --git a/include/linux/soc/adi/sc59x.h
> > b/include/linux/soc/adi/sc59x.h
>
> > --- /dev/null
> > +++ b/include/linux/soc/adi/sc59x.h
>
> I don't see these files being included in the driver you add
> here, maybe they got added by accident here?
>
Should be used in reset driver its removed during rebase, will fix that
In next series.
> Arnd
Powered by blists - more mailing lists