[PATCH net-next v2 0/2] dsa: mxl-gsw1xx: Support R(G)MII slew rate configuration

A. Sverdlin posted 2 patches 1 month, 3 weeks ago
There is a newer version of this series
.../bindings/net/dsa/lantiq,gswip.yaml        |  5 ++++
drivers/net/dsa/lantiq/lantiq_gswip.h         |  1 +
drivers/net/dsa/lantiq/lantiq_gswip_common.c  |  6 +++++
drivers/net/dsa/lantiq/mxl-gsw1xx.c           | 26 +++++++++++++++++++
drivers/net/dsa/lantiq/mxl-gsw1xx.h           |  2 ++
5 files changed, 40 insertions(+)
[PATCH net-next v2 0/2] dsa: mxl-gsw1xx: Support R(G)MII slew rate configuration
Posted by A. Sverdlin 1 month, 3 weeks ago
From: Alexander Sverdlin <alexander.sverdlin@siemens.com>

Maxlinear GSW1xx switches offer slew rate configuration bits for R(G)MII
interface. The default state of the configuration bits is "normal", while
"slow" can be used to reduce the radiated emissions. Add the support for
the latter option into the driver as well as the new DT bindings.

Changelog:
v2:
- do not hijack gsw1xx_phylink_mac_select_pcs() for configuring the port,
  introduce struct gswip_hw_info::port_setup callback
- actively configure "normal" slew rate (if the new DT property is missing)
- properly use regmap_set_bits() (v1 had reg and value mixed up)
v1:
- https://lore.kernel.org/all/20251212204557.2082890-1-alexander.sverdlin@siemens.com/

Alexander Sverdlin (2):
  dt-bindings: net: dsa: lantiq,gswip: add MaxLinear R(G)MII slew rate
  net: dsa: mxl-gsw1xx: Support R(G)MII slew rate configuration

 .../bindings/net/dsa/lantiq,gswip.yaml        |  5 ++++
 drivers/net/dsa/lantiq/lantiq_gswip.h         |  1 +
 drivers/net/dsa/lantiq/lantiq_gswip_common.c  |  6 +++++
 drivers/net/dsa/lantiq/mxl-gsw1xx.c           | 26 +++++++++++++++++++
 drivers/net/dsa/lantiq/mxl-gsw1xx.h           |  2 ++
 5 files changed, 40 insertions(+)

-- 
2.52.0
Re: [PATCH net-next v2 0/2] dsa: mxl-gsw1xx: Support R(G)MII slew rate configuration
Posted by Paolo Abeni 1 month, 3 weeks ago
On 12/16/25 1:16 PM, A. Sverdlin wrote:
> From: Alexander Sverdlin <alexander.sverdlin@siemens.com>
> 
> Maxlinear GSW1xx switches offer slew rate configuration bits for R(G)MII
> interface. The default state of the configuration bits is "normal", while
> "slow" can be used to reduce the radiated emissions. Add the support for
> the latter option into the driver as well as the new DT bindings.
> 
> Changelog:
> v2:
> - do not hijack gsw1xx_phylink_mac_select_pcs() for configuring the port,
>   introduce struct gswip_hw_info::port_setup callback
> - actively configure "normal" slew rate (if the new DT property is missing)
> - properly use regmap_set_bits() (v1 had reg and value mixed up)
> v1:
> - https://lore.kernel.org/all/20251212204557.2082890-1-alexander.sverdlin@siemens.com/

## Form letter - net-next-closed

The net-next tree is closed for new drivers, features, code refactoring
and optimizations due to the merge window and the winter break. We are
currently accepting bug fixes only.

Please repost when net-next reopens after Jan 2nd.

RFC patches sent for review only are obviously welcome at any time.