Message ID | 1583949861-19143-10-git-send-email-amittomer25@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | Actions S700 SoC support | expand |
On Wed, 11 Mar 2020 23:34:19 +0530 Amit Singh Tomar <amittomer25 at gmail.com> wrote: Hi, > This patch adds basic support for Actions Semi based S700 > SoC, which is driven by common owl framework. > > Signed-off-by: Amit Singh Tomar <amittomer25 at gmail.com> Reviewed-by: Andre Przywara <andre.przywara at arm.com> Cheers, Andre > --- > Changes since v4: > * Moved it to 09/11 to 04/11. > Changes since v3: > * Added "SoC" keyword to Actions Semi S700. > Changes since v2: > * Fixed the commit message. > * Checked for the clk->id. > * Added a .data member with SoC type. > * Removed #ifdefs from few places. > Changes since v1: > * Moved CLK and CLK_OWL symbols from defconfig to arch/arm/Kconfig. > --- > arch/arm/mach-owl/Kconfig | 6 ++++++ > include/configs/s700.h | 13 +++++++++++++ > 2 files changed, 19 insertions(+) > create mode 100644 include/configs/s700.h > > diff --git a/arch/arm/mach-owl/Kconfig b/arch/arm/mach-owl/Kconfig > index d0be2b5..1d59d8f 100644 > --- a/arch/arm/mach-owl/Kconfig > +++ b/arch/arm/mach-owl/Kconfig > @@ -8,6 +8,10 @@ config MACH_S900 > bool "Actions Semi S900 SoC" > select ARM64 > > +config MACH_S700 > + bool "Actions Semi S700 SoC" > + select ARM64 > + > endchoice > > config SYS_TEXT_BASE > @@ -15,8 +19,10 @@ config SYS_TEXT_BASE > > config SYS_CONFIG_NAME > default "s900" if MACH_S900 > + default "s700" if MACH_S700 > > config SYS_SOC > default "s900" if MACH_S900 > + default "s700" if MACH_S700 > > endif > diff --git a/include/configs/s700.h b/include/configs/s700.h > new file mode 100644 > index 0000000..fab0d04 > --- /dev/null > +++ b/include/configs/s700.h > @@ -0,0 +1,13 @@ > +/* SPDX-License-Identifier: GPL-2.0+ */ > +/* > + */ > + > +#ifndef _CONFIG_S700_H_ > +#define _CONFIG_S700_H_ > + > +/* > + * Include common owl configuration where most the settings are > + */ > +#include <configs/owl-common.h> > + > +#endif
diff --git a/arch/arm/mach-owl/Kconfig b/arch/arm/mach-owl/Kconfig index d0be2b5..1d59d8f 100644 --- a/arch/arm/mach-owl/Kconfig +++ b/arch/arm/mach-owl/Kconfig @@ -8,6 +8,10 @@ config MACH_S900 bool "Actions Semi S900 SoC" select ARM64 +config MACH_S700 + bool "Actions Semi S700 SoC" + select ARM64 + endchoice config SYS_TEXT_BASE @@ -15,8 +19,10 @@ config SYS_TEXT_BASE config SYS_CONFIG_NAME default "s900" if MACH_S900 + default "s700" if MACH_S700 config SYS_SOC default "s900" if MACH_S900 + default "s700" if MACH_S700 endif diff --git a/include/configs/s700.h b/include/configs/s700.h new file mode 100644 index 0000000..fab0d04 --- /dev/null +++ b/include/configs/s700.h @@ -0,0 +1,13 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + */ + +#ifndef _CONFIG_S700_H_ +#define _CONFIG_S700_H_ + +/* + * Include common owl configuration where most the settings are + */ +#include <configs/owl-common.h> + +#endif
This patch adds basic support for Actions Semi based S700 SoC, which is driven by common owl framework. Signed-off-by: Amit Singh Tomar <amittomer25 at gmail.com> --- Changes since v4: * Moved it to 09/11 to 04/11. Changes since v3: * Added "SoC" keyword to Actions Semi S700. Changes since v2: * Fixed the commit message. * Checked for the clk->id. * Added a .data member with SoC type. * Removed #ifdefs from few places. Changes since v1: * Moved CLK and CLK_OWL symbols from defconfig to arch/arm/Kconfig. --- arch/arm/mach-owl/Kconfig | 6 ++++++ include/configs/s700.h | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 include/configs/s700.h