clk: meson8b: export the USB clocks
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Jun 2017 10:16:35 +0000 (12:16 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Jun 2017 07:30:44 +0000 (07:30 +0000)
Export the USB related clocks (for the USB controller and the USB2 PHYs)
so they can be used in the dt-bindings.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/meson8b.h
include/dt-bindings/clock/meson8b-clkc.h

index 51c3f6717180d9fdfea26d1153c0e349248cd0bd..17479c60864d317425c6d2698c4fedc090a71cdd 100644 (file)
 #define CLKID_AIU              47
 #define CLKID_UART1            48
 #define CLKID_G2D              49
-#define CLKID_USB0             50
-#define CLKID_USB1             51
+/* #define CLKID_USB0 */
+/* #define CLKID_USB1 */
 #define CLKID_RESET            52
 #define CLKID_NAND             53
 #define CLKID_DOS_PARSER       54
-#define CLKID_USB              55
+/* #define 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 f004e6760b5d454ed2f91e7437a1ec0f47412039..04f0d1fcd308e87e240162775ed28ecad048eba8 100644 (file)
 #define CLKID_SAR_ADC          23
 #define CLKID_RNG0             25
 #define CLKID_SDIO             30
+#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_SANA             69
 
 #endif /* __MESON8B_CLKC_H */