linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: cw00.choi@samsung.com (Chanwoo Choi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 06/10] ARM: dts: Add MSHC0 dt node for eMMC device for exynos3250-artik5 module
Date: Mon, 14 Mar 2016 17:15:21 +0900	[thread overview]
Message-ID: <56E67319.1050502@samsung.com> (raw)
In-Reply-To: <56E660D2.9090706@samsung.com>

On 2016? 03? 14? 15:57, Krzysztof Kozlowski wrote:
> On 14.03.2016 11:04, Chanwoo Choi wrote:
>> From: Jaehoon Chung <jh80.chung@samsung.com>
>>
>> This patch adds MSHC (Mobile Storage Host Controller) dt node for Exynos3250
>> SoC. MSHC is an interface between the system and the eMMC device.
>>
>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>> Signed-off-by: Andi Shyti <andi.shyti@samsung.com>
>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>> ---
>>  arch/arm/boot/dts/exynos3250-artik5.dtsi | 19 +++++++++++++++++++
>>  1 file changed, 19 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/exynos3250-artik5.dtsi b/arch/arm/boot/dts/exynos3250-artik5.dtsi
>> index 97d0087efb9f..75b291c10cdc 100644
>> --- a/arch/arm/boot/dts/exynos3250-artik5.dtsi
>> +++ b/arch/arm/boot/dts/exynos3250-artik5.dtsi
>> @@ -277,6 +277,25 @@
>>  	};
>>  };
>>  
>> +&mshc_0 {
>> +	num-slots = <1>;
>> +	broken-cd;
>> +	non-removable;
> 
> Broken or non-removable, not both.

I'll remove the 'broken-cd' property.

> 
>> +	cap-mmc-highspeed;
>> +	desc-num = <4>;
>> +	card-detect-delay = <200>;
>> +	vmmc-supply = <&ldo11_reg>;
> 
> Isn't this vqmmc-supply?

I'll fix it as following by using ldo12_reg:
	vmmc-supply = <&ldo12_reg>;

> 
> BTW, both MMC0 regulators (ldo11, ldo12) are marked as always-on. Why
> they cannot be controlled by XMMC0CDN (just like on Rinato)?

I'll fix it like rinato board to handle the ldo11/ldo12 as following:
gpk0-2 is XMMC0CDN pin.

                       ldo11_reg: LDO11 {
-                               /* VDD_MMC */
+                               /* VDD74 ~ VDD75 */
                                regulator-name = "VLDO11_1.8V";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
-                               regulator-always-on;
+                               samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
                        };

                        ldo12_reg: LDO12 {
@@ -177,7 +178,7 @@
                                regulator-name = "VLDO12_2.8V";
                                regulator-min-microvolt = <2800000>;
                                regulator-max-microvolt = <2800000>;
-                               regulator-always-on;
+                               samsung,ext-control-gpios = <&gpk0 2 GPIO_ACTIVE_HIGH>;
                        };

> 
> What is the benefit of making this patch separate from "Add
> exynos3250-artik5 dtsi file for ARTIK5 module"? Does the board boot
> properly without this patch?

OK. I'll merge it with 5/10 patch.

Best Regards,
Chanwoo Choi

[snip]

  reply	other threads:[~2016-03-14  8:15 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-14  2:04 [PATCH 00/10] ARM: dts: Add new Exynos3250-based ARTIK5 module dtsi file Chanwoo Choi
2016-03-14  2:04 ` [PATCH 01/10] clk: samsung: exynos3250: Add UART2 clock Chanwoo Choi
2016-03-14  2:04 ` [PATCH 02/10] clk: samsung: exynos3250: Add MMC2 clock Chanwoo Choi
2016-03-14  2:04 ` [PATCH 03/10] ARM: dts: Add UART2 dt node for Exynos3250 SoC Chanwoo Choi
2016-03-14  2:04 ` [PATCH 04/10] ARM: dts: Add MSHC2 " Chanwoo Choi
2016-03-14  6:22   ` Krzysztof Kozlowski
2016-03-14  8:28     ` Chanwoo Choi
2016-03-14  9:52       ` Krzysztof Kozlowski
2016-03-14  2:04 ` [PATCH 05/10] ARM: dts: Add exynos3250-artik5 dtsi file for ARTIK5 module Chanwoo Choi
2016-03-14  6:42   ` Krzysztof Kozlowski
2016-03-14  6:57     ` Chanwoo Choi
2016-03-14  7:22       ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 06/10] ARM: dts: Add MSHC0 dt node for eMMC device for exynos3250-artik5 module Chanwoo Choi
2016-03-14  6:57   ` Krzysztof Kozlowski
2016-03-14  8:15     ` Chanwoo Choi [this message]
2016-03-14  9:59       ` Krzysztof Kozlowski
2016-03-14  2:04 ` [PATCH 06/10] ARM: dts: exynos3250-artik5: Add MSHC0 dt node for eMMC device Chanwoo Choi
2016-03-14  2:10   ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 07/10] ARM: dts: Add thermal zone and cpufreq node for exynos3250-artik5 module Chanwoo Choi
2016-03-14  7:06   ` Krzysztof Kozlowski
2016-03-14  7:13     ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 08/10] ARM: dts: Add rtc and adc dt " Chanwoo Choi
2016-03-14  7:12   ` Krzysztof Kozlowski
2016-03-14  7:21     ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board Chanwoo Choi
2016-03-14  8:31   ` Krzysztof Kozlowski
2016-03-14  8:48     ` Chanwoo Choi
2016-03-14  9:44       ` Krzysztof Kozlowski
2016-03-14 10:22         ` Chanwoo Choi
2016-03-15  0:25           ` Krzysztof Kozlowski
2016-03-15  0:56             ` Jaehoon Chung
2016-03-15  1:45               ` Chanwoo Choi
2016-03-15  1:46                 ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 10/10] ARM: dts: Add PPMU node for exynos3250-artik5 module Chanwoo Choi
2016-03-14  8:34   ` Krzysztof Kozlowski
2016-03-14  8:43     ` Chanwoo Choi

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=56E67319.1050502@samsung.com \
    --to=cw00.choi@samsung.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;
as well as URLs for NNTP newsgroup(s).