From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B44C5C433DB for ; Fri, 5 Mar 2021 16:14:39 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4A25565004 for ; Fri, 5 Mar 2021 16:14:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4A25565004 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:To:Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jhyrmKOGDFA4L37StrMYrQz9GMT+AxUHbyzhpky6kGc=; b=Ux/gYK2ycoXGW8WZfKEq9b4TG oe0XiWN6l6kfyqPiUrvWmnPagFmKdyOJWOne17+FiDSaOitaw6gd9D+K/90sgR1EJs4+StSDztUa2 C3PCWusp4d1hWW9TvXtFMGMDE8IGqqb5dlyI41tRNhF62/RazSNUpP+OGniEL8BxkxFsTKWVAZIRu RvqX6bvBinz+nVyWl+zyXKYAWZ7jMqKNMzgRjRDrZ13NCEyf3ogL24EAlYJkfwNf5JaE96obLVXth c44WkmpTFdWscQr1jgzORMJKvIcxctXVQJ019E+Y58kXfwjfp2qH9ruX/hIQYsJzkdFKmdOWeF65b fdjIglzcg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lID4B-00FZvM-W8; Fri, 05 Mar 2021 16:12:40 +0000 Received: from fllv0015.ext.ti.com ([198.47.19.141]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lID46-00FZuB-3c for linux-arm-kernel@lists.infradead.org; Fri, 05 Mar 2021 16:12:36 +0000 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 125GCVLK111354; Fri, 5 Mar 2021 10:12:31 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1614960751; bh=pOppNCEoPstfDrrdFFuISm0AZlchJLIgzlwfWglHmro=; h=Subject:To:References:From:Date:In-Reply-To; b=CvH+Etqu6zObqGo6/wmIOxKl/T1Rcc+ykCh62KM/7nl8YEmgBWFJ2MLrmM26pYiz8 qu6ThRuiOvnz/4WOPuFtuDRqdO0Iy3IxTHEjS7vQJ2vXXfNee17DFXiW5OxuA4OZKM e5cBluxladvi6chx8T3IXkF3CpxSTEdJw1DIrSrs= Received: from DLEE102.ent.ti.com (dlee102.ent.ti.com [157.170.170.32]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 125GCV3l031684 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 5 Mar 2021 10:12:31 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Fri, 5 Mar 2021 10:12:31 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Fri, 5 Mar 2021 10:12:31 -0600 Received: from [10.250.234.120] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 125GCS07039586; Fri, 5 Mar 2021 10:12:29 -0600 Subject: Re: [PATCH v2 2/3] arm64: dts: ti: am654-base-board: Enable 8D-8D-8D mode on OSPI To: Pratyush Yadav , Nishanth Menon , Tero Kristo , Rob Herring , , , References: <20210305153926.3479-1-p.yadav@ti.com> <20210305153926.3479-3-p.yadav@ti.com> From: Vignesh Raghavendra Message-ID: Date: Fri, 5 Mar 2021 21:42:28 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210305153926.3479-3-p.yadav@ti.com> Content-Language: en-US X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_161234_729693_B66A1C9F X-CRM114-Status: GOOD ( 17.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 3/5/21 9:09 PM, Pratyush Yadav wrote: > Set the Tx bus width to 8 so 8D-8D-8D mode can be selected. Change the > frequency to 25 MHz. This is the frequency that the flash has been > successfully tested with in Octal DTR mode. The total performance should > still increase since 8D-8D-8D mode should be at least twice as fast as > 1S-1S-8S mode. > > Signed-off-by: Pratyush Yadav > --- > Reviewed-by: Vignesh Raghavendra > Notes: > No changes in v2. > > arch/arm64/boot/dts/ti/k3-am654-base-board.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts > index fe3043943906..9e87fb313a54 100644 > --- a/arch/arm64/boot/dts/ti/k3-am654-base-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-am654-base-board.dts > @@ -483,9 +483,9 @@ &ospi0 { > flash@0{ > compatible = "jedec,spi-nor"; > reg = <0x0>; > - spi-tx-bus-width = <1>; > + spi-tx-bus-width = <8>; > spi-rx-bus-width = <8>; > - spi-max-frequency = <40000000>; > + spi-max-frequency = <25000000>; > cdns,tshsl-ns = <60>; > cdns,tsd2d-ns = <60>; > cdns,tchsh-ns = <60>; > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel