linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH v2 4/5] ARM: dts: imx6ull: add rng
       [not found] ` <20200621145658.12528-5-horia.geanta@nxp.com>
@ 2020-07-02  8:27   ` Marco Felsch
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Felsch @ 2020-07-02  8:27 UTC (permalink / raw)
  To: Horia Geantă
  Cc: devicetree, Fabio Estevam, Martin Kaiser, Herbert Xu,
	Arnd Bergmann, Iuliana Prodan, Greg Kroah-Hartman, Sascha Hauer,
	linux-kernel, Franck Lenormand, Rob Herring, NXP Linux Team,
	Pengutronix Kernel Team, Matt Mackall, Silvano Di Ninno,
	Shawn Guo, linux-arm-kernel, linux-crypto

On 20-06-21 17:56, Horia Geantă wrote:
> Add node for the RNGB block.
> 
> Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
> ---

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 5/5] hwrng: imx-rngc: enable driver for i.MX6
       [not found] ` <20200621145658.12528-6-horia.geanta@nxp.com>
@ 2020-07-02  8:28   ` Marco Felsch
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Felsch @ 2020-07-02  8:28 UTC (permalink / raw)
  To: Horia Geantă
  Cc: devicetree, Fabio Estevam, Martin Kaiser, Herbert Xu,
	Arnd Bergmann, Iuliana Prodan, Greg Kroah-Hartman, Sascha Hauer,
	linux-kernel, Franck Lenormand, Rob Herring, NXP Linux Team,
	Pengutronix Kernel Team, Matt Mackall, Silvano Di Ninno,
	Shawn Guo, linux-arm-kernel, linux-crypto

