2023-12-12 03:25:45

by Jia Jie Ho

[permalink] [raw]
Subject: [PATCH v2 0/2] hwrng: starfive: Add support for JH8100

This series adds driver support for StarFive JH8100 trng. It also
updates pm ops of the original driver.

v1->v2:
Dropped driver .compatible change, express new compatible string in
devicetree bindings instead. (Krzysztof)

Thanks,
Jia Jie

Jia Jie Ho (2):
dt-bindings: rng: starfive: Add jh8100 compatible string
hwrng: starfive - Add runtime pm ops

.../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++-
drivers/char/hw_random/jh7110-trng.c | 8 ++++++--
2 files changed, 11 insertions(+), 3 deletions(-)

--
2.34.1



2023-12-12 03:25:46

by Jia Jie Ho

[permalink] [raw]
Subject: [PATCH v2 1/2] dt-bindings: rng: starfive: Add jh8100 compatible string

Add compatible string for StarFive JH8100 trng.

Signed-off-by: Jia Jie Ho <[email protected]>
---
.../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
index 2b76ce25acc4..4639247e9e51 100644
--- a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
+++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
@@ -11,7 +11,11 @@ maintainers:

properties:
compatible:
- const: starfive,jh7110-trng
+ oneOf:
+ - items:
+ - const: starfive,jh8100-trng
+ - const: starfive,jh7110-trng
+ - const: starfive,jh7110-trng

reg:
maxItems: 1
--
2.34.1


2023-12-12 16:35:17

by Conor Dooley

[permalink] [raw]
Subject: Re: [PATCH v2 1/2] dt-bindings: rng: starfive: Add jh8100 compatible string

On Tue, Dec 12, 2023 at 11:25:26AM +0800, Jia Jie Ho wrote:
> Add compatible string for StarFive JH8100 trng.
>
> Signed-off-by: Jia Jie Ho <[email protected]>

Acked-by: Conor Dooley <[email protected]>

Cheers,
Conor.

> ---
> .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
> index 2b76ce25acc4..4639247e9e51 100644
> --- a/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
> +++ b/Documentation/devicetree/bindings/rng/starfive,jh7110-trng.yaml
> @@ -11,7 +11,11 @@ maintainers:
>
> properties:
> compatible:
> - const: starfive,jh7110-trng
> + oneOf:
> + - items:
> + - const: starfive,jh8100-trng
> + - const: starfive,jh7110-trng
> + - const: starfive,jh7110-trng
>
> reg:
> maxItems: 1
> --
> 2.34.1
>


Attachments:
(No filename) (1.03 kB)
signature.asc (235.00 B)
Download all attachments

2023-12-22 04:35:53

by Herbert Xu

[permalink] [raw]
Subject: Re: [PATCH v2 0/2] hwrng: starfive: Add support for JH8100

On Tue, Dec 12, 2023 at 11:25:25AM +0800, Jia Jie Ho wrote:
> This series adds driver support for StarFive JH8100 trng. It also
> updates pm ops of the original driver.
>
> v1->v2:
> Dropped driver .compatible change, express new compatible string in
> devicetree bindings instead. (Krzysztof)
>
> Thanks,
> Jia Jie
>
> Jia Jie Ho (2):
> dt-bindings: rng: starfive: Add jh8100 compatible string
> hwrng: starfive - Add runtime pm ops
>
> .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++-
> drivers/char/hw_random/jh7110-trng.c | 8 ++++++--
> 2 files changed, 11 insertions(+), 3 deletions(-)
>
> --
> 2.34.1

All applied. Thanks.
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt