linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable System Manager on Agilex
@ 2019-11-08 22:40 thor.thayer
  2019-11-08 22:40 ` [PATCH 1/2] arm64: dts: agilex: Add SysMgr compatible thor.thayer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: thor.thayer @ 2019-11-08 22:40 UTC (permalink / raw)
  To: dinguyen, robh+dt, mark.rutland
  Cc: richard.gong, devicetree, linux-kernel, Thor Thayer

From: Thor Thayer <thor.thayer@linux.intel.com>

This patchset enables the ARM64 System Manager driver
for Agilex.

Thor Thayer (2):
  arm64: dts: agilex: Add SysMgr compatible
  arm64: dts: agilex: Add SysMgr to Ethernet nodes

 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
2.7.4


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

* [PATCH 1/2] arm64: dts: agilex: Add SysMgr compatible
  2019-11-08 22:40 [PATCH 0/2] Enable System Manager on Agilex thor.thayer
@ 2019-11-08 22:40 ` thor.thayer
  2019-11-08 22:40 ` [PATCH 2/2] arm64: dts: agilex: Add SysMgr to Ethernet nodes thor.thayer
  2019-11-12 15:48 ` [PATCH 0/2] Enable System Manager on Agilex Dinh Nguyen
  2 siblings, 0 replies; 4+ messages in thread
From: thor.thayer @ 2019-11-08 22:40 UTC (permalink / raw)
  To: dinguyen, robh+dt, mark.rutland
  Cc: richard.gong, devicetree, linux-kernel, Thor Thayer

From: Thor Thayer <thor.thayer@linux.intel.com>

Add the System Manager compatible string to the sysmgr node
for accessing the System Manager driver.
Ethernet and EDAC drivers use this driver.

Signed-off-by: Thor Thayer <thor.thayer@linux.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 2b3468590f30..7e8dc85fcebc 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -393,7 +393,7 @@
 		};
 
 		sysmgr: sysmgr@ffd12000 {
-			compatible = "altr,sys-mgr", "syscon";
+			compatible = "altr,sys-mgr-s10","altr,sys-mgr";
 			reg = <0xffd12000 0x500>;
 		};
 
-- 
2.7.4


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

* [PATCH 2/2] arm64: dts: agilex: Add SysMgr to Ethernet nodes
  2019-11-08 22:40 [PATCH 0/2] Enable System Manager on Agilex thor.thayer
  2019-11-08 22:40 ` [PATCH 1/2] arm64: dts: agilex: Add SysMgr compatible thor.thayer
@ 2019-11-08 22:40 ` thor.thayer
  2019-11-12 15:48 ` [PATCH 0/2] Enable System Manager on Agilex Dinh Nguyen
  2 siblings, 0 replies; 4+ messages in thread
From: thor.thayer @ 2019-11-08 22:40 UTC (permalink / raw)
  To: dinguyen, robh+dt, mark.rutland
  Cc: richard.gong, devicetree, linux-kernel, Thor Thayer

From: Thor Thayer <thor.thayer@linux.intel.com>

Ethernet needs the System Manager to setup the low-level
interface and PHY.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
---
 arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
index 7e8dc85fcebc..d8caa3f609b5 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex.dtsi
@@ -150,6 +150,7 @@
 			iommus = <&smmu 1>;
 			clocks = <&clkmgr AGILEX_EMAC0_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x44 0>;
 			status = "disabled";
 		};
 
@@ -167,6 +168,7 @@
 			iommus = <&smmu 2>;
 			clocks = <&clkmgr AGILEX_EMAC1_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x48 8>;
 			status = "disabled";
 		};
 
@@ -184,6 +186,7 @@
 			iommus = <&smmu 3>;
 			clocks = <&clkmgr AGILEX_EMAC2_CLK>;
 			clock-names = "stmmaceth";
+			altr,sysmgr-syscon = <&sysmgr 0x4c 16>;
 			status = "disabled";
 		};
 
-- 
2.7.4


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

* Re: [PATCH 0/2] Enable System Manager on Agilex
  2019-11-08 22:40 [PATCH 0/2] Enable System Manager on Agilex thor.thayer
  2019-11-08 22:40 ` [PATCH 1/2] arm64: dts: agilex: Add SysMgr compatible thor.thayer
  2019-11-08 22:40 ` [PATCH 2/2] arm64: dts: agilex: Add SysMgr to Ethernet nodes thor.thayer
@ 2019-11-12 15:48 ` Dinh Nguyen
  2 siblings, 0 replies; 4+ messages in thread
From: Dinh Nguyen @ 2019-11-12 15:48 UTC (permalink / raw)
  To: thor.thayer, robh+dt, mark.rutland; +Cc: richard.gong, devicetree, linux-kernel



On 11/8/19 4:40 PM, thor.thayer@linux.intel.com wrote:
> From: Thor Thayer <thor.thayer@linux.intel.com>
> 
> This patchset enables the ARM64 System Manager driver
> for Agilex.
> 
> Thor Thayer (2):
>   arm64: dts: agilex: Add SysMgr compatible
>   arm64: dts: agilex: Add SysMgr to Ethernet nodes
> 
>  arch/arm64/boot/dts/intel/socfpga_agilex.dtsi | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

Applied!

Dinh

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

end of thread, other threads:[~2019-11-12 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-08 22:40 [PATCH 0/2] Enable System Manager on Agilex thor.thayer
2019-11-08 22:40 ` [PATCH 1/2] arm64: dts: agilex: Add SysMgr compatible thor.thayer
2019-11-08 22:40 ` [PATCH 2/2] arm64: dts: agilex: Add SysMgr to Ethernet nodes thor.thayer
2019-11-12 15:48 ` [PATCH 0/2] Enable System Manager on Agilex Dinh Nguyen

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).