diff mbox series

dt-bindings: net: sun8i-emac: Add compatible for D1

Message ID 20210908030240.9007-1-samuel@sholland.org
State New
Headers show
Series dt-bindings: net: sun8i-emac: Add compatible for D1 | expand

Commit Message

Samuel Holland Sept. 8, 2021, 3:02 a.m. UTC
The D1 SoC contains EMAC hardware which is compatible with the A64 EMAC.
Add the new compatible string, with the A64 as a fallback.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---
 .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Maxime Ripard Sept. 8, 2021, 5:35 a.m. UTC | #1
On Tue, Sep 07, 2021 at 10:02:40PM -0500, Samuel Holland wrote:
> The D1 SoC contains EMAC hardware which is compatible with the A64 EMAC.
> Add the new compatible string, with the A64 as a fallback.
> 
> Signed-off-by: Samuel Holland <samuel@sholland.org>

Acked-by: Maxime Ripard <maxime@cerno.tech>

Maxime
Guo Ren Sept. 9, 2021, 1:19 a.m. UTC | #2
Thx Samuel,

Acked-by: Guo Ren <guoren@kernel.org>

On Wed, Sep 8, 2021 at 11:02 AM Samuel Holland <samuel@sholland.org> wrote:
>
> The D1 SoC contains EMAC hardware which is compatible with the A64 EMAC.
> Add the new compatible string, with the A64 as a fallback.
>
> Signed-off-by: Samuel Holland <samuel@sholland.org>
> ---
>  .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml    | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
> index 7f2578d48e3f..9eb4bb529ad5 100644
> --- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
> +++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
> @@ -19,7 +19,9 @@ properties:
>        - const: allwinner,sun8i-v3s-emac
>        - const: allwinner,sun50i-a64-emac
>        - items:
> -          - const: allwinner,sun50i-h6-emac
> +          - enum:
> +              - allwinner,sun20i-d1-emac
> +              - allwinner,sun50i-h6-emac
>            - const: allwinner,sun50i-a64-emac
>
>    reg:
> --
> 2.31.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
index 7f2578d48e3f..9eb4bb529ad5 100644
--- a/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
+++ b/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml
@@ -19,7 +19,9 @@  properties:
       - const: allwinner,sun8i-v3s-emac
       - const: allwinner,sun50i-a64-emac
       - items:
-          - const: allwinner,sun50i-h6-emac
+          - enum:
+              - allwinner,sun20i-d1-emac
+              - allwinner,sun50i-h6-emac
           - const: allwinner,sun50i-a64-emac
 
   reg: