Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4436258ioa; Wed, 27 Apr 2022 03:59:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfgsBZGMp/5TfIlhwfd6nN9rQatxxib+wEWCa880a6O6upQe546IHiEWJPV/eqUjsC5U31 X-Received: by 2002:a17:90b:3e8a:b0:1d9:65f5:c141 with SMTP id rj10-20020a17090b3e8a00b001d965f5c141mr18293918pjb.108.1651057143021; Wed, 27 Apr 2022 03:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651057143; cv=none; d=google.com; s=arc-20160816; b=IJuNjLdeKTjfQNtGXJH8w4shb6moLwRK1XEpIAGBRfrCElCNgvLVa/C2vmgcsgG/5h vrm4RW4G0XvjAoWiWN90eLRsfqpXCwgApzUUEaiGsFEyg/C6KUU1/G9Zak/64qzOf9xS xb9TMIiWpnjzjoE34ABKZwPgLqODBMxeG9vhNOF8+2dMyJFNi3uKRfq8XAKA4htTbvRx kuwv4Tul6xvNLI3YgvX+efa196W/Lp7ceU4qt+q5rUBvgub/RNQeQkRYtAex04YNWDlJ jKsvoDki2dKOmDGJWeZnM0RaBeaKrDYfLu6ILS0DPbpI9t8R5myvXn1qsJ7poP8g9qEK E0eg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=TMxK2aQcel/+UWJA0z1eqdZBidlHy7JtAHyoQ82VNGI=; b=ol8p1ObDZJQEybPMI0fvYv+Jn8RX0ULuzO2xZR0i7Tuipx/mcWSPlX9s6lyhZqu4PZ QyO2UXlP9GOs1TigDXBh61C7T7YycmWDaZNhBUi33Zr2jgirSslK/N68NPtMOY46bnHr c//2qOW2ZCRZyYuSX0o6hx6Qc7bB1QxpLIMx/Pkb6V/tvMZ4RDMr9B3v7TXQzSIco2J7 uZgaVJbrBI4j6WCEA1WczPC5VisOgy8Jl/dXO9B1T4AnxqX+Q+AXROVjOC2c1qK5ciiN kV+JcYnfKkeZK/hkoKl7jjZ84gpAoaqf+zE7dm1UFjGAKW3b5SDr/SdzLs/pt8virlnF ZoOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ugr1frXB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id r186-20020a632bc3000000b003aa9114b132si1152115pgr.690.2022.04.27.03.59.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:59:03 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Ugr1frXB; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E9E72D2893; Wed, 27 Apr 2022 03:06:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359536AbiD0IrO (ORCPT + 99 others); Wed, 27 Apr 2022 04:47:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359533AbiD0IrM (ORCPT ); Wed, 27 Apr 2022 04:47:12 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1450D8BE0A for ; Wed, 27 Apr 2022 01:44:02 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id d12so2108603ybc.4 for ; Wed, 27 Apr 2022 01:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=TMxK2aQcel/+UWJA0z1eqdZBidlHy7JtAHyoQ82VNGI=; b=Ugr1frXBT+AtHa3GNev28FpadJLvReGBPfzm8W/ldKNimUPKPYRv6SxlKgA/ixqEUs 8kcGJvbfrxx8zY6z5QDbzjQk3WmTHJAWyxt6xped+9yFLnqMSg9UjFLBrb3bKF1KEGIN nskq7djOd/KIJozOciUMMmPPavwoXdIboUn9U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TMxK2aQcel/+UWJA0z1eqdZBidlHy7JtAHyoQ82VNGI=; b=X8eUGFzC2eWNNtv4kkUQFn2hnR4toXgvnKLUxrJmEBmmfo5kqzOuvl3sodhYeI8W7O 04MJ1+qTWvkb6H97I2mEJrnULWf5hSoj/4c3bBMe2trhyGMALxsQ+tL/lTJpL92nm1eS RbvBjBSVdW4/FN6cce2mUHtZdQFxEEGfcOUof+T2J29ZRfb4/wXQiA7OIiioBtq+e6IZ ufa23OcjmMWRYVpTbAjbAJzl5BRLtrgMlRZaRlnpyZ0z7GYANUTeEzHo/2c8Wez1cjuL riCCypGHmlUTzjmxIUrl5UXEfE5fvzLf03ujC/9R2ddqs4I6vl4zmj7AXJV4Qr6KW3rr 0LEg== X-Gm-Message-State: AOAM531WYRd9f07xsPxElxyGSnmp3mEUdXpsNrW1BBEuDKx5pqiooa6S 0Swq1GAjjE8CHzBFbuNFJhL4Xd/LQWnyQLymJ6nAIg== X-Received: by 2002:a5b:50b:0:b0:645:d576:7699 with SMTP id o11-20020a5b050b000000b00645d5767699mr22130922ybp.278.1651049041315; Wed, 27 Apr 2022 01:44:01 -0700 (PDT) MIME-Version: 1.0 References: <20220316151327.564214-1-nfraprado@collabora.com> <20220316151327.564214-2-nfraprado@collabora.com> In-Reply-To: <20220316151327.564214-2-nfraprado@collabora.com> From: Chen-Yu Tsai Date: Wed, 27 Apr 2022 16:43:50 +0800 Message-ID: Subject: Re: [PATCH v1 01/10] arm64: dts: mediatek: Introduce MT8192-based Asurada board family To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= Cc: Matthias Brugger , AngeloGioacchino Del Regno , kernel@collabora.com, Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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: linux-kernel@vger.kernel.org Hi, On Wed, Mar 16, 2022 at 11:17 PM N=C3=ADcolas F. R. A. Prado wrote: > > Introduce the MT8192 Asurada Chromebook platform, including the Asurada > Spherion and Asurada Hayato boards. > > This is enough configuration to get serial output working on Spherion > and Hayato. > > Signed-off-by: N=C3=ADcolas F. R. A. Prado > Reviewed-by: AngeloGioacchino Del Regno > > --- > > arch/arm64/boot/dts/mediatek/Makefile | 2 ++ > .../dts/mediatek/mt8192-asurada-hayato-r1.dts | 11 ++++++++ > .../mediatek/mt8192-asurada-spherion-r0.dts | 13 ++++++++++ > .../boot/dts/mediatek/mt8192-asurada.dtsi | 26 +++++++++++++++++++ > 4 files changed, 52 insertions(+) > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1= .dts > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-= r0.dts > create mode 100644 arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi > > diff --git a/arch/arm64/boot/dts/mediatek/Makefile b/arch/arm64/boot/dts/= mediatek/Makefile > index 8c1e18032f9f..034cba17276b 100644 > --- a/arch/arm64/boot/dts/mediatek/Makefile > +++ b/arch/arm64/boot/dts/mediatek/Makefile > @@ -37,5 +37,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-kukui-kodama-sk= u32.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-kukui-krane-sku0.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-kukui-krane-sku176.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8183-pumpkin.dtb > +dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8192-asurada-hayato-r1.dtb > +dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8192-asurada-spherion-r0.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8192-evb.dtb > dtb-$(CONFIG_ARCH_MEDIATEK) +=3D mt8516-pumpkin.dtb > diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts b/= arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts > new file mode 100644 > index 000000000000..e18e14b13d61 > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-hayato-r1.dts > @@ -0,0 +1,11 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright 2020 Google LLC > + */ > +/dts-v1/; > +#include "mt8192-asurada.dtsi" > + > +/ { > + model =3D "MediaTek Hayato rev1"; I think this should be "Google Hayato ...", and the one in spherion should read "Google Spherion" as well? These are project code names used in Google. Both devices use the common "Asurada" hardware design, also done by Google. > + compatible =3D "google,hayato-rev1", "google,hayato", "mediatek,m= t8192"; You should add a patch adding this to the DT binding doc Documentation/devicetree/bindings/arm/mediatek.yaml Same for Spherion. Regards ChenYu > +}; > diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts = b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts > new file mode 100644 > index 000000000000..b5372ce6bd95 > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada-spherion-r0.dts > @@ -0,0 +1,13 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright 2021 Google LLC > + */ > +/dts-v1/; > +#include "mt8192-asurada.dtsi" > + > +/ { > + model =3D "MediaTek Spherion (rev0 - 3)"; > + compatible =3D "google,spherion-rev3", "google,spherion-rev2", > + "google,spherion-rev1", "google,spherion-rev0", > + "google,spherion", "mediatek,mt8192"; > +}; > diff --git a/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi b/arch/arm6= 4/boot/dts/mediatek/mt8192-asurada.dtsi > new file mode 100644 > index 000000000000..277bd38943fe > --- /dev/null > +++ b/arch/arm64/boot/dts/mediatek/mt8192-asurada.dtsi > @@ -0,0 +1,26 @@ > +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > +/* > + * Copyright (C) 2020 MediaTek Inc. > + * Author: Seiya Wang > + */ > +/dts-v1/; > +#include "mt8192.dtsi" > + > +/ { > + aliases { > + serial0 =3D &uart0; > + }; > + > + chosen { > + stdout-path =3D "serial0:115200n8"; > + }; > + > + memory@40000000 { > + device_type =3D "memory"; > + reg =3D <0 0x40000000 0 0x80000000>; > + }; > +}; > + > +&uart0 { > + status =3D "okay"; > +}; > -- > 2.35.1 > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel