| b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From 6710c5b0674f8811f7d8fbfc526684e7ed77f765 Mon Sep 17 00:00:00 2001 |
| 2 | From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl> |
| 3 | Date: Thu, 11 Feb 2021 13:12:32 +0100 |
| 4 | Subject: [PATCH] dt-bindings: net: rename BCM4908 Ethernet binding |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | Rob pointed out that a normal convention is "brcm,bcm4908-enet" so |
| 10 | update whole binding to match it. |
| 11 | |
| 12 | Suggested-by: Rob Herring <robh@kernel.org> |
| 13 | Signed-off-by: Rafał Miłecki <rafal@milecki.pl> |
| 14 | Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> |
| 15 | Signed-off-by: David S. Miller <davem@davemloft.net> |
| 16 | --- |
| 17 | .../net/{brcm,bcm4908enet.yaml => brcm,bcm4908-enet.yaml} | 6 +++--- |
| 18 | MAINTAINERS | 2 +- |
| 19 | 2 files changed, 4 insertions(+), 4 deletions(-) |
| 20 | rename Documentation/devicetree/bindings/net/{brcm,bcm4908enet.yaml => brcm,bcm4908-enet.yaml} (85%) |
| 21 | |
| 22 | --- a/Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml |
| 23 | +++ /dev/null |
| 24 | @@ -1,45 +0,0 @@ |
| 25 | -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 26 | -%YAML 1.2 |
| 27 | ---- |
| 28 | -$id: http://devicetree.org/schemas/net/brcm,bcm4908enet.yaml# |
| 29 | -$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 30 | - |
| 31 | -title: Broadcom BCM4908 Ethernet controller |
| 32 | - |
| 33 | -description: Broadcom's Ethernet controller integrated into BCM4908 family SoCs |
| 34 | - |
| 35 | -maintainers: |
| 36 | - - Rafał Miłecki <rafal@milecki.pl> |
| 37 | - |
| 38 | -properties: |
| 39 | - compatible: |
| 40 | - const: brcm,bcm4908enet |
| 41 | - |
| 42 | - reg: |
| 43 | - maxItems: 1 |
| 44 | - |
| 45 | - interrupts: |
| 46 | - description: RX interrupt |
| 47 | - |
| 48 | - interrupt-names: |
| 49 | - const: rx |
| 50 | - |
| 51 | -required: |
| 52 | - - reg |
| 53 | - - interrupts |
| 54 | - - interrupt-names |
| 55 | - |
| 56 | -additionalProperties: false |
| 57 | - |
| 58 | -examples: |
| 59 | - - | |
| 60 | - #include <dt-bindings/interrupt-controller/irq.h> |
| 61 | - #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 62 | - |
| 63 | - ethernet@80002000 { |
| 64 | - compatible = "brcm,bcm4908enet"; |
| 65 | - reg = <0x80002000 0x1000>; |
| 66 | - |
| 67 | - interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 68 | - interrupt-names = "rx"; |
| 69 | - }; |
| 70 | --- /dev/null |
| 71 | +++ b/Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml |
| 72 | @@ -0,0 +1,45 @@ |
| 73 | +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 74 | +%YAML 1.2 |
| 75 | +--- |
| 76 | +$id: http://devicetree.org/schemas/net/brcm,bcm4908-enet.yaml# |
| 77 | +$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 78 | + |
| 79 | +title: Broadcom BCM4908 Ethernet controller |
| 80 | + |
| 81 | +description: Broadcom's Ethernet controller integrated into BCM4908 family SoCs |
| 82 | + |
| 83 | +maintainers: |
| 84 | + - Rafał Miłecki <rafal@milecki.pl> |
| 85 | + |
| 86 | +properties: |
| 87 | + compatible: |
| 88 | + const: brcm,bcm4908-enet |
| 89 | + |
| 90 | + reg: |
| 91 | + maxItems: 1 |
| 92 | + |
| 93 | + interrupts: |
| 94 | + description: RX interrupt |
| 95 | + |
| 96 | + interrupt-names: |
| 97 | + const: rx |
| 98 | + |
| 99 | +required: |
| 100 | + - reg |
| 101 | + - interrupts |
| 102 | + - interrupt-names |
| 103 | + |
| 104 | +additionalProperties: false |
| 105 | + |
| 106 | +examples: |
| 107 | + - | |
| 108 | + #include <dt-bindings/interrupt-controller/irq.h> |
| 109 | + #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 110 | + |
| 111 | + ethernet@80002000 { |
| 112 | + compatible = "brcm,bcm4908-enet"; |
| 113 | + reg = <0x80002000 0x1000>; |
| 114 | + |
| 115 | + interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 116 | + interrupt-names = "rx"; |
| 117 | + }; |
| 118 | --- a/MAINTAINERS |
| 119 | +++ b/MAINTAINERS |
| 120 | @@ -3212,7 +3212,7 @@ M: Rafał Miłecki <rafal@milecki.pl> |
| 121 | M: bcm-kernel-feedback-list@broadcom.com |
| 122 | L: netdev@vger.kernel.org |
| 123 | S: Maintained |
| 124 | -F: Documentation/devicetree/bindings/net/brcm,bcm4908enet.yaml |
| 125 | +F: Documentation/devicetree/bindings/net/brcm,bcm4908-enet.yaml |
| 126 | F: drivers/net/ethernet/broadcom/bcm4908enet.* |
| 127 | F: drivers/net/ethernet/broadcom/unimac.h |
| 128 | |