Skip to content

add support of SCPSYS power domain for MediaTek MT7622

[email protected] linux-arm-kernel linux-devicetree linux-mediatek linux-pm lkml 3 versions – Applied

Status from this message: Pushed to v4.13-next/soc with the Reviewed-by.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v23 patches 3 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- reduce code duplication of scpsys_probe across all SoCs

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4dt-bindings: soc: update the binding document for SCPSYS on MediaTek MT7622 SoCDocumentation/devicetree/bindings/soc/mediatek/scpsys.txt+3 -00 replies
2/4soc: mediatek: reduce code duplication of scpsys_probe across all SoCsdrivers/soc/mediatek/mtk-scpsys.c+79 -1030 replies
3/4soc: mediatek: add header files required for MT7622 SCPSYS dt-bindinginclude/dt-bindings/power/mt7622-power.h+22 -00 replies
4/4soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoCdrivers/soc/mediatek/mtk-scpsys.c include/linux/soc/mediatek/infracfg.h+78 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRob HerringUlf Hansson
SeriesR-b
1/4A-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] add support of SCPSYS power domain for MediaTek MT7622

From: Sean Wang <[email protected]>

Changes since v2:
- reduce code duplication of scpsys_probe across all SoCs

Changes since v1:
- rebase to Linux v4.13-rc1

There are four power domains on MediaTek MT7622 SoC which are respectively ETHSYS for Ethernet including extra embedded switch, HIF0SYS for PCI-E and SATA, HIF1SYS for USB and WBSYS for WIFI and Bluetooth.

Those functions could be selectively powered gated when the corresponding function is no longer to use in order to reach more minimal power dissipation through the patch series introduced here.

Chen Zhong (1):
soc: mediatek: add header files required for MT7622 SCPSYS dt-binding

Sean Wang (3):
dt-bindings: soc: update the binding document for SCPSYS on MediaTek

    MT7622 SoC

soc: mediatek: reduce code duplication of scpsys_probe across all SoCs
soc: mediatek: add SCPSYS power domain driver for MediaTek MT7622 SoC

 .../devicetree/bindings/soc/mediatek/scpsys.txt    |   3 +
 drivers/soc/mediatek/mtk-scpsys.c                  | 247 ++++++++++++---------
 include/dt-bindings/power/mt7622-power.h           |  22 ++
 include/linux/soc/mediatek/infracfg.h              |   7 +
 4 files changed, 179 insertions(+), 100 deletions(-)
 create mode 100644 include/dt-bindings/power/mt7622-power.h
Signature · 1 line
2.7.4