Re: [PATCH] dts: add support for MMC on socfpga boards

From: Sergei Shtylyov
Date: Wed Mar 05 2014 - 16:30:47 EST


Hello.

On 03/05/2014 07:23 PM, Pavel Machek wrote:

Add DTS binding for MMC on socfpga boards. Tested on Sockit.

Signed-off-by: Pavel Machek <pavel@xxxxxxx>

diff --git a/arch/arm/boot/dts/socfpga.dtsi b/arch/arm/boot/dts/socfpga.dtsi
index 537f1a5..cad7526 100644
--- a/arch/arm/boot/dts/socfpga.dtsi
+++ b/arch/arm/boot/dts/socfpga.dtsi
@@ -521,6 +521,23 @@
reg-io-width = <4>;
};

+ mmc: dwmmc0@ff704000 {

ePAPR standard [1] tells us in section 2.2.2:

The name of a node should be somewhat generic, reflecting the function of the device and not its 3 precise programming model.

So, please name the node just "mmc@ff704000". You can choose whatever label you like.

[1] http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf

WBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/