pinctrl: Rename Broadcom Capri pinctrl driver
Subsystems (6)
PATCH 1/1 pinctrl: Rename Broadcom Capri pinctrl driver
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.
---
...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%)Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +4 -4
@@ -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" - reg: Base address of the PAD Controller register block and the size of the block. For example, the following is the bare minimum node: pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcm,bcm11351-pinctrl"; reg = <0x35004800 0x430>; };
@@ -119,7 +119,7 @@ Optional Properties (for HDMI pins): Example: // pin controller node pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcmbcm11351-pinctrl"; reg = <0x35004800 0x430>; // pin configuration node
arch/arm/boot/dts/bcm11351.dtsi +1 -1
@@ -143,7 +143,7 @@ }; pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcm,bcm11351-pinctrl"; reg = <0x35004800 0x430>; }; };
arch/arm/configs/bcm_defconfig +1 -1
@@ -126,4 +126,4 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_XZ_DEC=y CONFIG_AVERAGE=y -CONFIG_PINCTRL_CAPRI=y +CONFIG_PINCTRL_BCM281XX=y
drivers/pinctrl/Kconfig +4 -4
@@ -104,16 +104,16 @@ config PINCTRL_BCM2835 select PINMUX select PINCONF -config PINCTRL_CAPRI - bool "Broadcom Capri pinctrl driver" +config PINCTRL_BCM281XX + bool "Broadcom BCM281xx pinctrl driver" depends on OF select PINMUX select PINCONF select GENERIC_PINCONF select REGMAP_MMIO help - Say Y here to support Broadcom Capri pinctrl driver, which is used for - the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, + Say Y here to support Broadcom BCM281xx pinctrl driver, which is used + for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. This driver requires the pinctrl framework. GPIO is provided by a separate GPIO driver.
drivers/pinctrl/Makefile +1 -1
@@ -21,7 +21,7 @@ obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o obj-$(CONFIG_PINCTRL_BAYTRAIL) += pinctrl-baytrail.o -obj-$(CONFIG_PINCTRL_CAPRI) += pinctrl-capri.o +obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o obj-$(CONFIG_PINCTRL_IMX) += pinctrl-imx.o obj-$(CONFIG_PINCTRL_IMX1_CORE) += pinctrl-imx1-core.o obj-$(CONFIG_PINCTRL_IMX27) += pinctrl-imx27.o
drivers/pinctrl/pinctrl-bcm281xx.c renamed from drivers/pinctrl/pinctrl-capri.c +764 -757
1,815 lines not on this page · raw message
Signature · 1 line
1.7.9.5
Hi,
Quoted 37 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>--- ...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%)Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1@@ -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.
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. · line 10
Quoted 5 lines
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1@@ -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.
-Olof
Quoted 44 lines · Olof Johansson
Hi,
Quoted 40 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>--- ...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%)Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1@@ -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:
Quoted 7 lines
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. · line 10
Quoted 2 lines
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1-- 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
Quoted 53 lines · Matt Porter
Quoted 44 lines · Olof Johansson
Hi,
Quoted 40 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>--- ...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%)Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1@@ -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:Quoted 7 lines
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. · line 10
Quoted 2 lines
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +1
-1-- 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.
Quoted 6 lines
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
Yes, if the rename goes in before the binding has been in one stable release then we can make noncompatible changes. Which is why I said if this isn't merged for 3.14, etc.
-Olof
Quoted 7 lines · Sherman Yin
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
Quoted 5 lines
This driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>
Patch applied for fixes.
If it was only the DT bindings that were rushed to change you *could* have made a patch just changing these and the binding doc, and give me the option to defer the changing of variables and function names, but whatever.
Yours,
Linus Walleij
Linus Walleij
Acked-byQuoted 9 lines · Linus Walleij
Quoted 7 lines · Sherman Yin
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
Quoted 7 lines
Quoted 5 lines
This driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Patch applied for fixes.
No wait. I took the patch out.
This driver is already causing a messy conflict situation in ARM SoC. I don't want to escalate their problem.
Either you merge this through ARM SoC or split off the arch/arm/* changes into a separate patch for ARM SoC.
Yours,
Linus Walleij
v2 cover pinctrl: Rename Broadcom Capri pinctrl driver
In reply to Sherman YinTo 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.
---
v2: split single patch into 4 patches
Sherman Yin (4):
pinctrl: Rename Broadcom Capri pinctrl binding
pinctrl: Rename Broadcom Capri pinctrl driver
Update bcm_defconfig with new pinctrl CONFIG
Update dtsi with new pinctrl compatible string
...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%)Signature · 1 line
1.7.9.5
PATCH v2 1/4 pinctrl: Rename Broadcom Capri pinctrl binding
The compatible string of the Broadcom Capri pinctrl driver is renamed to "brcm,bcm11351-pinctrl" to match the machine binding here:Documentation/devicetree/bindings/arm/bcm/bcm11351.txt
---
...capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
rename Documentation/devicetree/bindings/pinctrl/{brcm,capri-pinctrl.txt => brcm,bcm11351-pinctrl.txt} (98%)Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt renamed from Documentation/devicetree/bindings/pinctrl/brcm,capri-pinctrl.txt +4 -4
@@ -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" - reg: Base address of the PAD Controller register block and the size of the block. For example, the following is the bare minimum node: pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcm,bcm11351-pinctrl"; reg = <0x35004800 0x430>; };
@@ -119,7 +119,7 @@ Optional Properties (for HDMI pins): Example: // pin controller node pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcmbcm11351-pinctrl"; reg = <0x35004800 0x430>; // pin configuration node
Signature · 1 line
1.7.9.5
PATCH v2 2/4 pinctrl: Rename Broadcom Capri pinctrl driver
In reply to Sherman YinTo 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.
---
drivers/pinctrl/Kconfig | 8 +-
drivers/pinctrl/Makefile | 2 +-
.../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1521 ++++++++++----------
3 files changed, 769 insertions(+), 762 deletions(-)
rename drivers/pinctrl/{pinctrl-capri.c => pinctrl-bcm281xx.c} (25%)drivers/pinctrl/Kconfig +4 -4
@@ -104,16 +104,16 @@ config PINCTRL_BCM2835 select PINMUX select PINCONF -config PINCTRL_CAPRI - bool "Broadcom Capri pinctrl driver" +config PINCTRL_BCM281XX + bool "Broadcom BCM281xx pinctrl driver" depends on OF select PINMUX select PINCONF select GENERIC_PINCONF select REGMAP_MMIO help - Say Y here to support Broadcom Capri pinctrl driver, which is used for - the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, + Say Y here to support Broadcom BCM281xx pinctrl driver, which is used + for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. This driver requires the pinctrl framework. GPIO is provided by a separate GPIO driver.
drivers/pinctrl/Makefile +1 -1
@@ -21,7 +21,7 @@ obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o obj-$(CONFIG_PINCTRL_BAYTRAIL) += pinctrl-baytrail.o -obj-$(CONFIG_PINCTRL_CAPRI) += pinctrl-capri.o +obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o obj-$(CONFIG_PINCTRL_IMX) += pinctrl-imx.o obj-$(CONFIG_PINCTRL_IMX1_CORE) += pinctrl-imx1-core.o obj-$(CONFIG_PINCTRL_IMX27) += pinctrl-imx27.o
drivers/pinctrl/pinctrl-bcm281xx.c renamed from drivers/pinctrl/pinctrl-capri.c +764 -757
1,815 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v2 3/4 Update bcm_defconfig with new pinctrl CONFIG
In reply to Sherman YinTo be consistent with other Broadcom drivers, the Broadcom Capri pinctrl driver and its related CONFIG option are renamed to bcm281xx.
This commit updates the defconfig that enables the pinctrl driver.
--- arch/arm/configs/bcm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/bcm_defconfig +1 -1
@@ -126,4 +126,4 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_XZ_DEC=y CONFIG_AVERAGE=y -CONFIG_PINCTRL_CAPRI=y +CONFIG_PINCTRL_BCM281XX=y
Signature · 1 line
1.7.9.5
PATCH v2 4/4 Update dtsi with new pinctrl compatible string
In reply to Sherman YinThis commit updates bcm11351.dtsi with the new compatible string for the same driver.
--- arch/arm/boot/dts/bcm11351.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/bcm11351.dtsi +1 -1
@@ -143,7 +143,7 @@ }; pinctrl at 35004800 { - compatible = "brcm,capri-pinctrl"; + compatible = "brcm,bcm11351-pinctrl"; reg = <0x35004800 0x430>; }; };
Signature · 1 line
1.7.9.5
Re: [PATCH v2 3/4] Update bcm_defconfig with new pinctrl CONFIG
In reply to Sherman YinQuoted 23 lines · Sherman Yin
To be consistent with other Broadcom drivers, the Broadcom Capri pinctrl driver and its related CONFIG option are renamed to bcm281xx.
This commit updates the defconfig that enables the pinctrl driver.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- arch/arm/configs/bcm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/configs/bcm_defconfig +1
-2@@ -126,4 +126,4 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_XZ_DEC=y CONFIG_AVERAGE=y -CONFIG_PINCTRL_CAPRI=y +CONFIG_PINCTRL_BCM281XX=y --
Quoted 2 lines
1.7.9.5
Olof,
Can you apply this patch directly or do you want me to send a pull
request with it ?
Thanks,
csd
v3 cover pinctrl: Rename Broadcom Capri pinctrl driver
In reply to Sherman YinTo 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.
---
v3: removed the device tree/compatible string portion of changes which
were already accepted in 3.14-rc6. Fixed typo in documentation.
v2: split single patch into 4 patches
Sherman Yin (3):
pinctrl: Rename Broadcom Capri pinctrl driver
Update bcm_defconfig with new pinctrl CONFIG
pinctrl: fix typo in bindings documentation
.../bindings/pinctrl/brcm,bcm11351-pinctrl.txt | 2 +-
arch/arm/configs/bcm_defconfig | 2 +-
drivers/pinctrl/Kconfig | 8 +-
drivers/pinctrl/Makefile | 2 +-
.../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------
5 files changed, 770 insertions(+), 763 deletions(-)
rename drivers/pinctrl/{pinctrl-capri.c => pinctrl-bcm281xx.c} (25%)Signature · 1 line
1.7.9.5
PATCH v3 1/3 pinctrl: Rename Broadcom Capri pinctrl driver
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.
---
drivers/pinctrl/Kconfig | 8 +-
drivers/pinctrl/Makefile | 2 +-
.../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------
3 files changed, 768 insertions(+), 761 deletions(-)
rename drivers/pinctrl/{pinctrl-capri.c => pinctrl-bcm281xx.c} (25%)drivers/pinctrl/Kconfig +4 -4
@@ -104,16 +104,16 @@ config PINCTRL_BCM2835 select PINMUX select PINCONF -config PINCTRL_CAPRI - bool "Broadcom Capri pinctrl driver" +config PINCTRL_BCM281XX + bool "Broadcom BCM281xx pinctrl driver" depends on OF select PINMUX select PINCONF select GENERIC_PINCONF select REGMAP_MMIO help - Say Y here to support Broadcom Capri pinctrl driver, which is used for - the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, + Say Y here to support Broadcom BCM281xx pinctrl driver, which is used + for the BCM281xx SoC family, including BCM11130, BCM11140, BCM11351, BCM28145, and BCM28155 SoCs. This driver requires the pinctrl framework. GPIO is provided by a separate GPIO driver.
drivers/pinctrl/Makefile +1 -1
@@ -21,7 +21,7 @@ obj-$(CONFIG_PINCTRL_BF60x) += pinctrl-adi2-bf60x.o obj-$(CONFIG_PINCTRL_AT91) += pinctrl-at91.o obj-$(CONFIG_PINCTRL_BCM2835) += pinctrl-bcm2835.o obj-$(CONFIG_PINCTRL_BAYTRAIL) += pinctrl-baytrail.o -obj-$(CONFIG_PINCTRL_CAPRI) += pinctrl-capri.o +obj-$(CONFIG_PINCTRL_BCM281XX) += pinctrl-bcm281xx.o obj-$(CONFIG_PINCTRL_IMX) += pinctrl-imx.o obj-$(CONFIG_PINCTRL_IMX1_CORE) += pinctrl-imx1-core.o obj-$(CONFIG_PINCTRL_IMX27) += pinctrl-imx27.o
drivers/pinctrl/pinctrl-bcm281xx.c renamed from drivers/pinctrl/pinctrl-capri.c +763 -756
1,814 lines not on this page · raw message
Signature · 1 line
1.7.9.5
PATCH v3 2/3 Update bcm_defconfig with new pinctrl CONFIG
In reply to Sherman YinTo be consistent with other Broadcom drivers, the Broadcom Capri pinctrl driver and its related CONFIG option are renamed to bcm281xx.
This commit updates the defconfig that enables the pinctrl driver.
--- arch/arm/configs/bcm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/configs/bcm_defconfig +1 -1
@@ -125,7 +125,7 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_XZ_DEC=y CONFIG_AVERAGE=y -CONFIG_PINCTRL_CAPRI=y +CONFIG_PINCTRL_BCM281XX=y CONFIG_WATCHDOG=y CONFIG_BCM_KONA_WDT=y CONFIG_BCM_KONA_WDT_DEBUG=y
Signature · 1 line
1.7.9.5
PATCH v3 3/3 pinctrl: fix typo in bindings documentation
In reply to Sherman YinFixed the missing comma in DT node example.
--- .../bindings/pinctrl/brcm,bcm11351-pinctrl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/pinctrl/brcm,bcm11351-pinctrl.txt +1 -1
@@ -119,7 +119,7 @@ Optional Properties (for HDMI pins): Example: // pin controller node pinctrl at 35004800 { - compatible = "brcmbcm11351-pinctrl"; + compatible = "brcm,bcm11351-pinctrl"; reg = <0x35004800 0x430>; // pin configuration node
Signature · 1 line
1.7.9.5
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------
This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Doesn't this mean that you render this platform without a pin control driver and thus broken?
Yours,
Linus Walleij
Quoted 20 lines · Linus Walleij
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------
Quoted 5 lines
This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Doesn't this mean that you render this platform without a pin control driver and thus broken?
Bah I see that it's a separate patch now, sorry...
Looking closer.
Yours,
Linus Walleij
Quoted 20 lines · Linus Walleij
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------
Quoted 5 lines
This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Doesn't this mean that you render this platform without a pin control driver and thus broken?
The pinctrl device is not used in DT so having the driver disabled does not matter.
-Matt
Quoted 24 lines · Linus Walleij
Quoted 23 lines · Linus Walleij
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Quoted 6 lines
Quoted 2 lines
Doesn't this mean that you render this platform without a pin control driver and thus broken?
Bah I see that it's a separate patch now, sorry...
Looking closer.
I can take that one through mach-bcm for 3.16 to keep these changes in one place.
-Matt
Quoted 28 lines · Matt Porter
Quoted 27 lines · Linus Walleij
Quoted 25 lines · Linus Walleij
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Doesn't this mean that you render this platform without a pin control driver and thus broken?
Quoted 6 lines
Quoted 3 lines
Bah I see that it's a separate patch now, sorry...
Looking closer.
I can take that one through mach-bcm for 3.16 to keep these changes in one place.
Nah I might as well take all of it through the pin control tree. Can I have your ACK on the defconfig change?
Yours,
Linus Walleij
Re: [PATCH v3 2/3] Update bcm_defconfig with new pinctrl CONFIG
In reply to Sherman YinQuoted 8 lines · Sherman Yin
To be consistent with other Broadcom drivers, the Broadcom Capri pinctrl driver and its related CONFIG option are renamed to bcm281xx.
This commit updates the defconfig that enables the pinctrl driver.
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>
Quoted 20 lines
--- arch/arm/configs/bcm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/arm/configs/bcm_defconfig +1
-1@@ -125,7 +125,7 @@ CONFIG_CRC_ITU_T=y CONFIG_CRC7=y CONFIG_XZ_DEC=y CONFIG_AVERAGE=y -CONFIG_PINCTRL_CAPRI=y +CONFIG_PINCTRL_BCM281XX=y CONFIG_WATCHDOG=y CONFIG_BCM_KONA_WDT=y CONFIG_BCM_KONA_WDT_DEBUG=ySignature · 1 line
1.7.9.5
Quoted 31 lines · Linus Walleij
Quoted 30 lines · Matt Porter
Quoted 29 lines · Linus Walleij
Quoted 20 lines · Linus Walleij
Quoted 10 lines · Sherman Yin
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.txtThis driver supports pinctrl on BCM11130, BCM11140, BCM11351, BCM28145 and BCM28155 SoCs.
Quoted 7 lines
Signed-off-by Sherman Yin <[email protected]>Reviewed-by Matt Porter <[email protected]>Acked-by Linus Walleij <[email protected]>--- drivers/pinctrl/Kconfig | 8 +- drivers/pinctrl/Makefile | 2 +- .../{pinctrl-capri.c => pinctrl-bcm281xx.c} | 1519 ++++++++++----------Quoted 5 lines
This last version from apr 7 does not change arch/arm/configs/bcm_defconfig:CONFIG_PINCTRL_CAPRI=y
Doesn't this mean that you render this platform without a pin control driver and thus broken?
Bah I see that it's a separate patch now, sorry...
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
Looking closer.
I can take that one through mach-bcm for 3.16 to keep these changes in one place.
Nah I might as well take all of it through the pin control tree. Can I have your ACK on the defconfig change?
Sounds fine to me, done.
-Matt