From: csd@broadcom.com (Christian Daudt)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: DT: binding fixup to align with vendor-prefixes.txt
Date: Mon, 5 Aug 2013 17:16:58 -0700 [thread overview]
Message-ID: <5200407A.4010407@broadcom.com> (raw)
In-Reply-To: <51FFCC42.6040300@wwwdotorg.org>
On 13-08-05 09:01 AM, Stephen Warren wrote:
> On 08/02/2013 04:27 PM, Christian Daudt wrote:
>> [ this is a follow-up to this discussion:
>> http://archive.arm.linux.org.uk/lurker/message/20130730.230827.a1ceb12a.en.html ]
>> This patchset renames all uses of "bcm," name bindings to
>> "brcm," as they were done prior to knowing that brcm had
>> already been standardized as Broadcom vendor prefix
>> (in Documentation/devicetree/bindings/vendor-prefixes.txt).
>> This will not cause any churn on devices because none of
>> these bindings have made it into production yet.
>> Also rename the the following dt binding docs that had "bcm,"
>> in their name for consistency:
>> - bcm,kona-sdhci.txt -> kona-sdhci.txt
>> - bcm,kona-timer.txt -> kona-timer.txt
>> Changes since v1:
>> - added driver match table entries for deprecated names
> That should usually go below the --- line so it doesn't make it into the
> final patch description.
Heh - I always thought that the intent was the contrary. I just looked
through git history and most of my previous patches have made it into
git with the changelog, and I see I'm not alone in having changelog
history as part of git commit message. But if it is the more common way
I'll be glad to change going forward.
>> diff --git a/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt b/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
>> index fb7b5cd..cf1b206 100644
>> --- a/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
>> +++ b/Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
> I wonder if this patch should rename bindings/arm/bcm/ to
> bindings/arm/brcm/ too?
I'd rather keep it as-is - to me the vendor prefix is a DT concept only,
and I'd rather not extend its tentacles into other parts of the kernel
(and the other arm/ subtrees in there all show no attempt at
dirname==vendor-prefix), but I'm ok with changing it to broadcom if you
prefer.
>
>> Required root node property:
>>
>> -compatible = "bcm,bcm11351";
>> +compatible = "brcm,bcm11351";
> In a patch of mine that deprecated a property, Mark wondered if it would
> make sense to mention the old deprecated DT content simply to document
> that it existed, so that old DTs would still make sense when checking
> the documentation. I wonder if the same argument applies to this patch?
>
>
I would think the opposite. Deprecated items should be dropped from
documentation. They are in the code (for a holdover period) but clearly
marked as deprecated. No one should be extending the life of these, and
adding documentation on it is a step in the wrong direction of making it
easier for it to linger beyond what it should.
thanks,
csd
next prev parent reply other threads:[~2013-08-06 0:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-02 22:27 [PATCH v2] ARM: DT: binding fixup to align with vendor-prefixes.txt Christian Daudt
2013-08-05 16:01 ` Stephen Warren
2013-08-06 0:16 ` Christian Daudt [this message]
2013-08-06 4:21 ` Stephen Warren
2013-08-06 21:40 ` Christian Daudt
2013-08-09 16:11 ` Stephen Warren
[not found] ` <CAA-5wcDOv+ru+4QiDbEZr-SP90xHSh1bq+ifdVxOsOnid1komg@mail.gmail.com>
2013-08-09 18:49 ` Christian Daudt
2013-08-09 19:14 ` Stephen Warren
2013-08-10 19:56 ` Christian Daudt
2013-08-08 22:56 ` Christian Daudt
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=5200407A.4010407@broadcom.com \
--to=csd@broadcom.com \
--cc=linux-arm-kernel@lists.infradead.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.