]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: gxbb: expose USB clocks
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 4 Sep 2016 21:31:46 +0000 (23:31 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 14 Sep 2016 18:23:55 +0000 (11:23 -0700)
USB0_DDR_BRIDGE and USB1_DDR_BRIDGE1 are needed for the related
dwc2 usb controller. USB, USB0 and USB1 are needed for the PHYs.
Expose these clocks to DT and comment out in clk driver.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
drivers/clk/meson/gxbb.h
include/dt-bindings/clock/gxbb-clkc.h

index 4e643149cc3ed27f742bb4f6ab638ca6b166c9e6..044fc44e914444830b5ddd0122ba5ceddbe26847 100644 (file)
 #define CLKID_AIU                47
 #define CLKID_UART1              48
 #define CLKID_G2D                49
-#define CLKID_USB0               50
-#define CLKID_USB1               51
+/* CLKID_USB0 */
+/* CLKID_USB1 */
 #define CLKID_RESET              52
 #define CLKID_NAND               53
 #define CLKID_DOS_PARSER         54
-#define CLKID_USB                55
+/* CLKID_USB */
 #define CLKID_VDIN1              56
 #define CLKID_AHB_ARB0           57
 #define CLKID_EFUSE              58
 #define CLKID_AHB_CTRL_BUS       61
 #define CLKID_HDMI_INTR_SYNC     62
 #define CLKID_HDMI_PCLK                  63
-#define CLKID_USB1_DDR_BRIDGE    64
-#define CLKID_USB0_DDR_BRIDGE    65
+/* CLKID_USB1_DDR_BRIDGE */
+/* CLKID_USB0_DDR_BRIDGE */
 #define CLKID_MMC_PCLK           66
 #define CLKID_DVIN               67
 #define CLKID_UART2              68
index 7955d7c712f68ff2a3282d5e257a31fb654006b6..743c45b40361c25af9305ddb6733ebd40bbf8486 100644 (file)
 #define CLKID_MPLL2            15
 #define CLKID_SPI              34
 #define CLKID_ETH              36
+#define CLKID_USB0             50
+#define CLKID_USB1             51
+#define CLKID_USB              55
+#define CLKID_USB1_DDR_BRIDGE  64
+#define CLKID_USB0_DDR_BRIDGE  65
 #define CLKID_SD_EMMC_A                94
 #define CLKID_SD_EMMC_B                95
 #define CLKID_SD_EMMC_C                96