From patchwork Tue Feb 14 11:03:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742262 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJHf3qJJz23r4 for ; Tue, 14 Feb 2023 22:04:14 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231236AbjBNLEK (ORCPT ); Tue, 14 Feb 2023 06:04:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232156AbjBNLEG (ORCPT ); Tue, 14 Feb 2023 06:04:06 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1B84BB8B; Tue, 14 Feb 2023 03:04:02 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 3289726F78E; Tue, 14 Feb 2023 12:04:01 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:14 +0100 Subject: [PATCH v2 01/16] dt-bindings: power: apple,pmgr-pwrstate: Add t8112 compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-1-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1452; i=j@jannau.net; h=from:subject:message-id; bh=aXO+5GcVtbVFIlBDyMr869xJC0oOQ2XtOFarIv/qDhw=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfNyH6znOCfzMD7nZtOF81ONNgm/SWAzZAsPrV+UK PRI6dS9jlIWBjEOBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABPp+87IcP/6AY6vz/c9YneI tNMLsLdavOPW4r3MKz9MK7Pr/r+nT4aR4fGVXxE2N/dLqv+59l7qzN9DcZsvFAVIrJZn/s8cI/9 uAwMA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Hector Martin Add the apple,t8112-pmgr-pwrstate compatible for the Apple M2 SoC. This goes after t8103. The sort order logic here is having SoC numeric code families in release order, and SoCs within each family in release order: - t8xxx (Apple HxxP/G series, "phone"/"tablet" chips) - t8103 (Apple H13G/M1) - t8112 (Apple H14G/M2) - t6xxx (Apple HxxJ series, "desktop" chips) - t6000 (Apple H13J(S)/M1 Pro) - t6001 (Apple H13J(C)/M1 Max) - t6002 (Apple H13J(D)/M1 Ultra) Note that t600[0-2] share the t6000 compatible where the hardware is 100% compatible, which is usually the case in this highly related set of SoCs. Signed-off-by: Hector Martin Reviewed-by: Janne Grunau Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml b/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml index 94d369eb85de..59a6af735a21 100644 --- a/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml +++ b/Documentation/devicetree/bindings/power/apple,pmgr-pwrstate.yaml @@ -32,6 +32,7 @@ properties: items: - enum: - apple,t8103-pmgr-pwrstate + - apple,t8112-pmgr-pwrstate - apple,t6000-pmgr-pwrstate - const: apple,pmgr-pwrstate From patchwork Tue Feb 14 11:03:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742263 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJHh1tPcz23r4 for ; Tue, 14 Feb 2023 22:04:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232288AbjBNLEM (ORCPT ); Tue, 14 Feb 2023 06:04:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232374AbjBNLEH (ORCPT ); Tue, 14 Feb 2023 06:04:07 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EDA725BBE; Tue, 14 Feb 2023 03:04:03 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id ABA2426F78F; Tue, 14 Feb 2023 12:04:01 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:15 +0100 Subject: [PATCH v2 02/16] dt-bindings: arm: apple: apple,pmgr: Add t8112-pmgr compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-2-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=853; i=j@jannau.net; h=from:subject:message-id; bh=wHeht8pq0t5FEcVgQC5sfY8X8EgGkDKC3DolTYSHSlY=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfPUeTk6g9bON3E+Y6s2vezUkYCsc21GJoJKr586v XnffPFQRykLgxgHg6yYIkuS9ssOhtU1ijG1D8Jg5rAygQxh4OIUgIlM/snI8Mtpmd/FuS67X9yf /PjBz9+dJYmTfr//tvWc3Pa4G/xzZnMy/BVU2exw48ra0wu2sxdMfDN7SsIjw3DP19PTZ1TVm/q ZBrADAA== X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block on Apple M2 SoCs is compatible with the existing driver so just add its per-SoC compatible. Acked-by: Krzysztof Kozlowski Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml index 0dc957a56d35..673277a7a224 100644 --- a/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml +++ b/Documentation/devicetree/bindings/arm/apple/apple,pmgr.yaml @@ -23,6 +23,7 @@ properties: items: - enum: - apple,t8103-pmgr + - apple,t8112-pmgr - apple,t6000-pmgr - const: apple,pmgr - const: syscon From patchwork Tue Feb 14 11:03:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742264 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJHh3dLsz23y6 for ; Tue, 14 Feb 2023 22:04:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232106AbjBNLEM (ORCPT ); Tue, 14 Feb 2023 06:04:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232619AbjBNLEJ (ORCPT ); Tue, 14 Feb 2023 06:04:09 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA11424C87; Tue, 14 Feb 2023 03:04:03 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 2DA6F26F790; Tue, 14 Feb 2023 12:04:02 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:16 +0100 Subject: [PATCH v2 03/16] dt-bindings: watchdog: apple,wdt: Add t8112-wdt compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-3-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=752; i=j@jannau.net; h=from:subject:message-id; bh=vSv6DA+BL0n7++LdpkJwgvEC0Bm7PRygajVVF4IxqfI=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfMW39ebmXwvRnaJy7ZPP5LrylYzSKs+/NS2p1I2k rv+qP/hjlIWBjEOBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABNZz8jwV+76A9mnml6b5v5N P9y9cE/71Vdyqy7sVM22Z7E9FuJuwMHwh9fM076Ez18sf5axCLtASI67xvuT81Xk5lpz5PgE6gu wAAA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block on the Apple M2 SoC is compatible with the existing driver so add its per-SoC compatible. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/watchdog/apple,wdt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml index e58c56a6fdf6..3d7e2a2bf1f1 100644 --- a/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml +++ b/Documentation/devicetree/bindings/watchdog/apple,wdt.yaml @@ -17,6 +17,7 @@ properties: items: - enum: - apple,t8103-wdt + - apple,t8112-wdt - apple,t6000-wdt - const: apple,wdt From patchwork Tue Feb 14 11:03:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742265 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJHj23WVz23r4 for ; Tue, 14 Feb 2023 22:04:17 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231967AbjBNLEN (ORCPT ); Tue, 14 Feb 2023 06:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232035AbjBNLEK (ORCPT ); Tue, 14 Feb 2023 06:04:10 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0A26522789; Tue, 14 Feb 2023 03:04:04 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 9B83E26F791; Tue, 14 Feb 2023 12:04:02 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:17 +0100 Subject: [PATCH v2 04/16] dt-bindings: arm: cpus: Add apple,avalanche & blizzard compatibles MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-4-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=726; i=j@jannau.net; h=from:subject:message-id; bh=I8UNgXoM4aOJK60hhdw7e6XwgVQrkjD60ZrLrtDoOww=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfP9e/ibLC/VsOcvmXunp+Sl+0onq1SlzWkP7zsH3 hEyXBfZUcrCIMbBICumyJKk/bKDYXWNYkztgzCYOaxMIEMYuDgFYCKmUxn+hzqp+WzxvjFTxbjg fuSLtn8p0m03koSeH9DjfcSVedh7DyPDvW+u+/9+ztyt5qUpHGXxxGjm4YPmd7/pNNfdPD3xpN0 URgA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org These are the CPU cores in the Apple silicon M2 SoC. Acked-by: Krzysztof Kozlowski Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/arm/cpus.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/cpus.yaml b/Documentation/devicetree/bindings/arm/cpus.yaml index 01b5a9c689a2..ac79fbb1479d 100644 --- a/Documentation/devicetree/bindings/arm/cpus.yaml +++ b/Documentation/devicetree/bindings/arm/cpus.yaml @@ -85,6 +85,8 @@ properties: compatible: enum: + - apple,avalanche + - apple,blizzard - apple,icestorm - apple,firestorm - arm,arm710t From patchwork Tue Feb 14 11:03:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742266 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ06g4bz23r4 for ; Tue, 14 Feb 2023 22:04:32 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbjBNLE3 (ORCPT ); Tue, 14 Feb 2023 06:04:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232163AbjBNLE1 (ORCPT ); Tue, 14 Feb 2023 06:04:27 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CB3E222C6; Tue, 14 Feb 2023 03:04:07 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 0CEFB26F792; Tue, 14 Feb 2023 12:04:03 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:18 +0100 Subject: [PATCH v2 05/16] dt-bindings: interrupt-controller: apple,aic2: Add apple,t8112-aic compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-5-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Zyngier X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1882; i=j@jannau.net; h=from:subject:message-id; bh=wApG879qmGNAbNwX8mIgzfzLAGPs9zJLCZHMZaAxgWk=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfMdNIpVkp93nr/G8mEl4xMVm/cCPCs+3xWctP++5 vTAjLr4jlIWBjEOBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABPxvszI8OLrpNOPxBdcv93j sSfv2926x+lOLV5mu6LXzIwSUgqQ6GD472J9aZeCPvuLCTP3zc/kk53Z+vmiLK/yq0PP7NS/+6S 2MAIA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The Apple M2 SoC uses AICv2 and is compatible with the existing driver. Add its per-SoC compatible. Since multi-die versions of the M2 are not expected decrease '#interrupt-cells' to 3 for apple,t8112-aic. This is seamlessly handled inside the driver. Acked-by: Marc Zyngier Signed-off-by: Janne Grunau --- .../bindings/interrupt-controller/apple,aic2.yaml | 23 +++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml index 06948c0e36a5..a99e7ed7c750 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/apple,aic2.yaml @@ -31,19 +31,22 @@ description: | properties: compatible: items: - - const: apple,t6000-aic + - enum: + - apple,t8112-aic + - apple,t6000-aic - const: apple,aic2 interrupt-controller: true '#interrupt-cells': - const: 4 + minimum: 3 + maximum: 4 description: | The 1st cell contains the interrupt type: - 0: Hardware IRQ - 1: FIQ - The 2nd cell contains the die ID. + The 2nd cell contains the die ID (only present on apple,t6000-aic). The next cell contains the interrupt number. - HW IRQs: interrupt number @@ -110,6 +113,20 @@ additionalProperties: false allOf: - $ref: /schemas/interrupt-controller.yaml# +if: + properties: + compatible: + contains: + const: apple,t8112-aic +then: + properties: + '#interrupt-cells': + const: 3 +else: + properties: + '#interrupt-cells': + const: 4 + examples: - | soc { From patchwork Tue Feb 14 11:03:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742267 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ20B8Cz23r4 for ; Tue, 14 Feb 2023 22:04:34 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232827AbjBNLEa (ORCPT ); Tue, 14 Feb 2023 06:04:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232406AbjBNLE2 (ORCPT ); Tue, 14 Feb 2023 06:04:28 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4662D265B2; Tue, 14 Feb 2023 03:04:07 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 6550126F793; Tue, 14 Feb 2023 12:04:03 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:19 +0100 Subject: [PATCH v2 06/16] dt-bindings: iommu: apple,sart: Add apple,t8112-sart compatible string MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-6-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1028; i=j@jannau.net; h=from:subject:message-id; bh=Am2hpYfuFFOIDC8gMQnR51jsehRvPYk6LpgtY9k4U4A=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfMndfXlHLii9fVT+tlH5RNVEwWYVFlENn46+TBu6 2tWk6apHaUsDGIcDLJiiixJ2i87GFbXKMbUPgiDmcPKBDKEgYtTACYSxsvIcJN93ln3at8Ze52u PU3WMtiyJ+ZBceK5bt6VrPYsx4NtWBl+s8QUP+WO7d1X9nWqtUncVNfuIBX+Js3pasJyWV+ruNf wAwA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org "apple,t8112-sart" as found on the Apple M2 SoC appears to be SART3 as well. To allow for later discovered incompatibilities use '"apple,t8112-sart", "apple,t6000-sart"' as compatible string. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/iommu/apple,sart.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/iommu/apple,sart.yaml b/Documentation/devicetree/bindings/iommu/apple,sart.yaml index 1524fa3094ef..e87c1520fea6 100644 --- a/Documentation/devicetree/bindings/iommu/apple,sart.yaml +++ b/Documentation/devicetree/bindings/iommu/apple,sart.yaml @@ -28,9 +28,13 @@ description: properties: compatible: - enum: - - apple,t6000-sart - - apple,t8103-sart + oneOf: + - items: + - const: apple,t8112-sart + - const: apple,t6000-sart + - enum: + - apple,t6000-sart + - apple,t8103-sart reg: maxItems: 1 From patchwork Tue Feb 14 11:03:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742268 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ30jHXz23r4 for ; Tue, 14 Feb 2023 22:04:35 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232637AbjBNLEc (ORCPT ); Tue, 14 Feb 2023 06:04:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232035AbjBNLE2 (ORCPT ); Tue, 14 Feb 2023 06:04:28 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF34B25945; Tue, 14 Feb 2023 03:04:07 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id D428526F794; Tue, 14 Feb 2023 12:04:03 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:20 +0100 Subject: [PATCH v2 07/16] dt-bindings: mailbox: apple,mailbox: Add t8112 compatibles MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-7-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1049; i=j@jannau.net; h=from:subject:message-id; bh=/Ydb0OvT3qJpcDD47D2v6xuRWTuFc9FnhBetr3I9XKM=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfPvM9zrnZ9/uCjLx7PqiozwSv81d7N2HtnCdqK9p +HRpPnnOkpZGMQ4GGTFFFmStF92MKyuUYypfRAGM4eVCWQIAxenAFwkmeEXsytTwvMFAV9YJpnk Xu60USz8qVWwxTa8wEXfS/pC9DEFhv9+KdsbDmg4Ovy3Vn2/6bHqdbWzJlVz14rks651d7FkKmU AAA== X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The mailbox hardware remains unchanged on M2 SoCs so just add its per-SoC compatible. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml index 5c5c328b3134..4c0668e5f0bd 100644 --- a/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml +++ b/Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml @@ -29,6 +29,7 @@ properties: items: - enum: - apple,t8103-asc-mailbox + - apple,t8112-asc-mailbox - apple,t6000-asc-mailbox - const: apple,asc-mailbox-v4 @@ -39,6 +40,7 @@ properties: items: - enum: - apple,t8103-m3-mailbox + - apple,t8112-m3-mailbox - apple,t6000-m3-mailbox - const: apple,m3-mailbox-v2 From patchwork Tue Feb 14 11:03:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742269 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ36HRXz23r4 for ; Tue, 14 Feb 2023 22:04:35 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232753AbjBNLEc (ORCPT ); Tue, 14 Feb 2023 06:04:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232331AbjBNLE2 (ORCPT ); Tue, 14 Feb 2023 06:04:28 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0F7425B90; Tue, 14 Feb 2023 03:04:07 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 49F8126F797; Tue, 14 Feb 2023 12:04:04 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:21 +0100 Subject: [PATCH v2 08/16] dt-bindings: nvme: apple: Add apple,t8112-nvme-ans2 compatible string MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-8-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1206; i=j@jannau.net; h=from:subject:message-id; bh=BnVG0wAdil1oj+bMWBydPENm7hlDIX32bb1ZtcztMcw=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfMPsGiezXlzvHlysmjsqW0ZW2VtDa9HBryx5NxU/ Z7vUuK8jlIWBjEOBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABPpz2Vk6I7W++g9yS+1xUzz 0ZJy5ccFQofLZvLt4RCV/qx233V5PCPD7Pt1FgdbNnD+j9h7fv45//vsuno7g05NY3Td/1Popul qbgA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org "apple,t8112-nvme-ans2" as found on Apple M2 SoCs is compatible with the existing driver. Add its SoC specific compatible string to allow special handling if it'll be necessary. t8112 uses only 2 power-domains as no 4 and 8 TB configurations are offered. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml index 34dd1cc67124..fc6555724e18 100644 --- a/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml +++ b/Documentation/devicetree/bindings/nvme/apple,nvme-ans.yaml @@ -14,6 +14,7 @@ properties: items: - enum: - apple,t8103-nvme-ans2 + - apple,t8112-nvme-ans2 - apple,t6000-nvme-ans2 - const: apple,nvme-ans2 @@ -65,7 +66,9 @@ if: properties: compatible: contains: - const: apple,t8103-nvme-ans2 + enum: + - apple,t8103-nvme-ans2 + - apple,t8112-nvme-ans2 then: properties: power-domains: From patchwork Tue Feb 14 11:03:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742270 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ46032z23r4 for ; Tue, 14 Feb 2023 22:04:36 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232797AbjBNLEd (ORCPT ); Tue, 14 Feb 2023 06:04:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232810AbjBNLE3 (ORCPT ); Tue, 14 Feb 2023 06:04:29 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5DAB26854; Tue, 14 Feb 2023 03:04:08 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id B660626F79B; Tue, 14 Feb 2023 12:04:04 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:22 +0100 Subject: [PATCH v2 09/16] dt-bindings: pci: apple,pcie: Add t8112 support MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-9-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=764; i=j@jannau.net; h=from:subject:message-id; bh=L3pbsgF1lEr4fUMeys/W3LjQUTDDXrZfL6NORoLzYpo=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfOF/hXOet+b8OeqnXvQRY9HTJaz3N4eep574Xuv2 aoz0hF1HaUsDGIcDLJiiixJ2i87GFbXKMbUPgiDmcPKBDKEgYtTACbSlsbwV2zCvpjkUIUkxWZp hyWt5y5kR0kL3yzpL2ybZKCaoDipkOE3W8R65b83Ves9jvh/qpXbZ64gb3VaP8Y2aF5EwgrFi0s 5AA== X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block found in the Apple M2 SoC is compatible with the existing driver, and supports 4 downstream ports like the t6000 one. Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pci/apple,pcie.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pci/apple,pcie.yaml b/Documentation/devicetree/bindings/pci/apple,pcie.yaml index aa38680aaaca..215ff9a9c835 100644 --- a/Documentation/devicetree/bindings/pci/apple,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/apple,pcie.yaml @@ -33,6 +33,7 @@ properties: items: - enum: - apple,t8103-pcie + - apple,t8112-pcie - apple,t6000-pcie - const: apple,pcie From patchwork Tue Feb 14 11:03:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742271 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJ50nHBz23y6 for ; Tue, 14 Feb 2023 22:04:37 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232813AbjBNLEf (ORCPT ); Tue, 14 Feb 2023 06:04:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232814AbjBNLEa (ORCPT ); Tue, 14 Feb 2023 06:04:30 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F10D52685B; Tue, 14 Feb 2023 03:04:08 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 2F1EB26F79C; Tue, 14 Feb 2023 12:04:05 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:23 +0100 Subject: [PATCH v2 10/16] dt-bindings: pinctrl: apple,pinctrl: Add apple,t8112-pinctrl compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-10-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=821; i=j@jannau.net; h=from:subject:message-id; bh=jh6XjzB5WpgNn26BkBIm/HimbXvQgmtI1mfw0jO8dVw=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfOXZj3p6Kzwltb3LJn7ftrN+8+8Eu2XplQ4bRDUu 5uk/vlRRykLgxgHg6yYIkuS9ssOhtU1ijG1D8Jg5rAygQxh4OIUgImwODH8j9ssuOuQ/o9LFfkO y5l3VAc69/n7qfI61HyZOZvhyumjAowMu8PajudU/T9+61Drkik/75wuc9i/XuhsoyffnEpJ1f7 H7AA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This new SoC uses the same pinctrl hardware, so just add a new per-SoC compatible. Reviewed-by: Linus Walleij Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml index d3b11351ca45..684c03a6bd40 100644 --- a/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/apple,pinctrl.yaml @@ -19,6 +19,7 @@ properties: items: - enum: - apple,t8103-pinctrl + - apple,t8112-pinctrl - apple,t6000-pinctrl - const: apple,pinctrl From patchwork Tue Feb 14 11:03:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742272 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJN3jXBz23r4 for ; Tue, 14 Feb 2023 22:04:52 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232754AbjBNLEs (ORCPT ); Tue, 14 Feb 2023 06:04:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232767AbjBNLEb (ORCPT ); Tue, 14 Feb 2023 06:04:31 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F8DE25BBE; Tue, 14 Feb 2023 03:04:11 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 8973B26F79D; Tue, 14 Feb 2023 12:04:05 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:24 +0100 Subject: [PATCH v2 11/16] dt-bindings: i2c: apple,i2c: Add apple,t8112-i2c compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-11-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Wolfram Sang X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=780; i=j@jannau.net; h=from:subject:message-id; bh=neCnsMi9MaM1q2S1DTmcf76eFl2d0zIyg5Xr1VD1n38=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfNTnRbdkF6ba1Lev/vUo7kNFnbzX/11Kjvx0Xy69 0f5ZXvkOkpZGMQ4GGTFFFmStF92MKyuUYypfRAGM4eVCWQIAxenAEyEKYGRoe/vouV7DG8rNMu2 KShffOd9+uws9ouZEZb1/KbqZ6WPzWL4yXhz+gOWkwq1t7+9m62xraUqo3fj4Rq29GkOuxfkLZp 9ggEA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This block on the Apple M2 is compatible with the existing driver so just add the per-SoC compatible. Acked-by: Wolfram Sang # for I2C Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/apple,i2c.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml index 4ac61fec90e2..3f0e94189f2d 100644 --- a/Documentation/devicetree/bindings/i2c/apple,i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/apple,i2c.yaml @@ -23,6 +23,7 @@ properties: items: - enum: - apple,t8103-i2c + - apple,t8112-i2c - apple,t6000-i2c - const: apple,i2c From patchwork Tue Feb 14 11:03:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742273 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJv2ywxz23qt for ; Tue, 14 Feb 2023 22:05:19 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232882AbjBNLEv (ORCPT ); Tue, 14 Feb 2023 06:04:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232834AbjBNLEb (ORCPT ); Tue, 14 Feb 2023 06:04:31 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3024825B92; Tue, 14 Feb 2023 03:04:11 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id F2ED226F7A0; Tue, 14 Feb 2023 12:04:05 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:25 +0100 Subject: [PATCH v2 12/16] dt-bindings: clock: apple,nco: Add t8112-nco compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-12-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Martin_?= =?utf-8?q?Povi=C5=A1er?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=791; i=j@jannau.net; h=from:subject:message-id; bh=1hLQKr1TFa1AEZml9DhrRWIZKNnsrVis9H562BExj3c=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWfMzryVHm8a76vU9mfKnXnuSzFvFvQqCc9+u/Gj7a LpdzaPHHaUsDGIcDLJiiixJ2i87GFbXKMbUPgiDmcPKBDKEgYtTACay/THDP4v6Fz9nHqrk27Vg RxBHrnzPj4Uf55zyrzv359/GZUm66Q8ZGR6lxgkJLl2f7bf872XZ9yHcu1ds+e3D9S/RdqbtkVe n0lgA X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block found on Apple's M2 SoC is compatible with the existing driver so add its per-SoC compatible. Acked-by: Martin Povišer Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/clock/apple,nco.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/apple,nco.yaml b/Documentation/devicetree/bindings/clock/apple,nco.yaml index 74eab5c0d24a..8b8411dc42f6 100644 --- a/Documentation/devicetree/bindings/clock/apple,nco.yaml +++ b/Documentation/devicetree/bindings/clock/apple,nco.yaml @@ -23,6 +23,7 @@ properties: - enum: - apple,t6000-nco - apple,t8103-nco + - apple,t8112-nco - const: apple,nco clocks: From patchwork Tue Feb 14 11:03:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742274 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJx1jmgz23qt for ; Tue, 14 Feb 2023 22:05:21 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232842AbjBNLFT (ORCPT ); Tue, 14 Feb 2023 06:05:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232839AbjBNLEc (ORCPT ); Tue, 14 Feb 2023 06:04:32 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6EBA26CD8; Tue, 14 Feb 2023 03:04:11 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 563E726F7A2; Tue, 14 Feb 2023 12:04:06 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:26 +0100 Subject: [PATCH v2 13/16] dt-bindings: sound: apple,mca: Add t8112-mca compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-13-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Martin_?= =?utf-8?q?Povi=C5=A1er?= , Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=852; i=j@jannau.net; h=from:subject:message-id; bh=rV6CXtRRgp+5w6DI1HpO9PipUGv/TO/OETszmuRJx6o=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWQvinpXvebbq/KVp7cmR9S3b9okzcSr0MfBXP7Tyl qiue1LTUcrCIMbBICumyJKk/bKDYXWNYkztgzCYOaxMIEMYuDgFYCLz/Rn+2T/x6ehcHD+NtVVN d66K6J6Termv3b9fCH4Rybf90ZvWeYwMV/jib3/bURKVbmV1+Px3Le9P+rr/fCzONq5Lvsog5+z HCgA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block found on Apple's M2 SoC is compatible with the existing driver so add its per-SoC compatible. Acked-by: Martin Povišer Acked-by: Krzysztof Kozlowski Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/sound/apple,mca.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/apple,mca.yaml b/Documentation/devicetree/bindings/sound/apple,mca.yaml index 40e3a202f443..5c6ec08c7d24 100644 --- a/Documentation/devicetree/bindings/sound/apple,mca.yaml +++ b/Documentation/devicetree/bindings/sound/apple,mca.yaml @@ -23,6 +23,7 @@ properties: - enum: - apple,t6000-mca - apple,t8103-mca + - apple,t8112-mca - const: apple,mca reg: From patchwork Tue Feb 14 11:03:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742275 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJJy5D0Tz23qt for ; Tue, 14 Feb 2023 22:05:22 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232007AbjBNLFU (ORCPT ); Tue, 14 Feb 2023 06:05:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232836AbjBNLEb (ORCPT ); Tue, 14 Feb 2023 06:04:31 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B533B265BA; Tue, 14 Feb 2023 03:04:11 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id BEBC826F7A4; Tue, 14 Feb 2023 12:04:06 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:27 +0100 Subject: [PATCH v2 14/16] dt-bindings: dma: apple,admac: Add t8112-admac compatible MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-14-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , =?utf-8?q?Martin_Povi=C5=A1er?= X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=837; i=j@jannau.net; h=from:subject:message-id; bh=y7s2ozUsI9QotQJbKKV7ZboXk+SXWka9vaUhbuvUAQ4=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWQtMPRV6rOSWmPBelfQ/IJ1Yq8LOHxixpfF0Nesej f368zd0lLIwiHEwyIopsiRpv+xgWF2jGFP7IAxmDisTyBAGLk4BmEjLCYb/lYlP+NxrM+tPPHsQ e+GAnqbiueUTlUs9Ev7sXRin+WxXGcMfvqCQfSE8C0NWh6kFbLL87XP57ZLEY4+Cp7p0fzwb/su YAwA= X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The block found on Apple's M2 SoC is compatible with the existing driver so add its per-SoC compatible. Acked-by: Vinod Koul Acked-by: Martin Povišer Signed-off-by: Janne Grunau Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/dma/apple,admac.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/apple,admac.yaml b/Documentation/devicetree/bindings/dma/apple,admac.yaml index 97282469e4af..beb09f115f40 100644 --- a/Documentation/devicetree/bindings/dma/apple,admac.yaml +++ b/Documentation/devicetree/bindings/dma/apple,admac.yaml @@ -26,6 +26,7 @@ properties: - enum: - apple,t6000-admac - apple,t8103-admac + - apple,t8112-admac - const: apple,admac reg: From patchwork Tue Feb 14 11:03:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 1742276 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PGJKG38Wfz23qt for ; Tue, 14 Feb 2023 22:05:38 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232179AbjBNLFV (ORCPT ); Tue, 14 Feb 2023 06:05:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232902AbjBNLEw (ORCPT ); Tue, 14 Feb 2023 06:04:52 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4E44279A2; Tue, 14 Feb 2023 03:04:25 -0800 (PST) Received: from robin.home.jannau.net (p579ad32f.dip0.t-ipconnect.de [87.154.211.47]) by soltyk.jannau.net (Postfix) with ESMTPSA id 3FECF26F7A7; Tue, 14 Feb 2023 12:04:07 +0100 (CET) From: Janne Grunau Date: Tue, 14 Feb 2023 12:03:28 +0100 Subject: [PATCH v2 15/16] dt-bindings: arm: apple: Add t8112 j413/j473/j493 compatibles MIME-Version: 1.0 Message-Id: <20230202-asahi-t8112-dt-v2-15-22926a283d92@jannau.net> References: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> In-Reply-To: <20230202-asahi-t8112-dt-v2-0-22926a283d92@jannau.net> To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis Cc: asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.12.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1950; i=j@jannau.net; h=from:subject:message-id; bh=fGtnn563m9gj1SmkVQb3EsEjU3CjpYXUqOaNJO5jR0c=; b=owGbwMvMwCG2UNrmdq9+ahrjabUkhuTXWQvYvfVYjkV8WaU5s+9g369LYRHx6kdLKx6eWV3ue dXbfMrSjlIWBjEOBlkxRZYk7ZcdDKtrFGNqH4TBzGFlAhnCwMUpABNZtoCRYWnMXlkDMdGbJ4Ky 042Vw1by/S472WDeGH/+x13TPUlr3jP8MzuRcODS8tzJ4Sdd/ZSPfzxsciZPVOHtk/WzCrlqvm6 ezg4A X-Developer-Key: i=j@jannau.net; a=openpgp; fpr=8B336A6BE4E5695E89B8532B81E806F586338419 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds the following apple,t8112 platforms: - apple,j413 - MacBook Air (M2, 2022) - apple,j473 - Mac mini (M2, 2023) - apple,j493 - MacBook Pro (13-inch, M2, 2022) The sort order logic here is having SoC numeric code families in release order, and SoCs within each family in release order: - t8xxx (Apple HxxP/G series, "phone"/"tablet" chips) - t8103 (Apple H13G/M1) - t8112 (Apple H14G/M2) - t6xxx (Apple HxxJ series, "desktop" chips) - t6000 (Apple H13J(S)/M1 Pro) - t6001 (Apple H13J(C)/M1 Max) - t6002 (Apple H13J(D)/M1 Ultra) Acked-by: Krzysztof Kozlowski Signed-off-by: Janne Grunau --- Documentation/devicetree/bindings/arm/apple.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml index da78c69774f2..883fd67e3752 100644 --- a/Documentation/devicetree/bindings/arm/apple.yaml +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -19,6 +19,12 @@ description: | - MacBook Air (M1, 2020) - iMac (24-inch, M1, 2021) + Devices based on the "M2" SoC: + + - MacBook Air (M2, 2022) + - MacBook Pro (13-inch, M2, 2022) + - Mac mini (M2, 2023) + And devices based on the "M1 Pro", "M1 Max" and "M1 Ultra" SoCs: - MacBook Pro (14-inch, M1 Pro, 2021) @@ -70,6 +76,15 @@ properties: - const: apple,t8103 - const: apple,arm-platform + - description: Apple M2 SoC based platforms + items: + - enum: + - apple,j413 # MacBook Air (M2, 2022) + - apple,j473 # Mac mini (M2, 2023) + - apple,j493 # MacBook Pro (13-inch, M2, 2022) + - const: apple,t8112 + - const: apple,arm-platform + - description: Apple M1 Pro SoC based platforms items: - enum: