All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Jaehoon Chung <jh80.chung@samsung.com>,
	Krzysztof Kozlowski <k.kozlowski@samsung.com>,
	kgene@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com
Cc: andi.shyti@samsung.com, inki.dae@samsung.com,
	sw0312.kim@samsung.com, pankaj.dubey@samsung.com,
	linux-samsung-soc@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board
Date: Tue, 15 Mar 2016 10:45:14 +0900	[thread overview]
Message-ID: <56E7692A.1020407@samsung.com> (raw)
In-Reply-To: <56E75DC1.7000807@samsung.com>

On 2016년 03월 15일 09:56, Jaehoon Chung wrote:
> On 03/15/2016 09:25 AM, Krzysztof Kozlowski wrote:
>> On 14.03.2016 19:22, Chanwoo Choi wrote:
>>> On 2016년 03월 14일 18:44, Krzysztof Kozlowski wrote:
>>>> On 14.03.2016 17:48, Chanwoo Choi wrote:
>>>>> On 2016년 03월 14일 17:31, 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 SD card
>>>>>>>
>>>>>>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>>>>>>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>>>>>>> ---
>>>>>>>  arch/arm/boot/dts/exynos3250-artik5-devel.dts | 16 ++++++++++++++++
>>>>>>>  1 file changed, 16 insertions(+)
>>>>>>>
>>>>>>> diff --git a/arch/arm/boot/dts/exynos3250-artik5-devel.dts b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> index d17c28969118..a371baf8536d 100644
>>>>>>> --- a/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> +++ b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> @@ -21,6 +21,22 @@
>>>>>>>  			"samsung,exynos3250", "samsung,exynos3";
>>>>>>>  };
>>>>>>>  
>>>>>>> +&mshc_2 {
>>>>>>> +	num-slots = <1>;
>>>>>>> +	cap-sd-highspeed;
>>>>>>> +	disable-wp;
>>>>>>> +	card-detect-delay = <200>;
>>>>>>> +	clock-frequency = <100000000>;
>>>>>>> +	clock-freq-min-max = <400000 100000000>;
>>>>>>> +	samsung,dw-mshc-ciu-div = <1>;
>>>>>>> +	samsung,dw-mshc-sdr-timing = <0 1>;
>>>>>>> +	samsung,dw-mshc-ddr-timing = <1 2>;
>>>>>>> +	pinctrl-names = "default";
>>>>>>> +	pinctrl-0 = <&sd2_cmd &sd2_clk &sd2_cd &sd2_bus1 &sd2_bus4>;
>>>>>>> +	bus-width = <4>;
>>>>>>> +	status = "okay";
>>>>>>
>>>>>> vqmmc-supply = ldo3?
>>>>>
>>>>> ldo3 is always on state because ldo3 is used for various IP in exynos3250.
>>>>> I think that we had better to remain always on state for ldo3.
>>>>
>>>> Yes, I wasn't thinking about toggling ldo3 but about taking the
>>>> regulator here to model the dependencies between components.
>>>
>>> Okay. I'll add it as following:
>>>
>>> 	vmmc-supply = <&ldo18_reg>;
>>> 	vqmmc-supply = <&ldo3>;
>>
>> ldo18 is not used by mshc2. At least my schematics show that LDO3 goes
>> to DVDD_MMC2 (on different board revision that would be ldo18 instead of
>> ldo3, but not both).

ARTIK5 schema document VLDO18 and VLDO3 are connected to DVDD_MMC2_AP.
But, I'm not sure what is meaning. So, I'll drop the 'vmmc-supply'

> 
> It's confusing..but it seems that Krzysztof's opinion is right.
> 
> Best Regards,
> Jaehoon Chung
> 
>>
>> The card itself is powered by VDDFLASH_28/MAIN_BAT.

You're right.

OK, I'll modify it with only vqmmc-supply = <&ldo3>;

Best Regards,
Chanwoo Choi

WARNING: multiple messages have this Message-ID (diff)
From: Chanwoo Choi <cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
To: Jaehoon Chung
	<jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Krzysztof Kozlowski
	<k.kozlowski-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	kgene-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
	s.nawrocki-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	tomasz.figa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Cc: andi.shyti-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	inki.dae-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	sw0312.kim-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	pankaj.dubey-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
	linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board
Date: Tue, 15 Mar 2016 10:45:14 +0900	[thread overview]
Message-ID: <56E7692A.1020407@samsung.com> (raw)
In-Reply-To: <56E75DC1.7000807-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

On 2016년 03월 15일 09:56, Jaehoon Chung wrote:
> On 03/15/2016 09:25 AM, Krzysztof Kozlowski wrote:
>> On 14.03.2016 19:22, Chanwoo Choi wrote:
>>> On 2016년 03월 14일 18:44, Krzysztof Kozlowski wrote:
>>>> On 14.03.2016 17:48, Chanwoo Choi wrote:
>>>>> On 2016년 03월 14일 17:31, Krzysztof Kozlowski wrote:
>>>>>> On 14.03.2016 11:04, Chanwoo Choi wrote:
>>>>>>> From: Jaehoon Chung <jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>>>>>>>
>>>>>>> This patch adds MSHC (Mobile Storage Host Controller) dt node for
>>>>>>> Exynos3250 SoC. MSHC is an interface between the system and the SD card
>>>>>>>
>>>>>>> Signed-off-by: Jaehoon Chung <jh80.chung-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>>>>>>> Signed-off-by: Chanwoo Choi <cw00.choi-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
>>>>>>> ---
>>>>>>>  arch/arm/boot/dts/exynos3250-artik5-devel.dts | 16 ++++++++++++++++
>>>>>>>  1 file changed, 16 insertions(+)
>>>>>>>
>>>>>>> diff --git a/arch/arm/boot/dts/exynos3250-artik5-devel.dts b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> index d17c28969118..a371baf8536d 100644
>>>>>>> --- a/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> +++ b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> @@ -21,6 +21,22 @@
>>>>>>>  			"samsung,exynos3250", "samsung,exynos3";
>>>>>>>  };
>>>>>>>  
>>>>>>> +&mshc_2 {
>>>>>>> +	num-slots = <1>;
>>>>>>> +	cap-sd-highspeed;
>>>>>>> +	disable-wp;
>>>>>>> +	card-detect-delay = <200>;
>>>>>>> +	clock-frequency = <100000000>;
>>>>>>> +	clock-freq-min-max = <400000 100000000>;
>>>>>>> +	samsung,dw-mshc-ciu-div = <1>;
>>>>>>> +	samsung,dw-mshc-sdr-timing = <0 1>;
>>>>>>> +	samsung,dw-mshc-ddr-timing = <1 2>;
>>>>>>> +	pinctrl-names = "default";
>>>>>>> +	pinctrl-0 = <&sd2_cmd &sd2_clk &sd2_cd &sd2_bus1 &sd2_bus4>;
>>>>>>> +	bus-width = <4>;
>>>>>>> +	status = "okay";
>>>>>>
>>>>>> vqmmc-supply = ldo3?
>>>>>
>>>>> ldo3 is always on state because ldo3 is used for various IP in exynos3250.
>>>>> I think that we had better to remain always on state for ldo3.
>>>>
>>>> Yes, I wasn't thinking about toggling ldo3 but about taking the
>>>> regulator here to model the dependencies between components.
>>>
>>> Okay. I'll add it as following:
>>>
>>> 	vmmc-supply = <&ldo18_reg>;
>>> 	vqmmc-supply = <&ldo3>;
>>
>> ldo18 is not used by mshc2. At least my schematics show that LDO3 goes
>> to DVDD_MMC2 (on different board revision that would be ldo18 instead of
>> ldo3, but not both).

ARTIK5 schema document VLDO18 and VLDO3 are connected to DVDD_MMC2_AP.
But, I'm not sure what is meaning. So, I'll drop the 'vmmc-supply'

> 
> It's confusing..but it seems that Krzysztof's opinion is right.
> 
> Best Regards,
> Jaehoon Chung
> 
>>
>> The card itself is powered by VDDFLASH_28/MAIN_BAT.

You're right.

OK, I'll modify it with only vqmmc-supply = <&ldo3>;

Best Regards,
Chanwoo Choi
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: cw00.choi@samsung.com (Chanwoo Choi)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 09/10] ARM: dts: Add MSHC2 dt node for SD card for exynos3250-artik5-devel board
Date: Tue, 15 Mar 2016 10:45:14 +0900	[thread overview]
Message-ID: <56E7692A.1020407@samsung.com> (raw)
In-Reply-To: <56E75DC1.7000807@samsung.com>

