diff mbox series

clk: sunxi-ng: r40: Export MBUS clock

Message ID 20200103071848.3977-1-wens@kernel.org (mailing list archive)
State Mainlined
Commit b406cadbc84d200f9e9b9492c8de6041fe4b0392
Headers show
Series clk: sunxi-ng: r40: Export MBUS clock | expand

Commit Message

Chen-Yu Tsai Jan. 3, 2020, 7:18 a.m. UTC
From: Chen-Yu Tsai <wens@csie.org>

The MBUS clock needs to be referenced in the MBUS device node.
Export it.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 drivers/clk/sunxi-ng/ccu-sun8i-r40.h      | 4 ----
 include/dt-bindings/clock/sun8i-r40-ccu.h | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

Comments

Maxime Ripard Jan. 3, 2020, 9:37 a.m. UTC | #1
On Fri, Jan 03, 2020 at 03:18:48PM +0800, Chen-Yu Tsai wrote:
> From: Chen-Yu Tsai <wens@csie.org>
>
> The MBUS clock needs to be referenced in the MBUS device node.
> Export it.
>
> Signed-off-by: Chen-Yu Tsai <wens@csie.org>

Applied, thanks
Maxime
diff mbox series

Patch

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-r40.h b/drivers/clk/sunxi-ng/ccu-sun8i-r40.h
index a69637b6b0c1..6f7071df8e1c 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-r40.h
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-r40.h
@@ -55,10 +55,6 @@ 
 
 /* Some more module clocks are exported */
 
-#define CLK_MBUS		155
-
-/* Another bunch of module clocks are exported */
-
 #define CLK_NUMBER		(CLK_OUTB + 1)
 
 #endif /* _CCU_SUN8I_R40_H_ */
diff --git a/include/dt-bindings/clock/sun8i-r40-ccu.h b/include/dt-bindings/clock/sun8i-r40-ccu.h
index f9e15a235626..d7337b55a4ef 100644
--- a/include/dt-bindings/clock/sun8i-r40-ccu.h
+++ b/include/dt-bindings/clock/sun8i-r40-ccu.h
@@ -176,7 +176,7 @@ 
 #define CLK_AVS			152
 #define CLK_HDMI		153
 #define CLK_HDMI_SLOW		154
-
+#define CLK_MBUS		155
 #define CLK_DSI_DPHY		156
 #define CLK_TVE0		157
 #define CLK_TVE1		158