Received: by 2002:ac0:de83:0:0:0:0:0 with SMTP id b3csp1427115imk; Mon, 4 Jul 2022 02:52:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tyrUr9F/exdGX+np7g+poSkqVY+K0WlVtTQ/41oWNrZz74HUtNwaT9juYrs1A3So856p2P X-Received: by 2002:a17:90a:6a86:b0:1ec:976f:8bd7 with SMTP id u6-20020a17090a6a8600b001ec976f8bd7mr33557577pjj.176.1656928370723; Mon, 04 Jul 2022 02:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656928370; cv=none; d=google.com; s=arc-20160816; b=xmUAopXFcqIVzqntCMtnc88cTOGDZh3w6hD/spcarewJ3thUO+2NhvVib7ZQDz6KoV pptoobQHxHnzlVmLbelwjwbXpjwgQeMHAQWKx4fzgD6Z7/Hhc91C4dyi0wKRdECepLEC 2dhOctl3lDMbwlzTLPA08lbzBXHqyjrEWXQOXkKhAFCltg5y8p7UwZrbLhmwKLa9rDoO klMGGaRLDFEbRdZH6Y4LA2uX4rRVz2KAq8yvI7oGsNfaat+OAc6LiEeJkWLNkkmRo/+c YX2bDPr3+MvAW0qBg/mjcK5Ue8yBTmrrDfxMlevDFjDIiuZAWHeCAU4hgfgac1X5G9nM g3Hw== 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=r/txlkwsSXqpHvse6mvjLzWXeKgq/3s2YGv3xUbY5Mw=; b=MDaUZ2SlXYWddggJGO2H3CB/h8m3PPpVFQ/rBuoUDRFjR0Se7PsSFiHDxMfF9w/Srx G7csOpvBccENu0+yWn4bvkbLPNgYKgGaGxlEkcHpxTZ4qzmoXnKd2lA+IV/RCayTTN4s hDNUm4W3bSmQwTcA8e/j4A2ZPIDlpwbdabcHS0+OjUpHA+xy9a2k2cTET3T7SPGkLm4L LNifvFNyp3DdPW37zRXkh4sTDZyRO9O4b5Vgf/pmqcSqq4pbGJ8juyFyq1suFAM0ou9C ZB6ypPMx115/Y3anIhOZjB0ZmXf3YKBMm8K6EsRhTPefJ8+FAj13W6IykIB7aCIjnPp2 C9SA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IZMtQane; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a630115000000b0040dea781c31si4319679pgb.319.2022.07.04.02.52.38; Mon, 04 Jul 2022 02:52:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IZMtQane; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233467AbiGDJFe (ORCPT + 99 others); Mon, 4 Jul 2022 05:05:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232995AbiGDJFc (ORCPT ); Mon, 4 Jul 2022 05:05:32 -0400 Received: from mail-yb1-xb30.google.com (mail-yb1-xb30.google.com [IPv6:2607:f8b0:4864:20::b30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E650264A for ; Mon, 4 Jul 2022 02:05:31 -0700 (PDT) Received: by mail-yb1-xb30.google.com with SMTP id e69so9170265ybh.2 for ; Mon, 04 Jul 2022 02:05:31 -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=r/txlkwsSXqpHvse6mvjLzWXeKgq/3s2YGv3xUbY5Mw=; b=IZMtQaneY5bkRCRn435yzjopTFrLGsnNAroUEZA60DC0wDcRkqcBfVDxlEqIAnCcnv MJ+3wG9bMVU7XIr1JE4rMRp8GxdmdHqRQssIXdAKWzib8AhqRQfMtd1Ev5UYgUXL60hU mbNGA3bwTtz5fkHWvaWYAA7QgoSNJDezpHkjE= 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=r/txlkwsSXqpHvse6mvjLzWXeKgq/3s2YGv3xUbY5Mw=; b=3DsU8Etx3cNATyct6aIXyPtu4fpDD8aD4GEhAYhyuL5KusavPqdOJdFxnO9GoFjRxB mkiQEUwwxGaG/0b+Yj82P8of202rJ0S0ACldZvmUdRQs3cH9kOCPIMQKKBspLJ95Zu3u mdPGRB2LMYSFei9+U3x3LFt1nRO/BL8XiJAYDtEFBGRWBhQLuYQ03y6VNfHalhXjYU+6 mkPjkqaj/W8wulojKruHUboPgbV97SiA/vlRZPvdD9bmnmve25YOL8/g/dbHggCXbgzZ 2bkJj5QU70IjlwQ8CAoX/FZbc7ECre2Qsz1A7EpkdPi4AVK97sgFxFMg8VeAq4sNpfhm RBZw== X-Gm-Message-State: AJIora9tWz8wNT/PEa6seJF0mGu7v5z57QPSmXKQe7KWp7EgHHmrtEkv HbH2y+/bP39cxlcRiTmuoC0Ody22mEWP3z3rL539WQ== X-Received: by 2002:a25:7801:0:b0:669:b51b:10d0 with SMTP id t1-20020a257801000000b00669b51b10d0mr30989188ybc.204.1656925530744; Mon, 04 Jul 2022 02:05:30 -0700 (PDT) MIME-Version: 1.0 References: <20220630153316.308767-1-angelogioacchino.delregno@collabora.com> <20220630153316.308767-3-angelogioacchino.delregno@collabora.com> <20220701221158.iuw5fehgkjrqw6zh@notapiano> <91e60954-d44d-f99f-2b4f-c164fb33cc0e@collabora.com> In-Reply-To: <91e60954-d44d-f99f-2b4f-c164fb33cc0e@collabora.com> From: Chen-Yu Tsai Date: Mon, 4 Jul 2022 17:05:19 +0800 Message-ID: Subject: Re: [PATCH 02/11] arm64: dts: mediatek: Introduce MT8195 Cherry platform's Tomato To: AngeloGioacchino Del Regno Cc: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, matthias.bgg@gmail.com, hsinyi@chromium.org, allen-kh.cheng@mediatek.com, gtk3@inbox.ru, luca@z3ntu.xyz, sam.shih@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Mon, Jul 4, 2022 at 4:59 PM AngeloGioacchino Del Regno wrote: > > Il 04/07/22 06:17, Chen-Yu Tsai ha scritto: > > On Sat, Jul 2, 2022 at 6:12 AM N=C3=ADcolas F. R. A. Prado > > wrote: > >> > >> On Thu, Jun 30, 2022 at 05:33:07PM +0200, AngeloGioacchino Del Regno w= rote: > >>> Introduce the MT8195 Cherry Chromebook platform, including three > >>> revisions of Cherry Tomato boards. > >>> > >>> This basic configuration allows to boot Linux on all board revisions > >>> and get a serial console from a ramdisk. > >>> > >>> Signed-off-by: AngeloGioacchino Del Regno > >>> --- > >>> arch/arm64/boot/dts/mediatek/Makefile | 3 +++ > >>> .../dts/mediatek/mt8195-cherry-tomato-r1.dts | 11 ++++++++ > >>> .../dts/mediatek/mt8195-cherry-tomato-r2.dts | 11 ++++++++ > >>> .../dts/mediatek/mt8195-cherry-tomato-r3.dts | 12 +++++++++ > >>> .../boot/dts/mediatek/mt8195-cherry.dtsi | 26 ++++++++++++++++= +++ > >>> 5 files changed, 63 insertions(+) > >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomat= o-r1.dts > >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomat= o-r2.dts > >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry-tomat= o-r3.dts > >>> create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi > >> [..] > >>> diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts= b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > >>> new file mode 100644 > >>> index 000000000000..17e9e4d6f6ab > >>> --- /dev/null > >>> +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > >>> @@ -0,0 +1,11 @@ > >>> +// SPDX-License-Identifier: (GPL-2.0 OR MIT) > >>> +/* > >>> + * Copyright (C) 2021 MediaTek Inc. > >>> + */ > >>> +/dts-v1/; > >>> +#include "mt8195-cherry.dtsi" > >>> + > >>> +/ { > >>> + model =3D "MediaTek Tomato (rev1) board"; > >> > >> Given that the compatible is "google," I believe we'll want to rename = the model > >> to "Google Tomato", much like was commented on the Asurada series [1],= but > >> better to have confirmation from someone from Google. Chen-Yu? :) > > > > I asked for clarification internally and it turns out we didn't get the > > Asurada series quite right either. > > > > Google only owns the reference design, that is Asurada for MT8192 and > > Cherry for MT8195. The vendor own the end product design that is based > > off of Google's reference design. > > > > So for Tomato, the vendor is Acer. Note that "Tomato" and the other > > codenames seen in ChromeOS are public codenames that Google uses. > > > > The compatible string will likely stay "google,XXX", since this is set > > in firmware, and updating it after the product has shipped poses both > > a significant hurdle and risk. > > > > Yeah, makes sense. Should we call this "Acer Tomato (revX) board" then? > ...if we do that, though, we need to know if the other revisions of Tomat= o > are also from Acer, or we would be getting one right and all the others w= rong. AFAIK each "device build" is its own project and gets its own codename, otherwise it would get real confusing for us internally really fast. ChenYu > Cheers, > Angelo > > > > > Regards > > ChenYu > > > >> Otherwise, > >> > >> Reviewed-by: N=C3=ADcolas F. R. A. Prado > >> > >> Thanks, > >> N=C3=ADcolas > >> > >> [1] https://lore.kernel.org/all/CAGXv+5Gv2pjPXynz6HCdgux+giPDC5qRk+KW1= aFduVz82rM=3D+g@mail.gmail.com/ > >> > >>> + compatible =3D "google,tomato-rev1", "google,tomato", "mediatek= ,mt8195"; > >>> +}; > >> [..] > >>> -- > >>> 2.35.1 > >>> >