From patchwork Mon Nov 22 22:58:03 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janne Grunau X-Patchwork-Id: 12693381 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 35C78C433F5 for ; Mon, 22 Nov 2021 23:05:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=v2DgC80rV9IB14LGWzaVkesJwcBMFoQYQBATFzSPJBY=; b=uq+P/GytuNpPj6 aOMeRsKr2zZUCAuxt7RMAWRDkw6TNB+9zmXJzrrH5lYrIlrXPjEvJYTGh20EpZ2Li6Poitjppnl/j bfN4YOkFqZaeLtSvupRu9jy3+yCgVh7mBfjXn4w5y8D5deSApjw/SjYFgybYf0e3I23Yk39RAELXR tAOdnVtRynQxbckn9OPTnjFLmJGQfH/ICmdivGnkvnkwfVc95zYpVWR81Wc6G/snwIzbGi9B0f3XU KeRMsIe58/seStVjDGOycg1GOmn05WKXO0ycIESbQSfa9dbcWUc6wvswuEZYfYbILTMgH1leUf3yE HmE04EK/HXFPGYysSu2g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpILN-000ILu-1m; Mon, 22 Nov 2021 23:03:25 +0000 Received: from soltyk.jannau.net ([144.76.91.90]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpIGH-000GmI-Fy for linux-arm-kernel@lists.infradead.org; Mon, 22 Nov 2021 22:58:11 +0000 Received: from coburn.home.jannau.net (p579ad520.dip0.t-ipconnect.de [87.154.213.32]) by soltyk.jannau.net (Postfix) with ESMTPSA id EEC96261B41; Mon, 22 Nov 2021 23:58:07 +0100 (CET) From: Janne Grunau To: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring Cc: Mark Kettenis , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/4] Add DTs for all Apple M1 (t8103) devices Date: Mon, 22 Nov 2021 23:58:03 +0100 Message-Id: <20211122225807.8105-1-j@jannau.net> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211122_145809_723533_0C73E316 X-CRM114-Status: GOOD ( 11.51 ) 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 Hej All, this series extends the device tree files and bindings to all current Apple M1 devices. Specifically it adds DTs for following devices: - MacBook Air (M1, 2020) - Macbook Pro (13-inch, M1, 2020) - iMac (24-inch, M1, 2021) It also adds i2c and cd321x devices nodes. Bindings and code changes for those were merged for 5.16 without adding devices to the device tree. Patches are include in a single series for dependencies Changes since v2: - split i2c and cd321x changes into 2 commit - add i2c4 used by MacBooc Pros (j293, 13-inch, M1, 2020) - add hpm2 and hpm3 for the additional USB-C ports on j456 iMac (24-inch, M1, 2021) models Series depends for functionality and dtbs verification on "[PATCH 0/3] Apple Arm patform device tree and bindings fixes". thanks, Janne The series is available as branch from: https://github.com/jannau/linux/tree/apple_m1/dt-for-5.17_v3 Janne Grunau (4): dt-bindings: arm: apple: Add iMac (24-inch 2021) to Apple bindings arm64: dts: apple: Add missing M1 (t8103) devices arm64: dts: apple: t8103: Add i2c nodes arm64: dts: apple: t8103: Add cd321x nodes .../devicetree/bindings/arm/apple.yaml | 6 +- arch/arm64/boot/dts/apple/Makefile | 4 + arch/arm64/boot/dts/apple/t8103-j274.dts | 33 +------ arch/arm64/boot/dts/apple/t8103-j293.dts | 41 +++++++++ arch/arm64/boot/dts/apple/t8103-j313.dts | 33 +++++++ arch/arm64/boot/dts/apple/t8103-j456.dts | 59 ++++++++++++ arch/arm64/boot/dts/apple/t8103-j457.dts | 47 ++++++++++ arch/arm64/boot/dts/apple/t8103-jxxx.dtsi | 67 ++++++++++++++ arch/arm64/boot/dts/apple/t8103.dtsi | 92 +++++++++++++++++++ 9 files changed, 352 insertions(+), 30 deletions(-) create mode 100644 arch/arm64/boot/dts/apple/t8103-j293.dts create mode 100644 arch/arm64/boot/dts/apple/t8103-j313.dts create mode 100644 arch/arm64/boot/dts/apple/t8103-j456.dts create mode 100644 arch/arm64/boot/dts/apple/t8103-j457.dts create mode 100644 arch/arm64/boot/dts/apple/t8103-jxxx.dtsi Tested-by: Hector Martin