On 2016? 03? 15? 09:56, Jaehoon Chung wrote:
> On 03/15/2016 09:25 AM, Krzysztof Kozlowski wrote:
>> On 14.03.2016 19:22, Chanwoo Choi wrote:
>>> On 2016? 03? 14? 18:44, Krzysztof Kozlowski wrote:
>>>> On 14.03.2016 17:48, Chanwoo Choi wrote:
>>>>> On 2016? 03? 14? 17:31, 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 SD card
>>>>>>>
>>>>>>> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
>>>>>>> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
>>>>>>> ---
>>>>>>>  arch/arm/boot/dts/exynos3250-artik5-devel.dts | 16 ++++++++++++++++
>>>>>>>  1 file changed, 16 insertions(+)
>>>>>>>
>>>>>>> diff --git a/arch/arm/boot/dts/exynos3250-artik5-devel.dts b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> index d17c28969118..a371baf8536d 100644
>>>>>>> --- a/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> +++ b/arch/arm/boot/dts/exynos3250-artik5-devel.dts
>>>>>>> @@ -21,6 +21,22 @@
>>>>>>>  			"samsung,exynos3250", "samsung,exynos3";
>>>>>>>  };
>>>>>>>  
>>>>>>> +&mshc_2 {
>>>>>>> +	num-slots = <1>;
>>>>>>> +	cap-sd-highspeed;
>>>>>>> +	disable-wp;
>>>>>>> +	card-detect-delay = <200>;
>>>>>>> +	clock-frequency = <100000000>;
>>>>>>> +	clock-freq-min-max = <400000 100000000>;
>>>>>>> +	samsung,dw-mshc-ciu-div = <1>;
>>>>>>> +	samsung,dw-mshc-sdr-timing = <0 1>;
>>>>>>> +	samsung,dw-mshc-ddr-timing = <1 2>;
>>>>>>> +	pinctrl-names = "default";
>>>>>>> +	pinctrl-0 = <&sd2_cmd &sd2_clk &sd2_cd &sd2_bus1 &sd2_bus4>;
>>>>>>> +	bus-width = <4>;
>>>>>>> +	status = "okay";
>>>>>>
>>>>>> vqmmc-supply = ldo3?
>>>>>
>>>>> ldo3 is always on state because ldo3 is used for various IP in exynos3250.
>>>>> I think that we had better to remain always on state for ldo3.
>>>>
>>>> Yes, I wasn't thinking about toggling ldo3 but about taking the
>>>> regulator here to model the dependencies between components.
>>>
>>> Okay. I'll add it as following:
>>>
>>> 	vmmc-supply = <&ldo18_reg>;
>>> 	vqmmc-supply = <&ldo3>;
>>
>> ldo18 is not used by mshc2. At least my schematics show that LDO3 goes
>> to DVDD_MMC2 (on different board revision that would be ldo18 instead of
>> ldo3, but not both).

ARTIK5 schema document VLDO18 and VLDO3 are connected to DVDD_MMC2_AP.
But, I'm not sure what is meaning. So, I'll drop the 'vmmc-supply'

> 
> It's confusing..but it seems that Krzysztof's opinion is right.
> 
> Best Regards,
> Jaehoon Chung
> 
>>
>> The card itself is powered by VDDFLASH_28/MAIN_BAT.

You're right.

OK, I'll modify it with only vqmmc-supply = <&ldo3>;

Best Regards,
Chanwoo Choi

  reply	other threads:[~2016-03-15  1:45 UTC|newest]

Thread overview: 78+ 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 ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 01/10] clk: samsung: exynos3250: Add UART2 clock Chanwoo Choi
2016-03-14  2:04   ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 02/10] clk: samsung: exynos3250: Add MMC2 clock Chanwoo Choi
2016-03-14  2:04   ` Chanwoo Choi
2016-03-14  2:04   ` 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   ` Chanwoo Choi
2016-03-14  2:04 ` [PATCH 04/10] ARM: dts: Add MSHC2 " Chanwoo Choi
2016-03-14  2:04   ` Chanwoo Choi
2016-03-14  6:22   ` Krzysztof Kozlowski
2016-03-14  6:22     ` Krzysztof Kozlowski
2016-03-14  8:28     ` Chanwoo Choi
2016-03-14  8:28       ` Chanwoo Choi
2016-03-14  9:52       ` Krzysztof Kozlowski
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  2:04   ` Chanwoo Choi
2016-03-14  6:42   ` Krzysztof Kozlowski
2016-03-14  6:42     ` Krzysztof Kozlowski
2016-03-14  6:57     ` Chanwoo Choi
2016-03-14  6:57       ` Chanwoo Choi
2016-03-14  7:22       ` 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  2:04   ` Chanwoo Choi
2016-03-14  6:57   ` Krzysztof Kozlowski
2016-03-14  6:57     ` Krzysztof Kozlowski
2016-03-14  6:57     ` Krzysztof Kozlowski
2016-03-14  8:15     ` Chanwoo Choi
2016-03-14  8:15       ` Chanwoo Choi
2016-03-14  9:59       ` Krzysztof Kozlowski
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:04   ` Chanwoo Choi
2016-03-14  2:10   ` 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  2:04   ` Chanwoo Choi
2016-03-14  2:04   ` Chanwoo Choi
2016-03-14  7:06   ` Krzysztof Kozlowski
2016-03-14  7:06     ` Krzysztof Kozlowski
2016-03-14  7:13     ` Chanwoo Choi
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  2:04   ` Chanwoo Choi
2016-03-14  2:04   ` Chanwoo Choi
2016-03-14  7:12   ` Krzysztof Kozlowski
2016-03-14  7:12     ` Krzysztof Kozlowski
2016-03-14  7:21     ` Chanwoo Choi
2016-03-14  7:21       ` Chanwoo Choi
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  2:04   ` Chanwoo Choi
2016-03-14  8:31   ` Krzysztof Kozlowski
2016-03-14  8:31     ` Krzysztof Kozlowski
2016-03-14  8:48     ` Chanwoo Choi
2016-03-14  8:48       ` Chanwoo Choi
2016-03-14  9:44       ` Krzysztof Kozlowski
2016-03-14  9:44         ` Krzysztof Kozlowski
2016-03-14 10:22         ` Chanwoo Choi
2016-03-14 10:22           ` Chanwoo Choi
2016-03-15  0:25           ` Krzysztof Kozlowski
2016-03-15  0:25             ` Krzysztof Kozlowski
2016-03-15  0:56             ` Jaehoon Chung
2016-03-15  0:56               ` Jaehoon Chung
2016-03-15  1:45               ` Chanwoo Choi [this message]
2016-03-15  1:45                 ` Chanwoo Choi
2016-03-15  1:45                 ` Chanwoo Choi
2016-03-15  1:46                 ` 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  2:04   ` Chanwoo Choi
2016-03-14  8:34   ` Krzysztof Kozlowski
2016-03-14  8:34     ` Krzysztof Kozlowski
2016-03-14  8:43     ` Chanwoo Choi
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=56E7692A.1020407@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=andi.shyti@samsung.com \
    --cc=devicetree@vger.kernel.org \
    --cc=inki.dae@samsung.com \
    --cc=jh80.chung@samsung.com \
    --cc=k.kozlowski@samsung.com \
    --cc=kgene@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=pankaj.dubey@samsung.com \
    --cc=s.nawrocki@samsung.com \
    --cc=sw0312.kim@samsung.com \
    --cc=tomasz.figa@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.