Message ID | 520a1a8ec7a958b3d918d89563ec7e93a4100a45.camel@cottsay.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | arm64: dts: meson: add missing g12 rng clock | expand |
On 25/09/2020 10:43, Scott K Logan wrote: > This adds the missing perpheral clock for the RNG for Amlogic G12. As > stated in amlogic,meson-rng.yaml, this isn't always necessary for the > RNG to function, but is better to have in case the clock is disabled for > some reason prior to loading. > > Signed-off-by: Scott K Logan <logans@cottsay.net> > Suggested-by: Neil Armstrong <narmstrong@baylibre.com> > --- > arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > index 593a006f4b7b..6ec40af658ba 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi > @@ -247,6 +247,8 @@ apb_efuse: bus@30000 { > hwrng: rng@218 { > compatible = "amlogic,meson-rng"; > reg = <0x0 0x218 0x0 0x4>; > + clocks = <&clkc CLKID_RNG0>; > + clock-names = "core"; > }; > }; > > Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
On Fri, 25 Sep 2020 01:43:53 -0700, Scott K Logan wrote: > This adds the missing perpheral clock for the RNG for Amlogic G12. As > stated in amlogic,meson-rng.yaml, this isn't always necessary for the > RNG to function, but is better to have in case the clock is disabled for > some reason prior to loading. Applied, thanks! [1/1] arm64: dts: meson: add missing g12 rng clock commit: 832ee02e6e9d302152d0c130785afc4577ec9641 Best regards,
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 593a006f4b7b..6ec40af658ba 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -247,6 +247,8 @@ apb_efuse: bus@30000 { hwrng: rng@218 { compatible = "amlogic,meson-rng"; reg = <0x0 0x218 0x0 0x4>; + clocks = <&clkc CLKID_RNG0>; + clock-names = "core"; }; };
This adds the missing perpheral clock for the RNG for Amlogic G12. As stated in amlogic,meson-rng.yaml, this isn't always necessary for the RNG to function, but is better to have in case the clock is disabled for some reason prior to loading. Signed-off-by: Scott K Logan <logans@cottsay.net> Suggested-by: Neil Armstrong <narmstrong@baylibre.com> --- arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 2 ++ 1 file changed, 2 insertions(+)