From patchwork Thu Mar 16 12:55:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georgi Djakov X-Patchwork-Id: 9628081 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 88AD5604AA for ; Thu, 16 Mar 2017 12:55:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8614A285A1 for ; Thu, 16 Mar 2017 12:55:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A5FA285EB; Thu, 16 Mar 2017 12:55:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0A5FB285A1 for ; Thu, 16 Mar 2017 12:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751899AbdCPMzN (ORCPT ); Thu, 16 Mar 2017 08:55:13 -0400 Received: from mail-wm0-f51.google.com ([74.125.82.51]:36084 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751902AbdCPMzK (ORCPT ); Thu, 16 Mar 2017 08:55:10 -0400 Received: by mail-wm0-f51.google.com with SMTP id n11so111207130wma.1 for ; Thu, 16 Mar 2017 05:55:09 -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; bh=tnWxrScOks1xEsCE2x4FqpR+UV37vTk2uJqSLRCyF8s=; b=ixLusBXWW2Sdt6ju1hjvvMjav8dOGfq31jzvd0Bv5wzYATjRGTedc8lmoIXIG5S+t2 rvv/vOtDgDsCxRM2jfxy4UwJqjk0J4deUN0GIZcaL8vmkQK30XUpWZNmkLOqD3TzmTPd fIPrPgmVOiud3oC76U/caulXW3lc3Pnbb4iws= 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; bh=tnWxrScOks1xEsCE2x4FqpR+UV37vTk2uJqSLRCyF8s=; b=S+MBqE/LZm2+8MDDc3pNC+nKiLo/WGWjVno7ux6KqhhNj1XCSawP8IVv77bd1DVJGX rMTWHJe656/pA0EirfS82PJepTk/JUWRbtQo0ymK+teVUnWZNKZBLwc95cbOyLXwvQOR 43tthPY4+0znkvtXwanik/+gp5DapTOJ4lX93U7AX3C/0pag55w4CV0gg81E2fcPyWUJ HkhkW+6qGivrevBUKFYs5jhzx/gKR73s0xxoGo94JrfPZhgQAxdvp3Qg7RYOKoqhZ6q6 FiPl7hp+sXEeW31IzD9ZjA5K47Ge28rK4Z/NOKaQpETc+1PKYljZR6gX3aXBO4sRlane p6+w== X-Gm-Message-State: AFeK/H0CpsVRcQ9qLEuOc0oZzXzLJHTKk4Nfg/iwtV9Ur4cFWI2JmUGgE0b6vyrUYRRDbIQA X-Received: by 10.28.193.197 with SMTP id r188mr24550622wmf.116.1489668908958; Thu, 16 Mar 2017 05:55:08 -0700 (PDT) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id b58sm6105734wra.47.2017.03.16.05.55.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 16 Mar 2017 05:55:07 -0700 (PDT) From: Georgi Djakov To: andy.gross@linaro.org Cc: bjorn.andersson@linaro.org, sboyd@codeaurora.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, georgi.djakov@linaro.org Subject: [PATCH v2 1/2] ARM: dts: qcom: msm8974: Add RPMCC DT node Date: Thu, 16 Mar 2017 14:55:09 +0200 Message-Id: <20170316125509.13717-1-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add the RPM Clock Controller DT node for msm8974-based platforms, so that drivers can use the clocks provided by the RPM processor. Signed-off-by: Georgi Djakov Reviewed-by: Bjorn Andersson --- Changes since v1 (https://lkml.org/lkml/2017/2/3/492) * Added Bjorn's Reviewed-by arch/arm/boot/dts/qcom-msm8974.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index d3e1a61b8671..4b4c61e2ee35 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -2,6 +2,7 @@ #include #include +#include #include #include #include "skeleton.dtsi" @@ -760,6 +761,11 @@ compatible = "qcom,rpm-msm8974"; qcom,smd-channels = "rpm_requests"; + rpmcc: clock-controller { + compatible = "qcom,rpmcc-msm8974", "qcom,rpmcc"; + #clock-cells = <1>; + }; + pm8841-regulators { compatible = "qcom,rpm-pm8841-regulators";