aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2016-07-06 20:38:37 -0700
committerMichael Turquette <mturquette@baylibre.com>2016-07-07 20:05:59 -0700
commite16fb2e6355c1c1b41623af9e01ada196e2af098 (patch)
treebcee2fb68eb3aff77357fde6bc4f7743aed1a6a7
parentclk: gxbb: add AmLogic GXBB clk controller driver (diff)
downloadlinux-dev-e16fb2e6355c1c1b41623af9e01ada196e2af098.tar.xz
linux-dev-e16fb2e6355c1c1b41623af9e01ada196e2af098.zip
clk: gxbb: expose CLKID_MMC_PCLK
The MMC_PCLK is needed for the SD/eMMC driver, expose to DT (and comment out in clk driver) Signed-off-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/20160707033837.20029-1-khilman@baylibre.com
-rw-r--r--drivers/clk/meson/gxbb.h2
-rw-r--r--include/dt-bindings/clock/gxbb-clkc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h
index a2adf3448b59..8355ecd27b81 100644
--- a/drivers/clk/meson/gxbb.h
+++ b/drivers/clk/meson/gxbb.h
@@ -234,7 +234,7 @@
#define CLKID_HDMI_PCLK 63
#define CLKID_USB1_DDR_BRIDGE 64
#define CLKID_USB0_DDR_BRIDGE 65
-#define CLKID_MMC_PCLK 66
+/* CLKID_MMC_PCLK */
#define CLKID_DVIN 67
#define CLKID_UART2 68
#define CLKID_SANA 69
diff --git a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h
index f889d80246cb..5eb69ec74f6b 100644
--- a/include/dt-bindings/clock/gxbb-clkc.h
+++ b/include/dt-bindings/clock/gxbb-clkc.h
@@ -8,5 +8,6 @@
#define CLKID_CPUCLK 1
#define CLKID_CLK81 12
#define CLKID_ETH 36
+#define CLKID_MMC_PCLK 66
#endif /* __GXBB_CLKC_H */