clk: meson-gxbb: Export PWM related clocks for DT
authorNeil Armstrong <narmstrong@baylibre.com>
Mon, 22 Aug 2016 12:49:37 +0000 (14:49 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Fri, 2 Sep 2016 23:33:30 +0000 (16:33 -0700)
Add the PWM related clocks in order to be referenced as PWM source
clocks.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
Link: lkml.kernel.org/r/1471870177-10609-1-git-send-email-narmstrong@baylibre.com

drivers/clk/meson/gxbb.h
include/dt-bindings/clock/gxbb-clkc.h

index 217df516de44f85f1b70c8703c671f92fab6a841..ae461b16af75cc0a1dd8618b9ecd9fa2e767f163 100644 (file)
  */
 #define CLKID_SYS_PLL            0
 /* CLKID_CPUCLK */
-#define CLKID_HDMI_PLL           2
+/* CLKID_HDMI_PLL */
 #define CLKID_FIXED_PLL                  3
 /* CLKID_FCLK_DIV2 */
-#define CLKID_FCLK_DIV3                  5
-#define CLKID_FCLK_DIV4                  6
+/* CLKID_FCLK_DIV3 */
+/* CLKID_FCLK_DIV4 */
 #define CLKID_FCLK_DIV5                  7
 #define CLKID_FCLK_DIV7                  8
 #define CLKID_GP0_PLL            9
index 7d418643cdccddff5d0129b7e3ab4a77b16b255a..ce4ad637083da9dba0928268abbc6a26ddbeb4cb 100644 (file)
@@ -6,7 +6,10 @@
 #define __GXBB_CLKC_H
 
 #define CLKID_CPUCLK           1
+#define CLKID_HDMI_PLL         2
 #define CLKID_FCLK_DIV2                4
+#define CLKID_FCLK_DIV3                5
+#define CLKID_FCLK_DIV4                6
 #define CLKID_CLK81            12
 #define CLKID_ETH              36
 #define CLKID_SD_EMMC_A                94