On 20-06-21 17:56, Horia Geantă wrote:
> i.MX6 SL, SLL, ULL, ULZ SoCs have an RNGB block.
> 
> Since imx-rngc driver supports also rngb,
> let's enable it for these SoCs too.
> 
> Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
> ---

Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs
       [not found] ` <20200621145658.12528-2-horia.geanta@nxp.com>
@ 2020-07-14  0:03   ` Rob Herring
  2020-07-14 12:24     ` Horia Geantă
  0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2020-07-14  0:03 UTC (permalink / raw)
  To: Horia Geantă
  Cc: devicetree, Martin Kaiser, Herbert Xu, Arnd Bergmann,
	Greg Kroah-Hartman, Iuliana Prodan, Shawn Guo, Sascha Hauer,
	linux-kernel, Franck Lenormand, NXP Linux Team,
	Pengutronix Kernel Team, Matt Mackall, Silvano Di Ninno,
	Fabio Estevam, linux-arm-kernel, linux-crypto

On Sun, Jun 21, 2020 at 05:56:54PM +0300, Horia Geantă wrote:
> RNGB block is found in some i.MX6 SoCs - 6SL, 6SLL, 6ULL, 6ULZ.
> Add corresponding compatible strings.
> 
> Note:
> 
> Several NXP SoC from QorIQ family (P1010, P1023, P4080, P3041, P5020)
> also have a RNGB, however it's part of the CAAM
> (Cryptograhic Accelerator and Assurance Module) crypto accelerator.
> In this case, RNGB is managed in the caam driver
> (drivers/crypto/caam/), since it's tightly related to
> the caam "job ring" interface, not to mention CAAM internally relying on
> RNGB as source of randomness.
> 
> On the other hand, the i.MX6 SoCs with RNGB have a DCP
> (Data Co-Processor) crypto accelerator and this block and RNGB
> are independent.
> 
> Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
> ---
>  Documentation/devicetree/bindings/rng/imx-rng.txt | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/rng/imx-rng.txt b/Documentation/devicetree/bindings/rng/imx-rng.txt
> index 405c2b00ccb0..eb227db9e684 100644
> --- a/Documentation/devicetree/bindings/rng/imx-rng.txt
> +++ b/Documentation/devicetree/bindings/rng/imx-rng.txt
> @@ -5,6 +5,9 @@ Required properties:
>                 "fsl,imx21-rnga"
>                 "fsl,imx31-rnga" (backward compatible with "fsl,imx21-rnga")
>                 "fsl,imx25-rngb"
> +               "fsl,imx6sl-rngb"
> +               "fsl,imx6sll-rngb"
> +               "fsl,imx6ull-rngb"

These are all different? IOW, no fallback compatible?

>                 "fsl,imx35-rngc"
>  - reg : offset and length of the register set of this block
>  - interrupts : the interrupt number for the RNG block
> -- 
> 2.17.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs
  2020-07-14  0:03   ` [PATCH v2 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs Rob Herring
@ 2020-07-14 12:24     ` Horia Geantă
  0 siblings, 0 replies; 4+ messages in thread
From: Horia Geantă @ 2020-07-14 12:24 UTC (permalink / raw)
  To: Rob Herring
  Cc: devicetree, Martin Kaiser, Herbert Xu, Arnd Bergmann,
	Greg Kroah-Hartman, Iuliana Prodan, Shawn Guo, Sascha Hauer,
	linux-kernel, Franck Lenormand, dl-linux-imx,
	Pengutronix Kernel Team, Matt Mackall, Silvano Di Ninno,
	Fabio Estevam, linux-arm-kernel, linux-crypto

On 7/14/2020 3:03 AM, Rob Herring wrote:
> On Sun, Jun 21, 2020 at 05:56:54PM +0300, Horia Geantă wrote:
>> RNGB block is found in some i.MX6 SoCs - 6SL, 6SLL, 6ULL, 6ULZ.
>> Add corresponding compatible strings.
>>
>> Note:
>>
>> Several NXP SoC from QorIQ family (P1010, P1023, P4080, P3041, P5020)
>> also have a RNGB, however it's part of the CAAM
>> (Cryptograhic Accelerator and Assurance Module) crypto accelerator.
>> In this case, RNGB is managed in the caam driver
>> (drivers/crypto/caam/), since it's tightly related to
>> the caam "job ring" interface, not to mention CAAM internally relying on
>> RNGB as source of randomness.
>>
>> On the other hand, the i.MX6 SoCs with RNGB have a DCP
>> (Data Co-Processor) crypto accelerator and this block and RNGB
>> are independent.
>>
>> Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
>> ---
>>  Documentation/devicetree/bindings/rng/imx-rng.txt | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/rng/imx-rng.txt b/Documentation/devicetree/bindings/rng/imx-rng.txt
>> index 405c2b00ccb0..eb227db9e684 100644
>> --- a/Documentation/devicetree/bindings/rng/imx-rng.txt
>> +++ b/Documentation/devicetree/bindings/rng/imx-rng.txt
>> @@ -5,6 +5,9 @@ Required properties:
>>                 "fsl,imx21-rnga"
>>                 "fsl,imx31-rnga" (backward compatible with "fsl,imx21-rnga")
>>                 "fsl,imx25-rngb"
>> +               "fsl,imx6sl-rngb"
>> +               "fsl,imx6sll-rngb"
>> +               "fsl,imx6ull-rngb"
> 
> These are all different? IOW, no fallback compatible?
> 
They are compatible with "fsl,imx25-rngb".
I will clarify this in the binding in v3.

Thanks,
Horia

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-07-14 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20200621145658.12528-1-horia.geanta@nxp.com>
     [not found] ` <20200621145658.12528-5-horia.geanta@nxp.com>
2020-07-02  8:27   ` [PATCH v2 4/5] ARM: dts: imx6ull: add rng Marco Felsch
     [not found] ` <20200621145658.12528-6-horia.geanta@nxp.com>
2020-07-02  8:28   ` [PATCH v2 5/5] hwrng: imx-rngc: enable driver for i.MX6 Marco Felsch
     [not found] ` <20200621145658.12528-2-horia.geanta@nxp.com>
2020-07-14  0:03   ` [PATCH v2 1/5] dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs Rob Herring
2020-07-14 12:24     ` Horia Geantă

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).