# \[PATCH v6 06/17\] dt-bindings: net: sun8i-emac: Add H616 compatible string

- Subsystems: NETWORKING DRIVERS, OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, THE REST
- Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds
- Status: SUPERSEDED (Superseded by v11 posted 2022-04-28)
- Superseded by v11 (posted 2022-04-28).
- Revision v6 (11 revisions archived).
- List: netdev
- 2 messages, 2 authors
- Page: https://ratatoskr.run/netdev/2021/05/1383254/t

## \[PATCH v6 06/17\] dt-bindings: net: sun8i-emac: Add H616 compatible string

- From: Andre Przywara \<andre.przywara@arm.com\>
- Date: 2021-05-19 10:42:34 
- Message: https://ratatoskr.run/netdev/2021/05/1383254.md

```text
Add the obvious compatible name to the existing EMAC binding, and pair
it with the existing A64 fallback compatible string, as the devices are
compatible.

On the way use enums to group the compatible devices together.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 .../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..0ccdab103f59 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,sun50i-h6-emac
+              - allwinner,sun50i-h616-emac
           - const: allwinner,sun50i-a64-emac
 
   reg:
-- 
2.17.5

```

## Re: \[PATCH v6 06/17\] dt-bindings: net: sun8i-emac: Add H616 compatible string

- From: Rob Herring \<robh@kernel.org\>
- Date: 2021-05-21 01:40:07 
- Message: https://ratatoskr.run/netdev/2021/05/1386851.md

```text
On Wed, 19 May 2021 11:41:41 +0100, Andre Przywara wrote:
> Add the obvious compatible name to the existing EMAC binding, and pair
> it with the existing A64 fallback compatible string, as the devices are
> compatible.
> 
> On the way use enums to group the compatible devices together.
> 
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
>  .../devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml    | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
```
