[PATCH v2 03/66] clk: sunxi-ng: v3s: Export the MBUS clock to the public header

Paul Kocialkowski
2022-02-05T18:55:02Z

In order to declare a mbus node for the v3s, expose its dedicated
clock to the public header.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
---
drivers/clk/sunxi-ng/ccu-sun8i-v3s.h | 2 --
include/dt-bindings/clock/sun8i-v3s-ccu.h | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
index 108eeeedcbf7..e99c4a8431c9 100644
--- a/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
+++ b/drivers/clk/sunxi-ng/ccu-sun8i-v3s.h
@@ -45,8 +45,6 @@

/* Some more module clocks are exported */

-#define CLK_MBUS 72
-
/* And the GPU module clock is exported */

#define CLK_PLL_DDR1 74
diff --git a/include/dt-bindings/clock/sun8i-v3s-ccu.h b/include/dt-bindings/clock/sun8i-v3s-ccu.h
index 014ac6123d17..ff4d49d6a740 100644
--- a/include/dt-bindings/clock/sun8i-v3s-ccu.h
+++ b/include/dt-bindings/clock/sun8i-v3s-ccu.h
@@ -101,7 +101,7 @@
#define CLK_VE 69
#define CLK_AC_DIG 70
#define CLK_AVS 71
-
+#define CLK_MBUS 72
#define CLK_MIPI_CSI 73

/* Clocks not available on V3s */
--
2.34.1