clk: meson: eeclk: move bindings include to main driver
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 12 Jun 2023 09:57:33 +0000 (11:57 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 8 Aug 2023 14:06:17 +0000 (16:06 +0200)
Now the clock ids are no more defined in private headers,
cleanup and include the dt-bindings headers from the main
driver file.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230607-topic-amlogic-upstream-clkid-public-migration-v2-16-38172d17c27a@linaro.org
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/axg.c
drivers/clk/meson/axg.h
drivers/clk/meson/g12a.c
drivers/clk/meson/g12a.h
drivers/clk/meson/gxbb.c
drivers/clk/meson/gxbb.h

index 75f0912a980519ebd6e509a90fec67535de6a2ac..f132439a33a4a3f56ca2994238477677271c5fdf 100644 (file)
@@ -21,6 +21,8 @@
 #include "axg.h"
 #include "meson-eeclk.h"
 
+#include <dt-bindings/clock/axg-clkc.h>
+
 static DEFINE_SPINLOCK(meson_clk_lock);
 
 static struct clk_regmap axg_fixed_pll_dco = {
index ed157532b4d71157b958935be6c60572554b42a2..624d8d3ce7c424b258e1994b6ffba1cfa0d676e4 100644 (file)
 #define HHI_DPLL_TOP_I                 0x318
 #define HHI_DPLL_TOP2_I                        0x31C
 
-/* include the CLKIDs that have been made part of the DT binding */
-#include <dt-bindings/clock/axg-clkc.h>
-
 #endif /* __AXG_H */
index e0e295645c9e2f661334691477cf19870d55aa97..ceabd5f4b2ac92a74501e5230ba6d371e9ece920 100644 (file)
@@ -25,6 +25,8 @@
 #include "meson-eeclk.h"
 #include "g12a.h"
 
+#include <dt-bindings/clock/g12a-clkc.h>
+
 static DEFINE_SPINLOCK(meson_clk_lock);
 
 static struct clk_regmap g12a_fixed_pll_dco = {
index 8e08af3c147668dca8c639868a1b75aba34d7a64..f11ee3c598497c8c8fbb1114c597bfbc0c175160 100644 (file)
 #define HHI_SYS1_PLL_CNTL5             0x394
 #define HHI_SYS1_PLL_CNTL6             0x398
 
-/* include the CLKIDs that have been made part of the DT binding */
-#include <dt-bindings/clock/g12a-clkc.h>
-
 #endif /* __G12A_H */
index 116fcb6ba1602b3fc87c7a016bb0e207c3c91fd3..1ee0774a9827885f33ef9b841b4a0c042b9cd4b9 100644 (file)
@@ -17,6 +17,8 @@
 #include "meson-eeclk.h"
 #include "vid-pll-div.h"
 
+#include <dt-bindings/clock/gxbb-clkc.h>
+
 static DEFINE_SPINLOCK(meson_clk_lock);
 
 static const struct pll_params_table gxbb_gp0_pll_params_table[] = {
index 798ffb9111031fda433968b91ff8c3fdaefbb59e..ba5f39a8d746ca1c69207f0022171e4bd82c6d3a 100644 (file)
 #define HHI_BT656_CLK_CNTL             0x3D4 /* 0xf5 offset in data sheet */
 #define HHI_SAR_CLK_CNTL               0x3D8 /* 0xf6 offset in data sheet */
 
-/* include the CLKIDs that have been made part of the DT binding */
-#include <dt-bindings/clock/gxbb-clkc.h>
-
 #endif /* __GXBB_H */