All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Enable sysreset support for SoCFPGA SoC64 platforms
@ 2020-08-05 12:11 Chee Hong Ang
  2020-08-05 12:11 ` [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 Chee Hong Ang
  2020-08-05 12:11 ` [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support Chee Hong Ang
  0 siblings, 2 replies; 5+ messages in thread
From: Chee Hong Ang @ 2020-08-05 12:11 UTC (permalink / raw)
  To: u-boot

Rename S10 sysreset driver to common name (SoC64).
SoCFPGA sysreset driver supports S10 and Agilex platforms now.

Chee Hong Ang (2):
  sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to
    SoC64
  sysreset: socfpga: agilex: Enable sysreset support

 arch/arm/Kconfig                                                  | 2 +-
 drivers/sysreset/Kconfig                                          | 8 ++++----
 drivers/sysreset/Makefile                                         | 2 +-
 .../sysreset/{sysreset_socfpga_s10.c => sysreset_socfpga_soc64.c} | 0
 4 files changed, 6 insertions(+), 6 deletions(-)
 rename drivers/sysreset/{sysreset_socfpga_s10.c => sysreset_socfpga_soc64.c} (100%)

-- 
2.2.0

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64
  2020-08-05 12:11 [PATCH v2 0/2] Enable sysreset support for SoCFPGA SoC64 platforms Chee Hong Ang
@ 2020-08-05 12:11 ` Chee Hong Ang
  2020-08-06  1:51   ` Tan, Ley Foon
  2020-08-05 12:11 ` [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support Chee Hong Ang
  1 sibling, 1 reply; 5+ messages in thread
From: Chee Hong Ang @ 2020-08-05 12:11 UTC (permalink / raw)
  To: u-boot

Rename the driver from S10 to SoC64 because Intel Agilex platform
also using the this SYSRESET SoCFPGA driver for S10.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
---
 arch/arm/Kconfig                                                    | 2 +-
 drivers/sysreset/Kconfig                                            | 6 +++---
 drivers/sysreset/Makefile                                           | 2 +-
 .../sysreset/{sysreset_socfpga_s10.c => sysreset_socfpga_soc64.c}   | 0
 4 files changed, 5 insertions(+), 5 deletions(-)
 rename drivers/sysreset/{sysreset_socfpga_s10.c => sysreset_socfpga_soc64.c} (100%)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6b8a32c..03fc614 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -991,7 +991,7 @@ config ARCH_SOCFPGA
 	select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
 	select SYSRESET
 	select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
-	select SYSRESET_SOCFPGA_S10 if TARGET_SOCFPGA_STRATIX10
+	select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_STRATIX10
 	imply CMD_DM
 	imply CMD_MTDPARTS
 	imply CRC32_VERIFY
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index 6ebc90e..b812af9 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -79,12 +79,12 @@ config SYSRESET_SOCFPGA
 	  This enables the system reset driver support for Intel SOCFPGA SoCs
 	  (Cyclone 5, Arria 5 and Arria 10).
 
-config SYSRESET_SOCFPGA_S10
-	bool "Enable support for Intel SOCFPGA Stratix 10"
+config SYSRESET_SOCFPGA_SOC64
+	bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
 	depends on ARCH_SOCFPGA && TARGET_SOCFPGA_STRATIX10
 	help
 	  This enables the system reset driver support for Intel SOCFPGA
-	  Stratix SoCs.
+	  SoC64 SoCs.
 
 config SYSRESET_TI_SCI
 	bool "TI System Control Interface (TI SCI) system reset driver"
diff --git a/drivers/sysreset/Makefile b/drivers/sysreset/Makefile
index df2293b..920c692 100644
--- a/drivers/sysreset/Makefile
+++ b/drivers/sysreset/Makefile
@@ -13,7 +13,7 @@ obj-$(CONFIG_SYSRESET_MICROBLAZE) += sysreset_microblaze.o
 obj-$(CONFIG_SYSRESET_OCTEON) += sysreset_octeon.o
 obj-$(CONFIG_SYSRESET_PSCI) += sysreset_psci.o
 obj-$(CONFIG_SYSRESET_SOCFPGA) += sysreset_socfpga.o
-obj-$(CONFIG_SYSRESET_SOCFPGA_S10) += sysreset_socfpga_s10.o
+obj-$(CONFIG_SYSRESET_SOCFPGA_SOC64) += sysreset_socfpga_soc64.o
 obj-$(CONFIG_SYSRESET_TI_SCI) += sysreset-ti-sci.o
 obj-$(CONFIG_SYSRESET_SYSCON) += sysreset_syscon.o
 obj-$(CONFIG_SYSRESET_WATCHDOG) += sysreset_watchdog.o
diff --git a/drivers/sysreset/sysreset_socfpga_s10.c b/drivers/sysreset/sysreset_socfpga_soc64.c
similarity index 100%
rename from drivers/sysreset/sysreset_socfpga_s10.c
rename to drivers/sysreset/sysreset_socfpga_soc64.c
-- 
2.2.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support
  2020-08-05 12:11 [PATCH v2 0/2] Enable sysreset support for SoCFPGA SoC64 platforms Chee Hong Ang
  2020-08-05 12:11 ` [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 Chee Hong Ang
@ 2020-08-05 12:11 ` Chee Hong Ang
  2020-08-06  1:52   ` Tan, Ley Foon
  1 sibling, 1 reply; 5+ messages in thread
From: Chee Hong Ang @ 2020-08-05 12:11 UTC (permalink / raw)
  To: u-boot

Enable sysreset support for Agilex platform.

Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
---
 arch/arm/Kconfig         | 2 +-
 drivers/sysreset/Kconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 03fc614..617d5ad 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -991,7 +991,7 @@ config ARCH_SOCFPGA
 	select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
 	select SYSRESET
 	select SYSRESET_SOCFPGA if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
-	select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_STRATIX10
+	select SYSRESET_SOCFPGA_SOC64 if TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX
 	imply CMD_DM
 	imply CMD_MTDPARTS
 	imply CRC32_VERIFY
diff --git a/drivers/sysreset/Kconfig b/drivers/sysreset/Kconfig
index b812af9..70692f0 100644
--- a/drivers/sysreset/Kconfig
+++ b/drivers/sysreset/Kconfig
@@ -81,7 +81,7 @@ config SYSRESET_SOCFPGA
 
 config SYSRESET_SOCFPGA_SOC64
 	bool "Enable support for Intel SOCFPGA SoC64 family (Stratix10/Agilex)"
-	depends on ARCH_SOCFPGA && TARGET_SOCFPGA_STRATIX10
+	depends on ARCH_SOCFPGA && (TARGET_SOCFPGA_STRATIX10 || TARGET_SOCFPGA_AGILEX)
 	help
 	  This enables the system reset driver support for Intel SOCFPGA
 	  SoC64 SoCs.
-- 
2.2.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64
  2020-08-05 12:11 ` [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 Chee Hong Ang
@ 2020-08-06  1:51   ` Tan, Ley Foon
  0 siblings, 0 replies; 5+ messages in thread
From: Tan, Ley Foon @ 2020-08-06  1:51 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: Ang, Chee Hong <chee.hong.ang@intel.com>
> Sent: Wednesday, August 5, 2020 8:11 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex@denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt@gmail.com>; Tom Rini <trini@konsulko.com>; See,
> Chin Liang <chin.liang.see@intel.com>; Tan, Ley Foon
> <ley.foon.tan@intel.com>; Ang, Chee Hong <chee.hong.ang@intel.com>;
> Chee, Tien Fong <tien.fong.chee@intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim@intel.com>
> Subject: [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET
> SoCFPGA driver for S10 to SoC64
> 
> Rename the driver from S10 to SoC64 because Intel Agilex platform also
> using the this SYSRESET SoCFPGA driver for S10.
> 
> Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
> ---
>  arch/arm/Kconfig                                                    | 2 +-
>  drivers/sysreset/Kconfig                                            | 6 +++---
>  drivers/sysreset/Makefile                                           | 2 +-
>  .../sysreset/{sysreset_socfpga_s10.c => sysreset_socfpga_soc64.c}   | 0
>  4 files changed, 5 insertions(+), 5 deletions(-)  rename

Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support
  2020-08-05 12:11 ` [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support Chee Hong Ang
@ 2020-08-06  1:52   ` Tan, Ley Foon
  0 siblings, 0 replies; 5+ messages in thread
From: Tan, Ley Foon @ 2020-08-06  1:52 UTC (permalink / raw)
  To: u-boot



> -----Original Message-----
> From: Ang, Chee Hong <chee.hong.ang@intel.com>
> Sent: Wednesday, August 5, 2020 8:11 PM
> To: u-boot at lists.denx.de
> Cc: Marek Vasut <marex@denx.de>; Simon Goldschmidt
> <simon.k.r.goldschmidt@gmail.com>; Tom Rini <trini@konsulko.com>; See,
> Chin Liang <chin.liang.see@intel.com>; Tan, Ley Foon
> <ley.foon.tan@intel.com>; Ang, Chee Hong <chee.hong.ang@intel.com>;
> Chee, Tien Fong <tien.fong.chee@intel.com>; Lim, Elly Siew Chin
> <elly.siew.chin.lim@intel.com>
> Subject: [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support
> 
> Enable sysreset support for Agilex platform.
> 
> Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>
> ---
>  arch/arm/Kconfig         | 2 +-
>  drivers/sysreset/Kconfig | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 

Reviewed-by: Ley Foon Tan <ley.foon.tan@intel.com>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-08-06  1:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 12:11 [PATCH v2 0/2] Enable sysreset support for SoCFPGA SoC64 platforms Chee Hong Ang
2020-08-05 12:11 ` [PATCH v2 1/2] sysreset: socfpga: soc64: Rename SYSRESET SoCFPGA driver for S10 to SoC64 Chee Hong Ang
2020-08-06  1:51   ` Tan, Ley Foon
2020-08-05 12:11 ` [PATCH v2 2/2] sysreset: socfpga: agilex: Enable sysreset support Chee Hong Ang
2020-08-06  1:52   ` Tan, Ley Foon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.