From patchwork Mon Dec 17 09:46:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jorge Ramirez-Ortiz X-Patchwork-Id: 153966 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2265937ljp; Mon, 17 Dec 2018 01:46:58 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOmTNkJkYhJl58NXr66rrtNcmC3Dzt/tcORGaSidHpwSjRJ6CZ/aPzyzrlhMYADwJef8lv X-Received: by 2002:a63:e001:: with SMTP id e1mr11711189pgh.39.1545040018789; Mon, 17 Dec 2018 01:46:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545040018; cv=none; d=google.com; s=arc-20160816; b=Cq++M83obgnfvudfOO3288N7gGDtD2V7zTKRjwycz8ffWQJlP5eSVO2xGnWcqZFZE4 E3lO+UHhgcatFwzJLvbCG+NaHWPE2Pa5E1X7MCYF4km6zCPXsjQIK3Wn4nMdruKV+FYy 67XUOoaIbbMAci2tEEm/QKToPXk4TP/36v4Iwow3fUJ9ec4szrujdmJS3VcyEezdgC6A etj+dV7JyFdrKVu+05bdBKn//onT62hPjjyn8uywQNLdvjf1BezVE5N+ck6FHUgoh7B6 JqdcPbkzdzv3y7gZMcNMvFKN9RHR48EVuDQKvDPaY+QPZdpYZZj+ICgNS14ipQ2aV9Y8 5b4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=xY2V4sBj5Ds3+SQmdTspSIBla6JHASTE6hEmXoXtqtk=; b=wQ2iFbQQ8dNG9z5hg13/1bcfJ052nudoG3yt97xmxkDoOLlcvB0K8mnR/+d0IfPVEC kAiH5afdt6xMZu53sD8jswWZyfT7qrxj+dEjR6G6EXCTvUAE4V0y5JQ2Hmf73LXuwA9w I8YyTKCexu4RQjFAe61i/vKoM0SlwlQMmxxKZ6wfz/Ciad+JsrCRFMK9DgdaOADusE2W vjIScTejGIou80sPnpo/6Ccq8qnSR8pXTDql4ZZZcRza61cNC7AbaZHCWgs6umVAe2I+ +9VG5AJlT5myxAkojUcRu8I1meernyeqO1z8KMO8I+4WDMeHRdMAMqduEw3LR0IWpboA RxKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hMkC5urK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 s71si11108076pfk.105.2018.12.17.01.46.58; Mon, 17 Dec 2018 01:46:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=hMkC5urK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 S1732219AbeLQJq5 (ORCPT + 31 others); Mon, 17 Dec 2018 04:46:57 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55870 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732200AbeLQJqy (ORCPT ); Mon, 17 Dec 2018 04:46:54 -0500 Received: by mail-wm1-f65.google.com with SMTP id y139so11568288wmc.5 for ; Mon, 17 Dec 2018 01:46:53 -0800 (PST) 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; bh=xY2V4sBj5Ds3+SQmdTspSIBla6JHASTE6hEmXoXtqtk=; b=hMkC5urKEck/zn5xSgMuam1rniWk/yQbP4srf4MLONnN9Z6SsKDuVHSY9Zw4tdfAws QMGRwRY5tU3zqgRXgGdeb9F5lnl7Cf9rXo7E4dBhmnlHdDxnfVFUOtbhk0tKXYe7GBCN dxipQAVzK5xuZEKt97qd3h7gvGGRoSdY0Rh0w= 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; bh=xY2V4sBj5Ds3+SQmdTspSIBla6JHASTE6hEmXoXtqtk=; b=P7LWxMBQ+/TOkPbaOOpDIfPHl2I2xpfpgZIMlFg+BVfUb2WjmYCxaB2mVEF1/+kSsr c951vWhU6HMln9cp75RB6J5pwe3RADhLQbgOSjv+/aKyX8O7vUskrwV7ns2kSToah5ux gxvmzB49u6/jDwVeNLzm728n70TbYvV+wq1ihJrpQYRlO4s5P27q5AIUnqd5YI3mhTr8 +sOf4upvhBRUmJaQcX6HsYJVXNKKa6fG7sQpGLeBuMLGsx8M8hpZAzu9l7SLyIR7CHTG 2QlRQDk3FwAOse1ABWEK/frkGiaYnrpyCA1BnJ0O3HqUDTiNiD5xjSrbfPd2zdo/tXxO xxMw== X-Gm-Message-State: AA+aEWZhJCSonF5/aNeFZTeZhDyrD4bdF8NCG9pQmKTWl9p2F9CG+Ij0 0I0UKUOQHpmHBWPVoTtVO1jatA== X-Received: by 2002:a1c:ad43:: with SMTP id w64mr10526130wme.32.1545040013020; Mon, 17 Dec 2018 01:46:53 -0800 (PST) Received: from localhost.localdomain (58.red-81-47-145.staticip.rima-tde.net. [81.47.145.58]) by smtp.gmail.com with ESMTPSA id h12sm28878113wma.48.2018.12.17.01.46.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Dec 2018 01:46:52 -0800 (PST) From: Jorge Ramirez-Ortiz To: jorge.ramirez-ortiz@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, sboyd@kernel.org, will.deacon@arm.com, mturquette@baylibre.com, jassisinghbrar@gmail.com Cc: bjorn.andersson@linaro.org, vkoul@kernel.org, niklas.cassel@linaro.org, sibis@codeaurora.org, georgi.djakov@linaro.org, arnd@arndb.de, horms+renesas@verge.net.au, heiko@sntech.de, enric.balletbo@collabora.com, jagan@amarulasolutions.com, olof@lixom.net, amit.kucheria@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [PATCH 09/13] arm64: dts: qcom: qcs404: Add OPP table Date: Mon, 17 Dec 2018 10:46:26 +0100 Message-Id: <1545039990-19984-10-git-send-email-jorge.ramirez-ortiz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1545039990-19984-1-git-send-email-jorge.ramirez-ortiz@linaro.org> References: <1545039990-19984-1-git-send-email-jorge.ramirez-ortiz@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) -- 2.7.4 Reviewed-by: Bjorn Andersson diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 9b5c165..4594fea7 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -62,6 +62,21 @@ }; }; + cpu_opp_table: cpu_opp_table { + compatible = "operating-points-v2"; + opp-shared; + + opp-1094400000 { + opp-hz = /bits/ 64 <1094400000>; + }; + opp-1248000000 { + opp-hz = /bits/ 64 <1248000000>; + }; + opp-1401600000 { + opp-hz = /bits/ 64 <1401600000>; + }; + }; + firmware { scm: scm { compatible = "qcom,scm-qcs404", "qcom,scm";