public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Rob Herring <robh@kernel.org>
Cc: devicetree <devicetree@vger.kernel.org>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	Chen-Yu Tsai <wens@csie.org>, Icenowy Zheng <icenowy@aosc.xyz>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH 1/2] dt: bindings: Add vendor prefix for Espressif System
Date: Thu, 11 Aug 2016 19:13:44 +0200	[thread overview]
Message-ID: <52ebfa9e-79cc-2fca-505d-6c42aec35041@redhat.com> (raw)
In-Reply-To: <CAL_JsqKLLotHErrfMs-oPvt7GgG1txQtAayjmp4zpCHEMktE_Q@mail.gmail.com>

Hi,

On 11-08-16 18:35, Rob Herring wrote:
> On Thu, Aug 11, 2016 at 10:08 AM, Hans de Goede <hdegoede@redhat.com> wrote:
>> Hi,
>>
>> On 11-08-16 15:31, Rob Herring wrote:
>>>
>>> On Thu, Aug 11, 2016 at 4:15 AM, Hans de Goede <hdegoede@redhat.com>
>>> wrote:
>>>>
>>>> Hi Rob,
>>>>
>>>>
>>>> On 10-08-16 20:48, Rob Herring wrote:
>>>>>
>>>>>
>>>>> On Sun, Aug 07, 2016 at 08:57:48PM +0200, Hans de Goede wrote:
>>>>>>
>>>>>>
>>>>>> Espressif is a manufacturer of various wifi and bt chips, add a vendor
>>>>>> prefix for use with bindings for these chips.
>>>>>>
>>>>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>>>>> ---
>>>>>>  Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
>>>>>>  1 file changed, 1 insertion(+)
>>>>>
>>>>>
>>>>>
>>>>> Acked-by: Rob Herring <robh@kernel.org>
>>>>
>>>>
>>>>
>>>> Thank you for all the reviews.
>>>>
>>>> What about: "[PATCH 2/2] dt: bindings: Add binding for ESP8089 wifi
>>>> chips" ?
>>>> there were some remarks, but I believe that those have been addressed
>>>> (by answering the remarks, not with a new version), so a review of that
>>>> one would be appreciated too.
>>>
>>>
>>> What about Arnd's comment "better use '-' instead of '_' for property
>>> names."
>>
>>
>> Ah yes, I forgot about that comment. As explained in the commit msg
>> I named the dt property to be the same as the keyword used in the
>> ini-like config file android uses for this (the android driver loads a
>> file with board specific esp8089 config like the crystal-type from
>> /lib/firmware).
>>
>> And that file does use '_'. I want to keep the names the same as that
>> seems the sensible thing to do, but if there is a great preference for
>> '-' in dt I can do a v2 with that changed.
>
> I could see wanting to use the same string in the driver for a small
> size savings, but I'd assume a mainline driver would do away with the
> firmware text file and only use DT?

Yes.

> Also, do you expect lots more
> properties?

No, it seems that most settings from the text-file android use always
are at a fixed value.

> Maintaining the exact string would be more worthwhile if
> there are lots of properties.
>
> I plan to make '_' cause warnings with dtc which is why we don't want
> to add more.

Ah, ok that is a good reason to change to '-' I'll do a v2 with that
change.

Regards,

Hans

  reply	other threads:[~2016-08-11 17:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-07 18:57 [PATCH 1/2] dt: bindings: Add vendor prefix for Espressif System Hans de Goede
2016-08-07 18:57 ` [PATCH 2/2] dt: bindings: Add binding for ESP8089 wifi chips Hans de Goede
2016-08-07 19:59   ` Arnd Bergmann
2016-08-08  3:59     ` Chen-Yu Tsai
     [not found]       ` <CAGb2v67+QrOxPd4KeLb9F67A0mSaBqn14PynzCyK=ovRnKA6EQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-08-08  9:24         ` Arnd Bergmann
2016-08-08 12:44           ` Icenowy Zheng
2016-08-08  2:36   ` Icenowy Zheng
2016-08-08  7:34     ` Hans de Goede
2016-08-08 12:42       ` Icenowy Zheng
2016-08-10 18:48 ` [PATCH 1/2] dt: bindings: Add vendor prefix for Espressif System Rob Herring
2016-08-11  9:15   ` Hans de Goede
2016-08-11 13:31     ` Rob Herring
2016-08-11 15:08       ` Hans de Goede
2016-08-11 16:35         ` Rob Herring
2016-08-11 17:13           ` Hans de Goede [this message]
2016-08-11 17:28           ` Hans de Goede
2016-08-11 18:44             ` Rob Herring

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=52ebfa9e-79cc-2fca-505d-6c42aec35041@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=devicetree@vger.kernel.org \
    --cc=icenowy@aosc.xyz \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=robh@kernel.org \
    --cc=ulf.hansson@linaro.org \
    --cc=wens@csie.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