[PATCH v3 0/3] Apple M1 power management controller support

Mark Kettenis kettenis at openbsd.org
Mon Jan 10 20:58:41 CET 2022


This series adds support for the power management controller found on
Apple SoCs based on the device tree bindings submitted to upstream
Linux.  This is needed to enable power domains for devices that
haven't been enabled by earlier boot stages.


ChangeLog:

v3: - Extend Kconfig description
    - Add comment on driver priv struct member
    - Update device trees

v2: - Drop unrelated changes from device tree update


Mark Kettenis (3):
  arm: dts: apple: Update Apple M1 device trees
  arm: dts: apple: Add u-boot,dm-pre-reloc properties
  power: domain: Add Apple pmgr driver

 arch/arm/Kconfig                    |    3 +
 arch/arm/dts/Makefile               |    5 +-
 arch/arm/dts/t8103-j274-u-boot.dtsi |    1 +
 arch/arm/dts/t8103-j274.dts         |  176 ++---
 arch/arm/dts/t8103-j293-u-boot.dtsi |    1 +
 arch/arm/dts/t8103-j293.dts         |  135 ++--
 arch/arm/dts/t8103-j313-u-boot.dtsi |    1 +
 arch/arm/dts/t8103-j313.dts         |  111 +++
 arch/arm/dts/t8103-j456-u-boot.dtsi |    1 +
 arch/arm/dts/t8103-j456.dts         |  117 +++
 arch/arm/dts/t8103-j457-u-boot.dtsi |    1 +
 arch/arm/dts/t8103-j457.dts         |  105 +++
 arch/arm/dts/t8103-jxxx.dtsi        |  143 ++++
 arch/arm/dts/t8103-pmgr.dtsi        | 1138 +++++++++++++++++++++++++++
 arch/arm/dts/t8103-u-boot.dtsi      |   25 +
 arch/arm/dts/t8103.dtsi             |  675 +++++++++-------
 drivers/power/domain/Kconfig        |    9 +
 drivers/power/domain/Makefile       |    1 +
 drivers/power/domain/apple-pmgr.c   |  113 +++
 19 files changed, 2340 insertions(+), 421 deletions(-)
 create mode 100644 arch/arm/dts/t8103-j274-u-boot.dtsi
 create mode 100644 arch/arm/dts/t8103-j293-u-boot.dtsi
 create mode 100644 arch/arm/dts/t8103-j313-u-boot.dtsi
 create mode 100644 arch/arm/dts/t8103-j313.dts
 create mode 100644 arch/arm/dts/t8103-j456-u-boot.dtsi
 create mode 100644 arch/arm/dts/t8103-j456.dts
 create mode 100644 arch/arm/dts/t8103-j457-u-boot.dtsi
 create mode 100644 arch/arm/dts/t8103-j457.dts
 create mode 100644 arch/arm/dts/t8103-jxxx.dtsi
 create mode 100644 arch/arm/dts/t8103-pmgr.dtsi
 create mode 100644 arch/arm/dts/t8103-u-boot.dtsi
 create mode 100644 drivers/power/domain/apple-pmgr.c

-- 
2.34.1



More information about the U-Boot mailing list