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: 9628087 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 AC16E604AA for ; Thu, 16 Mar 2017 12:55:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A8F54285A1 for ; Thu, 16 Mar 2017 12:55:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9DB8C285EB; Thu, 16 Mar 2017 12:55:40 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2CF73285A1 for ; Thu, 16 Mar 2017 12:55:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=iegbtAAcIHOfDxhmVkLzs8bQtMmaFzk2X7TK99P/L/Y=; b=e16 1848752PHp82foixWswvk/mmQHt5R7MejnllgUU94arI+lSEuXXskoUvlY8k7KVIAvPfp7EW2Qq6E GzGjGTA7+FZB2Sr8pQynF+C2I2pWxad6elBIpHVno9e+4cOkQe2XZTqEWnJX/6JekZmY1yJkg9HE9 WYINS/uLJY6brfjmxo8UudFpLQTZlnBPPHpNh7Ga4is+8D1HsfizODqH5a9pMhvKE2qk8uzzCFR+M PhOyko4/Qb6tQLRIvBEP9ZDzJx/XldWnddBesLgVye1/N/tuQsdlbwOTRYHBVkI6rpxcvJlAWvZdt ZKoT/KVuTbpDLUJhb2MFXlu52qjka+w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1coUwN-0005o8-MG; Thu, 16 Mar 2017 12:55:39 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coUwE-0005UV-N0 for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2017 12:55:35 +0000 Received: by mail-wm0-x22b.google.com with SMTP id t189so47025009wmt.1 for ; Thu, 16 Mar 2017 05:55:10 -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=ZO1HW/GhTriOq5XbqjdFFnfhHVnRhkpsSa+rcVWKjeF/+kNk/JCdagn7J4CdH0nC4B odstOEHXIcxcRnp4/oVDZHjLywUOzALx4H71Y9vQGLtrNlyxIbBKk6uirwR9AzHkvX8H Pl4p8/UQ5TILOMDyCGgMwju0a5Lfi9gbgeIPFBQUxqG4G0O1n+ysf8TPoRONMk5aX0yn r+Let1fx7mMmc+vshpdv6OO0f1r8QSsMrPWouf7AJ3mZKD4XJT3WVr+K2vkZNHCiGB0o 3gUIXL708xtBz17RMGL+9vaHWtKkDbEiQaxfie/m31I7I1JcSrMwAj1AuvaEtgvgsJQ9 m1ZQ== X-Gm-Message-State: AFeK/H2Zqk68F7Mg159nPirSGYZ+ryj5S6OlbDimiabNtAWsG7wjcQhjLC6wRx3FRZAbB8Ki 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170316_055531_627120_ABAA45E7 X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, sboyd@codeaurora.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, georgi.djakov@linaro.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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(+) 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";