From patchwork Fri Apr 26 15:49:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 268 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E1A523F089 for ; Fri, 26 Apr 2019 17:50:51 +0200 (CEST) Received: by mail-pg1-f197.google.com with SMTP id u191sf2339599pgc.0 for ; Fri, 26 Apr 2019 08:50:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556293850; cv=pass; d=google.com; s=arc-20160816; b=CAy1V+En640+0Cr6136kfXhD8XRY1girG7Rb8kZrFoQeg4kE9RbZAWyGpSloK1wY0Q k/E8Wze/Ln+gSZnahnT34ErhA2AIgwxOG8A7hDYnUg6Y/U4B3AiWw9iAEjawP8XcEDNH yRBlgYQF6996po+c+vU0p3fB22yH7LswekFkIorSRAZHmQmp/4jSnom+nIMeAlRGowgr wZ5P6iYypv8+3Seh1HGPAIeatc726xZYWDvpeLojXv+4f2TzzL04eWRcoFMZjXdv4lEM C2+CW+FJM+SYJ80OLImnE72X6YE6yG8Br6kUz3vi5+gUUOXF2TTsipZMMJsn+LhKl9Ps puSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=UiV8Dbeo/lwLW6JUjb7buul12W58doGX53QwgUo8K84=; b=m2PUYOoVD0amVuJvV/qwjbjt0WzfWdqRRONdZ5hkp9v3ZOe6srt5ddvATa0ldEK+99 QzSS2gAMQaXrISWYDsIICzIjEg4S6EIY67B6BI7L3GnX29P0rCiHUc9DuzhHffo2MOUe KzqyHOaU6Pl1p0ntnIlqiSVRWeBCLUH6iNTIGourVvHr+hKX9/sEdZOE6Go/sxJ8diQX bx9/xF0APlJFtG7MIQaC1GlU7/ZT2ERL67L3tWhqd1DrtLfBawU5T6YCNDzJGo6CK+zi 1i7Khi3Llstwv9wVK33MPFw3gVsfw6PGXoL7lFI0fAFg/z7GZiEZixUG9F0UCEro5gtT idpA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gkZ2PT3F; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=UiV8Dbeo/lwLW6JUjb7buul12W58doGX53QwgUo8K84=; b=nDRA7CCP2ZWujxP+vkNSr1/umYlIrtBj3VosGX5hLcCBIGJm7DhaXGK2ycO55N2Acm svqCO1xtCqVbLdlt66yedQJpmJbDyhvnOogPF3Knh1D5J7w2nL486NktljRCJ8QNtYyj LCpknKcCITh59Dq6ehEWlT2OrNVagNHvOMEMs= 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:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=UiV8Dbeo/lwLW6JUjb7buul12W58doGX53QwgUo8K84=; b=Sp76o1uR1iKusoW2m2lMgIdq3jE4Wos+uJPhpHZmMRNSohMY0PIq3QZwbxKU/29mfb mDBoxRBf47TT9dbJ8WG0xtEF+TcHWehKdO8o4inA62lnZgFC19G64iik4TsXNb1CQUHb wBAQ2LQq9LwPYK567tTWtBImEN0SKsyRVM5WFzRenAoVgMCUZJokonB9ByZX9GmyJLsJ nOSa+pMDx0kZnrR5LR0AfXa6uJF3OKpX/l3OUF8MNlxncYWR8QXRSo5LATbt2wAEWya2 hRG6aBwVkpu1pPk36cJM/PjFL3TTgXjGPm0/m/Sc5FhYLxIS6hcAfY4dWVZcXqdHNhCs MwrA== X-Gm-Message-State: APjAAAWiWzDzB5K5ZUWsRUiLv0HIR7uolsaE7psp+RE13AYRO1aKvB9y QpbOpnKj69UHxeb7I7rbaBzT9pCr X-Google-Smtp-Source: APXvYqxZFKpPH1jg+0WUEJkCA+yKEX9UF+AqMzlvqE/Vyf9RPwwhuGQSbgKXhEnh+FS1+ubwHIRoDA== X-Received: by 2002:a17:902:3324:: with SMTP id a33mr47014628plc.186.1556293850249; Fri, 26 Apr 2019 08:50:50 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:63ca:: with SMTP id n10ls6468334pgv.10.gmail; Fri, 26 Apr 2019 08:50:50 -0700 (PDT) X-Received: by 2002:a63:dd10:: with SMTP id t16mr44535354pgg.446.1556293849873; Fri, 26 Apr 2019 08:50:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293849; cv=none; d=google.com; s=arc-20160816; b=Ja82wyB8+FAa9APZNc9hWOwTIyeDqTDJ6CLnJ0Gq1xLpA2MrpSm5IpGKnmx9pJmU9M 5wKzSp4oEoEgTtfPuleh8bXYKoJRsg2yAQQ66tto/054M00BpI5HoqULAqDhXxsKMZFn SVYwWsGeZ1++AhHTbWowmzbqt4JdsGMPp3oYOZ4H+jnFCZdpJrvRDS8vVOdNirHVAOcI fMXo/TEEF777Awt9zePPs3y/dM5qMdGvXF2a1oyDGv2uoKMrtskYSFmOl71XJcqaOEkT xEXOXsvpdgR4js0hKQZ3eYlRzNPYeFQUqMMsbFB5fOAyIRsEI3mHwQ0j7vZf3s8Eqw4n lK+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=O3bG+INuCjmpEYs1ECoxq1L4ykkDt1tFGXrxUMr+vmM=; b=09Dk4WDMnYuQwNpc+4v08dJ4zrHx/vmptAR94LdJYUsDGYfQOgdJSyBF/QZG6aGSg8 4vyZoBGuHVtaLMg5f5JwWlWj+DqPD03bs4E07gGfnvCtxghjwq6EzzApDIWVjacEDs+P oHsQGdqYIh/wS9uZCGbUf+FR0yJT6GvmTpbTALEHYWRjOZ1uizHFwbpndUywIYhyKPl7 0UQHPcAx5HHc+l0heNyefqOTZBhwQuL7OAq9yIo25x7As2o2UB4rEmWTwNReE0elmtmy ObTLyhg/BNpOUe0FwE1lNOSO4JTyU4dvSuFjV7wsHql+/yIUbK0kVCVGhWvPVsvtkjiA aDbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gkZ2PT3F; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id 22sor1000756pfo.32.2019.04.26.08.50.49 for (Google Transport Security); Fri, 26 Apr 2019 08:50:49 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:1c13:: with SMTP id c19mr46633254pfc.11.1556293849569; Fri, 26 Apr 2019 08:50:49 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id e4sm12019017pfn.185.2019.04.26.08.50.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 08:50:48 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar , Tom Rini , Manivannan Sadhasivam Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v4 01/13] rockchip: dts: rk3399: Sync rk3399-opp from Linux Date: Fri, 26 Apr 2019 21:19:48 +0530 Message-Id: <20190426154956.29567-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426154956.29567-1-jagan@amarulasolutions.com> References: <20190426154956.29567-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=gkZ2PT3F; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Sync rk3399-opp.dtsi from Linux. Linux commit details about the rk3399-opp.dtsi sync: "arm64: dts: rockchip: use SPDX-License-Identifier" (sha1: 4ee99cebd486238ac433da823b95cc5f8d8a6905) Signed-off-by: Jagan Teki Reviewed-by: Paul Kocialkowski --- arch/arm/dts/rk3399-opp.dtsi | 133 +++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 arch/arm/dts/rk3399-opp.dtsi diff --git a/arch/arm/dts/rk3399-opp.dtsi b/arch/arm/dts/rk3399-opp.dtsi new file mode 100644 index 0000000000..d6f1095abb --- /dev/null +++ b/arch/arm/dts/rk3399-opp.dtsi @@ -0,0 +1,133 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd + */ + +/ { + cluster0_opp: opp-table0 { + compatible = "operating-points-v2"; + opp-shared; + + opp00 { + opp-hz = /bits/ 64 <408000000>; + opp-microvolt = <800000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <800000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; + opp-microvolt = <850000>; + }; + opp03 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <925000>; + }; + opp04 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <1000000>; + }; + opp05 { + opp-hz = /bits/ 64 <1416000000>; + opp-microvolt = <1125000>; + }; + }; + + cluster1_opp: opp-table1 { + compatible = "operating-points-v2"; + opp-shared; + + opp00 { + opp-hz = /bits/ 64 <408000000>; + opp-microvolt = <800000>; + clock-latency-ns = <40000>; + }; + opp01 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <800000>; + }; + opp02 { + opp-hz = /bits/ 64 <816000000>; + opp-microvolt = <825000>; + }; + opp03 { + opp-hz = /bits/ 64 <1008000000>; + opp-microvolt = <875000>; + }; + opp04 { + opp-hz = /bits/ 64 <1200000000>; + opp-microvolt = <950000>; + }; + opp05 { + opp-hz = /bits/ 64 <1416000000>; + opp-microvolt = <1025000>; + }; + opp06 { + opp-hz = /bits/ 64 <1608000000>; + opp-microvolt = <1100000>; + }; + opp07 { + opp-hz = /bits/ 64 <1800000000>; + opp-microvolt = <1200000>; + }; + }; + + gpu_opp_table: opp-table2 { + compatible = "operating-points-v2"; + + opp00 { + opp-hz = /bits/ 64 <200000000>; + opp-microvolt = <800000>; + }; + opp01 { + opp-hz = /bits/ 64 <297000000>; + opp-microvolt = <800000>; + }; + opp02 { + opp-hz = /bits/ 64 <400000000>; + opp-microvolt = <825000>; + }; + opp03 { + opp-hz = /bits/ 64 <500000000>; + opp-microvolt = <875000>; + }; + opp04 { + opp-hz = /bits/ 64 <600000000>; + opp-microvolt = <925000>; + }; + opp05 { + opp-hz = /bits/ 64 <800000000>; + opp-microvolt = <1100000>; + }; + }; +}; + +&cpu_l0 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l1 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l2 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_l3 { + operating-points-v2 = <&cluster0_opp>; +}; + +&cpu_b0 { + operating-points-v2 = <&cluster1_opp>; +}; + +&cpu_b1 { + operating-points-v2 = <&cluster1_opp>; +}; + +&gpu { + operating-points-v2 = <&gpu_opp_table>; +};