Thread (29 messages) 29 messages, 6 authors, 2022-02-27

Re: [PATCH 3/8] soc: renesas: rzn1-sysc: Export function to set dmamux

From: Rob Herring <robh@kernel.org>
Date: 2022-02-25 18:32:57
Also in: dmaengine, linux-clk, linux-renesas-soc

On Fri, Feb 18, 2022 at 07:12:21PM +0100, Miquel Raynal wrote:
The dmamux register is located within the system controller.

Without syscon, we need an extra helper in order to give write access to
this register to a dmamux driver.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/clk/renesas/r9a06g032-clocks.c        | 27 +++++++++++++++++++
 include/dt-bindings/clock/r9a06g032-sysctrl.h |  2 ++
 include/linux/soc/renesas/r9a06g032-syscon.h  | 11 ++++++++
 3 files changed, 40 insertions(+)
 create mode 100644 include/linux/soc/renesas/r9a06g032-syscon.h
quoted hunk ↗ jump to hunk
diff --git a/include/dt-bindings/clock/r9a06g032-sysctrl.h b/include/dt-bindings/clock/r9a06g032-sysctrl.h
index 90c0f3dc1ba1..609e7fe8fcb1 100644
--- a/include/dt-bindings/clock/r9a06g032-sysctrl.h
+++ b/include/dt-bindings/clock/r9a06g032-sysctrl.h
@@ -145,4 +145,6 @@
 #define R9A06G032_CLK_UART6		152
 #define R9A06G032_CLK_UART7		153
 
+#define R9A06G032_SYSCON_DMAMUX		0xA0
That looks like a register offset? We generally don't put register 
offsets in DT.
+
 #endif /* __DT_BINDINGS_R9A06G032_SYSCTRL_H__ */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help