Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp995333pxb; Sun, 21 Feb 2021 07:37:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrus7vbEkR3Bh45bu/NcplF8JNLUffBAlf9npT5vVldB3+Q4pXcJ3j1tg2tTF+ghgdFoSF X-Received: by 2002:aa7:cb0d:: with SMTP id s13mr18228210edt.221.1613921875331; Sun, 21 Feb 2021 07:37:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613921875; cv=none; d=google.com; s=arc-20160816; b=CcxDyUfUdVK0MTlmk+/G0DDqXIZN8+AOew3dtb3CyGEhPQMAZJumuTLKeZCpGdHSrE MZ9f4u5hBgVEJPx5zET/SKDJhcqOC9mmXQAhnE/t0m2tyLH6TDMQHxcMxGcZgCRdX1l7 apXuCvHE3KcrOwF3l4k+AoSrMA+ztK9zAWnLoVAJeMumwS1+6WHDIkV6jckZ2oD1DPQV 8oXhi2FtfiQXDYBQs7rJORXeM6mUsfF1w3/5No2gFb6h1yS8ji3olrWYdrRB5UNTjiNp Yf1k5HmX8jwjlKdR+fBUDfAVlokaOENB/cImnt94VB9iQDGEaKHZ7N27K8PN+1aUzgVu HNPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=TfagOgmuT7ZsUir5cXfHGD0aeDi2irBLm09CyFx4hkE=; b=kEqM0JhWunCiHcpHwRNR/3Mre7bdG6pAQcYm6p+f6hRWZHGVmp5Ql7jfevU8ebNvvU GkTXO6a11Wq0XiU7zmr8jG+WWmqhi/ogCuPP2zJeMPWe7ZdjCr1RUhxmuYEktLm4Y5/K 5G2fD6JPkykoeDxJhs71S/puXQ4dJb5cmAB985/nVYX6jlni0dkLJRwLjx9mjTnLvByW H+hT8UTmf9Z7Bm1T66Ry8OTMtugOMwRiI46XHSkPC1rXHgS4sdJxY/DaUrKZajCZ1y1b IswxyN0nr+ZGQ2E8zL1Nv17ePp0WiHIYTZEdwOmS82k7lsOOzlY1QBmA0dUmEBsjNWp4 /Grg== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i9si8668255ejz.721.2021.02.21.07.37.32; Sun, 21 Feb 2021 07:37:55 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230131AbhBUPd1 (ORCPT + 99 others); Sun, 21 Feb 2021 10:33:27 -0500 Received: from mail-ed1-f50.google.com ([209.85.208.50]:46470 "EHLO mail-ed1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhBUPdT (ORCPT ); Sun, 21 Feb 2021 10:33:19 -0500 Received: by mail-ed1-f50.google.com with SMTP id v22so18705888edx.13; Sun, 21 Feb 2021 07:33:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TfagOgmuT7ZsUir5cXfHGD0aeDi2irBLm09CyFx4hkE=; b=JP5lSOfHAitm04+G+muqTFqIkowmL5/EYLYFVz3f8xTTVwCEEnrI3IW7yGkv2RW/mp mr2n2eToJDyd8X05sQxC67RkIqZ1rMFqTp6A4y1xCROcYZQsD2rNecCE8K9iBPY2Ln3T DZeIdj4e9JGHCrS34r0y/n17o2ntc5aGWnPyLtSUJ4joaif39rTUXwjLpk9nROVnoiYp dVj+coje/5iUwBA0FsbCwncpBqXxeJrLJ2yc+CQaZzv7ClU1ZG4skpfAlqZfrTw5oUYZ mcVs+hilv0XMZbExA8S09x8PVlZqSmxkiH60OxATr170f3A2b9UoyYexq0yDApI3Xx6r ZxZg== X-Gm-Message-State: AOAM5312+jBlOBJQ+omaY4N/k69JfSHq8jDOHpRNocxS7wCQiR87Y77Y ZtyH8vMD/ACVkzUNWvjbA6c= X-Received: by 2002:aa7:c80e:: with SMTP id a14mr5156078edt.295.1613921556480; Sun, 21 Feb 2021 07:32:36 -0800 (PST) Received: from kozik-lap (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.googlemail.com with ESMTPSA id s12sm9734668edu.28.2021.02.21.07.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Feb 2021 07:32:35 -0800 (PST) Date: Sun, 21 Feb 2021 16:32:34 +0100 From: Krzysztof Kozlowski To: Hector Martin Cc: linux-arm-kernel@lists.infradead.org, Marc Zyngier , Rob Herring , Arnd Bergmann , Olof Johansson , 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: Re: [PATCH v2 25/25] arm64: apple: Add initial Mac Mini 2020 (M1) devicetree Message-ID: <20210221153234.h4qx7cxxgiy5lsw3@kozik-lap> References: <20210215121713.57687-1-marcan@marcan.st> <20210215121713.57687-26-marcan@marcan.st> <20210215192906.7k3unuhph5wnkj5g@kozik-lap> <2e10f1e6-c86f-33ad-0c7b-4fefe4f28163@marcan.st> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <2e10f1e6-c86f-33ad-0c7b-4fefe4f28163@marcan.st> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 21, 2021 at 11:43:52PM +0900, Hector Martin wrote: > On 16/02/2021 04.29, Krzysztof Kozlowski wrote: > > On Mon, Feb 15, 2021 at 09:17:13PM +0900, Hector Martin wrote: > > > + memory@800000000 { > > > + device_type = "memory"; > > > + reg = <0 0 0 0>; /* To be filled by loader */ > > > > dtc and dtschema might complain, so could you set here fake memory > > address 0x800000000? Would that work for your bootloader? > > Yeah, the bootloader just replaces the entire property anyway. I'll fill in > some dummy values (the real usable memory range is to some extent dynamic > and depends on firmware). > > > > + }; > > > +}; > > > + > > > +&serial0 { > > > + status = "okay"; > > > +}; > > > diff --git a/arch/arm64/boot/dts/apple/apple-m1.dtsi b/arch/arm64/boot/dts/apple/apple-m1.dtsi > > > new file mode 100644 > > > index 000000000000..45c87771b057 > > > --- /dev/null > > > +++ b/arch/arm64/boot/dts/apple/apple-m1.dtsi > > > @@ -0,0 +1,124 @@ > > > +// SPDX-License-Identifier: GPL-2.0+ OR MIT > > > +/* > > > + * Copyright The Asahi Linux Contributors > > > + */ > > > + > > > +#include > > > +#include > > > + > > > +/ { > > > + compatible = "apple,m1", "apple,arm-platform"; > > > + > > > + #address-cells = <2>; > > > + #size-cells = <2>; > > > + > > > + cpus { > > > + #address-cells = <2>; > > > + #size-cells = <0>; > > > + > > > + cpu0: cpu@0 { > > > + compatible = "apple,icestorm"; > > > + device_type = "cpu"; > > > + reg = <0x0 0x0>; > > > + enable-method = "spin-table"; > > > + cpu-release-addr = <0 0>; /* To be filled by loader */ > > > + }; > > > > New line after every device node, please. > > Added newlines after all the CPU nodes. > > > With this minor changes, fine for me: > > Reviewed-by: Krzysztof Kozlowski > > Thanks! > > v3 will rename this file to apple/t8103.dtsi and the board file to > t8103-j274.dts to better match other platforms (and to use the proper SoC ID > for the M1); please let me know if you're okay keeping the Reviewed-by for > that. It's fine, keep my review tag. Best regards, Krzysztof