Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-26 Thread Florian Fainelli
On 6/22/20 5:05 AM, Kurt Kanzenbach wrote: > On Fri Jun 19 2020, Kurt Kanzenbach wrote: >> On Thu Jun 18 2020, Florian Fainelli wrote: >>> On 6/17/2020 11:40 PM, Kurt Kanzenbach wrote: Add basic documentation and example. Signed-off-by: Kurt Kanzenbach --- .../devicetree/

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-22 Thread Kurt Kanzenbach
On Mon Jun 22 2020, Andrew Lunn wrote: > On Mon, Jun 22, 2020 at 02:02:19PM +0200, Kurt Kanzenbach wrote: >> On Fri Jun 19 2020, Andrew Lunn wrote: >> >> > The switch is 100/100Mbps right? The MAC is only Fast ethernet. Do you >> >> > need some properties in the port@0 node to tell the switch to on

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-22 Thread Andrew Lunn
On Mon, Jun 22, 2020 at 02:02:19PM +0200, Kurt Kanzenbach wrote: > On Fri Jun 19 2020, Andrew Lunn wrote: > >> > The switch is 100/100Mbps right? The MAC is only Fast ethernet. Do you > >> > need some properties in the port@0 node to tell the switch to only use > >> > 100Mbps? I would expect it to

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-22 Thread Kurt Kanzenbach
On Fri Jun 19 2020, Kurt Kanzenbach wrote: > On Thu Jun 18 2020, Florian Fainelli wrote: >> On 6/17/2020 11:40 PM, Kurt Kanzenbach wrote: >>> Add basic documentation and example. >>> >>> Signed-off-by: Kurt Kanzenbach >>> --- >>> .../devicetree/bindings/net/dsa/hellcreek.txt | 72 +++

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-22 Thread Kurt Kanzenbach
On Fri Jun 19 2020, Andrew Lunn wrote: >> > The switch is 100/100Mbps right? The MAC is only Fast ethernet. Do you >> > need some properties in the port@0 node to tell the switch to only use >> > 100Mbps? I would expect it to default to 1G. Not looked at the code >> > yet... >> >> No, that is not

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-19 Thread Andrew Lunn
> > The switch is 100/100Mbps right? The MAC is only Fast ethernet. Do you > > need some properties in the port@0 node to tell the switch to only use > > 100Mbps? I would expect it to default to 1G. Not looked at the code > > yet... > > No, that is not needed. That is a hardware configuration and

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-19 Thread Kurt Kanzenbach
Hi Florian, On Thu Jun 18 2020, Florian Fainelli wrote: > On 6/17/2020 11:40 PM, Kurt Kanzenbach wrote: >> Add basic documentation and example. >> >> Signed-off-by: Kurt Kanzenbach >> --- >> .../devicetree/bindings/net/dsa/hellcreek.txt | 72 +++ >> 1 file changed, 72 insertions

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-19 Thread Kurt Kanzenbach
Hi Andrew, On Thu Jun 18 2020, Andrew Lunn wrote: >> +Ethernet switch connected memory mapped to the host, CPU port wired to >> gmac0: >> + >> +soc { >> +switch0: switch@0xff24 { >> +compatible = "hirschmann,hellcreek"; >> +status = "okay"; >> +

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-18 Thread Florian Fainelli
On 6/17/2020 11:40 PM, Kurt Kanzenbach wrote: > Add basic documentation and example. > > Signed-off-by: Kurt Kanzenbach > --- > .../devicetree/bindings/net/dsa/hellcreek.txt | 72 +++ > 1 file changed, 72 insertions(+) > create mode 100644 Documentation/devicetree/bindings/ne

Re: [RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-18 Thread Andrew Lunn
> +Ethernet switch connected memory mapped to the host, CPU port wired to gmac0: > + > +soc { > +switch0: switch@0xff24 { > +compatible = "hirschmann,hellcreek"; > +status = "okay"; > +reg = <0xff24 0x1000 /* TSN base */ > +

[RFC PATCH 9/9] dt-bindings: net: dsa: Add documentation for Hellcreek switches

2020-06-17 Thread Kurt Kanzenbach
Add basic documentation and example. Signed-off-by: Kurt Kanzenbach --- .../devicetree/bindings/net/dsa/hellcreek.txt | 72 +++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/dsa/hellcreek.txt diff --git a/Documentation/devicetree/bind