From patchwork Fri Apr 26 17:26:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 279 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 CE3E13F033 for ; Fri, 26 Apr 2019 19:27:14 +0200 (CEST) Received: by mail-pf1-f198.google.com with SMTP id e20sf2609756pfn.8 for ; Fri, 26 Apr 2019 10:27:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1556299633; cv=pass; d=google.com; s=arc-20160816; b=ZclbUXLq64KZGFuLCwBXQnn2USiD8gUjPiqHzCufw5pboCGDcpXURCuG/C/IseU+gS GLS8Z5LVJ3hoIuvcO7ZTK+PDkI84kWu6UGDzq2lKjal9vcsMAeSHguFl6YYpQYbNfI9i Do+OcqOnDnTK4bqZkZb3s22bv3jBmEUUvfjXVUDe2ObFqW6o3LzgSCzFPQKH1FbDa7J4 0ZAvOtD8ltfu7nqnpu28vcdkUyWcV9SAHWOoQjntdj6/OOuyQKV8H9KGW+AQmPodatO/ 0RUPMlC6pcbwY8nZe4SUfW5+Jh5IG8UPQW+P5Ceo4z9TQW8PuCWUYK9VD5nMsC7WYRRk cMsQ== 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=QncI4w+pJ69BqeZRPq8vb9yfnFTxVuJfMTOnSpFFtzWKAxIh0tGqeHDHyw4HcRoCSn BjqVPZaO8O3RpeOoN8SbLaM99qNPYJz/vFbI7rPTzHV76T2FBElPKfDm2CUx8EWLxhi8 AptGmghzMVsimuMO+Y6Z2aXk4MHeeMikuN9TR28D2Q/UBoHgXcBt5c4+mLweKKSFj+7e 11RNP5sAyBhsFjrjBtLqx25ZlNOOnG+Kuav6eHAyT+214wZaV5G0j6335cbuHWEXMa7r eRHxnXiie0rsmAOTjq54GLMcSCMUZ76H9RM5bN6gtlE9k2WfRJ8H+77OxvoZCkbgaXbh QCrw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BQZpHQSS; 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=Vt3B4+NjDtHDuoOE3cggH/gEJDJ5goKKFOQMkH0S+h4LidZP2o1JjOtvh2FGZSoT4V 9T5P3Wb2oPpqaUc9m6ttSMNzW1YT5GQ12OPMxz10P4Bw4fk0iUpzstOKugj/Kl+HCDHq +r+EugH3IwY0YhCNaXF2nqt6cf8uVmmYhea6g= 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=Az7QccvJhWep59F6YBZdRISV+PYawm17SpogCXbhst4xKChSlHq6iE7z9bU6Jw5hxS nvvzKF77oaj5y1JyotWn/HclWp3yoiUeaEehBEDvIHl0gSd8VPc9XKDQCkWYWt27DWnU Cgpzq9NNCVio2oTSljypLVvXZ1lWtRVo/jctL5TUlObQov33iE37+fIvtRT8+hxLyfek PwGhjK95+0PiXs+eKFJfskpNAQD+8yCUK73+0HQ27M3TSC9ceJQ+ciYOdsVcizZmWa+d jhNBsw4UPk1ZzfdUq38AEfCmRtNVUYVWkkZn6xhZsBAtl6dTe5tPumq0ue2VlZDxLIZS D0HA== X-Gm-Message-State: APjAAAWPVlGXDZVESglp6Sw1cduDXSrQHGRhNs/BwX3vc1ok1ISb2Jat YAs/ErS2iALCQcwozeEN6Iq2doHV X-Google-Smtp-Source: APXvYqx28SUBStKHg969XhCqiTFv5etbt4uZyamQLOAfRTOZsfdLY578bdFu9pXfs34NvmVnyGaqjQ== X-Received: by 2002:a65:5046:: with SMTP id k6mr10974556pgo.325.1556299632219; Fri, 26 Apr 2019 10:27:12 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:902:9693:: with SMTP id n19ls7215732plp.2.gmail; Fri, 26 Apr 2019 10:27:11 -0700 (PDT) X-Received: by 2002:a17:902:7895:: with SMTP id q21mr10147141pll.197.1556299631813; Fri, 26 Apr 2019 10:27:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556299631; cv=none; d=google.com; s=arc-20160816; b=xJ93O+WsGHoPcRGGF+E2wdvDNjLOBAPFLbdCMD3nqAoMeqYOIezioy3WxC5Iixv2Tz zP1dL/77Lzs3jiHGDvS8l/JEwG/8nTD2JAI8BSdcUf/Nrp7FdsgIHR1HHrcc1neqYanL wQjAAmZiCnWuefZbFkHciEYeWn+lpwMy9Z+t5aCX0YNmtQhcxeI0H+VWPERpnu1UTijA JT7u+4Idc1a6FPSuii03DrO+6vpkpjyXgR26aEw0Jqg0CNvRI3Y7HOTe64patL1nNSdQ ZUDnzZxLGLgvwlJ9Gan+W1bR5tTfUGpY89ltEoyid1ciCJvljvh9bsLlgXsuO3/3GpMN KRJA== 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=TdksD6A2WEPoMG+AsN4UqlXtFNRq/ywURr23PGx1bSLDXre3sw6WEe+irarY/Z5Ad6 5QbXb5f97Zcsbd+hp1fWPU0CUPo4lpFqW3cP1wd7byiI1GUyu8lQVUJH1un4SWMdDgE8 3qoI+zDOeUx26mrBzUeenpTt2TBTX60IBLkLCWaRW7nNJ5j/gN68w5NpTrfnQA8nYAEh n76RROiHJzU2m7Ed6wSUtSiLcfdfUghuDvadl0t6JcWGJ+XkPWpTPqkVAQIm7hZmRGjc rMrsCobsJwUGzHz3iG6h+kyOHOcdeKaopnGwCZWnOq0qc8J2hvMV0WQzft+suHidmRdi 2lOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=BQZpHQSS; 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 k194sor1258743pgc.3.2019.04.26.10.27.11 for (Google Transport Security); Fri, 26 Apr 2019 10:27:11 -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:a63:be02:: with SMTP id l2mr45179956pgf.48.1556299631482; Fri, 26 Apr 2019 10:27:11 -0700 (PDT) Received: from localhost.localdomain ([115.97.185.144]) by smtp.gmail.com with ESMTPSA id a129sm40807630pfa.152.2019.04.26.10.27.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Apr 2019 10:27:10 -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 v5 01/13] rockchip: dts: rk3399: Sync rk3399-opp from Linux Date: Fri, 26 Apr 2019 22:56:45 +0530 Message-Id: <20190426172653.2930-2-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20190426172653.2930-1-jagan@amarulasolutions.com> References: <20190426172653.2930-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=BQZpHQSS; 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>; +};