Message ID | 20231212032527.1250617-2-jiajie.ho@starfivetech.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | hwrng: starfive: Add support for JH8100 | expand |
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 <jiajie.ho@starfivetech.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> 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 >
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
Add compatible string for StarFive JH8100 trng. Signed-off-by: Jia Jie Ho <jiajie.ho@starfivetech.com> --- .../devicetree/bindings/rng/starfive,jh7110-trng.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)