[PATCH v1] 1: Adding rngb entry in imx6ull device tree

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Sep 8 21:40:21 CEST 2022


On 9/8/22 10:57, Kshitiz Varshney wrote:
> From: Kshitiz <kshitiz.varshney at nxp.com>

If you use format-patch HEAD~3, it will add numbers to the patches as
expected: [PATCH 1/3].

For patch series we typically generate a cover-letter.

>
> Added entry for rngb in imx6ull device tree which is required for
> Random number generation in u-boot.
>
> Signed-off-by: Kshitiz Varshney <kshitiz.varshney at nxp.com>
> Reviewed-by: Ye Li <ye.li at nxp.com>
> ---
>   arch/arm/dts/imx6ull.dtsi | 6 ++++++
>   1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/imx6ull.dtsi b/arch/arm/dts/imx6ull.dtsi
> index 46e7ad6bab..c5d5a5ab7b 100644
> --- a/arch/arm/dts/imx6ull.dtsi
> +++ b/arch/arm/dts/imx6ull.dtsi
> @@ -66,6 +66,12 @@
>   				clocks = <&clks IMX6ULL_CLK_DCP_CLK>;
>   				clock-names = "dcp";
>   			};
> +			rngb: rng at 2284000 {
> +				compatible = "fsl,imx6ull-rngb", "fsl,imx25-rngb";
> +				reg = <0x02284000 0x4000>;
> +				interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&clks IMX6UL_CLK_DUMMY>;
> +			};

This seems to match Linux'
arch/arm/boot/dts/imx6ull.dtsi and
Documentation/devicetree/bindings/rng/imx-rng.yaml.

Acked-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

>
>   			iomuxc_snvs: iomuxc-snvs at 2290000 {
>   				compatible = "fsl,imx6ull-iomuxc-snvs";



More information about the U-Boot mailing list