From patchwork Sat Nov 2 01:08:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Chan X-Patchwork-Id: 13859866 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 566D2E6F09A for ; Sat, 2 Nov 2024 01:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=lMoIS/YJD9sh9c73w4cs+pas2HnFmm3Lw2P98QNL9Pk=; b=cfH/V36DGyDOhYHKLdQ5b0sD7k q2gYDXR4TQGhn1C43s7naX+DZoBCzf9mtZq96lV8G4/kCBvXg4O8EYEGwzSa5pz1acTj+zjwIR/1c ZKw7BQyz3WypppPlOTMSfIO4HF62pIG62JJDTZWZAcYKH82Ns16Lw/5sJIseVhYk/8lUWMIWdByfA UO+xloYIK9QV006y4DL+e9/QtuS85ZGOpYZxID+QdqmxpuIdreMJInTSmWX8MJjiU+idrqd4Epeiy ZN2RVnwzb49P6klT0yTsI73t53GuJfneAlwioJSZXO3EkVjJeiJXyvKkOuDJIm+BMqE+PvbPJ3Wy+ jPvdQDoA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t72gk-00000008ki0-3Z09; Sat, 02 Nov 2024 01:12:27 +0000 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t72ez-00000008juV-0E1e for linux-arm-kernel@lists.infradead.org; Sat, 02 Nov 2024 01:10:38 +0000 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-72041ff06a0so2188042b3a.2 for ; Fri, 01 Nov 2024 18:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730509836; x=1731114636; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lMoIS/YJD9sh9c73w4cs+pas2HnFmm3Lw2P98QNL9Pk=; b=bb87PNtkfAAmBVIPXCywrQFHchlQ2CYrZ3Uz/2kircfxrygcf0a/ywxJevXjOqZnzT J9YaNyKMntmZCzy2fxEeKsq7R1C3O2BDpgNHJR8tr262mWYmuQ3msAqHbvahN4Z9IyhM 4zGsBWjLDr6vk9FeTPRJ7XNYiH2bnARiCzuaelzUmQfpy3YHXl5hSDlaXENVr6QaveM2 tFvWyA4cukOSiRvlpHdTflv1vgvIt0vJ15wW1uYkuIEwpR9/Xl3E0JRP0uSnV2FdyaTs s435OEiRNP499Yb1vG7TNJA6Gbnn8I6GG1cF4eyFvtvEJGpYLyuiAyvMgkfZJS1tVp1l pVxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730509836; x=1731114636; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lMoIS/YJD9sh9c73w4cs+pas2HnFmm3Lw2P98QNL9Pk=; b=eN0wPpRc69oJsBq1qpV33Em/+Q32HaJlL6FLthRwD8CSH9EEh1mhDDBf6GDJ3EdVOm rxJ/GD/veM80sdFNSreVoBxa+/1QXDD+OHYdDH/wl2wnNSR7TmjgZLTYc+WGtoEXlctJ NyqlT7D9S4ddiGL5s041eSEAnYiPRXed+0C+L88pyBuRx/ChIYAmI2VZXkK5WMYse3mD qsoneFZKVPm/RYi5tCvXs680Bjo0/SYWIBqW4nGoK6lgof2O1gKca94BsEz30V/qPYYX RyWgzE/zN13xrFw/P2u24kJILwXRqmYdXdko353sOo8aLFA6HRGxV5vDMbZXUAaHPmnN 44lw== X-Forwarded-Encrypted: i=1; AJvYcCVG2sXFTW/3wFRB+2qLIXCDWi+q8DskfbF1d+so0B4VL5Fk6Wszt4svIqjZRCc8/fv6zMn1ZPZQkQQYzI4UNWzV@lists.infradead.org X-Gm-Message-State: AOJu0Yx36zdvpj2SgDJcYyNoMSEZ7EKHOmtU7liPsmLGz7qtmYTb7wPW PYTB6cy0Zej1Jdny6JERmiB5v3HeleEMG3r5lzLy/p9yHI4g4Agm4RidMw== X-Google-Smtp-Source: AGHT+IEpMR9EC8+eszT/o70QjUzgjmv2oXMMW1IPjKItDvh9v599rjOcDiZyLNgjd+IOFJOO/cBK0A== X-Received: by 2002:a05:6a00:1490:b0:71d:eb7d:20ed with SMTP id d2e1a72fcca58-720c98adb50mr8357982b3a.12.1730509835843; Fri, 01 Nov 2024 18:10:35 -0700 (PDT) Received: from localhost.localdomain ([49.130.42.137]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-720bc2c38adsm3287708b3a.133.2024.11.01.18.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 18:10:35 -0700 (PDT) From: Nick Chan To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Conor Dooley , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Nick Chan Subject: [PATCH v2 00/10] Add PMGR nodes for Apple A7-A11 SoCs Date: Sat, 2 Nov 2024 09:08:22 +0800 Message-ID: <20241102011004.59339-1-towinchenmi@gmail.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241101_181037_155098_74968586 X-CRM114-Status: GOOD ( 11.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds the PMGR nodes and all known power state subnodes for Apple A7-A11 SoCs, along with the associated dt-bindings. Changes since v1: - Removed "framebuffer0" dt aliases. It is not standard and not needed. Link to v1: https://lore.kernel.org/asahi/20241029010526.42052-1-towinchenmi@gmail.com --- Nick Chan (10): dt-bindings: arm: apple: apple,pmgr: Add A7-A11 compatibles dt-bindings: arm: apple: apple,pmgr-pwrstate: Add A7-A11 compatibles arm64: dts: apple: s5l8960x: Add PMGR node arm64: dts: apple: t7000: Add PMGR node arm64: dts: apple: t7001: Add PMGR node arm64: dts: apple: s8000: Add PMGR nodes arm64: dts: apple: s8001: Add PMGR nodes arm64: dts: apple: t8010: Add PMGR nodes arm64: dts: apple: t8011: Add PMGR nodes arm64: dts: apple: t8015: Add PMGR nodes .../bindings/arm/apple/apple,pmgr.yaml | 5 + .../bindings/power/apple,pmgr-pwrstate.yaml | 5 + arch/arm64/boot/dts/apple/s5l8960x-5s.dtsi | 4 + arch/arm64/boot/dts/apple/s5l8960x-air1.dtsi | 4 + arch/arm64/boot/dts/apple/s5l8960x-mini2.dtsi | 4 + arch/arm64/boot/dts/apple/s5l8960x-pmgr.dtsi | 610 ++++++++++++ arch/arm64/boot/dts/apple/s5l8960x.dtsi | 13 + arch/arm64/boot/dts/apple/s8000-pmgr.dtsi | 757 ++++++++++++++ arch/arm64/boot/dts/apple/s8000.dtsi | 22 + arch/arm64/boot/dts/apple/s8001-common.dtsi | 1 + .../arm64/boot/dts/apple/s8001-j98a-j99a.dtsi | 26 + arch/arm64/boot/dts/apple/s8001-j98a.dts | 1 + arch/arm64/boot/dts/apple/s8001-j99a.dts | 1 + arch/arm64/boot/dts/apple/s8001-pmgr.dtsi | 823 ++++++++++++++++ arch/arm64/boot/dts/apple/s8001.dtsi | 22 + arch/arm64/boot/dts/apple/s800x-6s.dtsi | 4 + arch/arm64/boot/dts/apple/s800x-ipad5.dtsi | 4 + arch/arm64/boot/dts/apple/s800x-se.dtsi | 4 + arch/arm64/boot/dts/apple/t7000-6.dtsi | 4 + arch/arm64/boot/dts/apple/t7000-j42d.dts | 1 + arch/arm64/boot/dts/apple/t7000-mini4.dtsi | 4 + arch/arm64/boot/dts/apple/t7000-n102.dts | 4 + arch/arm64/boot/dts/apple/t7000-pmgr.dtsi | 641 ++++++++++++ arch/arm64/boot/dts/apple/t7000.dtsi | 14 + arch/arm64/boot/dts/apple/t7001-air2.dtsi | 1 + arch/arm64/boot/dts/apple/t7001-pmgr.dtsi | 650 ++++++++++++ arch/arm64/boot/dts/apple/t7001.dtsi | 13 + arch/arm64/boot/dts/apple/t8010-7.dtsi | 4 + arch/arm64/boot/dts/apple/t8010-ipad6.dtsi | 4 + arch/arm64/boot/dts/apple/t8010-n112.dts | 4 + arch/arm64/boot/dts/apple/t8010-pmgr.dtsi | 772 +++++++++++++++ arch/arm64/boot/dts/apple/t8010.dtsi | 22 + arch/arm64/boot/dts/apple/t8011-common.dtsi | 1 + arch/arm64/boot/dts/apple/t8011-pmgr.dtsi | 807 +++++++++++++++ arch/arm64/boot/dts/apple/t8011-pro2.dtsi | 8 + arch/arm64/boot/dts/apple/t8011.dtsi | 22 + arch/arm64/boot/dts/apple/t8015-common.dtsi | 1 + arch/arm64/boot/dts/apple/t8015-pmgr.dtsi | 931 ++++++++++++++++++ arch/arm64/boot/dts/apple/t8015.dtsi | 21 + 39 files changed, 6239 insertions(+) create mode 100644 arch/arm64/boot/dts/apple/s5l8960x-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8000-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-j98a-j99a.dtsi create mode 100644 arch/arm64/boot/dts/apple/s8001-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7000-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t7001-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8010-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8011-pmgr.dtsi create mode 100644 arch/arm64/boot/dts/apple/t8015-pmgr.dtsi base-commit: 5c9de6f45db36b8a74c12e448cf9db87c97bf1e5