LKML Archive on lore.kernel.org
 help / color / 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	[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	[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, back to index

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

LKML Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lkml/0 lkml/git/0.git
	git clone --mirror https://lore.kernel.org/lkml/1 lkml/git/1.git
	git clone --mirror https://lore.kernel.org/lkml/2 lkml/git/2.git
	git clone --mirror https://lore.kernel.org/lkml/3 lkml/git/3.git
	git clone --mirror https://lore.kernel.org/lkml/4 lkml/git/4.git
	git clone --mirror https://lore.kernel.org/lkml/5 lkml/git/5.git
	git clone --mirror https://lore.kernel.org/lkml/6 lkml/git/6.git
	git clone --mirror https://lore.kernel.org/lkml/7 lkml/git/7.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lkml lkml/ https://lore.kernel.org/lkml \
		linux-kernel@vger.kernel.org
	public-inbox-index lkml

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git