devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matt Redfearn <matt.redfearn@imgtec.com>
To: David Daney <ddaney@caviumnetworks.com>,
	Ulf Hansson <ulf.hansson@linaro.org>
Cc: linux-mmc <linux-mmc@vger.kernel.org>,
	David Daney <david.daney@cavium.com>,
	linux-mips@linux-mips.org,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	Zubair.Kakakhel@imgtec.com,
	Aleksey Makarov <aleksey.makarov@caviumnetworks.com>,
	Chandrakala Chavva <cchavva@caviumnetworks.com>,
	Aleksey Makarov <aleksey.makarov@auriga.com>,
	Leonid Rosenboim <lrosenboim@caviumnetworks.com>,
	Peter Swain <pswain@cavium.com>,
	Aaron Williams <aaron.williams@cavium.com>
Subject: Re: [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller
Date: Thu, 11 Feb 2016 08:24:24 +0000	[thread overview]
Message-ID: <56BC4538.20207@imgtec.com> (raw)
In-Reply-To: <56BB9877.9000305@caviumnetworks.com>

Hi,
I will split the DT binding document into a separate patch, and move the 
legacy FDT patch-up code to
arch/mips/cavium-octeon/octeon-platform.c as suggested by Florian.

Ulf, your objections to the structure of the DT and driver were the only 
driver for the changes v4->v5.
I changed the DT binding and the structure of the driver to more closely 
resemble the atmel-mci driver, which has the same concept of one 
controller, multiple slots.

Thanks,
Matt

On 10/02/16 20:07, David Daney wrote:
> On 02/10/2016 11:01 AM, Ulf Hansson wrote:
>> On 10 February 2016 at 18:36, Matt Redfearn 
>> <matt.redfearn@imgtec.com> wrote:
>>> From: Aleksey Makarov <aleksey.makarov@caviumnetworks.com>
>>>
>>> The OCTEON MMC controller is currently found on cn61XX and cnf71XX
>>> devices.  Device parameters are configured from device tree data.
>>>
>>> eMMC, MMC and SD devices are supported.
>>>
>>> Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
>>> Signed-off-by: Chandrakala Chavva <cchavva@caviumnetworks.com>
>>> Signed-off-by: David Daney <david.daney@cavium.com>
>>> Signed-off-by: Aleksey Makarov <aleksey.makarov@auriga.com>
>>> Signed-off-by: Leonid Rosenboim <lrosenboim@caviumnetworks.com>
>>> Signed-off-by: Peter Swain <pswain@cavium.com>
>>> Signed-off-by: Aaron Williams <aaron.williams@cavium.com>
>>> Signed-off-by: Matt Redfearn <matt.redfearn@imgtec.com>
>>> ---
>>> v5:
>>> Incoroprate comments from review
>>> http://patchwork.linux-mips.org/patch/9558/
>>> - Use standard <bus-width> property instead of <cavium,bus-max-width>.
>>> - Use standard <max-frequency> property instead of <spi-max-frequency>.
>>> - Add octeon_mmc_of_parse_legacy function to deal with the above
>>>    properties, since many devices have shipped with those properties
>>>    embedded in firmware.
>>> - Allow the <vmmc-supply> binding in addition to the legacy
>>>    <gpios-power>.
>>> - Remove the secondary driver for each slot.
>>> - Use core gpio cd/wp handling
>>
>> Seems like you decided to ignore most comments realted to the DT
>> bindings from the earlier version.
>> Although, let's discuss this one more time.
>
> I think you may have misread the patch.  The DT bindings have been
> changed based on the feedback we received on v4.
>
>>
>> Therefore I recomend you to split this patch. DT documentation should
>> be a separate patch preceeding the actual mmc driver patch.
>
> You may have missed it the first time it was posted, but the legacy DT
> bindings have been around for a while.
>
> See:
>
> https://lists.ozlabs.org/pipermail/devicetree-discuss/2012-May/015482.html 
>
>
>
>> The DT patch needs to be acked by the DT maintainers.
>
> The legacy DT has been deployed in firmware for several years now.  We
> are adding more "modern" bindings, and the DT maintainers are
> encouraged to review that portion, but the legacy is what it is and it
> isn't changing.
>
>>
>> Until we somewhat agreed on the DT parts, I am going to defer the
>> in-depth review of the driver code as I have limited bandwidth.
>>
>
> As I stated above, the legacy DT bindings are not changing and must be
> supported.  Waiting for legacy DT bindings to change is equivalent to
> infinite deferral.
>
>> Does that make sense to you?
>>
>
> I understand why you would say this.  However, I think it doesn't
> fully take into account the need to support devices that have already
> been deployed.
>
> That said, Matt really needs to get the DT maintainers reviewing the 
> new DT bindings.
>
>
> David Daney


  reply	other threads:[~2016-02-11  8:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-10 17:36 [PATCH v5] mmc: OCTEON: Add host driver for OCTEON MMC controller Matt Redfearn
2016-02-10 18:02 ` David Daney
     [not found]   ` <56BB7B2F.60307-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
2016-02-10 23:49     ` Aaro Koskinen
2016-02-11  0:32       ` David Daney
2016-02-11  2:55         ` Florian Fainelli
     [not found]           ` <56BBF83B.8020908-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-02-11  8:15             ` Matt Redfearn
     [not found]         ` <56BBD6AD.2090902-M3mlKVOIwJVv6pq1l3V1OdBPR1lH4CV8@public.gmane.org>
2016-02-11 19:28           ` Maciej W. Rozycki
2016-02-11  8:12   ` Matt Redfearn
2016-02-10 19:01 ` Ulf Hansson
     [not found]   ` <CAPDyKFrMgt9snP2NLbQ6EQ5X7gjQLA+e+TEfqgjzLYTuH+G1OA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-02-10 20:07     ` David Daney
2016-02-11  8:24       ` Matt Redfearn [this message]
2016-02-11  9:12         ` Ulf Hansson
2016-02-11 16:17         ` David Daney
2016-02-12 15:39 ` Rob Herring
2016-02-15  8:11   ` Matt Redfearn

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=56BC4538.20207@imgtec.com \
    --to=matt.redfearn@imgtec.com \
    --cc=Zubair.Kakakhel@imgtec.com \
    --cc=aaron.williams@cavium.com \
    --cc=aleksey.makarov@auriga.com \
    --cc=aleksey.makarov@caviumnetworks.com \
    --cc=cchavva@caviumnetworks.com \
    --cc=david.daney@cavium.com \
    --cc=ddaney@caviumnetworks.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=lrosenboim@caviumnetworks.com \
    --cc=pswain@cavium.com \
    --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 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).