OSDN Git Service

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 51c3f67..17479c6 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 f004e67..04f0d1f 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 */