Power down serdes lanes and CMUs initially
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | phy: sparx5-serdes: add registers required for SD/CMU power downdrivers/ | +106 | 0 replies | |
| 2/7 | phy: sparx5-serdes: configure optimal quiet mode for serdes lanesdrivers/ | +31 | 0 replies | |
| 3/7 | phy: sparx5-serdes: reorder CMU functionsdrivers/ | +153 | 0 replies | |
| 4/7 | phy: sparx5-serdes: power down all CMUs by defaultdrivers/ | +51 | 0 replies | |
| 5/7 | phy: sparx5-serdes: power on CMUs individuallydrivers/ | +42 | 0 replies | |
| 6/7 | phy: sparx5-serdes: remove power up of all CMUsdrivers/ drivers/ | +0 | 0 replies | |
| 7/7 | phy: sparx5-serdes: add skip_cmu_cfg check when configuring lanesdrivers/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] Power down serdes lanes and CMUs initially
This patch series aims to lower the power consumption of the Sparx5 switch chip, by configuring optimal quiet mode for serdes lanes, as well as powering down unused CMUs (Clock Multiplier Unit). Before this series, serdes lane quiet mode were not optimally configured, and all the CMUs were powered on by default. This uses needless power.
Each serdes lane is provided a CMU clock, depending on the serdes mode and the serdes index. CMUs will now be powered on individually, when needed. The amount of power saved varies, depending on the port configuration. As a reference, this change saves about 1W on sparx5_pcb135 and 2W on sparx5_pcb134.
Patch #1: Adds the required registers.
Patch #2: Configures optimal quiet mode for all serdes lanes. Patch #3: Reorders CMU functions.
Patch #4: Configures CMUs to be powered down by default.
Patch #5: Adds the serdes mode and index to CMU index map, and configures the
individual CMU when the corresponding serdes lane is configured.
Patch #6: Removes the code that unconditionally powered on all CMUs Patch #7: Adds a check that serdesmode is not unset when a CMU is configured.
Daniel Machon (7):
phy: sparx5-serdes: add registers required for SD/CMU power down
phy: sparx5-serdes: configure optimal qiet mode for serdes lanes
phy: sparx5-serdes: reorder CMU functions
phy: sparx5-serdes: power down all CMUs by default
phy: sparx5-serdes: power on CMUs individually
phy: sparx5-serdes: remove power up of all CMUs
phy: sparx5-serdes: do not reconfigure serdes if serdesmode is unset
drivers/phy/microchip/sparx5_serdes.c | 426 +++++++++++++-------- drivers/phy/microchip/sparx5_serdes.h | 1 - drivers/phy/microchip/sparx5_serdes_regs.h | 106 +++++ 3 files changed, 370 insertions(+), 163 deletions(-)
--
2.34.1
Signature · 3 lines
linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy