From patchwork Tue Apr 16 10:56:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 212 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id E7D4840B07 for ; Tue, 16 Apr 2019 12:57:04 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id h69sf13807957pfd.21 for ; Tue, 16 Apr 2019 03:57:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1555412223; cv=pass; d=google.com; s=arc-20160816; b=iqjU+lluzAxC6CGPzxm6QRHqG5mbUz72+9pzrOTcpLZ4r1uyHYUvdvLjuSRn8oGXGu Z3cwZ5noPAJKQlomNlWSWaAO3/lzC4uLQkMlqcpdMF5unC/jk4/9uoqJtFzbx97yavta 4s7xZf+jbAXQIaXnojaTZ2briRDhgaKCB5Jnd2woen3eZi42Vs2Q4wcBoRrSEU5Ewo+6 pMfXn88bIXm5SifWoU4jhpbs5IAQtJS9WdbeO0LKw6+Giw+bVPRWqIsPMOkEKiNIqj0X ICZOEkGB/Slzb5NuoMNhtU9mWbxUG6Hz6YNnTg0xeDIIfoVQUETZfnq15MV9qJQgcrBH 76dQ== 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=qoQ4WKhIv1eYXLIvCivZAR73Q3HtwvzFQQFHZc+eADk=; b=Mpyw62FEvdnKEM3ipauYV3JLJv1wjycVSb/gorldj3vGtCPW7WJotBuOCcuIj2mcpc BNcJp01YwleTVjx5Ax8pSj1CCq4V79oxH2i6UjvaFwjLHiIQbvW/QN1RP8TTYmTCO16S nnyCbWM+bchrwzz0Ss+12jOMG12QpSurqhmTe+s7zDbVwdfRlq2CI15SA4MX5kURJDLT Lp6C1dxmfMAk8sDRrTE5luWpObxYhtFqB1lDLKw2P0FhMpAFpPRPNGDacw9eqMj/8X/Z UtpV/XGa+qINe2ctxSnKFKiFzjQkM5t+okwI2fHGSLOjdwhfEOc6AUMZ0ipOAE8Kle5j 5VCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=asWQWwq3; 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=qoQ4WKhIv1eYXLIvCivZAR73Q3HtwvzFQQFHZc+eADk=; b=fvNSUcLuvEPUikEIn/+KyWWBz4WKdnM1OvJ/x/paK9ThyRzRl23F9Ys/nte7fJTq2I OtZ6GNC7CzDBI0qonnENY+nDf42fBzCtTkQXST5Mn9JBknBBFLD8MoJjsj/kdS0iN6GD lUhV+Us8d9YDIUuAatS9t7ORXmRZOVmm8kODo= 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=qoQ4WKhIv1eYXLIvCivZAR73Q3HtwvzFQQFHZc+eADk=; b=ACzHZPP6TQiQRYCOBJzjK0KgSyUF+By+Ln1gvBfUhrUtoMhGzSWHIUzE/rEjpcw/dU t2ROni/LA7ZjyI9SeJOu5AVQrEEed5vDyYJyyUUr8OBOjkH709mWVDIqx8XrRAnVHH6L NP+8hJKFqZ1WIvXvAPfFn+k9TOwPFj6iC7/C0CH/GoDrQcPLpFFf7Dyk0V5OF38aGhGP Y2zKyDJswg/q4w74eouGPKUtXwhFzCtTwKJkRvCIMjQiDs47sDKEVoQh1EAOX/KxWpXC x/oNsIt21AxUTly2XYoOicEZqzoae0dkIpl4nCZ0Ia+3PZeQVU3hQGept92EoxXGiFvi nXpQ== X-Gm-Message-State: APjAAAW5lUvBYNCB8ymFij2e07E8uLGzr7v2Gog/gY5j21m2h9/RTetT nU7JMCp7j8Lo7Wcrs7/pdaPtzwrk X-Google-Smtp-Source: APXvYqxtCoFViEIQ/8fH4NtxEeo/UuKvhKzi5vJ/8FtervhIbcNSMaE+3HbiCP8gsG5kd7WUMUEQug== X-Received: by 2002:a63:2045:: with SMTP id r5mr1433152pgm.121.1555412222436; Tue, 16 Apr 2019 03:57:02 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:b947:: with SMTP id h7ls5758274pls.11.gmail; Tue, 16 Apr 2019 03:57:02 -0700 (PDT) X-Received: by 2002:a17:902:2b81:: with SMTP id l1mr82342009plb.289.1555412222069; Tue, 16 Apr 2019 03:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555412222; cv=none; d=google.com; s=arc-20160816; b=tncgBpv2COcp3XwBlUtUcp5Ldd4k7gzZiB6RiiXET3l8i3T2Fvwjdh/MhgOLG6gpr5 6AFzJD2mrnKnj76JqPvfrWL43mgmughQDYjwpseb2J+y7GCqy5+DeRPLFrffVFIX3Zst 5zzdX08BT0S72a8FgVoLFHMg2ERk+hqPwGxLnEIR5uznxoyD1WXbJLRsq4B5ZnNZjso0 RlcJIWIGmslpIo5XcdOoZFwSXHK322cpw/enmieecJs9HyXKKBIf+dwgpgNzTi25QBIQ YykbZAqnWm9RC3d27PnA+fSJgqgy9J8k4a5N2jcVFmYaphaNiYVJYdEuKqFHE4UO7/nP zgOw== 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=+Ez9B4MFQMDylO3fRDKbGu6TdI2LwDKhZbEeiLwUsW4=; b=ZbyQcW56xEj0raidmI9e45iXC+a3CbNPNzuhDz9xJAvIvq9rYehPjMOtx69jujjaEF +g38R9IeuAcXZRl4Y3KtBqsXOSNuEHZLw1Y1Jk34dOfjEBAYtgZUBpeErdvgqJy7aLtR BqSu8apLNXCFxfJX5O1Z9aNtTYtRA7ib4yRwnhVsMWvbXnD56vNUP+8TII/qsRIelawQ yJwSQ7KuptLn65EGgGqIYVhn7r6Qa4Fpg59J/1sSWuDXuIQ3iTGM1GiokvJ82//11sFg qMz9Qk4199/BV/+bMCQg9jREVXIKwOD0s/LRU/w3JvObIRuUVCqzdifdyPSKIOtUx9oe bv4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=asWQWwq3; 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 g7sor55134360pfa.46.2019.04.16.03.57.00 for (Google Transport Security); Tue, 16 Apr 2019 03:57:00 -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:be13:: with SMTP id l19mr81072055pff.137.1555412219962; Tue, 16 Apr 2019 03:56:59 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id x24sm70368953pfn.128.2019.04.16.03.56.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Apr 2019 03:56:59 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v2 01/14] rockchip: dts: rk3399: Sync rk3399-opp from Linux Date: Tue, 16 Apr 2019 16:26:34 +0530 Message-Id: <20190416105647.18437-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190416105647.18437-1-jagan@amarulasolutions.com> References: <20190416105647.18437-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=asWQWwq3; 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>; +};