From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 00/21] SH pinctrl DT support
Date: Tue, 21 May 2013 12:14:21 +0000 [thread overview]
Message-ID: <1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
Hello,
Here's the fourth version of the SuperH and SH Mobile pin controllers (PFC) DT
support patch set.
The patches are based on tags/renesas-next-20130513 from Simon's tree
(git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git), the R-Car
GPIO DT bindings proposal ("[RFC/PATCH v2 0/2] R-Car GPIO DT bindings") and the
marzen-reference ethernet patches ("[PATCH v2 0/4] marzen-reference ethernet
patches"). The result is available in my tree at
git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/dt
The series is pretty self-explanatory. DT bindings are added in patch 02/21,
and the following patches gradually move SoC code and board code over to the
device tree for the armadilla800eva-reference, kzm9g-reference and
marzen-reference boards. The code has been tested on the three boards, but
armadillo800eva has received less testing as it can't be booted all the way to
userspace with network support due to missing DT bindings.
Comments will be very appreciated on the DT bindings (02/21). Points I'm a bit
unsure about include:
- Should the driver support pin configuration subnodes as currently
implemented, or should the subnodes be promoted to regular pin configuration
nodes, with clients referencing multiple nodes ?
- Should the driver allow mixing function and configuration properties in a pin
configuration node as currently implemented, or should it restrict the pin
configuration nodes to either a function or one (or more) configuration(s) ?
- Should we specify common bindings for pinconf-generic instead of using
Renesas-specific properties ? (If the answer to this question is yes, please
help :-)).
Changes since v3:
- Fixed the GPIO flags description in the DT bindings documentation
- Mention the gpio-rcar driver in the DT bindings documentation for platforms
that use it
- Removed unneeded #ifdef CONFIG_OF...#endif
- Removed unused support for platform data
- Simplified error path in sh_pfc_dt_node_to_map()
- Added gpio-ranges for r8a7778, r8a7779 and r8a7790
Changes since v2:
- Added pin configuration properties
- Rewrote all arch changes
Changes since v1:
- Fixed gpio cell number 2 documentation
- Added missing gpio-controller and #gpio-cells properties to r8a7740 DT
- Split kzm9g DT patch into SoC and board patches
- Dropped pinctrl mappings move to DT
Laurent Pinchart (21):
sh-pfc: Remove support for platform data
sh-pfc: Add DT support
ARM: shmobile: r8a73a4: Add pin control device to device tree
ARM: shmobile: r8a7740: Add pin control device to device tree
ARM: shmobile: r8a7778: Add pin control device to device tree
ARM: shmobile: r8a7778: Add GPIO controller devices to device tree
ARM: shmobile: r8a7779: Add pin control device to device tree
ARM: shmobile: r8a7779: Add GPIO controller devices to device tree
ARM: shmobile: r8a7790: Add pin control device to device tree
ARM: shmobile: r8a7790: Add GPIO controller devices to device tree
ARM: shmobile: sh7372: Add pin control device to device tree
ARM: shmobile: sh73a0: Add pin control device to device tree
ARM: shmobile: armadillo-reference: Move pinctrl mappings to device
tree
ARM: shmobile: armadillo-reference: Add st1232 pin mappings
ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT
ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree
ARM: shmobile: kzm9g-reference: Move pinctrl mappings to device tree
ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT
ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree
ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree
ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 155 +++++++++++++
arch/arm/boot/dts/r8a73a4.dtsi | 7 +
.../boot/dts/r8a7740-armadillo800eva-reference.dts | 33 +++
arch/arm/boot/dts/r8a7740.dtsi | 8 +
arch/arm/boot/dts/r8a7778.dtsi | 56 +++++
arch/arm/boot/dts/r8a7779-marzen-reference.dts | 48 ++++
arch/arm/boot/dts/r8a7779.dtsi | 76 +++++++
arch/arm/boot/dts/r8a7790.dtsi | 66 ++++++
arch/arm/boot/dts/sh7372.dtsi | 8 +
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 89 +++++++-
arch/arm/boot/dts/sh73a0.dtsi | 8 +
.../board-armadillo800eva-reference.c | 18 +-
arch/arm/mach-shmobile/board-kzm9g-reference.c | 47 ----
arch/arm/mach-shmobile/board-marzen-reference.c | 28 ---
drivers/pinctrl/sh-pfc/core.c | 60 ++++-
drivers/pinctrl/sh-pfc/pinctrl.c | 242 +++++++++++++++++++++
16 files changed, 853 insertions(+), 96 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: linux-sh@vger.kernel.org
Cc: devicetree-discuss@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org,
Linus Walleij <linus.walleij@linaro.org>,
Magnus Damm <damm@opensource.se>,
Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Subject: [PATCH v4 00/21] SH pinctrl DT support
Date: Tue, 21 May 2013 14:14:21 +0200 [thread overview]
Message-ID: <1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
Hello,
Here's the fourth version of the SuperH and SH Mobile pin controllers (PFC) DT
support patch set.
The patches are based on tags/renesas-next-20130513 from Simon's tree
(git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git), the R-Car
GPIO DT bindings proposal ("[RFC/PATCH v2 0/2] R-Car GPIO DT bindings") and the
marzen-reference ethernet patches ("[PATCH v2 0/4] marzen-reference ethernet
patches"). The result is available in my tree at
git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/dt
The series is pretty self-explanatory. DT bindings are added in patch 02/21,
and the following patches gradually move SoC code and board code over to the
device tree for the armadilla800eva-reference, kzm9g-reference and
marzen-reference boards. The code has been tested on the three boards, but
armadillo800eva has received less testing as it can't be booted all the way to
userspace with network support due to missing DT bindings.
Comments will be very appreciated on the DT bindings (02/21). Points I'm a bit
unsure about include:
- Should the driver support pin configuration subnodes as currently
implemented, or should the subnodes be promoted to regular pin configuration
nodes, with clients referencing multiple nodes ?
- Should the driver allow mixing function and configuration properties in a pin
configuration node as currently implemented, or should it restrict the pin
configuration nodes to either a function or one (or more) configuration(s) ?
- Should we specify common bindings for pinconf-generic instead of using
Renesas-specific properties ? (If the answer to this question is yes, please
help :-)).
Changes since v3:
- Fixed the GPIO flags description in the DT bindings documentation
- Mention the gpio-rcar driver in the DT bindings documentation for platforms
that use it
- Removed unneeded #ifdef CONFIG_OF...#endif
- Removed unused support for platform data
- Simplified error path in sh_pfc_dt_node_to_map()
- Added gpio-ranges for r8a7778, r8a7779 and r8a7790
Changes since v2:
- Added pin configuration properties
- Rewrote all arch changes
Changes since v1:
- Fixed gpio cell number 2 documentation
- Added missing gpio-controller and #gpio-cells properties to r8a7740 DT
- Split kzm9g DT patch into SoC and board patches
- Dropped pinctrl mappings move to DT
Laurent Pinchart (21):
sh-pfc: Remove support for platform data
sh-pfc: Add DT support
ARM: shmobile: r8a73a4: Add pin control device to device tree
ARM: shmobile: r8a7740: Add pin control device to device tree
ARM: shmobile: r8a7778: Add pin control device to device tree
ARM: shmobile: r8a7778: Add GPIO controller devices to device tree
ARM: shmobile: r8a7779: Add pin control device to device tree
ARM: shmobile: r8a7779: Add GPIO controller devices to device tree
ARM: shmobile: r8a7790: Add pin control device to device tree
ARM: shmobile: r8a7790: Add GPIO controller devices to device tree
ARM: shmobile: sh7372: Add pin control device to device tree
ARM: shmobile: sh73a0: Add pin control device to device tree
ARM: shmobile: armadillo-reference: Move pinctrl mappings to device
tree
ARM: shmobile: armadillo-reference: Add st1232 pin mappings
ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT
ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree
ARM: shmobile: kzm9g-reference: Move pinctrl mappings to device tree
ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT
ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree
ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree
ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 155 +++++++++++++
arch/arm/boot/dts/r8a73a4.dtsi | 7 +
.../boot/dts/r8a7740-armadillo800eva-reference.dts | 33 +++
arch/arm/boot/dts/r8a7740.dtsi | 8 +
arch/arm/boot/dts/r8a7778.dtsi | 56 +++++
arch/arm/boot/dts/r8a7779-marzen-reference.dts | 48 ++++
arch/arm/boot/dts/r8a7779.dtsi | 76 +++++++
arch/arm/boot/dts/r8a7790.dtsi | 66 ++++++
arch/arm/boot/dts/sh7372.dtsi | 8 +
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 89 +++++++-
arch/arm/boot/dts/sh73a0.dtsi | 8 +
.../board-armadillo800eva-reference.c | 18 +-
arch/arm/mach-shmobile/board-kzm9g-reference.c | 47 ----
arch/arm/mach-shmobile/board-marzen-reference.c | 28 ---
drivers/pinctrl/sh-pfc/core.c | 60 ++++-
drivers/pinctrl/sh-pfc/pinctrl.c | 242 +++++++++++++++++++++
16 files changed, 853 insertions(+), 96 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt
--
Regards,
Laurent Pinchart
WARNING: multiple messages have this Message-ID (diff)
From: laurent.pinchart+renesas@ideasonboard.com (Laurent Pinchart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 00/21] SH pinctrl DT support
Date: Tue, 21 May 2013 14:14:21 +0200 [thread overview]
Message-ID: <1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
Hello,
Here's the fourth version of the SuperH and SH Mobile pin controllers (PFC) DT
support patch set.
The patches are based on tags/renesas-next-20130513 from Simon's tree
(git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git), the R-Car
GPIO DT bindings proposal ("[RFC/PATCH v2 0/2] R-Car GPIO DT bindings") and the
marzen-reference ethernet patches ("[PATCH v2 0/4] marzen-reference ethernet
patches"). The result is available in my tree at
git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/dt
The series is pretty self-explanatory. DT bindings are added in patch 02/21,
and the following patches gradually move SoC code and board code over to the
device tree for the armadilla800eva-reference, kzm9g-reference and
marzen-reference boards. The code has been tested on the three boards, but
armadillo800eva has received less testing as it can't be booted all the way to
userspace with network support due to missing DT bindings.
Comments will be very appreciated on the DT bindings (02/21). Points I'm a bit
unsure about include:
- Should the driver support pin configuration subnodes as currently
implemented, or should the subnodes be promoted to regular pin configuration
nodes, with clients referencing multiple nodes ?
- Should the driver allow mixing function and configuration properties in a pin
configuration node as currently implemented, or should it restrict the pin
configuration nodes to either a function or one (or more) configuration(s) ?
- Should we specify common bindings for pinconf-generic instead of using
Renesas-specific properties ? (If the answer to this question is yes, please
help :-)).
Changes since v3:
- Fixed the GPIO flags description in the DT bindings documentation
- Mention the gpio-rcar driver in the DT bindings documentation for platforms
that use it
- Removed unneeded #ifdef CONFIG_OF...#endif
- Removed unused support for platform data
- Simplified error path in sh_pfc_dt_node_to_map()
- Added gpio-ranges for r8a7778, r8a7779 and r8a7790
Changes since v2:
- Added pin configuration properties
- Rewrote all arch changes
Changes since v1:
- Fixed gpio cell number 2 documentation
- Added missing gpio-controller and #gpio-cells properties to r8a7740 DT
- Split kzm9g DT patch into SoC and board patches
- Dropped pinctrl mappings move to DT
Laurent Pinchart (21):
sh-pfc: Remove support for platform data
sh-pfc: Add DT support
ARM: shmobile: r8a73a4: Add pin control device to device tree
ARM: shmobile: r8a7740: Add pin control device to device tree
ARM: shmobile: r8a7778: Add pin control device to device tree
ARM: shmobile: r8a7778: Add GPIO controller devices to device tree
ARM: shmobile: r8a7779: Add pin control device to device tree
ARM: shmobile: r8a7779: Add GPIO controller devices to device tree
ARM: shmobile: r8a7790: Add pin control device to device tree
ARM: shmobile: r8a7790: Add GPIO controller devices to device tree
ARM: shmobile: sh7372: Add pin control device to device tree
ARM: shmobile: sh73a0: Add pin control device to device tree
ARM: shmobile: armadillo-reference: Move pinctrl mappings to device
tree
ARM: shmobile: armadillo-reference: Add st1232 pin mappings
ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT
ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree
ARM: shmobile: kzm9g-reference: Move pinctrl mappings to device tree
ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT
ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree
ARM: shmobile: marzen-reference: Move pinctrl mappings to device tree
ARM: shmobile: marzen-reference: Add LED2-LED4 to the device tree
.../bindings/pinctrl/renesas,pfc-pinctrl.txt | 155 +++++++++++++
arch/arm/boot/dts/r8a73a4.dtsi | 7 +
.../boot/dts/r8a7740-armadillo800eva-reference.dts | 33 +++
arch/arm/boot/dts/r8a7740.dtsi | 8 +
arch/arm/boot/dts/r8a7778.dtsi | 56 +++++
arch/arm/boot/dts/r8a7779-marzen-reference.dts | 48 ++++
arch/arm/boot/dts/r8a7779.dtsi | 76 +++++++
arch/arm/boot/dts/r8a7790.dtsi | 66 ++++++
arch/arm/boot/dts/sh7372.dtsi | 8 +
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts | 89 +++++++-
arch/arm/boot/dts/sh73a0.dtsi | 8 +
.../board-armadillo800eva-reference.c | 18 +-
arch/arm/mach-shmobile/board-kzm9g-reference.c | 47 ----
arch/arm/mach-shmobile/board-marzen-reference.c | 28 ---
drivers/pinctrl/sh-pfc/core.c | 60 ++++-
drivers/pinctrl/sh-pfc/pinctrl.c | 242 +++++++++++++++++++++
16 files changed, 853 insertions(+), 96 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pinctrl/renesas,pfc-pinctrl.txt
--
Regards,
Laurent Pinchart
next reply other threads:[~2013-05-21 12:14 UTC|newest]
Thread overview: 84+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-21 12:14 Laurent Pinchart [this message]
2013-05-21 12:14 ` [PATCH v4 00/21] SH pinctrl DT support Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 01/21] sh-pfc: Remove support for platform data Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-24 8:23 ` Linus Walleij
2013-05-24 8:23 ` Linus Walleij
2013-05-24 8:23 ` Linus Walleij
2013-05-21 12:14 ` [PATCH v4 02/21] sh-pfc: Add DT support Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-24 8:52 ` Linus Walleij
2013-05-24 8:52 ` Linus Walleij
2013-05-24 8:52 ` Linus Walleij
2013-05-29 8:01 ` Laurent Pinchart
2013-05-29 8:01 ` Laurent Pinchart
2013-05-29 8:01 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 03/21] ARM: shmobile: r8a73a4: Add pin control device to device tree Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 04/21] ARM: shmobile: r8a7740: " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 05/21] ARM: shmobile: r8a7778: " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 06/21] ARM: shmobile: r8a7778: Add GPIO controller devices " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 07/21] ARM: shmobile: r8a7779: Add pin control device " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 08/21] ARM: shmobile: r8a7779: Add GPIO controller devices " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 09/21] ARM: shmobile: r8a7790: Add pin control device " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 10/21] ARM: shmobile: r8a7790: Add GPIO controller devices " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 11/21] ARM: shmobile: sh7372: Add pin control device " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 12/21] ARM: shmobile: sh73a0: " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 13/21] ARM: shmobile: armadillo-reference: Move pinctrl mappings " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 14/21] ARM: shmobile: armadillo-reference: Add st1232 pin mappings Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 15/21] ARM: shmobile: armadillo-reference: Move st1232 reset GPIO to DT Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-24 8:59 ` Linus Walleij
2013-05-24 8:59 ` Linus Walleij
2013-05-24 8:59 ` Linus Walleij
2013-05-24 12:24 ` Magnus Damm
2013-05-24 12:24 ` Magnus Damm
2013-05-24 12:24 ` Magnus Damm
2013-05-29 8:01 ` Laurent Pinchart
2013-05-29 8:01 ` Laurent Pinchart
2013-05-29 8:01 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 16/21] ARM: shmobile: armadillo-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 17/21] ARM: shmobile: kzm9g-reference: Move pinctrl mappings to " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 18/21] ARM: shmobile: kzm9g-reference: Move SDHI regulators to DT Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 19/21] ARM: shmobile: kzm9g-reference: Add LED1-LED4 to the device tree Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 20/21] ARM: shmobile: marzen-reference: Move pinctrl mappings to " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` [PATCH v4 21/21] ARM: shmobile: marzen-reference: Add LED2-LED4 to the " Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
2013-05-21 12:14 ` Laurent Pinchart
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=1369138482-5871-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com \
--to=laurent.pinchart+renesas@ideasonboard.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.