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

Kshitiz Varshney kshitiz.varshney at nxp.com
Wed Dec 21 12:13:20 CET 2022



-----Original Message-----
From: Heinrich Schuchardt <xypron.glpk at gmx.de> 
Sent: Friday, September 9, 2022 1:10 AM
To: Kshitiz Varshney <kshitiz.varshney at nxp.com>
Cc: Stefano Babic <sbabic at denx.de>; Fabio Estevam <festevam at gmail.com>; Peng Fan <peng.fan at nxp.com>; Sughosh Ganu <sughosh.ganu at linaro.org>; u-boot at lists.denx.de; Ye Li <ye.li at nxp.com>; Gaurav Jain <gaurav.jain at nxp.com>; Rahul Kumar Yadav <rahulkumar.yadav at nxp.com>; Vabhav Sharma <vabhav.sharma at nxp.com>; Varun Sethi <V.Sethi at nxp.com>; Sahil Malhotra <sahil.malhotra at nxp.com>; Pankaj Gupta <pankaj.gupta at nxp.com>; Horia Geanta <horia.geanta at nxp.com>
Subject: [EXT] Re: [PATCH v1] 1: Adding rngb entry in imx6ull device tree

Caution: EXT Email

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.

Will take care in next patch set.

>
> 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.

As, this node entry is already present in upstream uboot. Hence, removed this patch from new patchset.

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