* [PATCH 1/2] Powerpc: Add voltage support in dts file
@ 2013-07-23 2:59 Haijun Zhang
2013-07-23 2:59 ` [PATCH 2/2] Powerpc: Add 3.3v voltage support for T4240QDS Haijun Zhang
2013-07-23 16:19 ` [PATCH 1/2] Powerpc: Add voltage support in dts file Scott Wood
0 siblings, 2 replies; 3+ messages in thread
From: Haijun Zhang @ 2013-07-23 2:59 UTC (permalink / raw)
To: linux-mmc, linuxppc-dev
Cc: cbouatmailru, cjb, scottwood, AFLEMING, r39252, Haijun Zhang,
Haijun Zhang
eSDHC of T4240 had 1.8v voltage support. Add this node to specify
eSDHC voltage capacity. If this node not specified eSDHC driver
still can read from eSDHC host capacity register.
Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
---
changes for this patch set:
- split from patch [PATCH 1/2] Powerpc: Add
- voltage ranges support for T4
Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 3 +++
arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 1 +
2 files changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
index bd9be0b..f1ac253 100644
--- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
+++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
@@ -19,6 +19,8 @@ Optional properties:
"bus-width = <1>" property.
- sdhci,auto-cmd12: specifies that a controller can only handle auto
CMD12.
+ - 3300 3300: specifies that eSDHC controller can support voltages ranges
+ from 3300 to 3300.
Example:
@@ -29,4 +31,5 @@ sdhci@2e000 {
interrupt-parent = <&ipic>;
/* Filled in by U-Boot */
clock-frequency = <0>;
+ voltage-ranges = <3300 3300>;
};
diff --git a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
index bd611a9..567d0fb 100644
--- a/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/t4240si-post.dtsi
@@ -399,6 +399,7 @@
sdhc@114000 {
compatible = "fsl,t4240-esdhc", "fsl,esdhc";
sdhci,auto-cmd12;
+ voltage-ranges = <1800 1800>;
};
/include/ "qoriq-i2c-0.dtsi"
/include/ "qoriq-i2c-1.dtsi"
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] Powerpc: Add 3.3v voltage support for T4240QDS
2013-07-23 2:59 [PATCH 1/2] Powerpc: Add voltage support in dts file Haijun Zhang
@ 2013-07-23 2:59 ` Haijun Zhang
2013-07-23 16:19 ` [PATCH 1/2] Powerpc: Add voltage support in dts file Scott Wood
1 sibling, 0 replies; 3+ messages in thread
From: Haijun Zhang @ 2013-07-23 2:59 UTC (permalink / raw)
To: linux-mmc, linuxppc-dev
Cc: cbouatmailru, cjb, scottwood, AFLEMING, r39252, Haijun Zhang,
Haijun Zhang
Freescale T4240QDS reference board has extra voltage shifters added
to allow 3.3V operation, so add 3.3v voltage support for T4240QDS.
Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
---
changes for this patch set:
- split from patch [PATCH 1/2] Powerpc: Add
- voltage ranges support for T4
arch/powerpc/boot/dts/t4240qds.dts | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/powerpc/boot/dts/t4240qds.dts b/arch/powerpc/boot/dts/t4240qds.dts
index 0555976..5beccdd 100644
--- a/arch/powerpc/boot/dts/t4240qds.dts
+++ b/arch/powerpc/boot/dts/t4240qds.dts
@@ -148,6 +148,11 @@
interrupts = <0x1 0x1 0 0>;
};
};
+
+ sdhc@114000 {
+ compatible = "fsl,t4240-esdhc", "fsl,esdhc";
+ voltage-ranges = <1800 1800 3300 3300>;
+ };
};
pci0: pcie@ffe240000 {
--
1.8.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] Powerpc: Add voltage support in dts file
2013-07-23 2:59 [PATCH 1/2] Powerpc: Add voltage support in dts file Haijun Zhang
2013-07-23 2:59 ` [PATCH 2/2] Powerpc: Add 3.3v voltage support for T4240QDS Haijun Zhang
@ 2013-07-23 16:19 ` Scott Wood
1 sibling, 0 replies; 3+ messages in thread
From: Scott Wood @ 2013-07-23 16:19 UTC (permalink / raw)
Cc: linux-mmc, linuxppc-dev, cbouatmailru, cjb, AFLEMING, r39252,
Haijun Zhang, Haijun Zhang
On 07/22/2013 09:59:04 PM, Haijun Zhang wrote:
> eSDHC of T4240 had 1.8v voltage support. Add this node to specify
> eSDHC voltage capacity. If this node not specified eSDHC driver
> still can read from eSDHC host capacity register.
>
> Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
> ---
> changes for this patch set:
> - split from patch [PATCH 1/2] Powerpc: Add
> - voltage ranges support for T4
>
> Documentation/devicetree/bindings/mmc/fsl-esdhc.txt | 3 +++
> arch/powerpc/boot/dts/fsl/t4240si-post.dtsi | 1 +
> 2 files changed, 4 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
> b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
> index bd9be0b..f1ac253 100644
> --- a/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
> +++ b/Documentation/devicetree/bindings/mmc/fsl-esdhc.txt
> @@ -19,6 +19,8 @@ Optional properties:
> "bus-width = <1>" property.
> - sdhci,auto-cmd12: specifies that a controller can only handle
> auto
> CMD12.
> + - 3300 3300: specifies that eSDHC controller can support voltages
> ranges
> + from 3300 to 3300.
"3300 3300" is not a property name -- and the voltage-ranges property
should be defined more generically, as is done for mmc-spi-slot.txt.
-Scott
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-23 16:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-23 2:59 [PATCH 1/2] Powerpc: Add voltage support in dts file Haijun Zhang
2013-07-23 2:59 ` [PATCH 2/2] Powerpc: Add 3.3v voltage support for T4240QDS Haijun Zhang
2013-07-23 16:19 ` [PATCH 1/2] Powerpc: Add voltage support in dts file Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox