Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: shawn.guo@freescale.com (Shawn Guo)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC
Date: Mon, 14 Apr 2014 09:32:03 +0800	[thread overview]
Message-ID: <20140414013202.GK24180@dragon> (raw)
In-Reply-To: <1397372389-32016-1-git-send-email-shc_work@mail.ru>

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

  parent reply	other threads:[~2014-04-14  1:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2014-04-14  4:19   ` [PATCH 1/2] ARM: dts: i.MX27: Allow to define partitions onto SDHC Alexander Shiyan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140414013202.GK24180@dragon \
    --to=shawn.guo@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox