mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node
@ 2016-02-23  6:04 Wenyou Yang
  2016-02-23  6:04 ` [PATCH v2 1/2] ARM: at91: sama5d3/dts: add compatiable string for nand Wenyou Yang
  2016-02-23  6:04 ` [PATCH v2 2/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang
  0 siblings, 2 replies; 3+ messages in thread
From: Wenyou Yang @ 2016-02-23  6:04 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Brown, Ian Campbell, Kumar Gala,
	Nicolas Ferre, Alexandre Belloni,
	Jean-Christophe Plagniol-Villard, Russell King
  Cc: linux-arm-kernel, linux-kernel, devicetree, Josh Wu, Wenyou Yang

For SAMA5D3, SAMA5D4 SoC family, PMECC needs the HSMC clock,
so move out hsmc_clk from the nfc node to the nand node.

Also, change the SAMA5D3 nand node's compatible string to
"atmel,sama5d3-nand".

Changes in v2:
 - add a patch to change SAMA5D3 nand node's compatible string
   to "atmel,sama5d3-nand".
 - revert the mail address of Josh's Signed-off to the original.

Josh Wu (2):
  ARM: at91: sama5d3/dts: add compatiable string for nand
  ARM: at91: sama5/dts: move hsmc_clk out of nfc node

 arch/arm/boot/dts/sama5d3.dtsi |    4 ++--
 arch/arm/boot/dts/sama5d4.dtsi |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.7.9.5

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

* [PATCH v2 1/2] ARM: at91: sama5d3/dts: add compatiable string for nand
  2016-02-23  6:04 [PATCH v2 0/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang
@ 2016-02-23  6:04 ` Wenyou Yang
  2016-02-23  6:04 ` [PATCH v2 2/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Wenyou Yang @ 2016-02-23  6:04 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Brown, Ian Campbell, Kumar Gala,
	Nicolas Ferre, Alexandre Belloni,
	Jean-Christophe Plagniol-Villard, Russell King
  Cc: linux-arm-kernel, linux-kernel, devicetree, Josh Wu, Josh Wu,
	Wenyou Yang

From: Josh Wu <josh.wu@atmel.com>

As introducing a new "atmel,sama5d3-nand" compatible string for
SAMA5D3's nand node, apply it for SAMA5D3 SoC.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---

Changes in v2: None

 arch/arm/boot/dts/sama5d3.dtsi |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index a532791..ee1b1a8 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -1459,7 +1459,7 @@
 		};
 
 		nand0: nand@60000000 {
-			compatible = "atmel,at91rm9200-nand";
+			compatible = "atmel,sama5d3-nand", "atmel,at91rm9200-nand";
 			#address-cells = <1>;
 			#size-cells = <1>;
 			ranges;
-- 
1.7.9.5

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

* [PATCH v2 2/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node
  2016-02-23  6:04 [PATCH v2 0/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang
  2016-02-23  6:04 ` [PATCH v2 1/2] ARM: at91: sama5d3/dts: add compatiable string for nand Wenyou Yang
@ 2016-02-23  6:04 ` Wenyou Yang
  1 sibling, 0 replies; 3+ messages in thread
From: Wenyou Yang @ 2016-02-23  6:04 UTC (permalink / raw)
  To: Rob Herring, Pawel Moll, Mark Brown, Ian Campbell, Kumar Gala,
	Nicolas Ferre, Alexandre Belloni,
	Jean-Christophe Plagniol-Villard, Russell King
  Cc: linux-arm-kernel, linux-kernel, devicetree, Josh Wu, Josh Wu,
	Wenyou Yang

From: Josh Wu <josh.wu@atmel.com>

For SAMA5D3, SAMA5D4 SoC family, as PMECC is a part of HSMC, PMECC
needs the HSMC clock, so move out hsmc_clk from the nfc node to
the nand node.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---

Changes in v2:
 - add a patch to change SAMA5D3 nand node's compatible string
   to "atmel,sama5d3-nand".
 - revert the mail address of Josh's Signed-off to the original.

 arch/arm/boot/dts/sama5d3.dtsi |    2 +-
 arch/arm/boot/dts/sama5d4.dtsi |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index ee1b1a8..d20a38b 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -1474,6 +1474,7 @@
 			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand0_ale_cle>;
+			clocks = <&hsmc_clk>;
 			atmel,pmecc-lookup-table-offset = <0x0 0x8000>;
 			status = "disabled";
 
@@ -1486,7 +1487,6 @@
 					0xffffc000 0x00000070	/* NFC HSMC regs */
 					0x00200000 0x00100000	/* NFC SRAM banks */
 					>;
-				clocks = <&hsmc_clk>;
 			};
 		};
 	};
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index b8032bc..1499b33 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -295,6 +295,7 @@
 			atmel,nand-has-dma;
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_nand>;
+			clocks = <&hsmc_clk>;
 			status = "disabled";
 
 			nfc@90000000 {
@@ -306,7 +307,6 @@
 					0xfc05c000 0x00000070	/* NFC HSMC regs */
 					0x00100000 0x00100000	/* NFC SRAM banks */
                                          >;
-				clocks = <&hsmc_clk>;
 				atmel,write-by-sram;
 			};
 		};
-- 
1.7.9.5

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

end of thread, other threads:[~2016-02-23  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-23  6:04 [PATCH v2 0/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang
2016-02-23  6:04 ` [PATCH v2 1/2] ARM: at91: sama5d3/dts: add compatiable string for nand Wenyou Yang
2016-02-23  6:04 ` [PATCH v2 2/2] ARM: at91: sama5/dts: move hsmc_clk out of nfc node Wenyou Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®