[1/1] arm64: dts: rockchip: increase spi-max-frequency of nor flash for roc-rk3399-pc
Message ID | 20221123094827.250657-2-abbaraju.manojsai@amarulasolutions.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2698608wrr; Wed, 23 Nov 2022 02:08:49 -0800 (PST) X-Google-Smtp-Source: AA0mqf5QXGLEGLhKHanOQ1/wzralpc5CnrLe+w75hDMYECLqCF5RM4ApGUHmUHeW5BKr+x9sjnfL X-Received: by 2002:a17:906:404:b0:781:f54c:1947 with SMTP id d4-20020a170906040400b00781f54c1947mr9923692eja.69.1669198129167; Wed, 23 Nov 2022 02:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669198129; cv=none; d=google.com; s=arc-20160816; b=XKJ1oQPD/D6E+m8a7tg8IF/Up4LqzR6CmYpvaxt2AdjuDEkPnUUtEImoNzpu8q44rV 9t+u9wlG/E9byFYQHtu11zIwriPLEAwzwf/0xROVN1m1a7LDIV7aY4pQHC9PRwnORj87 p0QO9DoKVOhRsLwc06rt5UoUdwxav9ikelpZCJtBNlpC2MpkNV8btBSDzeEM6b5d/4eS CIpArwwI/SUgM4Bv/T084XJDMXa4+AXMFl+4HDgrd2gMDyqem+0azOQAHyAfMS3JHqeB CR1a85oJ+WrYSSCdB1BJtXoOLowVYbAAr7UVz1eN7LLzdHvfewldhZRXfsmnRCR4mzOT 3aog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rWRmeeyqa9WI4jmwUmuk/cmr2MhYhWIGDdJ7im7Y/jM=; b=bbEtcjLYgsZ10Qxk6GCV1NoJifJC9bwXM2kdzphLO7X7fYiV/lEwLYAvNG2ozKtkRI KVIO/x+XOllryTNO5mUHQ9Ymu8US1CCKn9+YZyE/h+vRKWer485syJvV/JX+WQQ+9ps6 9nOM7G5Ff7zsdH+TJq/GBrgiMFKId5KuGlHICt1E99pTyeyF5LHW0EYgwroqIBJqumds M1SxQ4pjYTV6EECtbUyd46s5HdbTnCxeyYNT9UFxKTAmm7qftm7SWzwlvPxdsKg2VwyS KDZ8AiCzvnDjar3NlNVWRjA2UgtEQqMMKBKpdhk6uXnUbphBbBHSEcFsWDEFwfPhIGvI ankA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Zq3w/pCF"; 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=amarulasolutions.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xe8-20020a170907318800b0078d484e0e7esi14132129ejb.488.2022.11.23.02.08.23; Wed, 23 Nov 2022 02:08:49 -0800 (PST) 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=@amarulasolutions.com header.s=google header.b="Zq3w/pCF"; 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=amarulasolutions.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237179AbiKWJwi (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Wed, 23 Nov 2022 04:52:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236340AbiKWJvn (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 23 Nov 2022 04:51:43 -0500 Received: from mail-pj1-x1031.google.com (mail-pj1-x1031.google.com [IPv6:2607:f8b0:4864:20::1031]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 216F910579 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 01:48:51 -0800 (PST) Received: by mail-pj1-x1031.google.com with SMTP id 71-20020a17090a09cd00b00218adeb3549so1355123pjo.1 for <linux-kernel@vger.kernel.org>; Wed, 23 Nov 2022 01:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rWRmeeyqa9WI4jmwUmuk/cmr2MhYhWIGDdJ7im7Y/jM=; b=Zq3w/pCFVSkeds/S7tM/ej34T2gQ11JPDxqpR08a8+PiqvqKJhu6W3yFnR5/6+cXHD o+G3IcZU+KtRZhqQi15n1MIshQ/aAqFpm/FoI3M/iGWi0D3lp3u3fpZA1QGhLqaVryds gpLv6WGgF+PkoCX5FPGgJ9dHzg5q4J/wuHbqw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rWRmeeyqa9WI4jmwUmuk/cmr2MhYhWIGDdJ7im7Y/jM=; b=y0HPPfGdx/LfoQAgtiOYDJya+Z+iaHu2ixq35Qv0SwU0fvBX4zl8mI3Om2wKSHRI6P IbZv6jHtpVl3nGoF5Jaks2DkOBitdkYBIpytMbAHpe+rtViLc5IewqJqCQ/e01HRmgRr H//o8UapIrzqTxv75gLvHpa54yE4C9uMUPrlegw4fEZaZz28VorklZVPTYOAtbUb9lbr ZA4hS+a5SyssVN0/W+aEMLmGSftbshnZxzqBnOB4MJLUuV9ZdwOhamjG9qAGslZrFQJk AyncYRc8uWTVzpkG1OVWwGKiHakUiVFxdHhGBFi12WeaiXbdqLpyT0o/HOANmV8Ashzh Z7PA== X-Gm-Message-State: ANoB5plJRNWJCT0nPvOLGjJ//0WNBz50HwrH/impxOQ8213rw2gPdpR+ xdy5ptGMtGKxP1EgBW7Hv02VwQ== X-Received: by 2002:a17:90a:c7c8:b0:212:d9cf:5696 with SMTP id gf8-20020a17090ac7c800b00212d9cf5696mr30079385pjb.237.1669196930569; Wed, 23 Nov 2022 01:48:50 -0800 (PST) Received: from localhost.localdomain ([183.83.141.79]) by smtp.gmail.com with ESMTPSA id k16-20020a170902c41000b001869f2120a4sm6524670plk.94.2022.11.23.01.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 01:48:49 -0800 (PST) From: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> To: Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Heiko Stuebner <heiko@sntech.de> Cc: Robin Murphy <robin.murphy@arm.com>, Chris Morgan <macromorgan@hotmail.com>, Markus Reichl <m.reichl@fivetechno.de>, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-amarula@amarulasolutions.com, Da Xue <da.xue@libretech.co>, dsx724 <da@lessconfused.com>, Jagan Teki <jagan@amarulasolutions.com>, Suniel Mahesh <sunil@amarulasolutions.com>, Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Subject: [PATCH 1/1] arm64: dts: rockchip: increase spi-max-frequency of nor flash for roc-rk3399-pc Date: Wed, 23 Nov 2022 15:18:27 +0530 Message-Id: <20221123094827.250657-2-abbaraju.manojsai@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221123094827.250657-1-abbaraju.manojsai@amarulasolutions.com> References: <20221123094827.250657-1-abbaraju.manojsai@amarulasolutions.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750281097555726530?= X-GMAIL-MSGID: =?utf-8?q?1750281097555726530?= |
Series |
Increase spi-max-frequency of nor flash for roc-rk3399-pc
|
|
Commit Message
Manoj Sai
Nov. 23, 2022, 9:48 a.m. UTC
Increase the spi-max-frequency of nor flash from 10Mhz to 30Mhz,this improves the flash raw write speed by 0.9 MB/s to 1.6MB/s and the time taken to write is get reduced from 36 seconds to 20 seconds. Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> Signed-off-by: Da Xue <da.xue@libretech.co> Signed-off-by: dsx724 <da@lessconfused.com> --- arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Manoj, Am Mittwoch, 23. November 2022, 10:48:27 CET schrieb Manoj Sai: > Increase the spi-max-frequency of nor flash from 10Mhz to 30Mhz,this improves the > flash raw write speed by 0.9 MB/s to 1.6MB/s and the time taken to write is > get reduced from 36 seconds to 20 seconds. > > Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> > Signed-off-by: Da Xue <da.xue@libretech.co> > Signed-off-by: dsx724 <da@lessconfused.com> who are these other people? :-) I.e. it looks like you're the author of the patch, and so it should only have your Signed-off-by line. If Da Xue and dsx724 have tested / reviewed the change, they should respond individually to the posted patch with either a "Reviewed-by: ..." or "Tested-by: ..." line. Thanks Heiko > --- > arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > index 2f4b1b2e3ac7..8fd808a0df85 100644 > --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi > @@ -735,7 +735,7 @@ &spi1 { > flash@0 { > compatible = "jedec,spi-nor"; > reg = <0>; > - spi-max-frequency = <10000000>; > + spi-max-frequency = <30000000>; > }; > }; > >
On 23/11/2022 15:04, Heiko Stuebner wrote: > Hi Manoj, > > Am Mittwoch, 23. November 2022, 10:48:27 CET schrieb Manoj Sai: >> Increase the spi-max-frequency of nor flash from 10Mhz to 30Mhz,this improves the >> flash raw write speed by 0.9 MB/s to 1.6MB/s and the time taken to write is >> get reduced from 36 seconds to 20 seconds. >> >> Signed-off-by: Manoj Sai <abbaraju.manojsai@amarulasolutions.com> >> Signed-off-by: Da Xue <da.xue@libretech.co> >> Signed-off-by: dsx724 <da@lessconfused.com> > > who are these other people? :-) moreconfused.com :) Best regards, Krzysztof
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi index 2f4b1b2e3ac7..8fd808a0df85 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi @@ -735,7 +735,7 @@ &spi1 { flash@0 { compatible = "jedec,spi-nor"; reg = <0>; - spi-max-frequency = <10000000>; + spi-max-frequency = <30000000>; }; };