From patchwork Sat Apr 27 11:48:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 293 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f199.google.com (mail-pf1-f199.google.com [209.85.210.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 5D91B3F089 for ; Sat, 27 Apr 2019 13:49:12 +0200 (CEST) Received: by mail-pf1-f199.google.com with SMTP id u78sf3894788pfa.12 for ; Sat, 27 Apr 2019 04:49:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556365751; cv=pass; d=google.com; s=arc-20160816; b=u/pcXQmAurqK9gs8yBiXpVmLJSsCBOWC2mhFHx9jdeHWiFhbvMw2vtOkgNdE/oqmT4 KCjbke1lZd30/vCzsolI3s6d8HS8qIl+TtTNqial/EeCuy6q+t1PM8NMgLEBe+EGtLAh pAAx5+ri0ofwB7m0F/txtDk5n55kGn9D+rUy5dSGrGZo/GdKkD4r3Sd/IrAWwW0L2ow2 cynAKlSJxg+GvAszaScrnadukv8CEWYK3nhZCzb3YbJ24XYJRDaeOPKpSXZjQOCp80o5 JOzNR0JrDJhaNnUfu45JP4AxMkhze0eCdfYDLon90fLAhTn7dC+yBAVUHbDZdXo738oV XPeA== 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=Zy2M98wsNJjaMgka6XlsS990TzU7XXD/G2n9iWy2nWkBEo9HIkbGfntgRJfJ7zFite eJPANd5hBYo2zgLSCoO4MT8I7Wx9j7+4Z+k9gIjIbFANGf2qn4MS8MipxCSleG3fDf+3 Tf6YG0owNmUSpfCfvyNXBwnQ5o8iaHCd8QGXJsMekDD7oqfA/EfrcVK+rbm70UAFtWZb AQtC4cZbCyzxldb8myfNMM2ahdgKW9Hax+/T8V9F3PGpcqBoOH+qOitLsXXhF3pHJHSE 0+WaPadlpndonXFOPJsENCSpl2uA3b0RxZnsrFckfSXBKukPhHdqp4yWSNcGCbO8BPpC e2XQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gv0d5jV+; 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=qXePQx6PLfiqmPurGUiZzIMU53jPKe77FEhV91b9wiPIHEromvhSgX4AFG+bg4JvCy 97TPGcypWMDWxdQTCNv1k/mCT+ROFmAFNMQUZxra7dMqnonZWpney427Y6uTSB18MfAS MWnNj/xe/6BIT7rfuiFWy7Mpsj0RmvcmLt9AE= 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=ULZiVhaDczxQmzzUAMnI8CXC2OZh7JKmACt6UrJFaCm68tMDr1Kt1vnjsdl6a4Ecix SOHJmyRB0yfJzC3rYgxh+B2OcqlAIKC4Jzw7TE1s/VotpOA48MQfEWfaNFMSSo/MB+rB oLZkzL467VCJyWK9qdBFfCw95hKRUxOPgyjPpchu8QBv3YYH6dCbNtYvYQaMePmokjQW 5lxk8W4/aHzxODFTKaBOiw8mogyW3+OAWkMj/eBw8z9KAyj9+JVBOjECR5ciAuf2GUKi OQxkp06fuc+Z9h+K5rqjTJojMG7QYmF3p8fgs/YxrAeHoR5r4Os5gBAfFAKK4mlVoruh pI/Q== X-Gm-Message-State: APjAAAUOHf4H9ct/DRmKCE1iIO2/cQ9Nx+N7g3U2CyQb3RuwkKsWjrSL GoUmQQBgwKj13Mha5RQ9S8Z/fL9G X-Google-Smtp-Source: APXvYqzgiKSkubQCCOGBtCsU5KOKAqal40yVymTjmYVqHO41NjYLGLW+2OlwuZzbqjEYzA2W9BfuqQ== X-Received: by 2002:aa7:8284:: with SMTP id s4mr52030999pfm.235.1556365751169; Sat, 27 Apr 2019 04:49:11 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a63:6886:: with SMTP id d128ls30188pgc.4.gmail; Sat, 27 Apr 2019 04:49:10 -0700 (PDT) X-Received: by 2002:a63:5b4d:: with SMTP id l13mr48396421pgm.160.1556365750770; Sat, 27 Apr 2019 04:49:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556365750; cv=none; d=google.com; s=arc-20160816; b=jhNbUwrV3ropv0htHRz2LO83tZWyZtpqsLAAgyO7XjFDiCYx154OjLY6oGVBtVXjIf Yogc09I/W0HsEP5Ou/pY+QTDUOJ6DaSEkL6Pz5g0h1o92m5O3BVRb1C2R1D9vCF6iisA zT/v+E6kyq+O2IUblCcCI27eR/xlFqECcuUWXUFz6cF4O/+QlLlx9ObzN54SOuE6FGy0 pACpd9LveYTahfTbm87RzT7h9iy3u3X273z68w5KtU1YvVhehZcEpFcPH/4aABXdg2IS elqPX6haG1gz63BXpWCo7zo2ZfkLMyqT+ESnhUktYruShKB0J/C8WNhVdybY6mvBTuZ/ TF2Q== 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=utpGk+e/4UIZd/JgqFgGxqhPPqd1vRXF6zDi2YqvVGRbVxMETtPPwnG2hDf61/dw6z oyfsJnBH7F8B1F2v4k5/IblQluuB4P0z1MjN1zS/LKlnu4tL/Tr/BkkB0jTwZq1khPtW KX8Sagklud2TWDkc0vl6WH1/wsfh3j9jxKWS9E/12i53TmlikjvB1aLh0rfnWNTnkCEa bf9p+C4PBNCDI8ivnV1QdxG//9tBstSGngRLrSG8VRPa8hsMBUQ/m+iWCxCzbcLsEHEO dCSn7+C7x0cAIUPlNbQVCa4pW4TtfkEjxdV9y5ZdOVtV8SLYUzDraNbeI7htP91xEOif qH/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Gv0d5jV+; 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 c12sor31133025pfr.33.2019.04.27.04.49.10 for (Google Transport Security); Sat, 27 Apr 2019 04:49:10 -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:aa7:920b:: with SMTP id 11mr50922872pfo.3.1556365750490; Sat, 27 Apr 2019 04:49:10 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id y3sm2368768pfe.9.2019.04.27.04.49.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 27 Apr 2019 04:49:09 -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 v6 01/13] rockchip: dts: rk3399: Sync rk3399-opp from Linux Date: Sat, 27 Apr 2019 17:18:44 +0530 Message-Id: <20190427114852.7608-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190427114852.7608-1-jagan@amarulasolutions.com> References: <20190427114852.7608-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=Gv0d5jV+; 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>; +};