Message ID | 20201112045020.9766-1-f.fainelli@gmail.com |
---|---|
Headers | show |
Series | Broadcom b53 YAML bindings | expand |
On 12.11.2020 05:50, Florian Fainelli wrote: > Provide a default compatible string which is based on the 53011 SRAB > compatible by default. The 4709 and 47094 default to the 53012 SRAB > compatible. > > (...) > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Looks good, thanks! Acked-by: Rafał Miłecki <rafal@milecki.pl>
On 12.11.2020 05:50, Florian Fainelli wrote: > Provide an empty 'ports' container node with the correct #address-cells > and #size-cells properties. This silences the following warning: > > arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml: > ethernet-switch@18007000: 'oneOf' conditional failed, one must be fixed: > 'ports' is a required property > 'ethernet-ports' is a required property > From schema: > Documentation/devicetree/bindings/net/dsa/b53.yaml > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Nice! Acked-by: Rafał Miłecki <rafal@milecki.pl>
On Wed, Nov 11, 2020 at 08:50:18PM -0800, Florian Fainelli wrote: > Provide a valid compatible string for the Ethernet switch node based on > the board including the switch. This allows us to have sane defaults and > silences the following warnings: > > arch/arm/boot/dts/bcm958522er.dt.yaml: > ethernet-switch@36000: compatible: 'oneOf' conditional failed, > one > must be fixed: > ['brcm,bcm5301x-srab'] is too short > 'brcm,bcm5325' was expected > 'brcm,bcm53115' was expected > 'brcm,bcm53125' was expected > 'brcm,bcm53128' was expected > 'brcm,bcm5365' was expected > 'brcm,bcm5395' was expected > 'brcm,bcm5389' was expected > 'brcm,bcm5397' was expected > 'brcm,bcm5398' was expected > 'brcm,bcm11360-srab' was expected > 'brcm,bcm5301x-srab' is not one of ['brcm,bcm53010-srab', > 'brcm,bcm53011-srab', 'brcm,bcm53012-srab', 'brcm,bcm53018-srab', > 'brcm,bcm53019-srab'] > 'brcm,bcm5301x-srab' is not one of ['brcm,bcm11404-srab', > 'brcm,bcm11407-srab', 'brcm,bcm11409-srab', 'brcm,bcm58310-srab', > 'brcm,bcm58311-srab', 'brcm,bcm58313-srab'] > 'brcm,bcm5301x-srab' is not one of ['brcm,bcm58522-srab', > 'brcm,bcm58523-srab', 'brcm,bcm58525-srab', 'brcm,bcm58622-srab', > 'brcm,bcm58623-srab', 'brcm,bcm58625-srab', 'brcm,bcm88312-srab'] > 'brcm,bcm5301x-srab' is not one of ['brcm,bcm3384-switch', > 'brcm,bcm6328-switch', 'brcm,bcm6368-switch'] > From schema: > Documentation/devicetree/bindings/net/dsa/b53.yaml > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
On Wed, Nov 11, 2020 at 08:50:19PM -0800, Florian Fainelli wrote: > Provide an empty 'ports' container node with the correct #address-cells > and #size-cells properties. This silences the following warning: > > arch/arm/boot/dts/bcm958522er.dt.yaml: > ethernet-switch@36000: 'oneOf' conditional failed, one must be fixed: > 'ports' is a required property > 'ethernet-ports' is a required property > From schema: > Documentation/devicetree/bindings/net/dsa/b53.yaml > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> > --- So 'ports' is not going away and getting bulk-replaced with 'ethernet-ports'. Good. Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
On 11/11/2020 8:50 PM, Florian Fainelli wrote: > Hi, > > This patch series fixes the various Broadcom SoCs DTS files and the > existing YAML binding for missing properties before adding a proper b53 > switch YAML binding from Kurt. > > If this all looks good, given that there are quite a few changes to the > DTS files, it might be best if I take them through the upcoming Broadcom > ARM SoC pull requests. Let me know if you would like those patches to be > applied differently. > > Thanks! Series applied to devicetree/next, thanks everyone.