Skip to content

Commit

Permalink
clk: meson-gxbb: expose clock CLKID_RNG0
Browse files Browse the repository at this point in the history
Expose clock CLKID_RNG0 which is needed for the HW random number generator.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Heiner Kallweit authored and Herbert Xu committed Mar 16, 2017
1 parent d2c2a85 commit eff0415
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/clk/meson/gxbb.h
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
/* CLKID_I2C */
/* #define CLKID_SAR_ADC */
#define CLKID_SMART_CARD 24
#define CLKID_RNG0 25
/* CLKID_RNG0 */
#define CLKID_UART0 26
#define CLKID_SDHC 27
#define CLKID_STREAM 28
Expand Down
3 changes: 2 additions & 1 deletion include/dt-bindings/clock/gxbb-clkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
#define CLKID_FCLK_DIV4 6
#define CLKID_CLK81 12
#define CLKID_MPLL2 15
#define CLKID_SPI 34
#define CLKID_I2C 22
#define CLKID_SAR_ADC 23
#define CLKID_RNG0 25
#define CLKID_SPI 34
#define CLKID_ETH 36
#define CLKID_USB0 50
#define CLKID_USB1 51
Expand Down

0 comments on commit eff0415

Please sign in to comment.