Message ID | 20210506090802.14268-6-pali@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3,mvebu,+,mvebu/dt64,1/6] firmware: turris-mox-rwtm: fix reply status decoding function | expand |
On Thu, May 06, 2021 at 11:08:02AM +0200, Pali Rohár wrote: > Move the turris-mox-rwtm firmware node from Turris MOX' device tree into > the generic armada-37xx.dtsi file and use the generic compatible string > 'marvell,armada-3700-rwtm-firmware' instead of the current one. > > The Turris MOX rWTM firmware can be used on any Armada 37xx device, > giving them access to the rWTM hardware random number generator, which > is otherwise unavailable. This is a new feature, not a fix. Please split this patchset up into fixes, which get applied to stable, and new features which will get merged during the next merge window. Thanks Andrew
On Wednesday 12 May 2021 02:59:24 Andrew Lunn wrote: > On Thu, May 06, 2021 at 11:08:02AM +0200, Pali Rohár wrote: > > Move the turris-mox-rwtm firmware node from Turris MOX' device tree into > > the generic armada-37xx.dtsi file and use the generic compatible string > > 'marvell,armada-3700-rwtm-firmware' instead of the current one. > > > > The Turris MOX rWTM firmware can be used on any Armada 37xx device, > > giving them access to the rWTM hardware random number generator, which > > is otherwise unavailable. > > This is a new feature, not a fix. Please split this patchset up into > fixes, which get applied to stable, and new features which will get > merged during the next merge window. Done, I have split patches into two patch series, so they can be reviewed and merged separately.
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts index 0753cc489638..ebb0ddf8d306 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-turris-mox.dts @@ -107,14 +107,6 @@ /* enabled by U-Boot if SFP module is present */ status = "disabled"; }; - - firmware { - turris-mox-rwtm { - compatible = "cznic,turris-mox-rwtm"; - mboxes = <&rwtm 0>; - status = "okay"; - }; - }; }; &i2c0 { diff --git a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi index 1b7f43e27589..847a2d12a4be 100644 --- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi @@ -505,4 +505,12 @@ }; }; }; + + firmware { + armada-3700-rwtm { + compatible = "marvell,armada-3700-rwtm-firmware"; + mboxes = <&rwtm 0>; + status = "okay"; + }; + }; };