* [GIT PULL] Renesas ARM Based SoC DT Bindings Updates for v4.13
@ 2017-05-22 12:29 Simon Horman
2017-05-22 12:30 ` [PATCH 1/3] ARM: dts: r8a7791: add GyroADC clock Simon Horman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-22 12:29 UTC (permalink / raw)
To: linux-arm-kernel
Hi Olof, Hi Kevin, Hi Arnd,
Please consider these Renesas ARM based SoC DT bindings updates for v4.13.
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6:
Linux 4.12-rc1 (2017-05-13 13:19:49 -0700)
are available in the git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git tags/renesas-dt-bindings-for-v4.13
for you to fetch changes up to 40c9bbea140e64a4257b794969e759c2c481c399:
ARM: dts: r7s72100: add USB bit definitions (2017-05-15 09:02:37 +0200)
----------------------------------------------------------------
Renesas ARM Based SoC DT Bindings Updates for v4.13
* Add USB bit definitions and pinctrl header for r7s72100 SoC
* Add GyroADC clock for r8a7791 SoC
----------------------------------------------------------------
Chris Brandt (1):
ARM: dts: r7s72100: add USB bit definitions
Jacopo Mondi (1):
ARM: dts: r7s72100: add Renesas RZ/A1 pinctrl header
Marek Vasut (1):
ARM: dts: r8a7791: add GyroADC clock
include/dt-bindings/clock/r7s72100-clock.h | 2 ++
include/dt-bindings/clock/r8a7791-clock.h | 1 +
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16 ++++++++++++++++
3 files changed, 19 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7s72100-pinctrl.h
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/3] ARM: dts: r8a7791: add GyroADC clock
2017-05-22 12:29 [GIT PULL] Renesas ARM Based SoC DT Bindings Updates for v4.13 Simon Horman
@ 2017-05-22 12:30 ` Simon Horman
2017-05-22 12:30 ` [PATCH 2/3] ARM: dts: r7s72100: add Renesas RZ/A1 pinctrl header Simon Horman
2017-05-22 12:30 ` [PATCH 3/3] ARM: dts: r7s72100: add USB bit definitions Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-22 12:30 UTC (permalink / raw)
To: linux-arm-kernel
From: Marek Vasut <marek.vasut@gmail.com>
Add the GyroADC clock to the R8A7791 device tree.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
include/dt-bindings/clock/r8a7791-clock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/r8a7791-clock.h b/include/dt-bindings/clock/r8a7791-clock.h
index adc50dc31ab3..ef692134146b 100644
--- a/include/dt-bindings/clock/r8a7791-clock.h
+++ b/include/dt-bindings/clock/r8a7791-clock.h
@@ -109,6 +109,7 @@
#define R8A7791_CLK_SATA0 15
/* MSTP9 */
+#define R8A7791_CLK_GYROADC 1
#define R8A7791_CLK_GPIO7 4
#define R8A7791_CLK_GPIO6 5
#define R8A7791_CLK_GPIO5 7
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/3] ARM: dts: r7s72100: add Renesas RZ/A1 pinctrl header
2017-05-22 12:29 [GIT PULL] Renesas ARM Based SoC DT Bindings Updates for v4.13 Simon Horman
2017-05-22 12:30 ` [PATCH 1/3] ARM: dts: r8a7791: add GyroADC clock Simon Horman
@ 2017-05-22 12:30 ` Simon Horman
2017-05-22 12:30 ` [PATCH 3/3] ARM: dts: r7s72100: add USB bit definitions Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-22 12:30 UTC (permalink / raw)
To: linux-arm-kernel
From: Jacopo Mondi <jacopo+renesas@jmondi.org>
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7s72100-pinctrl.h
diff --git a/include/dt-bindings/pinctrl/r7s72100-pinctrl.h b/include/dt-bindings/pinctrl/r7s72100-pinctrl.h
new file mode 100644
index 000000000000..6b609fe10910
--- /dev/null
+++ b/include/dt-bindings/pinctrl/r7s72100-pinctrl.h
@@ -0,0 +1,16 @@
+/*
+ * Defines macros and constants for Renesas RZ/A1 pin controller pin
+ * muxing functions.
+ */
+#ifndef __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H
+#define __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H
+
+#define RZA1_PINS_PER_PORT 16
+
+/*
+ * Create the pin index from its bank and position numbers and store in
+ * the upper 16 bits the alternate function identifier
+ */
+#define RZA1_PINMUX(b, p, f) ((b) * RZA1_PINS_PER_PORT + (p) | (f << 16))
+
+#endif /* __DT_BINDINGS_PINCTRL_RENESAS_RZA1_H */
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 3/3] ARM: dts: r7s72100: add USB bit definitions
2017-05-22 12:29 [GIT PULL] Renesas ARM Based SoC DT Bindings Updates for v4.13 Simon Horman
2017-05-22 12:30 ` [PATCH 1/3] ARM: dts: r8a7791: add GyroADC clock Simon Horman
2017-05-22 12:30 ` [PATCH 2/3] ARM: dts: r7s72100: add Renesas RZ/A1 pinctrl header Simon Horman
@ 2017-05-22 12:30 ` Simon Horman
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2017-05-22 12:30 UTC (permalink / raw)
To: linux-arm-kernel
From: Chris Brandt <chris.brandt@renesas.com>
Add the bit locations that correspond to the USB clocks.
Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
include/dt-bindings/clock/r7s72100-clock.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/dt-bindings/clock/r7s72100-clock.h b/include/dt-bindings/clock/r7s72100-clock.h
index bc256d31099a..dcd2072151fc 100644
--- a/include/dt-bindings/clock/r7s72100-clock.h
+++ b/include/dt-bindings/clock/r7s72100-clock.h
@@ -34,6 +34,8 @@
/* MSTP7 */
#define R7S72100_CLK_ETHER 4
+#define R7S72100_CLK_USB0 1
+#define R7S72100_CLK_USB1 0
/* MSTP8 */
#define R7S72100_CLK_MMCIF 4
--
2.1.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-05-22 12:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22 12:29 [GIT PULL] Renesas ARM Based SoC DT Bindings Updates for v4.13 Simon Horman
2017-05-22 12:30 ` [PATCH 1/3] ARM: dts: r8a7791: add GyroADC clock Simon Horman
2017-05-22 12:30 ` [PATCH 2/3] ARM: dts: r7s72100: add Renesas RZ/A1 pinctrl header Simon Horman
2017-05-22 12:30 ` [PATCH 3/3] ARM: dts: r7s72100: add USB bit definitions Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).