Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5346529rwr; Mon, 24 Apr 2023 02:44:04 -0700 (PDT) X-Google-Smtp-Source: AKy350YJ3z3X1fq8IeBUGKVvp5NRHyAdQ/5sSjCBoYHf0HNCW1uaVbQvHb9RSn5xubKfDGBD8rtR X-Received: by 2002:a05:6a20:1449:b0:d6:91f5:2b10 with SMTP id a9-20020a056a20144900b000d691f52b10mr15921419pzi.58.1682329444024; Mon, 24 Apr 2023 02:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682329444; cv=none; d=google.com; s=arc-20160816; b=m8drpNnZmopPyezQSX5Xg9Z1yAJx+Z+UzSGDS4LH0SuuXGbkqNi1gsrxQ+fUhBr524 szWDKwl97HI0mJ0VlitG4QuI9Jle+EwnmIatneLNDGWzJSJDi8TDMDSNiNHtiYuTckTt N1FIM6+dq8kwQBXx0dI68DZjF1DXCVN+8YZkVYuK/8zh6gEYq0AfgqXNrbkDGDgv7eOL AXQK7HxaqUVui9coYzpse7KyeyzmxMhDRntAw2IxYgH//fIZBZdzW1Z1r6DIMxGH4K97 HasqjjA5f6+xMvEEW+lGcvZ2IsWC3waTGuasBBDw6IGU4IcDgIYOt3n3WO63vFV2fnWV 6JuA== 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=EaXLftvxjCBeC906n/at9r2xXYG41ZOrYJY1BY3wajs=; b=JwdTV1Lkn7fPDHXOIjdc5G9reNd7wBOFzowewukr1dO1ziZqKMULcfBaGGNt8VVeu/ MzEHFlgD0BVTldov1r1P4gXLHUTVLWnkqptE1aeXTMOMEm/e1xhmpLq8KMVZKmldcuAl nQVpAXoVOAVL4vQjmYYtyGOugLljudjq0/woHSX60AqRl3nSAIbRBlguKNOnhN7CH/en 9G3l79WNOiXntpJdHyFl/RaNSswudig4kY7+sRU1hMzQXheZd3s0RnNn7oUFVhqD5F// Aq0oUvem7/ZiYBo191Ak9vbj55O/fI6mVASbHsEX/LV91xs95rVQWvu+fU4f4k6+MwQj 1B5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=N+qMDfTg; 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 q126-20020a634384000000b0050bc150235dsi10874967pga.104.2023.04.24.02.43.53; Mon, 24 Apr 2023 02:44:03 -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=N+qMDfTg; 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 S230427AbjDXJk3 (ORCPT + 99 others); Mon, 24 Apr 2023 05:40:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229658AbjDXJkY (ORCPT ); Mon, 24 Apr 2023 05:40:24 -0400 Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BB571FE0 for ; Mon, 24 Apr 2023 02:40:22 -0700 (PDT) Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-42c38a6daf3so2597353137.3 for ; Mon, 24 Apr 2023 02:40:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1682329221; x=1684921221; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=EaXLftvxjCBeC906n/at9r2xXYG41ZOrYJY1BY3wajs=; b=N+qMDfTgvmyDHwiwdSgAKqD/8b+FZZIt/1CN9rv43TUa/sFm80RtpPh1TR7QmdzQo4 /cjKZbr/HE89ruu0up/r+ccgBVet7v+8dafpPnnobAJH3x548T57//lSSc/UQQssAaXk NzSZbL0n1/slaXx5AXAF8O7UcwjIWvN2sRbF8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682329221; x=1684921221; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EaXLftvxjCBeC906n/at9r2xXYG41ZOrYJY1BY3wajs=; b=RyqhawPMZWQrI/67ndJ6Wx4bOL4YuCkPFJ0jLuYsGuaza4QcRBEhy1zYWonfhdAaWw N4jK6cSnyd3IzAs/YXPVNLemnWpkHrvs7I2xGRTuRFwyoELHvCs5sdI56RKuYWF8DAxB CSB9C2gUQoGRxm8BAu0vUqAG7at1q/jkRt2swgfKJnFCDyTrloJRNAuaMHAA8QRfdIqm Q2B6qtYv8xg59V7uuow3ODFxCzsjv9b6qZJR8iB4X/r9LQmvVAOU4qDUYus5wx3PeMBZ 8LtbAwYS+DiMRgaZ3MUHRIkDOnH7b5hUL5EYZCG1mW25BfeEUxtkIMCO8uMWSq3PsybF PWZw== X-Gm-Message-State: AAQBX9eiJ7nklYMTNw9jfKto+WrQM5H3TFOTFPKU1gLF9fULGgEm0d/I 9hXCaO/Y8L9EC7kvCo5tjILJIJ9YH1NEt6YuyBcgDA== X-Received: by 2002:a67:eb4d:0:b0:42c:9732:d17f with SMTP id x13-20020a67eb4d000000b0042c9732d17fmr5911119vso.1.1682329221452; Mon, 24 Apr 2023 02:40:21 -0700 (PDT) MIME-Version: 1.0 References: <20230420094433.42794-1-angelogioacchino.delregno@collabora.com> <20230420094433.42794-6-angelogioacchino.delregno@collabora.com> In-Reply-To: From: Chen-Yu Tsai Date: Mon, 24 Apr 2023 17:40:10 +0800 Message-ID: Subject: Re: [PATCH 5/5] arm64: dts: mediatek: cherry-tomato-r1: Enable NVMe PCI-Express port To: AngeloGioacchino Del Regno Cc: matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.3 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, Apr 24, 2023 at 4:13=E2=80=AFPM AngeloGioacchino Del Regno wrote: > > Il 21/04/23 09:59, Chen-Yu Tsai ha scritto: > > On Thu, Apr 20, 2023 at 5:45=E2=80=AFPM AngeloGioacchino Del Regno > > wrote: > >> > >> On Tomato rev1 the PCIe0 controller is used for NVMe storage. > > > > This was slightly confusing for me. AFAIK rev1 is not an actual Tomato > > device. It should be the prototype board, which is the original Cherry > > reference design by Google [1]. > > > > There is an actual Cherry derived device that has NVMe, though it's und= er > > another brand and another name. > > > > If revision 1 is not an actual Tomato device, and you can confirm that it= is > the prototype board... I can send a commit to entirely drop R1 as having = it > upstream would be of no use at all. From what I gathered from my colleagues, revision 1 was a Tomato prototype, and also the second Cherry prototype board. There shouldn't be any of these out in the wild. FTR, the production version of Tomato is revision 4. Rev 2 and rev 3 engineering samples are available to partners, but otherwise limited. ChenYu > Cheers, > Angelo > > > ChenYu > > > > [1] Much like Kukui & Jacuzzi (MT8183), and Asurada (MT8192) are the > > reference designs. I don't think we ever upstream the reference > > boards because they don't really end up in the hands of people > > outside of the project, and the ones we do have tend to be quite > > beaten up or no longer working due to extensive testing. > > > >> Signed-off-by: AngeloGioacchino Del Regno > >> --- > >> arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts | 7 +++++++ > >> 1 file changed, 7 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts = b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > >> index 2d5e8f371b6d..11fc83ddf236 100644 > >> --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > >> +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts > >> @@ -20,6 +20,13 @@ &sound { > >> model =3D "mt8195_r1019_5682"; > >> }; > >> > >> +&pcie0 { > >> + status =3D "okay"; > >> + > >> + pinctrl-names =3D "default"; > >> + pinctrl-0 =3D <&pcie0_pins_default>; > >> +}; > >> + > >> &ts_10 { > >> status =3D "okay"; > >> }; > >> -- > >> 2.40.0 > >> > >> >