From patchwork Fri Mar 1 17:54:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Leonidas P. Papadakos" X-Patchwork-Id: 10835789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F40851515 for ; Fri, 1 Mar 2019 17:55:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E12832FEA6 for ; Fri, 1 Mar 2019 17:55:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D50E72FFDC; Fri, 1 Mar 2019 17:55:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 62EA52FEA6 for ; Fri, 1 Mar 2019 17:55:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=f/9ozt2SRSY1DCiCkBX7AvdL4TfyC0WhBeiQphL4n2c=; b=e++PNvmdZ8Va6h 11VcR3gr9ALkIvqgMl4Nb5o+xqi6KvwFUG6Ldp4kPKcX1B8pd+JGQkTJ0xP6uGhjdcGDf1vLV95kZ N9HDg4Saov4OeMAw4vbZa/BxW5aGiYkNFtYJQ0KrOyx9q7MgTiR8rr8sPEjhm5DOqTUEetXh9B2GL zvT1BPJz6ntmRK7hp3SRn534lU1lx8gzPwNcQPQlf6NNh3cu3qZ0G84kHgpIZo47xx+y0lw80n0+x JFsCbNH0eGDgPcuUQINXoC87HZ0Izj7mmi37lm23sTUUQ36QAYzk7dfvKD6mx7dNIHAGmYjo4daUd /vL4xGeJ682CfNLxoZTA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzmO2-0004Nq-Hp; Fri, 01 Mar 2019 17:55:54 +0000 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzmNz-0004M5-T9 for linux-rockchip@lists.infradead.org; Fri, 01 Mar 2019 17:55:53 +0000 Received: by mail-wr1-x443.google.com with SMTP id l5so26819497wrw.6 for ; Fri, 01 Mar 2019 09:55:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TUmczrGEInk4yHf9R3gqQ2DyHd9y3z4k4kzUsUYWq4M=; b=NcStnftMSaOniwk6QPgQs4Q/INr/yMylRLiODENP21qGK7WClb0hQII+PrpIzUxe5m 43Z1FUkxsZljkSK0xd0nIWh48AIpzeDLyVs2/a58rZTM5F6P41zWKDimdX8RoxR6Xxnz F/c7mhYsERqOjCnC2ME1400bBFmHlXedB/2FHcqTImKaYG4bnQk7/y5XsTORUwJpVNvQ DS51FPt4+ripRjOls7QrVjM5zZ31usjO/O0khOs3WtvHZpoWBRMmO61ankv6+5nZFYhU G5hTc4le87rmtv3vv+89MbUbzAExcl1nQc3NNW3RQZgfypEf69oMmpgfvphQPK3b+5UK rsWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=TUmczrGEInk4yHf9R3gqQ2DyHd9y3z4k4kzUsUYWq4M=; b=EKxtFB2NsEq+wClCsk8BLrXO00wM06Zn5WCote8BWxTC61+9MRKz4oHhKUF/FsNBo3 euYdgN9AoTYnyJwNX1GqAHAle4TsI8E3ZwVHxvOHoLriXs/8WwbitLed007eev+vyAVa RCJJGSKCZWwWPtbIUHH9nDHgJkeIv+jggOEistotE762ar2S+7Kyv2VJnfmdikiuuaMm O9TKCqqPZ6+mmEe5E8SmOxc4XAXKoZ2lyZq53pgBnsVBJ29/KvHjVxw2pJm5ebhlOaAN w/ZjtSClB6cW2/PhLJdGdiOcjiX5AXV8JIWItmuX6Eo77qWGf/vKqTyGCo60uXnvy+5a DBYQ== X-Gm-Message-State: APjAAAX5/ic6fZkW7Xp5EajjzJ1JRdlD1/8x+/AJekk1zFlhhXUzElEu Cs51JhVcfdovB4Lb40CtTWk= X-Google-Smtp-Source: APXvYqyH5wofVF+dO7QB/TVI8UXREXSuT4R41EFCS2q8OxAkTtUJjSi8kQqzDMoKzssKH289dIj6og== X-Received: by 2002:a5d:4711:: with SMTP id y17mr4528199wrq.141.1551462949897; Fri, 01 Mar 2019 09:55:49 -0800 (PST) Received: from localhost.localdomain ([2a02:85f:151f:4500:d172:d04f:e02b:d4b9]) by smtp.gmail.com with ESMTPSA id q78sm5963489wme.43.2019.03.01.09.55.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Mar 2019 09:55:49 -0800 (PST) From: "Leonidas P. Papadakos" To: Rob Herring Subject: [PATCH] arm64: dts: rockchip: add more cpu operating points for RK3328 Date: Fri, 1 Mar 2019 19:54:53 +0200 Message-Id: <20190301175452.6701-1-papadakospan@gmail.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190301_095551_936693_0F49A4F6 X-CRM114-Status: GOOD ( 11.35 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rockchip@lists.infradead.org, Heiko Stuebner , "Leonidas P. Papadakos" Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This allows for greater max frequency on rk3328 boards, increasing performance. It has been included in Armbian (a linux distibution for ARM boards) for a while now without any reported issues https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1392mhz-opp.patch https://github.com/armbian/build/blob/master/patch/kernel/rockchip64-default/enable-1512mhz-opp.patch Cc: Heiko Stuebner Cc: linux-rockchip@lists.infradead.org Signed-off-by: Leonidas P. Papadakos --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 84f14b132..18caef3c3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -123,6 +123,20 @@ opp-microvolt = <1300000>; clock-latency-ns = <40000>; }; + opp-1392000000 { + opp-hz = /bits/ 64 <1392000000>; + opp-microvolt = <1350000 1350000 1350000>; + opp-microvolt-L0 = <1350000 1350000 1350000>; + opp-microvolt-L1 = <1325000 1325000 1325000>; + clock-latency-ns = <40000>; + }; + opp-1512000000 { + opp-hz = /bits/ 64 <1512000000>; + opp-microvolt = <1450000 1450000 1450000>; + opp-microvolt-L0 = <1450000 1450000 1450000>; + opp-microvolt-L1 = <1425000 1425000 1425000>; + clock-latency-ns = <40000>; + }; }; amba {