soc: mediatek: MT8365 power support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest8 patches 5 repliesIn review
- v78 patches 1 replySuperseded
- v68 patches 17 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 8 patches | 7 replies | Superseded | |
| v3 | 4 patches | 5 replies | Superseded | |
| v2 | 4 patches | 6 replies | Superseded |
Changes in v8 from the cover letter
- Rebased to v6.6-rc2
- Moved changes from drivers/soc to drivers/pmdomain
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | dt-bindings: power: Add MT8365 power domainsDocumentation/ include/ | +25 | 0 replies | |
| 2/8 | soc: mediatek: pm-domains: Move bools to a flags fielddrivers/ drivers/ | +14 | 0 replies | |
| 3/8 | soc: mediatek: pm-domains: Split bus_prot_maskdrivers/ drivers/ | +22 | 0 replies | |
| 4/8 | soc: mediatek: pm-domains: Create bus protection operation functionsdrivers/ | +39 | 0 replies | |
| 5/8 | soc: mediatek: pm-domains: Unify configuration for infracfg and smidrivers/ drivers/ drivers/ +7 more | +612 | 0 replies | |
| 6/8 | soc: mediatek: Add support for WAY_EN operationsdrivers/ drivers/ | +37 | 0 replies | |
| 7/8 | soc: mediatek: Add support for MTK_SCPD_STRICT_BUS_PROTECTION capdrivers/ drivers/ | +25 | 0 replies | |
| 8/8 | soc: mediatek: pm-domains: Add support for MT8365drivers/ drivers/ include/ | +243 | 0 replies |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Rob Herring | AngeloGioacchino Del Regno | Alexandre Mergnat |
|---|---|---|---|---|
| 1/8 | A-b | R-b | R-b | R-b T-b |
| 2/8 | R-b | R-b T-b | ||
| 3/8 | R-b | R-b T-b | ||
| 4/8 | R-b | R-b T-b | ||
| 5/8 | R-b | R-b T-b | ||
| 6/8 | R-b | R-b T-b | ||
| 7/8 | R-b | R-b T-b | ||
| 8/8 | R-b | R-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v8 0/8] soc: mediatek: MT8365 power support
Hi,
no real changes in this update. Rebase to v6.6-rc2 and according change of directory.
Thanks for any feedback!
Best,
Markus
Based on v6.6-rc2
Changes in v8:
- Rebased to v6.6-rc2
- Moved changes from drivers/soc to drivers/pmdomain
Changes in v7:
- Rebased to v6.5-rc1
- Fixed a couple of small style issues pointed out by Angelo
Changes in v6:
- Change flags field to be u8 instead of u32
- Use macro concatenation to simplify BUS_PROT macros:
BUS_PROT_WR(_hwip, ...) etc.
- Use the final bit values for scpsys_bus_prot_flags from the beginning of the series.
- Changed scpsys_domain_data->caps to be u16 to accommodate the new flag MTK_SCPD_STRICT_BUS_PROTECTION.
Changes in v5:
- Create defines for all registers and bits in mt8365 power domain patch
- Redesign scpsys_bus_prot_data to use flags to store reg_update, clr_ack as well as the difference between SMI and INFRACFG. The code uses the appropriate regmap depending on the flags.
- The WAY_EN patch now uses two flags, one for inverted operations 'BUS_PROT_INVERTED' and one to use infracfg-nao for the status flags 'BUS_PROT_STA_COMPONENT_INFRA_NAO'.
Changes in v4:
- Redesigned WAY_EN patch and split it up in smaller patches.
- Added two documentation patches.
- Added mediatek,infracfg-nao field to the binding.
Changes in v3:
- Mainly redesigned WAY_EN patch to be easier to understand
- Rebased onto v6.0-rc1
- Several other stuff that is described in the individual patches
Changes in v2:
- Updated error handling path for scpsys_power_on()
- Minor updates described in each patch
Previous versions:
v1 - https://lore.kernel.org/linux-mediatek/[email protected]/
v2 - https://lore.kernel.org/linux-mediatek/[email protected]/
v3 - https://lore.kernel.org/linux-mediatek/[email protected]/
v4 - https://lore.kernel.org/linux-arm-kernel/[email protected]/
v5 - https://lore.kernel.org/linux-arm-kernel/[email protected]/
v6 - https://lore.kernel.org/linux-arm-kernel/[email protected]/
v7 - https://lore.kernel.org/linux-arm-kernel/[email protected]
Alexandre Bailon (2):
soc: mediatek: Add support for WAY_EN operations
soc: mediatek: Add support for MTK_SCPD_STRICT_BUS_PROTECTION cap
Fabien Parent (2):
dt-bindings: power: Add MT8365 power domains
soc: mediatek: pm-domains: Add support for MT8365
Markus Schneider-Pargmann (4):
soc: mediatek: pm-domains: Move bools to a flags field
soc: mediatek: pm-domains: Split bus_prot_mask
soc: mediatek: pm-domains: Create bus protection operation functions
soc: mediatek: pm-domains: Unify configuration for infracfg and smi
.../power/mediatek,power-controller.yaml | 6 + drivers/pmdomain/mediatek/mt6795-pm-domains.h | 16 +- drivers/pmdomain/mediatek/mt8167-pm-domains.h | 20 +- drivers/pmdomain/mediatek/mt8173-pm-domains.h | 16 +- drivers/pmdomain/mediatek/mt8183-pm-domains.h | 125 ++++++---- drivers/pmdomain/mediatek/mt8186-pm-domains.h | 236 ++++++++++-------- drivers/pmdomain/mediatek/mt8188-pm-domains.h | 223 +++++++++++------ drivers/pmdomain/mediatek/mt8192-pm-domains.h | 112 ++++++--- drivers/pmdomain/mediatek/mt8195-pm-domains.h | 199 +++++++++------ drivers/pmdomain/mediatek/mt8365-pm-domains.h | 197 +++++++++++++++ drivers/pmdomain/mediatek/mtk-pm-domains.c | 157 ++++++++---- drivers/pmdomain/mediatek/mtk-pm-domains.h | 51 ++-- .../dt-bindings/power/mediatek,mt8365-power.h | 19 ++ include/linux/soc/mediatek/infracfg.h | 41 +++ 14 files changed, 972 insertions(+), 446 deletions(-) create mode 100644 drivers/pmdomain/mediatek/mt8365-pm-domains.h create mode 100644 include/dt-bindings/power/mediatek,mt8365-power.h
base-commit: ce9ecca0238b140b88f43859b211c9fdfd8e5b70
Signature · 1 line
2.40.1