Message ID | 7ccf25d6d7859f1ce9983c81a2051cfdfb0e0a99.1728058550.git.daniel@makrotopia.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 1432965bf5ce0c866924a66be391e478a98e69ee |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [net-next,v3,1/2] dt-bindings: net: marvell,aquantia: add property to override MDI_CFG | expand |
On Fri, 04 Oct 2024 17:18:05 +0100, Daniel Golle wrote: > Usually the MDI pair order reversal configuration is defined by > bootstrap pin MDI_CFG. Some designs, however, require overriding the MDI > pair order and force either normal or reverse order. > > Add property 'marvell,mdi-cfg-order' to allow forcing either normal or > reverse order of the MDI pairs. > > Signed-off-by: Daniel Golle <daniel@makrotopia.org> > --- > v3: use integer enum instead of two properties as suggested > v2: enforce mutually exclusive relationship of the two new properties in > dt-schema. > > Documentation/devicetree/bindings/net/marvell,aquantia.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Hello: This series was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Fri, 4 Oct 2024 17:18:05 +0100 you wrote: > Usually the MDI pair order reversal configuration is defined by > bootstrap pin MDI_CFG. Some designs, however, require overriding the MDI > pair order and force either normal or reverse order. > > Add property 'marvell,mdi-cfg-order' to allow forcing either normal or > reverse order of the MDI pairs. > > [...] Here is the summary with links: - [net-next,v3,1/2] dt-bindings: net: marvell,aquantia: add property to override MDI_CFG https://git.kernel.org/netdev/net-next/c/1432965bf5ce - [net-next,v3,2/2] net: phy: aquantia: allow forcing order of MDI pairs https://git.kernel.org/netdev/net-next/c/a2e1ba275eae You are awesome, thank you!
diff --git a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml index 9854fab4c4db..f269615126d8 100644 --- a/Documentation/devicetree/bindings/net/marvell,aquantia.yaml +++ b/Documentation/devicetree/bindings/net/marvell,aquantia.yaml @@ -48,6 +48,12 @@ properties: firmware-name: description: specify the name of PHY firmware to load + marvell,mdi-cfg-order: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [0, 1] + description: + force normal (0) or reverse (1) order of MDI pairs, overriding MDI_CFG bootstrap pin. + nvmem-cells: description: phandle to the firmware nvmem cell maxItems: 1
Usually the MDI pair order reversal configuration is defined by bootstrap pin MDI_CFG. Some designs, however, require overriding the MDI pair order and force either normal or reverse order. Add property 'marvell,mdi-cfg-order' to allow forcing either normal or reverse order of the MDI pairs. Signed-off-by: Daniel Golle <daniel@makrotopia.org> --- v3: use integer enum instead of two properties as suggested v2: enforce mutually exclusive relationship of the two new properties in dt-schema. Documentation/devicetree/bindings/net/marvell,aquantia.yaml | 6 ++++++ 1 file changed, 6 insertions(+)