From: Dinh Nguyen <dinguyen@opensource.altera.com>
To: Pavel Machek <pavel@denx.de>, Ulf Hansson <ulf.hansson@linaro.org>
Cc: marex@denx.de,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
Kevin Hilman <khilman@linaro.org>,
dinh.linux@gmail.com, "arm@kernel.org" <arm@kernel.org>,
Arnd Bergmann <arnd@arndb.de>,
linux-mmc <linux-mmc@vger.kernel.org>,
Olof Johansson <olof@lixom.net>, Rob Herring <robh+dt@kernel.org>,
Grant Likely <grant.likely@linaro.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [GIT PULL 1/2] SOCFPGA updates for 3.18
Date: Wed, 10 Sep 2014 09:19:18 -0500 [thread overview]
Message-ID: <54105DE6.9070807@opensource.altera.com> (raw)
In-Reply-To: <20140910110057.GA9354@amd>
On 9/10/14, 6:00 AM, Pavel Machek wrote:
> Hi!
>
>>>> 2) On the host level, the support for handle multiple slots in DT for
>>>> dw-mmc has been broken. While dw-mmc parsed the DT nodes for slots, it
>>>> screwed up configurations. Thus the support for slots have never
>>>> worked as expected from DT point of view.
>>>
>>> Well, DT is supposed to describe the hardware. From your description,
>>> it seems that linux does not support two slots on one controller and
>>> DT parsing code basically ignores the slots. (Logical, if it can't
>>> support two slots).
>>>
>>> So now we are breaking DT description due to Linux limitations. Which
>>>
>>> a) makes it hard for any other os not having same limitation
>>>
>>> b) makes it hard for people to fix the limitation
>>>
>>> c) does not really solve anything
>>
>> Yes it does, the problem in 2) gets fixed.
>>
>>>
>>> d) breaks backward compatibility with old dts
>>
>> According to 2), it has never worked - so we don't break anything.
>
> Umm? u-SD worked for me in 3.14, 3.15 and 3.16 with the device tree,
> and with single-slot described in the device tree. Now I have to
> change dtb-s to keep working configuration, which is something device
> tree should never ever do.
I tested the DTB with and without the patch, and it all works fine.
Dinh
>
> Is it so hard to just fix the multiple slot parsing?
>
> Pavel
>
WARNING: multiple messages have this Message-ID (diff)
From: dinguyen@opensource.altera.com (Dinh Nguyen)
To: linux-arm-kernel@lists.infradead.org
Subject: [GIT PULL 1/2] SOCFPGA updates for 3.18
Date: Wed, 10 Sep 2014 09:19:18 -0500 [thread overview]
Message-ID: <54105DE6.9070807@opensource.altera.com> (raw)
In-Reply-To: <20140910110057.GA9354@amd>
On 9/10/14, 6:00 AM, Pavel Machek wrote:
> Hi!
>
>>>> 2) On the host level, the support for handle multiple slots in DT for
>>>> dw-mmc has been broken. While dw-mmc parsed the DT nodes for slots, it
>>>> screwed up configurations. Thus the support for slots have never
>>>> worked as expected from DT point of view.
>>>
>>> Well, DT is supposed to describe the hardware. From your description,
>>> it seems that linux does not support two slots on one controller and
>>> DT parsing code basically ignores the slots. (Logical, if it can't
>>> support two slots).
>>>
>>> So now we are breaking DT description due to Linux limitations. Which
>>>
>>> a) makes it hard for any other os not having same limitation
>>>
>>> b) makes it hard for people to fix the limitation
>>>
>>> c) does not really solve anything
>>
>> Yes it does, the problem in 2) gets fixed.
>>
>>>
>>> d) breaks backward compatibility with old dts
>>
>> According to 2), it has never worked - so we don't break anything.
>
> Umm? u-SD worked for me in 3.14, 3.15 and 3.16 with the device tree,
> and with single-slot described in the device tree. Now I have to
> change dtb-s to keep working configuration, which is something device
> tree should never ever do.
I tested the DTB with and without the patch, and it all works fine.
Dinh
>
> Is it so hard to just fix the multiple slot parsing?
>
> Pavel
>
next prev parent reply other threads:[~2014-09-10 14:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-04 16:11 [GIT PULL 1/2] SOCFPGA updates for 3.18 dinguyen at opensource.altera.com
2014-09-04 16:11 ` [GIT PULL 2/2] SOCFPGA driver " dinguyen at opensource.altera.com
2014-09-09 14:59 ` Arnd Bergmann
2014-09-09 15:45 ` Borislav Petkov
2014-09-09 15:53 ` Arnd Bergmann
2014-09-09 18:40 ` Borislav Petkov
2014-09-09 14:17 ` [GIT PULL 1/2] SOCFPGA " Pavel Machek
2014-09-09 15:02 ` Arnd Bergmann
2014-09-09 15:02 ` Arnd Bergmann
2014-09-09 21:02 ` Pavel Machek
2014-09-09 21:02 ` Pavel Machek
2014-09-10 7:13 ` Ulf Hansson
2014-09-10 7:13 ` Ulf Hansson
2014-09-10 8:33 ` Pavel Machek
2014-09-10 8:33 ` Pavel Machek
2014-09-10 10:42 ` Ulf Hansson
2014-09-10 10:42 ` Ulf Hansson
2014-09-10 11:00 ` Pavel Machek
2014-09-10 11:00 ` Pavel Machek
2014-09-10 14:19 ` Dinh Nguyen [this message]
2014-09-10 14:19 ` Dinh Nguyen
2014-09-10 14:36 ` Marek Vasut
2014-09-10 14:36 ` Marek Vasut
2014-09-09 14:55 ` Arnd Bergmann
2014-09-09 16:04 ` Dinh Nguyen
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=54105DE6.9070807@opensource.altera.com \
--to=dinguyen@opensource.altera.com \
--cc=arm@kernel.org \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=dinh.linux@gmail.com \
--cc=grant.likely@linaro.org \
--cc=khilman@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-mmc@vger.kernel.org \
--cc=marex@denx.de \
--cc=olof@lixom.net \
--cc=pavel@denx.de \
--cc=robh+dt@kernel.org \
--cc=ulf.hansson@linaro.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 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.