public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Jaehoon Chung <jh80.chung@samsung.com>
To: Yuvaraj Cd <yuvaraj.lkml@gmail.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>,
	Tomasz Figa <t.figa@samsung.com>,
	linux-samsung-soc@vger.kernel.org,
	linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: [PATCH V2] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC
Date: Fri, 23 Aug 2013 23:12:48 +0900	[thread overview]
Message-ID: <52176DE0.4050005@samsung.com> (raw)
In-Reply-To: <CA+NduCCHe1MR+M52spNC06QHY29z3e6ewiS8KSvw1ROSQDC2zg@mail.gmail.com>

Hi Yuvaraj,

On 08/23/2013 03:16 PM, Yuvaraj Cd wrote:
> On Fri, Aug 23, 2013 at 4:36 AM, Tomasz Figa <tomasz.figa@gmail.com> wrote:
>> On Thursday 22 of August 2013 12:24:58 Yuvaraj Kumar wrote:
>>> On Wed, Aug 21, 2013 at 4:00 PM, Tomasz Figa <t.figa@samsung.com> wrote:
>>>> Hi Yuvaraj,
>>>>
>>>> On Wednesday 21 of August 2013 12:13:53 Yuvaraj Kumar C D wrote:
>>>>> This patch adds the device tree node entries for exynos5420 SOC.
>>>>> Exynos5420 has a different version of DWMMC controller,so a new
>>>>> compatible string is used to distinguish it from the prior SOC's.
>>>>
>>>> What are the difference between both versions? Is there a patch adding
>>>> the new compatible to the driver somewhere?
>>>
>>> Exynos5250 has DWMMC controller of IP version 2.41a
>>> Exynos5420 has DWMMC controller of IP version 2.50a
>>> In addition Exynos5420 has Security Management Unit for eMMC.
>>
>> OK. What about my second question?
> Below is the link.
> http://permalink.gmane.org/gmane.linux.kernel.mmc/21060
If you will send the next version,
Could you add the comment about patch has dependency?

Best Regards,
Jaehoon Chung
>>
>>>>> changes since V1:
>>>>>       1.disable node by status = disabled in SOC file
>>>>>       2.enable node by status = okay in board specific file
>>>>
>>>> Ahh, so you fixed this already in this version, thanks. Haven't
>>>> noticed
>>>> this patch at first and commented on previous one. Sorry for the
>>>> noise.
>>>>
>>>>> Signed-off-by: Yuvaraj Kumar C D <yuvaraj.cd@samsung.com>
>>>>> ---
>>>>>
>>>>>  .../devicetree/bindings/mmc/exynos-dw-mshc.txt     |    2 ++
>>>>>  arch/arm/boot/dts/exynos5420-smdk5420.dts          |   38
>>>>>
>>>>> ++++++++++++++++++++ arch/arm/boot/dts/exynos5420.dtsi
>>>>>
>>>>> |   36 +++++++++++++++++++ 3 files changed, 76 insertions(+)
>>>>>
>>>>> diff --git a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>>>>> b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt index
>>>>> 6d1c098..84cd56f 100644
>>>>> --- a/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>>>>> +++ b/Documentation/devicetree/bindings/mmc/exynos-dw-mshc.txt
>>>>>
>>>>> @@ -16,6 +16,8 @@ Required Properties:
>>>>>         specific extensions.
>>>>>
>>>>>       - "samsung,exynos5250-dw-mshc": for controllers with Samsung
>>>>>       Exynos5250
>>>>>
>>>>> specific extensions.
>>>>> +     - "samsung,exynos5420-dw-mshc": for controllers with Samsung
>>>>> Exynos5420 +       specific extensions.
>>>>>
>>>>>  * samsung,dw-mshc-ciu-div: Specifies the divider value for the card
>>>>>
>>>>> interface unit (ciu) clock. This property is applicable only for
>>>>> Exynos5 SoC's and diff --git
>>>>> a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> b/arch/arm/boot/dts/exynos5420-smdk5420.dts index bafba25..6e65278
>>>>> 100644
>>>>> --- a/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> +++ b/arch/arm/boot/dts/exynos5420-smdk5420.dts
>>>>> @@ -31,6 +31,44 @@
>>>>>
>>>>>               };
>>>>>
>>>>>       };
>>>>>
>>>>> +     dwmmc0@12200000 {
>>>>> +             status = "okay";
>>>>> +             num-slots = <1>;
>>>>
>>>> You don't have to specify this property if there is only one slot.
>>>> Also are you sure that this is a board specific property?
>>>
>>> Yes,If num-slots property is not defined dw_mmc driver assumes 1 slot
>>> is available.
>>> I think yes,its a board specific property as number of card slots is
>>> board dependent.
>>>
>>>>> +             broken-cd;
>>>>> +             bypass-smu;
>>>>
>>>> This property doesn't seem to be documented nor used anywhere.
>>>
>>> Sorry. I missed to add in binding document.Will add in next version.
>>
>> Is there a patch adding support for this property to the driver?
> Yes.You can find here http://permalink.gmane.org/gmane.linux.kernel.mmc/21060
>>
>>>>> +             supports-highspeed;
>>>>
>>>> Is it a board specific property?
>>>>
>>>>> +             fifo-depth = <0x80>;
>>>>
>>>> Ditto.
>>>
>>> Ideally this can be move to SOC specific dts.But I am just following
>>> ,already merged smdk5250 board
>>> dts convensions.
>>
>> This means that Exynos5250 board dts files need to be fixed as well.
>>
>>>>> +             card-detect-delay = <200>;
>>>>> +             samsung,dw-mshc-ciu-div = <3>;
>>>>> +             samsung,dw-mshc-sdr-timing = <0 4>;
>>>>> +             samsung,dw-mshc-ddr-timing = <0 2>;
>>>>
>>>> Are the above three properties really board-specific?
>>
>> Hmm?
> I am not sure about this. But Doug Anderson has pointed out these as
> board specific properties.
>>
>> Best regards,
>> Tomasz
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


  reply	other threads:[~2013-08-23 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  6:43 [PATCH V2] ARM: dts: Add dwmmc DT nodes for exynos5420 SOC Yuvaraj Kumar C D
2013-08-21 10:30 ` Tomasz Figa
2013-08-22  6:54   ` Yuvaraj Kumar
2013-08-22 23:06     ` Tomasz Figa
2013-08-23  6:16       ` Yuvaraj Cd
2013-08-23 14:12         ` Jaehoon Chung [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-21  6:35 Yuvaraj Kumar C D

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=52176DE0.4050005@samsung.com \
    --to=jh80.chung@samsung.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=t.figa@samsung.com \
    --cc=tomasz.figa@gmail.com \
    --cc=yuvaraj.lkml@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox