mbox series

[v2,0/2] rng: npcm: add Arbel NPCM8XX support

Message ID 20220929133111.73897-1-tmaimon77@gmail.com
Headers show
Series rng: npcm: add Arbel NPCM8XX support | expand

Message

Tomer Maimon Sept. 29, 2022, 1:31 p.m. UTC
This patch set adds Arbel NPCM8XX Random Number Generator(RNG) support 
to RNG NPCM driver.

The NPCM8XX RNG uses different prescalar clock value.

The NPCM RNG driver was tested on the NPCM845 evaluation board.

Addressed comments from:
 - Krzysztof Kozlowski: https://www.spinics.net/lists/kernel/msg4523771.html
			https://www.spinics.net/lists/kernel/msg4523585.html

Changes since version 1:
 - Fix dt-binding document warning.
 - Use driver data to handle architecture specific clock prescaler.

Tomer Maimon (2):
  dt-bindings: rng: nuvoton,npcm-rng: Add npcm845 compatible string
  hwrng: npcm: Add NPCM8XX support

 .../devicetree/bindings/rng/nuvoton,npcm-rng.yaml  |  4 +++-
 drivers/char/hw_random/npcm-rng.c                  | 14 ++++++++++----
 2 files changed, 13 insertions(+), 5 deletions(-)

Comments

Herbert Xu Oct. 21, 2022, 11:34 a.m. UTC | #1
On Thu, Sep 29, 2022 at 04:31:09PM +0300, Tomer Maimon wrote:
> This patch set adds Arbel NPCM8XX Random Number Generator(RNG) support 
> to RNG NPCM driver.
> 
> The NPCM8XX RNG uses different prescalar clock value.
> 
> The NPCM RNG driver was tested on the NPCM845 evaluation board.
> 
> Addressed comments from:
>  - Krzysztof Kozlowski: https://www.spinics.net/lists/kernel/msg4523771.html
> 			https://www.spinics.net/lists/kernel/msg4523585.html
> 
> Changes since version 1:
>  - Fix dt-binding document warning.
>  - Use driver data to handle architecture specific clock prescaler.
> 
> Tomer Maimon (2):
>   dt-bindings: rng: nuvoton,npcm-rng: Add npcm845 compatible string
>   hwrng: npcm: Add NPCM8XX support
> 
>  .../devicetree/bindings/rng/nuvoton,npcm-rng.yaml  |  4 +++-
>  drivers/char/hw_random/npcm-rng.c                  | 14 ++++++++++----
>  2 files changed, 13 insertions(+), 5 deletions(-)
> 
> -- 
> 2.33.0

All applied.  Thanks.