Add device tree support to b53_mmap.c while keeping platform devices support.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/b53_mmap.c | 36 ++
1 file changed, 36 insertions(+)
diff --git a/drivers/net/dsa/b53/b53_mmap.c b/drivers/net/dsa/b53
BCM63xx switches are present on bcm63xx and bmips devices.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/b53_priv.h | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/dsa/b53/b53_priv.h b/drivers/net/dsa/b53/b53_priv.h
index 8419bb7f4505..82700a5714c1 100644
Hi Florian,
El 08/03/2021 a las 19:29, Florian Fainelli escribió:
On 3/8/21 10:07 AM, Álvaro Fernández Rojas wrote:
Add device tree support to b53_mmap.c while keeping platform devices support.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/b53_mmap.c | 36
This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
SoCs.
Álvaro Fernández Rojas (2):
dt-bindings: net: Add bcm6368-mdio-mux bindings
net: mdio: Add BCM6368 MDIO mux bus controller
.../bindings/net/brcm,bcm6368-mdio-mux.yaml | 79
drivers/net/mdio
Add documentations for bcm6368 mdio mux driver.
Signed-off-by: Álvaro Fernández Rojas
---
.../bindings/net/brcm,bcm6368-mdio-mux.yaml | 79 +++
1 file changed, 79 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net/brcm,bcm6368-mdio-mux.yaml
diff --git a
This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
SoCs.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/mdio/Kconfig| 11 ++
drivers/net/mdio/Makefile | 1 +
drivers/net/mdio/mdio-mux-bcm6368.c | 179
3
Hi Andrew,
> El 8 mar 2021, a las 21:54, Andrew Lunn escribió:
>
> On Mon, Mar 08, 2021 at 07:41:01PM +0100, Álvaro Fernández Rojas wrote:
>> + clocks:
>> +maxItems: 1
>
> Hi Álvaro
>
> The driver does not make use of this clocks property. Is it reall
Hi Jakub,
> El 8 mar 2021, a las 20:57, Jakub Kicinski escribió:
>
> On Mon, 8 Mar 2021 19:41:02 +0100 Álvaro Fernández Rojas wrote:
>> This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
>> SoCs.
>>
>> Signed-off-by: Ál
Hi Andrew,
> El 8 mar 2021, a las 22:00, Andrew Lunn escribió:
>
>> +static int bcm6368_mdiomux_probe(struct platform_device *pdev)
>> +{
>> +struct bcm6368_mdiomux_desc *md;
>> +struct mii_bus *bus;
>> +struct resource *res;
>> +int rc;
>> +
>> +md = devm_kzalloc(&pdev->dev,
Add missing of_match_table to allow device tree probing.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/b53_spi.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/net/dsa/b53/b53_spi.c b/drivers/net/dsa/b53/b53_spi.c
index 7abec8dab8ba..413158275db8
Add support for legacy Broadcom tags, which are similar to DSA_TAG_PROTO_BRCM.
These tags are used on BCM5325, BCM5365 and BCM63xx switches.
Signed-off-by: Álvaro Fernández Rojas
---
include/net/dsa.h | 2 +
net/dsa/Kconfig| 7
net/dsa/tag_brcm.c | 96
Legacy Broadcom tags are needed for older switches.
Álvaro Fernández Rojas (2):
net: dsa: tag_brcm: add support for legacy tags
net: dsa: b53: support legacy tags
drivers/net/dsa/b53/Kconfig | 1 +
drivers/net/dsa/b53/b53_common.c | 9 ++-
include/net/dsa.h| 2 +
net
These tags are used on BCM5325, BCM5365 and BCM63xx switches.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/Kconfig | 1 +
drivers/net/dsa/b53/b53_common.c | 9 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/drivers/net/dsa/b53/Kconfig b/drivers
Add device tree support to b53_mmap.c while keeping platform devices support.
Signed-off-by: Álvaro Fernández Rojas
---
v2: add change suggested by Florian Fainelli (less "OF-centric") and replace
brcm,ports property with a ports child scan.
drivers/net/dsa/b53/b53_m
This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
SoCs.
v2: add changes suggested by Andrew Lunn and Jakub Kicinski.
Álvaro Fernández Rojas (2):
dt-bindings: net: Add bcm6368-mdio-mux bindings
net: mdio: Add BCM6368 MDIO mux bus controller
.../bindings/net/brcm
This controller is present on BCM6318, BCM6328, BCM6362, BCM6368 and BCM63268
SoCs.
Signed-off-by: Álvaro Fernández Rojas
---
v2: add missing module author, description and license.
drivers/net/mdio/Kconfig| 11 ++
drivers/net/mdio/Makefile | 1 +
drivers/net/mdio
Add documentations for bcm6368 mdio mux driver.
Signed-off-by: Álvaro Fernández Rojas
---
v2: remove unneeded clocks property
.../bindings/net/brcm,bcm6368-mdio-mux.yaml | 76 +++
1 file changed, 76 insertions(+)
create mode 100644
Documentation/devicetree/bindings/net
BCM63xx switches are present on bcm63xx and bmips devices.
Signed-off-by: Álvaro Fernández Rojas
Acked-by: Florian Fainelli
---
drivers/net/dsa/b53/b53_priv.h | 4
1 file changed, 4 deletions(-)
diff --git a/drivers/net/dsa/b53/b53_priv.h b/drivers/net/dsa/b53/b53_priv.h
index
Hi Vladimir,
> El 15 mar 2021, a las 22:28, Vladimir Oltean escribió:
>
> On Mon, Mar 15, 2021 at 03:27:35PM +0100, Álvaro Fernández Rojas wrote:
>> Add support for legacy Broadcom tags, which are similar to
>> DSA_TAG_PROTO_BRCM.
>> These tags are used on BCM5325, B
Add device tree support to b53_mmap.c while keeping platform devices support.
Signed-off-by: Álvaro Fernández Rojas
---
drivers/net/dsa/b53/b53_mmap.c | 55 ++
1 file changed, 55 insertions(+)
diff --git a/drivers/net/dsa/b53/b53_mmap.c b/drivers/net/dsa/b53
Add support for legacy Broadcom tags, which are similar to DSA_TAG_PROTO_BRCM.
These tags are used on BCM5325, BCM5365 and BCM63xx switches.
Signed-off-by: Álvaro Fernández Rojas
---
v2: introduce changes requested by Florian and Vladimir.
include/net/dsa.h | 2 +
net/dsa/Kconfig| 7
Legacy Broadcom tags are needed for older switches.
Álvaro Fernández Rojas (2):
net: dsa: tag_brcm: add support for legacy tags
net: dsa: b53: support legacy tags
drivers/net/dsa/b53/Kconfig | 1 +
drivers/net/dsa/b53/b53_common.c | 12 ++--
include/net/dsa.h| 2
These tags are used on BCM5325, BCM5365 and BCM63xx switches.
Signed-off-by: Álvaro Fernández Rojas
Acked-by: Florian Fainelli
---
v2: remove unneeded comment and remove NET_DSA_TAG_BRCM_LEGACY from
b53_can_enable_brcm_tags() as Florian reported that legacy tag can be
stacked.
drivers
23 matches
Mail list logo