From: mporter@linaro.org (Matt Porter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pinctrl: Rename Broadcom Capri pinctrl driver
Date: Tue, 21 Jan 2014 20:35:12 -0500 [thread overview]
Message-ID: <20140122013512.GT31176@beef> (raw)
In-Reply-To: <CAOesGMj7wXJ+DfXzk0U1pusKqZShq+KJdPY8hh=Ffj7KDti4_Q@mail.gmail.com>
On Tue, Jan 21, 2014 at 04:59:35PM -0800, Olof Johansson wrote:
> Hi,
>
>
> On Tue, Jan 21, 2014 at 2:38 PM, Sherman Yin <syin@broadcom.com> wrote:
> > To be consistent with other Broadcom drivers, the Broadcom Capri pinctrl
> > driver and its related CONFIG option are renamed to bcm281xx.
> >
> > Devicetree compatible string and binding documentation use
> > "brcm,bcm11351-pinctrl" to match the machine binding here:
> > Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
> >
> > This driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145
> > and BCM28155 SoCs.
> >
> > Signed-off-by: Sherman Yin <syin@broadcom.com>
> > Reviewed-by: Matt Porter <mporter@linaro.org>
> > ---
> > ...capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} | 8 +-
> > arch/arm/boot/dts/bcm11351.dtsi | 2 +-
> > arch/arm/configs/bcm_defconfig | 2 +-
> > drivers/pinctrl/Kconfig | 8 +-
> > drivers/pinctrl/Makefile | 2 +-
> > .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1521 ++++++++++----------
> > 6 files changed, 775 insertions(+), 768 deletions(-)
> > rename Documentation/devicetree/bindings/pinctrl/{brcm,capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} (98%)
> > rename drivers/pinctrl/{pinctrl-capri.c => pinctrl-bcm281xx.c} (25%)
> >
> > diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > similarity index 98%
> > rename from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt
> > rename to Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > index 9e9e9ef..c119deb 100644
> > --- a/Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt
> > +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > @@ -1,4 +1,4 @@
> > -Broadcom Capri Pin Controller
> > +Broadcom BCM281xx Pin Controller
> >
> > This is a pin controller for the Broadcom BCM281xx SoC family, which includes
> > BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs.
> > @@ -7,14 +7,14 @@ BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs.
> >
> > Required Properties:
> >
> > -- compatible: Must be "brcm,capri-pinctrl".
> > +- compatible: Must be "brcm,bcm11351-pinctrl"
>
> Since the original binding is queued for 3.14 (I believe?), if this
> rename isn't merged for 3.14 then you will still need to accept the
> old compatible string (binding). You can document it as deprecated,
> but the driver needs to still probe with it.
Linus had mentioned that he could take a rename in 3.14-rc for this
driver which is really what we had in mind here. Since the binding
doesn't become stable until 3.14 is actually released I was under the
impression that this is ok without keeping a deprecated compatible
string. I notice that Tomasz had comments about this type of situation
in http://www.spinics.net/lists/devicetree/msg18010.html
-Matt
WARNING: multiple messages have this Message-ID (diff)
From: Matt Porter <mporter@linaro.org>
To: Olof Johansson <olof@lixom.net>
Cc: "Sherman Yin" <syin@broadcom.com>,
"Mark Brown" <broonie@kernel.org>,
"Heiko Stübner" <heiko@sntech.de>,
"Pawel Moll" <pawel.moll@arm.com>,
"Mark Rutland" <mark.rutland@arm.com>,
"Stephen Warren" <swarren@wwwdotorg.org>,
"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
"Rob Landley" <rob@landley.net>,
"Christian Daudt" <bcm@fixthebug.org>,
"Russell King" <linux@arm.linux.org.uk>,
"Linus Walleij" <linus.walleij@linaro.org>,
"Grant Likely" <grant.likely@linaro.org>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
bcm-kernel-feedback-list@broadcom.com,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] pinctrl: Rename Broadcom Capri pinctrl driver
Date: Tue, 21 Jan 2014 20:35:12 -0500 [thread overview]
Message-ID: <20140122013512.GT31176@beef> (raw)
In-Reply-To: <CAOesGMj7wXJ+DfXzk0U1pusKqZShq+KJdPY8hh=Ffj7KDti4_Q@mail.gmail.com>
On Tue, Jan 21, 2014 at 04:59:35PM -0800, Olof Johansson wrote:
> Hi,
>
>
> On Tue, Jan 21, 2014 at 2:38 PM, Sherman Yin <syin@broadcom.com> wrote:
> > To be consistent with other Broadcom drivers, the Broadcom Capri pinctrl
> > driver and its related CONFIG option are renamed to bcm281xx.
> >
> > Devicetree compatible string and binding documentation use
> > "brcm,bcm11351-pinctrl" to match the machine binding here:
> > Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
> >
> > This driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145
> > and BCM28155 SoCs.
> >
> > Signed-off-by: Sherman Yin <syin@broadcom.com>
> > Reviewed-by: Matt Porter <mporter@linaro.org>
> > ---
> > ...capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} | 8 +-
> > arch/arm/boot/dts/bcm11351.dtsi | 2 +-
> > arch/arm/configs/bcm_defconfig | 2 +-
> > drivers/pinctrl/Kconfig | 8 +-
> > drivers/pinctrl/Makefile | 2 +-
> > .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1521 ++++++++++----------
> > 6 files changed, 775 insertions(+), 768 deletions(-)
> > rename Documentation/devicetree/bindings/pinctrl/{brcm,capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} (98%)
> > rename drivers/pinctrl/{pinctrl-capri.c => pinctrl-bcm281xx.c} (25%)
> >
> > diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > similarity index 98%
> > rename from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt
> > rename to Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > index 9e9e9ef..c119deb 100644
> > --- a/Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt
> > +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt
> > @@ -1,4 +1,4 @@
> > -Broadcom Capri Pin Controller
> > +Broadcom BCM281xx Pin Controller
> >
> > This is a pin controller for the Broadcom BCM281xx SoC family, which includes
> > BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs.
> > @@ -7,14 +7,14 @@ BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs.
> >
> > Required Properties:
> >
> > -- compatible: Must be "brcm,capri-pinctrl".
> > +- compatible: Must be "brcm,bcm11351-pinctrl"
>
> Since the original binding is queued for 3.14 (I believe?), if this
> rename isn't merged for 3.14 then you will still need to accept the
> old compatible string (binding). You can document it as deprecated,
> but the driver needs to still probe with it.
Linus had mentioned that he could take a rename in 3.14-rc for this
driver which is really what we had in mind here. Since the binding
doesn't become stable until 3.14 is actually released I was under the
impression that this is ok without keeping a deprecated compatible
string. I notice that Tomasz had comments about this type of situation
in http://www.spinics.net/lists/devicetree/msg18010.html
-Matt
next prev parent reply other threads:[~2014-01-22 1:35 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 22:38 [PATCH] pinctrl: Rename Broadcom Capri pinctrl driver Sherman Yin
2014-01-21 22:38 ` Sherman Yin
2014-01-21 22:38 ` Sherman Yin
2014-01-22 0:59 ` Olof Johansson
2014-01-22 0:59 ` Olof Johansson
2014-01-22 0:59 ` Olof Johansson
2014-01-22 1:35 ` Matt Porter [this message]
2014-01-22 1:35 ` Matt Porter
2014-01-22 4:59 ` Olof Johansson
2014-01-22 4:59 ` Olof Johansson
2014-01-23 8:17 ` Linus Walleij
2014-01-23 8:17 ` Linus Walleij
2014-01-23 8:36 ` Linus Walleij
2014-01-23 8:36 ` Linus Walleij
2014-01-23 8:36 ` Linus Walleij
2014-01-23 20:44 ` [PATCH v2 0/4] " Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` [PATCH v2 1/4] pinctrl: Rename Broadcom Capri pinctrl binding Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` [PATCH v2 2/4] pinctrl: Rename Broadcom Capri pinctrl driver Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` [PATCH v2 3/4] Update bcm_defconfig with new pinctrl CONFIG Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-27 15:57 ` Christian Daudt
2014-01-27 15:57 ` Christian Daudt
2014-01-23 20:44 ` [PATCH v2 4/4] Update dtsi with new pinctrl compatible string Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-01-23 20:44 ` Sherman Yin
2014-04-02 22:40 ` [PATCH v3 0/3] pinctrl: Rename Broadcom Capri pinctrl driver Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-02 22:40 ` [PATCH v3 1/3] " Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-10 16:49 ` Linus Walleij
2014-04-10 16:49 ` Linus Walleij
2014-04-10 16:51 ` Linus Walleij
2014-04-10 16:51 ` Linus Walleij
2014-04-10 16:56 ` Matt Porter
2014-04-10 16:56 ` Matt Porter
2014-04-10 17:41 ` Linus Walleij
2014-04-10 17:41 ` Linus Walleij
2014-04-10 17:57 ` Matt Porter
2014-04-10 17:57 ` Matt Porter
2014-04-10 16:55 ` Matt Porter
2014-04-10 16:55 ` Matt Porter
2014-04-02 22:40 ` [PATCH v3 2/3] Update bcm_defconfig with new pinctrl CONFIG Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-10 17:56 ` Matt Porter
2014-04-10 17:56 ` Matt Porter
2014-04-10 17:56 ` Matt Porter
2014-04-02 22:40 ` [PATCH v3 3/3] pinctrl: fix typo in bindings documentation Sherman Yin
2014-04-02 22:40 ` Sherman Yin
2014-04-02 22:40 ` Sherman Yin
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=20140122013512.GT31176@beef \
--to=mporter@linaro.org \
--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.