clk: meson8b: export the gate clock for the HW random number generator
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 11 Jun 2017 10:16:34 +0000 (12:16 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 12 Jun 2017 07:30:43 +0000 (07:30 +0000)
This exports the clock so it 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 e0fb386ccc2326c6de19fe984fbc26e4b2fd2e33..51c3f6717180d9fdfea26d1153c0e349248cd0bd 100644 (file)
@@ -89,7 +89,7 @@
 #define CLKID_I2C              22
 /* #define CLKID_SAR_ADC */
 #define CLKID_SMART_CARD       24
-#define CLKID_RNG0             25
+/* #define CLKID_RNG0 */
 #define CLKID_UART0            26
 #define CLKID_SDHC             27
 #define CLKID_STREAM           28
index 821b0857490063bd0225f9ac7cba386a274fddb7..f004e6760b5d454ed2f91e7437a1ec0f47412039 100644 (file)
@@ -22,6 +22,7 @@
 #define CLKID_MPEG_SEL         14
 #define CLKID_MPEG_DIV         15
 #define CLKID_SAR_ADC          23
+#define CLKID_RNG0             25
 #define CLKID_SDIO             30
 #define CLKID_SANA             69