mbox series

[v3,0/2] MediaTek MT6735 SCPSYS support

Message ID 20241017085136.68053-1-y.oudjana@protonmail.com
Headers show
Series MediaTek MT6735 SCPSYS support | expand

Message

Yassine Oudjana Oct. 17, 2024, 8:51 a.m. UTC
From: Yassine Oudjana <y.oudjana@protonmail.com>

These patches are part of a larger effort to support the MT6735 SoC family in
mainline Linux. More patches (unsent or sent and pending review or revision)
can be found here[1].

This series adds support for most SCPSYS power domains on MT6735. See patches
for details.

Changes since v2:
- Rename DT bindings header to mediatek,mt6735-power-controller.h
- Remove comment citing header from DT bindings
Changes since v1:
- Squash DT binding patches
- Dual-licence DT binding as GPL/BSD
- Switch to mtk-pm-domains driver
- Add MFG bus protection bit

[1] https://gitlab.com/mt6735-mainline/linux/-/commits/mt6735-staging

Yassine Oudjana (2):
  dt-bindings: power: Add binding for MediaTek MT6735 power controller
  soc: mediatek: pm-domains: Add support for MT6735

 .../power/mediatek,power-controller.yaml      |  1 +
 .../bindings/soc/mediatek/scpsys.txt          |  1 +
 drivers/pmdomain/mediatek/mt6735-pm-domains.h | 96 +++++++++++++++++++
 drivers/pmdomain/mediatek/mtk-pm-domains.c    |  5 +
 drivers/pmdomain/mediatek/mtk-pm-domains.h    |  2 +
 .../power/mediatek,mt6735-power-controller.h  | 14 +++
 include/linux/soc/mediatek/infracfg.h         |  5 +
 7 files changed, 124 insertions(+)
 create mode 100644 drivers/pmdomain/mediatek/mt6735-pm-domains.h
 create mode 100644 include/dt-bindings/power/mediatek,mt6735-power-controller.h

Comments

AngeloGioacchino Del Regno Oct. 17, 2024, 10:16 a.m. UTC | #1
Il 17/10/24 10:51, Yassine Oudjana ha scritto:
> From: Yassine Oudjana <y.oudjana@protonmail.com>
> 
> Add DT binding for MediaTek MT6735 SCPSYS power controller.
> 
> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>
> ---
>   .../bindings/power/mediatek,power-controller.yaml  |  1 +
>   .../devicetree/bindings/soc/mediatek/scpsys.txt    |  1 +
>   .../power/mediatek,mt6735-power-controller.h       | 14 ++++++++++++++
>   3 files changed, 16 insertions(+)
>   create mode 100644 include/dt-bindings/power/mediatek,mt6735-power-controller.h

Reviewed-by: AngeloGioacchino Del Regno <angelogiaocchino.delregno@collabora.com>
Krzysztof Kozlowski Oct. 18, 2024, 6:15 a.m. UTC | #2
On Thu, Oct 17, 2024 at 11:51:34AM +0300, Yassine Oudjana wrote:
> From: Yassine Oudjana <y.oudjana@protonmail.com>
> 
> Add DT binding for MediaTek MT6735 SCPSYS power controller.
> 
> Signed-off-by: Yassine Oudjana <y.oudjana@protonmail.com>

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof