Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4896584pxb; Mon, 15 Feb 2021 04:21:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6jsx1VWyPR5PymTWaBddVjFFtKc1Wq8zJ2yenoxfz/VJ0GSQ3QEv2LE9ns+OOUg4qTpt1 X-Received: by 2002:a50:d714:: with SMTP id t20mr14823584edi.65.1613391667140; Mon, 15 Feb 2021 04:21:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613391667; cv=none; d=google.com; s=arc-20160816; b=cpthZXc6sYYgEqlOVV60rJYYGR1rOlIleShymwEiflBgMOt7j0iqhCzOY8ila0Y3Mq S0TMiAAtcn1CwK929kIYh/jp7E7bV6xLaeGUhJGm+K56adbWjxIuBC0bizipcHf7diri xm32F4Mz0VqfgffIgC5TM3oqFOyp96D8UOP6nDaVy+n2CZqtU02ISqzdinMDqHN6GuKH A5a1a3fzV29OTZqc+AbThch6zTXDAc7unvzjnWqfLhjRhTOyPDfJoXWy8oI9YgnSB0Tr OLFp+IrtiE1IMvCSlzGXdd/ErBumbHTUENQ0YZLZffQS+xGpjtm5T/Eiy9blPYg8fxOp HGlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=TfHL6Lfs+Deyyuq8/08WtqKD1oevyQ4ByFmggBwRkeo=; b=JUm0Tn6xp/Ifz7j9FQCy0VHqrlJg7KQqh/eiFIfFHE0VHJ/Cog8UokGlqFTTjoJY3v sUYjR4jnW+pT/i/Qefr8AHN19plDpn7KMcxgGc7O4+gKuzFckxJK6QtK6vbHjdP0LOh0 96XxC3dOu7uHCHB8FSyJ/aXCrVGoxiUi1y9/kxejtT4Wupm6ax0i07VSIuS0szdwgBjc MVpIvD6cMgEXfDGJmfhGyUbdPh4eOWwX9Frkl1A7KBcQyzbSRYF/Tu2lEWFooZ23AemK KutBodleApO04/1RPTE9QusbHBtJG8IYNXYFDTu4cL8rW/E9/B0o7PMPqSQde4iDqEHU 6T9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s22si6209740edr.344.2021.02.15.04.20.44; Mon, 15 Feb 2021 04:21:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=marcan.st Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbhBOMSh (ORCPT + 99 others); Mon, 15 Feb 2021 07:18:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbhBOMS3 (ORCPT ); Mon, 15 Feb 2021 07:18:29 -0500 Received: from mail.marcansoft.com (marcansoft.com [IPv6:2a01:298:fe:f::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DEC0C0613D6; Mon, 15 Feb 2021 04:17:49 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hector@marcansoft.com) by mail.marcansoft.com (Postfix) with ESMTPSA id 5899E4249A; Mon, 15 Feb 2021 12:17:43 +0000 (UTC) From: Hector Martin To: linux-arm-kernel@lists.infradead.org Cc: Hector Martin , Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , Krzysztof Kozlowski , Mark Kettenis , Tony Lindgren , Mohamed Mediouni , Stan Skowronek , Alexander Graf , Will Deacon , Linus Walleij , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 02/25] dt-bindings: arm: apple: Add bindings for Apple ARM platforms Date: Mon, 15 Feb 2021 21:16:50 +0900 Message-Id: <20210215121713.57687-3-marcan@marcan.st> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210215121713.57687-1-marcan@marcan.st> References: <20210215121713.57687-1-marcan@marcan.st> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This introduces bindings for all three 2020 Apple M1 devices: * apple,j274 - Mac mini (M1, 2020) * apple,j293 - MacBook Pro (13-inch, M1, 2020) * apple,j313 - MacBook Air (M1, 2020) Signed-off-by: Hector Martin --- .../devicetree/bindings/arm/apple.yaml | 36 +++++++++++++++++++ MAINTAINERS | 10 ++++++ 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/apple.yaml diff --git a/Documentation/devicetree/bindings/arm/apple.yaml b/Documentation/devicetree/bindings/arm/apple.yaml new file mode 100644 index 000000000000..e44d308d6bde --- /dev/null +++ b/Documentation/devicetree/bindings/arm/apple.yaml @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/apple.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Apple ARM Machine Device Tree Bindings + +maintainers: + - Hector Martin + +description: | + Apple ARM ("Apple Silicon") platforms should contain compatible strings + in the following format: + + - apple,j274 (board/device ID) + - apple,m1 (SoC name) + - apple,arm-platform (Apple Silicon) + +properties: + $nodename: + const: "/" + compatible: + oneOf: + - description: Apple M1 SoC based platforms + items: + - enum: + - apple,j274 # Mac mini (M1, 2020) + - apple,j293 # MacBook Pro (13-inch, M1, 2020) + - apple,j313 # MacBook Air (M1, 2020) + - const: apple,m1 + - const: apple,arm-platform + +additionalProperties: true + +... diff --git a/MAINTAINERS b/MAINTAINERS index d3e847f7f3dc..4eba6ab16bd9 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1625,6 +1625,16 @@ F: arch/arm/mach-alpine/ F: arch/arm64/boot/dts/amazon/ F: drivers/*/*alpine* +ARM/APPLE MACHINE SUPPORT +M: Hector Martin +L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) +S: Maintained +W: https://asahilinux.org +B: https://github.com/AsahiLinux/linux/issues +C: irc://chat.freenode.net/asahi-dev +T: git https://github.com/AsahiLinux/linux.git +F: Documentation/devicetree/bindings/arm/apple.yaml + ARM/ARTPEC MACHINE SUPPORT M: Jesper Nilsson M: Lars Persson -- 2.30.0