diff options
author | Martin Blumenstingl | 2017-06-11 12:16:34 +0200 |
---|---|---|
committer | Jerome Brunet | 2017-06-12 07:30:43 +0000 |
commit | 06eff6a792967d0cbb70424bc6acded91b28e41f (patch) | |
tree | 2c8d33743f61c7a7e5dad58be3d729ca227031f6 | |
parent | e2e5f3211fe2b57f4a9feed5c053c48aea7eb2a2 (diff) |
clk: meson8b: export the gate clock for the HW random number generator
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>
-rw-r--r-- | drivers/clk/meson/meson8b.h | 2 | ||||
-rw-r--r-- | include/dt-bindings/clock/meson8b-clkc.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/meson/meson8b.h b/drivers/clk/meson/meson8b.h index e0fb386ccc23..51c3f6717180 100644 --- a/drivers/clk/meson/meson8b.h +++ b/drivers/clk/meson/meson8b.h @@ -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 diff --git a/include/dt-bindings/clock/meson8b-clkc.h b/include/dt-bindings/clock/meson8b-clkc.h index 821b08574900..f004e6760b5d 100644 --- a/include/dt-bindings/clock/meson8b-clkc.h +++ b/include/dt-bindings/clock/meson8b-clkc.h @@ -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 |