devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer
@ 2020-02-14 16:00 richard.gong
  2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add a compatible property value so we can reuse Intel Stratix10 FPGA
manager and service layer drivers on Intel Agilex SoC platform. 

Richard Gong (7):
  dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager
    binding
  arm64: dts: agilex: correct FPGA manager driver's compatible value
  fpga: stratix10-soc: add compatible property value for intel agilex
  dt-bindings, firmware: add compatible value Intel Stratix10 service
    layer binding
  arm64: dts: agilex: correct service layer driver's compatible value
  firmware: stratix10-svc: add the compatible value for intel agilex
  firmware: intel_stratix10_service: add depend on agilex

 Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt    | 2 +-
 .../devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt         | 3 ++-
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi                         | 4 ++--
 drivers/firmware/Kconfig                                              | 2 +-
 drivers/firmware/stratix10-svc.c                                      | 1 +
 drivers/fpga/stratix10-soc.c                                          | 3 ++-
 6 files changed, 9 insertions(+), 6 deletions(-)

-- 
2.7.4


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

* [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-02-25 17:27   ` Rob Herring
  2020-03-01 16:23   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value richard.gong
                   ` (5 subsequent siblings)
  6 siblings, 2 replies; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add a compatible property value to Stratix10 SoC FPGA manager binding file

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 .../devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt          | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
index 6e03f79..0f87413 100644
--- a/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
+++ b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
@@ -4,7 +4,8 @@ Required properties:
 The fpga_mgr node has the following mandatory property, must be located under
 firmware/svc node.
 
-- compatible : should contain "intel,stratix10-soc-fpga-mgr"
+- compatible : should contain "intel,stratix10-soc-fpga-mgr" or
+	       "intel,agilex-soc-fpga-mgr"
 
 Example:
 
-- 
2.7.4


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

* [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
  2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-03-01 16:23   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex richard.gong
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Correct the compatible property value for FPGA manager driver on
Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index e1d357e..8c29853 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -544,7 +544,7 @@
 				memory-region = <&service_reserved>;
 
 				fpga_mgr: fpga-mgr {
-					compatible = "intel,stratix10-soc-fpga-mgr";
+					compatible = "intel,agilex-soc-fpga-mgr";
 				};
 			};
 		};
-- 
2.7.4


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

