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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89477C6379F for ; Mon, 13 Feb 2023 13:42:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbjBMNma (ORCPT ); Mon, 13 Feb 2023 08:42:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbjBMNm2 (ORCPT ); Mon, 13 Feb 2023 08:42:28 -0500 Received: from soltyk.jannau.net (soltyk.jannau.net [144.76.91.90]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AA371ADDF; Mon, 13 Feb 2023 05:42:27 -0800 (PST) Received: by soltyk.jannau.net (Postfix, from userid 1000) id EE68226F77F; Mon, 13 Feb 2023 14:42:25 +0100 (CET) Date: Mon, 13 Feb 2023 14:42:25 +0100 From: Janne Grunau To: Krzysztof Kozlowski Cc: Hector Martin , Sven Peter , Alyssa Rosenzweig , Rob Herring , Krzysztof Kozlowski , Mark Kettenis , asahi@lists.linux.dev, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 16/17] dt-bindings: arm: apple: Add t8112 j413/j473/j493 compatibles Message-ID: <20230213134225.GD17933@jannau.net> References: <20230202-asahi-t8112-dt-v1-0-cb5442d1c229@jannau.net> <20230202-asahi-t8112-dt-v1-16-cb5442d1c229@jannau.net> <101940e8-c149-dd81-4abc-2a1479c19a9f@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <101940e8-c149-dd81-4abc-2a1479c19a9f@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-02-13 12:15:55 +0100, Krzysztof Kozlowski wrote: > On 12/02/2023 16:41, Janne Grunau wrote: > > 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) > > > > 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) > > Aren't you now repeating exactly what is in the schema? Keep only one... yes but I think the duplication is OK. I consider the description for human consumption and the schema for computer consumption. The comments in the schema are aids to for editing the schema. This follows the existing pattern for M1 and M1 Pro/Max/Ultra based devices in this file. Janne