Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5369324rwr; Mon, 24 Apr 2023 03:09:16 -0700 (PDT) X-Google-Smtp-Source: AKy350afT4EumvH0Oe3IdaxncUrZNsL3vx/MEP/dXAtH8nTHDEP29NC7e/Bj2IJ1XWVwUttBsz4U X-Received: by 2002:a05:6a00:b51:b0:628:1b3:d499 with SMTP id p17-20020a056a000b5100b0062801b3d499mr17789655pfo.21.1682330956516; Mon, 24 Apr 2023 03:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682330956; cv=none; d=google.com; s=arc-20160816; b=mFt8Q5AYXLybRFUXiZKpgi9o87TE1w4p9T4Fj9fdq5Reg7949K80HY+Om8fTW3p60D PToqCc5ux0kIEUCg57uRYKUIljKoehiqrnjXpycfTgpl+aKAyiq3sAEjjDfyfVO7Zw3P CDT2J1EcPpt+ffBmDqY9KbDNfpJQV097utky+cL69RT7T3IVfRoG+Oe0bVMiKWypmC7I uXZI3ipBeUcaB+SrEAlWvxTkcpIhK7a+j0JW1nGvcIG2teSUdzFZ/PyU1XvA2eJOnuTU O9IrlrjkvQnVI8zL8o6MHdyXx+rwvL23+ahwKy+YCeQQ9F4yCZG0rPG4+9uQr4lkxFc5 jRxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=EZrViyOOQTlmyzkZxlxdSE/AYI5IQpXFuh8HBWtjtrU=; b=pQUQ9k12V4P8EFJ1ftnMgLYwTaQoFsrvRpIz1LDj6aLxKdV3UHC5Dn3mlUsmD2AZgF Fucj+c3WeI3l4cK1r8tJY67r4pWrO9lc5waKeu3S+ZdR3u5F8L08SIy1/mzy2ZDKThKu TL/+DQDCMsiF2S3bnpTxdwgQpIQRGns+OXm73xsqQyBM42hcH7Kvi3pCcN+Kj+Ao8Yv2 KtW9Rb8Ah32Kezf4nj/N0f1nS/fPT/Hk0v2+IqNcGbrlY+P+tX/Kd9u7g1l2GTwQD99e UIg9wMBe/NgsVMT43VDXM0auKLGLuTPWBrkLNPIw03w2SHm+cn5lhMgEmyD35ja5mmgL lv7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gUlACtRV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r29-20020aa7963d000000b0063f18073138si8809618pfg.99.2023.04.24.03.09.05; Mon, 24 Apr 2023 03:09:16 -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=@collabora.com header.s=mail header.b=gUlACtRV; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231640AbjDXJ7q (ORCPT + 99 others); Mon, 24 Apr 2023 05:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231539AbjDXJ7o (ORCPT ); Mon, 24 Apr 2023 05:59:44 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69A381FCC; Mon, 24 Apr 2023 02:59:39 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2] (unknown [IPv6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2E10F660324B; Mon, 24 Apr 2023 10:59:37 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1682330377; bh=d4/ywTBBYaIdjKCxRKNX5qZ5Mog0dm0wH5iUfUYbv2M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=gUlACtRVAMqeFR53ajNoYxRLdl3NeUNwell40eVgBz/jW8mDh4DyWz7/BiNlyPYXc 8E62BuLw3e+7K/zeVd5iAUXJNVbOHiVAXs7KfPpwCwfRRiXeExInvFrcnoEYcRvNmO UWs8m27DaQ3mVENoOWt73ozjNnWPeVAASIUekBbdIAQGHBlC2reRR1ejCuET+1xX+Y Qotg8gu7tryiUqifKtqcW9PGzTyAGKN5wWE3dH23KNEaK56YBFo4xzuajlTYPFL5cb 5r7o2EHmVfq+NGd5H0jO+Y2+CJC0YWA2PbBcdKCtTTrIqy0GY7svNrDiJW+Oien2Sm XeyXw7Z5J7RoQ== Message-ID: Date: Mon, 24 Apr 2023 11:59:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH 5/5] arm64: dts: mediatek: cherry-tomato-r1: Enable NVMe PCI-Express port Content-Language: en-US To: Chen-Yu Tsai 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 References: <20230420094433.42794-1-angelogioacchino.delregno@collabora.com> <20230420094433.42794-6-angelogioacchino.delregno@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 24/04/23 11:40, Chen-Yu Tsai ha scritto: > On Mon, Apr 24, 2023 at 4:13 PM AngeloGioacchino Del Regno > wrote: >> >> Il 21/04/23 09:59, Chen-Yu Tsai ha scritto: >>> On Thu, Apr 20, 2023 at 5:45 PM 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 under >>> 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. > Good! Thanks for the information. > 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 = "mt8195_r1019_5682"; >>>> }; >>>> >>>> +&pcie0 { >>>> + status = "okay"; >>>> + >>>> + pinctrl-names = "default"; >>>> + pinctrl-0 = <&pcie0_pins_default>; >>>> +}; >>>> + >>>> &ts_10 { >>>> status = "okay"; >>>> }; >>>> -- >>>> 2.40.0 >>>> >>>> >> -- AngeloGioacchino Del Regno Software Engineer Collabora Ltd. Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK Registered in England & Wales, no. 5513718