From patchwork Tue Jun 25 16:47:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 167741 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp5779541ilk; Tue, 25 Jun 2019 09:47:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqxYjUyh2UzRpgj5RCwmQG9nZa9wwIpsQnhOO7J9ciHJ2a6jsf8r1+SASQQbouEuNSlYnK1y X-Received: by 2002:a17:90a:7148:: with SMTP id g8mr33425593pjs.51.1561481279274; Tue, 25 Jun 2019 09:47:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561481279; cv=none; d=google.com; s=arc-20160816; b=asZcNoT3RtFmsrR04ucsjo4sdGUStObh1Oj1E0gsWVF7jvJi3aa8Anv87bKYcyFZRu UGESyP9M/nYSqHg8bQTAUq2nRsDUjweK+Gl6IGVnZ+GfRpBJGveuiXpzx3oY+bgoqVHA QcfSeO/keOHs1DFP+ot/5Rpe2T1OYY4RKaybu5vun+2fAlpjx7JkIX6iecH7s9NyViVp YsTnth0kPw05OBe8phNt5zYttBjIq8wMahWnXXzmBc3sD1XJRSkjZmD5b/jO75m+PBpG 8X5/hAFGtPinINEYuoLaCtGZFCPE0FnEh9e+5fnfTNu6HYCCrv7CSqNynO3y8apqSw/J pdPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nrzyeFr44bncESExYjY2Xqm7hHRQ10WfGAsR66xmSU0=; b=R1ve8oyZ4JUWrDO2+wP/xxa8ZVRBw1o3Uo8b2OFJ7Hx9EFwL/lOUDtyoXD226jrYFd BrRWu1zqPhiCZSSW6iQOkK7d5A4mrL6nwYYTiXxG6rUfjfakJuqCWa5Z7MiZ2MdoneEK Tn7U6T/e8hSnwqkeR3BnHnSg/1rbyD4JaWaIum8RhGK3iwPhBsF14gndctX7Pbqtynnh x1071x1TPf0SGNnj48cq26/L/GpiLGtrEnshinCc1/oInjwLaXCI1JfFNVLc9CRcO9DT 8Yiy8ZM6ZFJ51vrd0kgzfdtk401VprgqkUyjLIVHiFZTnGiyNY7FA525daUYTqqfSFPb IoiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kI+F4y9J; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si13405009pga.407.2019.06.25.09.47.59; Tue, 25 Jun 2019 09:47:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kI+F4y9J; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732214AbfFYQr5 (ORCPT + 8 others); Tue, 25 Jun 2019 12:47:57 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35115 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732173AbfFYQr5 (ORCPT ); Tue, 25 Jun 2019 12:47:57 -0400 Received: by mail-wm1-f65.google.com with SMTP id c6so3700538wml.0 for ; Tue, 25 Jun 2019 09:47:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nrzyeFr44bncESExYjY2Xqm7hHRQ10WfGAsR66xmSU0=; b=kI+F4y9Juq4UtO+H7tm4R23zk+eYgxqBO1Rw6hrz74Fj/gAdeyhxUnPYLp0fJtVsqB wtfT+RsceD8eJWFhIG5efmhcWhuetah0Y6H6maBKnlWO+ycI9X5mrNtHq/uDMJO9i1Dl 6gFQ6d1oLnklYadUNmApNLHrjroFKbsDAqxdnTe9KJMN1AGtQSsnuDaDwKhXDkHdoqIj 1g7DK0K9jTzM28miEa9h/UFoPBGO+S9fps/jHV/s5WLQ8OafqQwNsyuB/3cj0gRvp/4+ 8txBkwYdTZdGjvZz7Oe+vcBvE5uCp9NoravLkOp0jiEK0dM+aE6fQn2C5wTEL44tD4lX p+Ww== 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:content-transfer-encoding; bh=nrzyeFr44bncESExYjY2Xqm7hHRQ10WfGAsR66xmSU0=; b=pgzjXAgc9t86C5v3fh8QPRCIN7tLnsynNwDM/J4edTJcXhnoZhyBjGujjKbBikwYwR eYpyKe0FhfpL704qcRJy2uPSSXW4Ve4rxNV2lYeApuxRtvWD+9IeXcbtgLPzFXi88+L2 4JPdBNYKx5x6SUIdXHmqrtfU6urkHWkOiZ/1G6B4C7ngapH+xrABsw7fC57oKq1+Rk9l xY8/2qMPPBqPQv4e8BeaPlbl/DPSNTr1qqlBO3S2FoFSvbWMq8qtvGbGiUa9yP1Pji9H TwLFZHPDWkaC1LglMAZdEnvZjH9HmmF+Nr5Bp5NgA18mcdHTveyTapE6jVP+wh1Gy71i fEJg== X-Gm-Message-State: APjAAAWEieRnkPNSGnu+065sB1swRzg0rPKrYmFi8En6j6YY18CX2WxW DjJTtbU7MmAIDCQmOXl4BBbKGw== X-Received: by 2002:a1c:6156:: with SMTP id v83mr21566006wmb.81.1561481274595; Tue, 25 Jun 2019 09:47:54 -0700 (PDT) Received: from localhost.localdomain (30.red-83-34-200.dynamicip.rima-tde.net. [83.34.200.30]) by smtp.gmail.com with ESMTPSA id d18sm42594476wrb.90.2019.06.25.09.47.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 25 Jun 2019 09:47:54 -0700 (PDT) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, sboyd@kernel.org, bjorn.andersson@linaro.org, david.brown@linaro.org, jassisinghbrar@gmail.com, mark.rutland@arm.com, mturquette@baylibre.com, robh+dt@kernel.org, will.deacon@arm.com, arnd@arndb.de, horms+renesas@verge.net.au, heiko@sntech.de, sibis@codeaurora.org, enric.balletbo@collabora.com, jagan@amarulasolutions.com, olof@lixom.net Cc: vkoul@kernel.org, niklas.cassel@linaro.org, georgi.djakov@linaro.org, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, khasim.mohammed@linaro.org Subject: [PATCH v3 10/14] arm64: dts: qcom: qcs404: Add OPP table Date: Tue, 25 Jun 2019 18:47:29 +0200 Message-Id: <20190625164733.11091-11-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190625164733.11091-1-jorge.ramirez-ortiz@linaro.org> References: <20190625164733.11091-1-jorge.ramirez-ortiz@linaro.org> MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add a CPU OPP table to qcs404 Co-developed-by: Niklas Cassel Signed-off-by: Niklas Cassel Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm64/boot/dts/qcom/qcs404.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) -- 2.21.0 Reviewed-by: Bjorn Andersson diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 3f17e1b09c13..d876dae5b0a5 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -83,6 +83,24 @@ }; }; + cpu_opp_table: cpu-opp-table { + compatible = "operating-points-v2"; + opp-shared; + + opp-1094400000 { + opp-hz = /bits/ 64 <1094400000>; + opp-microvolt = <1224000 1224000 1224000>; + }; + opp-1248000000 { + opp-hz = /bits/ 64 <1248000000>; + opp-microvolt = <1288000 1288000 1288000>; + }; + opp-1401600000 { + opp-hz = /bits/ 64 <1401600000>; + opp-microvolt = <1384000 1384000 1384000>; + }; + }; + firmware { scm: scm { compatible = "qcom,scm-qcs404", "qcom,scm";