linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC
@ 2014-04-13  6:59 Alexander Shiyan
  2014-04-13  6:59 ` [PATCH 2/2] ARM: dts: i.MX51: Allow to define partitions onto SDHC, PATA and NFC Alexander Shiyan
  2014-04-14  1:32 ` [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Shawn Guo
  0 siblings, 2 replies; 4+ messages in thread
From: Alexander Shiyan @ 2014-04-13  6:59 UTC (permalink / raw)
  To: linux-arm-kernel

This patch allow to define partitions onto SDHC in user defined
devicetrees.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index 83a8247..843aefc 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -263,6 +263,8 @@
 			};
 
 			sdhci1: sdhci at 10013000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
 				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
 				reg = <0x10013000 0x1000>;
 				interrupts = <11>;
@@ -274,6 +276,8 @@
 			};
 
 			sdhci2: sdhci at 10014000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
 				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
 				reg = <0x10014000 0x1000>;
 				interrupts = <10>;
@@ -416,6 +420,8 @@
 			};
 
 			sdhci3: sdhci at 1001e000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
 				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
 				reg = <0x1001e000 0x1000>;
 				interrupts = <9>;
-- 
1.8.3.2

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

* [PATCH 2/2] ARM: dts: i.MX51: Allow to define partitions onto SDHC, PATA and NFC
  2014-04-13  6:59 [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Alexander Shiyan
@ 2014-04-13  6:59 ` Alexander Shiyan
  2014-04-14  1:32 ` [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Shawn Guo
  1 sibling, 0 replies; 4+ messages in thread
From: Alexander Shiyan @ 2014-04-13  6:59 UTC (permalink / raw)
  To: linux-arm-kernel

This patch allow to define partitions onto SDHC, PATA and NFC in
user defined devicetrees.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx51.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/boot/dts/imx51.dtsi b/arch/arm/boot/dts/imx51.dtsi
index cb3204a..12f0084 100644
--- a/arch/arm/boot/dts/imx51.dtsi
+++ b/arch/arm/boot/dts/imx51.dtsi
@@ -161,6 +161,8 @@
 				ranges;
 
 				esdhc1: esdhc at 70004000 {
+					#address-cells = <1>;
+					#size-cells = <1>;
 					compatible = "fsl,imx51-esdhc";
 					reg = <0x70004000 0x4000>;
 					interrupts = <1>;
@@ -172,6 +174,8 @@
 				};
 
 				esdhc2: esdhc at 70008000 {
+					#address-cells = <1>;
+					#size-cells = <1>;
 					compatible = "fsl,imx51-esdhc";
 					reg = <0x70008000 0x4000>;
 					interrupts = <2>;
@@ -219,6 +223,8 @@
 				};
 
 				esdhc3: esdhc at 70020000 {
+					#address-cells = <1>;
+					#size-cells = <1>;
 					compatible = "fsl,imx51-esdhc";
 					reg = <0x70020000 0x4000>;
 					interrupts = <3>;
@@ -231,6 +237,8 @@
 				};
 
 				esdhc4: esdhc at 70024000 {
+					#address-cells = <1>;
+					#size-cells = <1>;
 					compatible = "fsl,imx51-esdhc";
 					reg = <0x70024000 0x4000>;
 					interrupts = <4>;
@@ -534,6 +542,8 @@
 			};
 
 			nfc: nand at 83fdb000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
 				compatible = "fsl,imx51-nand";
 				reg = <0x83fdb000 0x1000 0xcfff0000 0x10000>;
 				interrupts = <8>;
@@ -542,6 +552,8 @@
 			};
 
 			pata: pata at 83fe0000 {
+				#address-cells = <1>;
+				#size-cells = <1>;
 				compatible = "fsl,imx51-pata", "fsl,imx27-pata";
 				reg = <0x83fe0000 0x4000>;
 				interrupts = <70>;
-- 
1.8.3.2

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

* [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC
  2014-04-13  6:59 [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Alexander Shiyan
  2014-04-13  6:59 ` [PATCH 2/2] ARM: dts: i.MX51: Allow to define partitions onto SDHC, PATA and NFC Alexander Shiyan
@ 2014-04-14  1:32 ` Shawn Guo
  2014-04-14  4:19   ` Alexander Shiyan
  1 sibling, 1 reply; 4+ messages in thread
From: Shawn Guo @ 2014-04-14  1:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Apr 13, 2014 at 10:59:48AM +0400, Alexander Shiyan wrote:
> This patch allow to define partitions onto SDHC in user defined
> devicetrees.

Hmm, is this something like MTD ofpart?  Is this the right thing to do
for block device?  How this will be used by kernel?

Shawn

> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  arch/arm/boot/dts/imx27.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> index 83a8247..843aefc 100644
> --- a/arch/arm/boot/dts/imx27.dtsi
> +++ b/arch/arm/boot/dts/imx27.dtsi
> @@ -263,6 +263,8 @@
>  			};
>  
>  			sdhci1: sdhci at 10013000 {
> +				#address-cells = <1>;
> +				#size-cells = <1>;
>  				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
>  				reg = <0x10013000 0x1000>;
>  				interrupts = <11>;
> @@ -274,6 +276,8 @@
>  			};
>  
>  			sdhci2: sdhci at 10014000 {
> +				#address-cells = <1>;
> +				#size-cells = <1>;
>  				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
>  				reg = <0x10014000 0x1000>;
>  				interrupts = <10>;
> @@ -416,6 +420,8 @@
>  			};
>  
>  			sdhci3: sdhci at 1001e000 {
> +				#address-cells = <1>;
> +				#size-cells = <1>;
>  				compatible = "fsl,imx27-mmc", "fsl,imx21-mmc";
>  				reg = <0x1001e000 0x1000>;
>  				interrupts = <9>;
> -- 
> 1.8.3.2
> 
> 
> 

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

* Re: [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC
  2014-04-14  1:32 ` [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Shawn Guo
@ 2014-04-14  4:19   ` Alexander Shiyan
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Shiyan @ 2014-04-14  4:19 UTC (permalink / raw)
  To: linux-arm-kernel

Mon, 14 Apr 2014 09:32:03 +0800 ?? Shawn Guo <shawn.guo@freescale.com>:
> On Sun, Apr 13, 2014 at 10:59:48AM +0400, Alexander Shiyan wrote:
> > This patch allow to define partitions onto SDHC in user defined
> > devicetrees.
> 
> Hmm, is this something like MTD ofpart?  Is this the right thing to do
> for block device?  How this will be used by kernel?

This was intended for use not from the kernel, so probably this is not
a right place...
I'll resend v2 with patching i.MX51 NFC only.

---

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

end of thread, other threads:[~2014-04-14  4:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-13  6:59 [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Alexander Shiyan
2014-04-13  6:59 ` [PATCH 2/2] ARM: dts: i.MX51: Allow to define partitions onto SDHC, PATA and NFC Alexander Shiyan
2014-04-14  1:32 ` [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Shawn Guo
2014-04-14  4:19   ` Alexander Shiyan

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