diff mbox

[v2,1/2] ARM: dts: dra7-evm: Add mmc1 node for micro-sd support

Message ID 1381163104-6318-1-git-send-email-balajitk@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Balaji T K Oct. 7, 2013, 4:25 p.m. UTC
Add mmc1 dt node to dra7-evm board.
Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
will be modelled as cascaded regulator.

Signed-off-by: Balaji T K <balajitk@ti.com>
---
Rebase to for_3.13/dts

 arch/arm/boot/dts/dra7-evm.dts |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Comments

Nishanth Menon Oct. 9, 2013, 1:14 p.m. UTC | #1
On 10/07/2013 11:25 AM, Balaji T K wrote:
> Add mmc1 dt node to dra7-evm board.
> Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
> on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
> will be modelled as cascaded regulator.
> 
> Signed-off-by: Balaji T K <balajitk@ti.com>
> ---
> Rebase to for_3.13/dts
> 
>  arch/arm/boot/dts/dra7-evm.dts |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
> index fbbe406..65cd15a 100644
> --- a/arch/arm/boot/dts/dra7-evm.dts
> +++ b/arch/arm/boot/dts/dra7-evm.dts
> @@ -250,3 +250,9 @@
>  	pinctrl-names = "default";
>  	pinctrl-0 = <&uart3_pins>;
>  };
> +
> +&mmc1 {
> +	status = "okay";
> +	vmmc-supply = <&ldo1_reg>;
> +	bus-width = <4>;
> +};
> 
boot tested on DRA7-EVM
voltage rail is correct based on schematics(rev d1) too
(LDO1->MMC1_3V3->SDcard).

Reviewed-by: Nishanth Menon <nm@ti.com>
Tested-by: Nishanth Menon <nm@ti.com>
Sekhar Nori Oct. 9, 2013, 6:51 p.m. UTC | #2
On Monday 07 October 2013 09:55 PM, Balaji T K wrote:
> Add mmc1 dt node to dra7-evm board.
> Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
> on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
> will be modelled as cascaded regulator.
> 
> Signed-off-by: Balaji T K <balajitk@ti.com>

Acked-by: Sekhar Nori <nsekhar@ti.com>

Thanks,
Sekhar
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Balaji T K Oct. 11, 2013, 4:44 p.m. UTC | #3
On Thursday 10 October 2013 12:21 AM, Sekhar Nori wrote:
> On Monday 07 October 2013 09:55 PM, Balaji T K wrote:
>> Add mmc1 dt node to dra7-evm board.
>> Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
>> on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
>> will be modelled as cascaded regulator.
>>
>> Signed-off-by: Balaji T K <balajitk@ti.com>
>
> Acked-by: Sekhar Nori <nsekhar@ti.com>
>
Hi Benoit,

Can you let me know if you have any comments on this patch series?

Thanks and Regards
Balaji T K
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Benoit Cousson Oct. 11, 2013, 7:16 p.m. UTC | #4
Hi Balaji,

On 11/10/2013 18:44, Balaji T K wrote:
> On Thursday 10 October 2013 12:21 AM, Sekhar Nori wrote:
>> On Monday 07 October 2013 09:55 PM, Balaji T K wrote:
>>> Add mmc1 dt node to dra7-evm board.
>>> Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
>>> on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
>>> will be modelled as cascaded regulator.
>>>
>>> Signed-off-by: Balaji T K <balajitk@ti.com>
>>
>> Acked-by: Sekhar Nori <nsekhar@ti.com>
>>
> Hi Benoit,
>
> Can you let me know if you have any comments on this patch series?

The series looks good, and I've just applied it for 3.13.

Thanks,
Benoit

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Balaji T K Oct. 12, 2013, 3:37 p.m. UTC | #5
On Saturday 12 October 2013 12:46 AM, Benoit Cousson wrote:
> Hi Balaji,
>
> On 11/10/2013 18:44, Balaji T K wrote:
>> On Thursday 10 October 2013 12:21 AM, Sekhar Nori wrote:
>>> On Monday 07 October 2013 09:55 PM, Balaji T K wrote:
>>>> Add mmc1 dt node to dra7-evm board.
>>>> Input for ldo1 regulator is controlled by gpio 5 of pcf8575 chip (0x21)
>>>> on i2c1 bus. When dt support for gpio-pcf857x is available, input supply
>>>> will be modelled as cascaded regulator.
>>>>
>>>> Signed-off-by: Balaji T K <balajitk@ti.com>
>>>
>>> Acked-by: Sekhar Nori <nsekhar@ti.com>
>>>
>> Hi Benoit,
>>
>> Can you let me know if you have any comments on this patch series?
>
> The series looks good, and I've just applied it for 3.13.
>
Thanks Benoit

- Balaji T K
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts
index fbbe406..65cd15a 100644
--- a/arch/arm/boot/dts/dra7-evm.dts
+++ b/arch/arm/boot/dts/dra7-evm.dts
@@ -250,3 +250,9 @@ 
 	pinctrl-names = "default";
 	pinctrl-0 = <&uart3_pins>;
 };
+
+&mmc1 {
+	status = "okay";
+	vmmc-supply = <&ldo1_reg>;
+	bus-width = <4>;
+};