From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 21A89C433EF for ; Mon, 6 Dec 2021 19:03:26 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5CA7B83080; Mon, 6 Dec 2021 20:03:23 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 138CD8307C; Mon, 6 Dec 2021 20:03:21 +0100 (CET) Received: from lb1-smtp-cloud7.xs4all.net (lb1-smtp-cloud7.xs4all.net [194.109.24.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E29BA8169D for ; Mon, 6 Dec 2021 20:03:17 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=openbsd.org Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=kettenis@openbsd.org Received: from cust-df1d398c ([IPv6:fc0c:c1f5:9ac0:c45f:1583:5c5b:91fa:2436]) by smtp-cloud7.xs4all.net with ESMTPA id uJGdmTIjagFRtuJGfmHOkE; Mon, 06 Dec 2021 20:03:17 +0100 From: Mark Kettenis To: u-boot@lists.denx.de Cc: sjg@chromium.org, jh80.chung@samsung.com, Mark Kettenis Subject: [PATCH 0/3] Apple M1 power management controller support Date: Mon, 6 Dec 2021 20:03:02 +0100 Message-Id: <20211206190305.8107-1-kettenis@openbsd.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfE2mfnNI2zbXHWkZ2KM3qeOP4+3PEJ8bBsCblJYIjwABkEi9giFx8Mn40dHiwN7uklBjrx3w3AjFThieWG161y5Dp8Rao/9W1XZEyhHVIgDEUIXLT8wW 788JfQNDZiCxT99nyfEYdtfhzA7qq059T+NWNNVWCdXhSqEZrZRl5PxjkdULvjMqfETj0K23eOb//wzPGbpy+LouI1ZE0LjepoKCGxgjM0OEqPqdzcuDWNVV P0WP7SCIe6ZrG13xaDApFmo4S2LuZT3W4tb+FqV4S4pLb9fiyS4cYvq4Cg/iESEO X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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. 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 | 4 + arch/arm/dts/Makefile | 5 +- arch/arm/dts/t8103-j274-u-boot.dtsi | 1 + arch/arm/dts/t8103-j274.dts | 122 +-- arch/arm/dts/t8103-j293-u-boot.dtsi | 1 + arch/arm/dts/t8103-j293.dts | 92 +-- arch/arm/dts/t8103-j313-u-boot.dtsi | 1 + arch/arm/dts/t8103-j313.dts | 57 ++ arch/arm/dts/t8103-j456-u-boot.dtsi | 1 + arch/arm/dts/t8103-j456.dts | 71 ++ arch/arm/dts/t8103-j457-u-boot.dtsi | 1 + arch/arm/dts/t8103-j457.dts | 59 ++ arch/arm/dts/t8103-jxxx.dtsi | 140 ++++ arch/arm/dts/t8103-pmgr.dtsi | 1136 +++++++++++++++++++++++++++ arch/arm/dts/t8103-u-boot.dtsi | 25 + arch/arm/dts/t8103.dtsi | 585 +++++++------- drivers/mailbox/Kconfig | 9 + drivers/mailbox/Makefile | 1 + drivers/power/domain/Kconfig | 8 + drivers/power/domain/Makefile | 1 + drivers/power/domain/apple-pmgr.c | 113 +++ 21 files changed, 2005 insertions(+), 428 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