* [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
  2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
  2020-02-14 16:00 ` [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-03-01 16:26   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding richard.gong
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add compatible property value so we can reuse FPGA manager driver on
Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 drivers/fpga/stratix10-soc.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
index 215d337..bac93d0 100644
--- a/drivers/fpga/stratix10-soc.c
+++ b/drivers/fpga/stratix10-soc.c
@@ -482,7 +482,8 @@ static int s10_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id s10_of_match[] = {
-	{ .compatible = "intel,stratix10-soc-fpga-mgr", },
+	{.compatible = "intel,stratix10-soc-fpga-mgr"},
+	{.compatible = "intel,agilex-soc-fpga-mgr"},
 	{},
 };
 
-- 
2.7.4


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

* [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
                   ` (2 preceding siblings ...)
  2020-02-14 16:00 ` [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-02-25 17:29   ` Rob Herring
  2020-03-01 16:22   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value richard.gong
                   ` (2 subsequent siblings)
  6 siblings, 2 replies; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

A a compatible property value to Intel Stratix10 service layer binding

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
index 1fa6606..6eff1af 100644
--- a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
+++ b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
@@ -23,7 +23,7 @@ Required properties:
 The svc node has the following mandatory properties, must be located under
 the firmware node.
 
-- compatible: "intel,stratix10-svc"
+- compatible: "intel,stratix10-svc" or "intel,agilex-svc"
 - method: smc or hvc
         smc - Secure Monitor Call
         hvc - Hypervisor Call
-- 
2.7.4


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

* [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
                   ` (3 preceding siblings ...)
  2020-02-14 16:00 ` [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-03-01 16:26   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex richard.gong
  2020-02-14 16:00 ` [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex richard.gong
  6 siblings, 1 reply; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Correct the compatible property value for Intel Service Layer driver
on Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index 8c29853..d48218c 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -539,7 +539,7 @@
 
 		firmware {
 			svc {
-				compatible = "intel,stratix10-svc";
+				compatible = "intel,agilex-svc";
 				method = "smc";
 				memory-region = <&service_reserved>;
 
-- 
2.7.4


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

* [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
                   ` (4 preceding siblings ...)
  2020-02-14 16:00 ` [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-03-01 16:31   ` Moritz Fischer
  2020-02-14 16:00 ` [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex richard.gong
  6 siblings, 1 reply; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add the compatible property value so we can reuse Intel Stratix10
Service Layer driver on Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 drivers/firmware/stratix10-svc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
index 7ffb42b..d5f0769 100644
--- a/drivers/firmware/stratix10-svc.c
+++ b/drivers/firmware/stratix10-svc.c
@@ -966,6 +966,7 @@ EXPORT_SYMBOL_GPL(stratix10_svc_free_memory);
 
 static const struct of_device_id stratix10_svc_drv_match[] = {
 	{.compatible = "intel,stratix10-svc"},
+	{.compatible = "intel,agilex-svc"},
 	{},
 };
 
-- 
2.7.4


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

* [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex
  2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
                   ` (5 preceding siblings ...)
  2020-02-14 16:00 ` [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex richard.gong
@ 2020-02-14 16:00 ` richard.gong
  2020-03-01 16:31   ` Moritz Fischer
  6 siblings, 1 reply; 17+ messages in thread
From: richard.gong @ 2020-02-14 16:00 UTC (permalink / raw)
  To: gregkh, mdf, robh+dt, mark.rutland, dinguyen
  Cc: linux-fpga, devicetree, linux-kernel, richard.gong, Richard Gong

From: Richard Gong <richard.gong@intel.com>

Add depend on Agilex for Intel Agilex SoC platform.

Signed-off-by: Richard Gong <richard.gong@intel.com>
---
 drivers/firmware/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
index ea869ad..8007d4a 100644
--- a/drivers/firmware/Kconfig
+++ b/drivers/firmware/Kconfig
@@ -206,7 +206,7 @@ config FW_CFG_SYSFS_CMDLINE
 
 config INTEL_STRATIX10_SERVICE
 	tristate "Intel Stratix10 Service Layer"
-	depends on ARCH_STRATIX10 && HAVE_ARM_SMCCC
+	depends on (ARCH_STRATIX10 || ARCH_AGILEX) && HAVE_ARM_SMCCC
 	default n
 	help
 	  Intel Stratix10 service layer runs at privileged exception level,
-- 
2.7.4


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

* Re: [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding
  2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
@ 2020-02-25 17:27   ` Rob Herring
  2020-03-01 16:23   ` Moritz Fischer
  1 sibling, 0 replies; 17+ messages in thread
From: Rob Herring @ 2020-02-25 17:27 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, richard.gong, Richard Gong

On Fri, 14 Feb 2020 10:00:46 -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add a compatible property value to Stratix10 SoC FPGA manager binding file
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  .../devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt          | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding
  2020-02-14 16:00 ` [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding richard.gong
@ 2020-02-25 17:29   ` Rob Herring
  2020-03-01 16:22   ` Moritz Fischer
  1 sibling, 0 replies; 17+ messages in thread
From: Rob Herring @ 2020-02-25 17:29 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, richard.gong, Richard Gong

On Fri, 14 Feb 2020 10:00:49 -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> A a compatible property value to Intel Stratix10 service layer binding
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

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

* Re: [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding
  2020-02-14 16:00 ` [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding richard.gong
  2020-02-25 17:29   ` Rob Herring
@ 2020-03-01 16:22   ` Moritz Fischer
  1 sibling, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:22 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:49AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> A a compatible property value to Intel Stratix10 service layer binding
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
> index 1fa6606..6eff1af 100644
> --- a/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
> +++ b/Documentation/devicetree/bindings/firmware/intel,stratix10-svc.txt
> @@ -23,7 +23,7 @@ Required properties:
>  The svc node has the following mandatory properties, must be located under
>  the firmware node.
>  
> -- compatible: "intel,stratix10-svc"
> +- compatible: "intel,stratix10-svc" or "intel,agilex-svc"
>  - method: smc or hvc
>          smc - Secure Monitor Call
>          hvc - Hypervisor Call
> -- 
> 2.7.4
> 
Applied to for-next,

Thanks

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

* Re: [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding
  2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
  2020-02-25 17:27   ` Rob Herring
@ 2020-03-01 16:23   ` Moritz Fischer
  1 sibling, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:23 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:46AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add a compatible property value to Stratix10 SoC FPGA manager binding file
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  .../devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt          | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
> index 6e03f79..0f87413 100644
> --- a/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
> +++ b/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt
> @@ -4,7 +4,8 @@ Required properties:
>  The fpga_mgr node has the following mandatory property, must be located under
>  firmware/svc node.
>  
> -- compatible : should contain "intel,stratix10-soc-fpga-mgr"
> +- compatible : should contain "intel,stratix10-soc-fpga-mgr" or
> +	       "intel,agilex-soc-fpga-mgr"
>  
>  Example:
>  
> -- 
> 2.7.4
> 
Applied to for-next,

Thanks

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

* Re: [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value
  2020-02-14 16:00 ` [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value richard.gong
@ 2020-03-01 16:23   ` Moritz Fischer
  0 siblings, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:23 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:47AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Correct the compatible property value for FPGA manager driver on
> Intel Agilex SoC platform.
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> index e1d357e..8c29853 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> @@ -544,7 +544,7 @@
>  				memory-region = <&service_reserved>;
>  
>  				fpga_mgr: fpga-mgr {
> -					compatible = "intel,stratix10-soc-fpga-mgr";
> +					compatible = "intel,agilex-soc-fpga-mgr";
>  				};
>  			};
>  		};
> -- 
> 2.7.4
> 
Applied to for-next,

Thanks

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

* Re: [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex
  2020-02-14 16:00 ` [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex richard.gong
@ 2020-03-01 16:26   ` Moritz Fischer
  0 siblings, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:26 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:48AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add compatible property value so we can reuse FPGA manager driver on
> Intel Agilex SoC platform.
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  drivers/fpga/stratix10-soc.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/fpga/stratix10-soc.c b/drivers/fpga/stratix10-soc.c
> index 215d337..bac93d0 100644
> --- a/drivers/fpga/stratix10-soc.c
> +++ b/drivers/fpga/stratix10-soc.c
> @@ -482,7 +482,8 @@ static int s10_remove(struct platform_device *pdev)
>  }
>  
>  static const struct of_device_id s10_of_match[] = {
> -	{ .compatible = "intel,stratix10-soc-fpga-mgr", },
> +	{.compatible = "intel,stratix10-soc-fpga-mgr"},
> +	{.compatible = "intel,agilex-soc-fpga-mgr"},
>  	{},
>  };
>  
> -- 
> 2.7.4
> 
Applied to for-next,

Thanks

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

* Re: [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value
  2020-02-14 16:00 ` [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value richard.gong
@ 2020-03-01 16:26   ` Moritz Fischer
  0 siblings, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:26 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:50AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Correct the compatible property value for Intel Service Layer driver
> on Intel Agilex SoC platform.
> 
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> index 8c29853..d48218c 100644
> --- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> +++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
> @@ -539,7 +539,7 @@
>  
>  		firmware {
>  			svc {
> -				compatible = "intel,stratix10-svc";
> +				compatible = "intel,agilex-svc";
>  				method = "smc";
>  				memory-region = <&service_reserved>;
>  
> -- 
> 2.7.4
> 
Applied to for-next,

Thanks

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

* Re: [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex
  2020-02-14 16:00 ` [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex richard.gong
@ 2020-03-01 16:31   ` Moritz Fischer
  0 siblings, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:31 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:51AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add the compatible property value so we can reuse Intel Stratix10
> Service Layer driver on Intel Agilex SoC platform.
> 
Acked-by: Moritz Fischer <mdf@kernel.org>
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  drivers/firmware/stratix10-svc.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/firmware/stratix10-svc.c b/drivers/firmware/stratix10-svc.c
> index 7ffb42b..d5f0769 100644
> --- a/drivers/firmware/stratix10-svc.c
> +++ b/drivers/firmware/stratix10-svc.c
> @@ -966,6 +966,7 @@ EXPORT_SYMBOL_GPL(stratix10_svc_free_memory);
>  
>  static const struct of_device_id stratix10_svc_drv_match[] = {
>  	{.compatible = "intel,stratix10-svc"},
> +	{.compatible = "intel,agilex-svc"},
>  	{},
>  };
>  
> -- 
> 2.7.4
> 

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

* Re: [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex
  2020-02-14 16:00 ` [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex richard.gong
@ 2020-03-01 16:31   ` Moritz Fischer
  0 siblings, 0 replies; 17+ messages in thread
From: Moritz Fischer @ 2020-03-01 16:31 UTC (permalink / raw)
  To: richard.gong
  Cc: gregkh, mdf, robh+dt, mark.rutland, dinguyen, linux-fpga,
	devicetree, linux-kernel, Richard Gong

On Fri, Feb 14, 2020 at 10:00:52AM -0600, richard.gong@linux.intel.com wrote:
> From: Richard Gong <richard.gong@intel.com>
> 
> Add depend on Agilex for Intel Agilex SoC platform.
> 
Acked-by: Moritz Fischer <mdf@kernel.org>
> Signed-off-by: Richard Gong <richard.gong@intel.com>
> ---
>  drivers/firmware/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/firmware/Kconfig b/drivers/firmware/Kconfig
> index ea869ad..8007d4a 100644
> --- a/drivers/firmware/Kconfig
> +++ b/drivers/firmware/Kconfig
> @@ -206,7 +206,7 @@ config FW_CFG_SYSFS_CMDLINE
>  
>  config INTEL_STRATIX10_SERVICE
>  	tristate "Intel Stratix10 Service Layer"
> -	depends on ARCH_STRATIX10 && HAVE_ARM_SMCCC
> +	depends on (ARCH_STRATIX10 || ARCH_AGILEX) && HAVE_ARM_SMCCC
>  	default n
>  	help
>  	  Intel Stratix10 service layer runs at privileged exception level,
> -- 
> 2.7.4
> 

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

end of thread, other threads:[~2020-03-01 16:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-14 16:00 [PATCHv1 0/7] Add compatible value to Intel Stratix10 FPGA manager and service layer richard.gong
2020-02-14 16:00 ` [PATCHv1 1/7] dt-bindings: fpga: add compatible value to Stratix10 SoC FPGA manager binding richard.gong
2020-02-25 17:27   ` Rob Herring
2020-03-01 16:23   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 2/7] arm64: dts: agilex: correct FPGA manager driver's compatible value richard.gong
2020-03-01 16:23   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 3/7] fpga: stratix10-soc: add compatible property value for intel agilex richard.gong
2020-03-01 16:26   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 4/7] dt-bindings, firmware: add compatible value Intel Stratix10 service layer binding richard.gong
2020-02-25 17:29   ` Rob Herring
2020-03-01 16:22   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 5/7] arm64: dts: agilex: correct service layer driver's compatible value richard.gong
2020-03-01 16:26   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 6/7] firmware: stratix10-svc: add the compatible value for intel agilex richard.gong
2020-03-01 16:31   ` Moritz Fischer
2020-02-14 16:00 ` [PATCHv1 7/7] firmware: intel_stratix10_service: add depend on agilex richard.gong
2020-03-01 16:31   ` Moritz Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).