From patchwork Thu Apr 25 17:34:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 247 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pg1-f199.google.com (mail-pg1-f199.google.com [209.85.215.199]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 2EA323F086 for ; Thu, 25 Apr 2019 19:34:53 +0200 (CEST) Received: by mail-pg1-f199.google.com with SMTP id v9sf190997pgg.8 for ; Thu, 25 Apr 2019 10:34:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556213691; cv=pass; d=google.com; s=arc-20160816; b=tYjKE9fi7T2wJ/TqKVYHtZ+0D056Aop0d2Saxjb+hcjN3Mqp087J0QNBtvtJrjxGDN KwFWYw03TyWtWulIN47uhdVFWo3DcH7mpr7OqUmUI9yxitzPwePGI9NNS5Xfi1h3DaiM RG7brdZkIi+rsiCZecHIXBnLXj3LAGvwe9Xiutfeve1WSY7dgI8cK/inFyq5N5MhPkoj cELvjYCWPnTFCPUHdhFZYP18w8xuzyKF6SwqYUWErnAseB0SRdMAhkuZi6dBWL/7tyxK 2V+yiatxpmLGM5/jAt8JWldm7szL3t6NJt6IiQbo/47KVoEyQT1mMfX8J4HlVRDvUCOH DcYA== 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=AWT80qcFAHsrqTHBxC7hRPryHbctd+Ft+MwGs0QxjvXWBu1oAoAjE3peygvRdz8ziV 44YAbT1jtCyUfd8Vzs9fwWs9N94LCPduaMrtWxVSt6ldsL/N0q9/Cvy9HO9AG1iE01/b yocHXkPULpreYyBMv8dpCx+VhGaXhHL1bmI+J3sqZoGxp+CyK9HvgHBPP4HYR60IaEpv hMyyX+Agufm8TGuOblRrs5wTIThFPpwS9SOycJA8+nk27ItdiTg5RBphtcQVq5i2SCd8 e7DkxdD8vOSoqW1PluCmi3WEMhi+KXdEBr7fd1kX7RmJgN3yEK+Ahju8a90CXgo7NYFg F2Wg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DvgbbcMG; 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=chKO6y8X4pFL3JyXu646lMqikL63hA5R69AIXRc5AYgqJCth3Wv8loy8qpA03nK14n V0vdna29jgoBeuhg0s7k8T0UB96sYCw7EbnpH2FRqRjvP2rJ1nu081BkWXCazTRel5Sk r8TgCxxpv8MX3ZokB6I8LaHYv8xFpIvsjbjws= 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=SvmRrr0o4/BexXpa+QZT0ggo4XxR1mqMpknwHSFEpFQ0veMpwJIBtZpxKrLYj+cwWZ 5fRbWES0FDFEpZTgLMBbS3uwuPLh1MCmWMPscaygVlSPzE3OxWQ4mENo7FQvho+/d9v7 ioHOiQAlY04RjZdlkJZOJXecwZw/dLQ0hz5n659OrzIAy44iKmcaJa+o/qX/ZlKes8Ri V8GcBsqnRNnzFRcf3zDGPchY7UULP/6f1XIwSflkYl81DRN/IH298D9FKH6rJ6lh3X5c 0zJs1F1SPcgQAchLvEGEmz+erxFFWaJxthv/4F2beBpEZe2eCvBSqYCVN9oAPz0LA6sx qsfw== X-Gm-Message-State: APjAAAXLA+IT8uJys2SrMFRu+Rsgg8cnZTGuZzoxns2ONWHkaAPRNpgw udSVLujqyLU9FChdnE7ccTNjsHT+ X-Google-Smtp-Source: APXvYqzN9xWXwWtoavr/ev+8Ae/J3pwrPeOnbCgIFUFyKtXkdWhXZ8uDCo8Z4C2Kjksk863v5NW3SQ== X-Received: by 2002:a17:902:a583:: with SMTP id az3mr41066796plb.205.1556213689974; Thu, 25 Apr 2019 10:34:49 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a65:64cd:: with SMTP id t13ls4994316pgv.16.gmail; Thu, 25 Apr 2019 10:34:49 -0700 (PDT) X-Received: by 2002:a65:64c9:: with SMTP id t9mr38066001pgv.221.1556213689602; Thu, 25 Apr 2019 10:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556213689; cv=none; d=google.com; s=arc-20160816; b=tnS3xGmGPNjg28RuXy9fUwymHDu3YSlfDqh2hC2GijehWEtIKz4edyl65CLx8F06sB G41KWeUxp3591Y5HH7KS9ec4YIkjzYbEmG6SJ/CoUjDb6uwENtukt94uIkJc2hF9jIXC /+D78cVq0F1NfkGZcsSAjnXQTq7RmbdPERvBGmG+5mlzA/AJ31fZEkdRHHm1urJLMZuw +n39lDrMDwg2hCcGZ3VnA5/2SXxswMfql1czuanPi64RBrTPzEjDGvPPt+3T9nZng9uO Ra7CaZkeXJ7vncHrKLGpWeXx+aieH7jbzLrI4ldcqXvH7yzONzyiu0EQCbpVPWems7tb 3AUw== 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=skGoLUs3CVWY4MBoaOE4CV5n4S+gM4HzsuW0OfbP7E1Yob9D72mVLWBpZNc1fme+Gc pZjBSBuc7Hs/Uft7R0c+R0ESmMeKWZPf+xu1WbJeWu69/8v7ZlUTxUUy8DD5dC+kdgnt AAfu0gpscdDgtWDbRbr0MDUr5pgvQRL4nw5Ss6Pi9gpyGQyCbjhe5ZPEDB0R6lKowh4z 8InPSshqIUQn3oCj3NM+HownpBkQECJ8yKqXRUp/Epc9RIkyShg+pZ2PZz4m6VcUQ/sB gj0SKV0fvcyJjyUSFaREljj6bw8Jo33OAqXAq5W9SFtPH5QA5rk21HAvQiVvLaDoJTcG 4oWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=DvgbbcMG; 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 d4sor26178543pfn.43.2019.04.25.10.34.49 for (Google Transport Security); Thu, 25 Apr 2019 10:34: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:a65:65c9:: with SMTP id y9mr38490047pgv.47.1556213688920; Thu, 25 Apr 2019 10:34:48 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id i3sm38265876pgl.57.2019.04.25.10.34.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Apr 2019 10:34:48 -0700 (PDT) From: Jagan Teki To: Simon Glass , Philipp Tomsich , Kever Yang , Akash Gajjar Cc: Paul Kocialkowski , linux-rockchip@lists.infradead.org, linux-amarula@amarulasolutions.com, u-boot@lists.denx.de, Jagan Teki Subject: [PATCH v3 01/13] rockchip: dts: rk3399: Sync rk3399-opp from Linux Date: Thu, 25 Apr 2019 23:04:15 +0530 Message-Id: <20190425173427.13445-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190425173427.13445-1-jagan@amarulasolutions.com> References: <20190425173427.13445-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=DvgbbcMG; 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>; +};