From patchwork Wed Sep 23 16:53:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Gross X-Patchwork-Id: 7251281 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 69DF8BF036 for ; Wed, 23 Sep 2015 16:58:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 86C8D206F5 for ; Wed, 23 Sep 2015 16:58:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8F04020963 for ; Wed, 23 Sep 2015 16:58:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753589AbbIWQ5z (ORCPT ); Wed, 23 Sep 2015 12:57:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:56274 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755923AbbIWQy4 (ORCPT ); Wed, 23 Sep 2015 12:54:56 -0400 Received: from smtp.codeaurora.org (localhost [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 6141813FF67; Wed, 23 Sep 2015 16:54:56 +0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 486) id 4C37513FF8F; Wed, 23 Sep 2015 16:54:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from localhost (rrcs-67-52-129-61.west.biz.rr.com [67.52.129.61]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: agross@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 920AC13FF67; Wed, 23 Sep 2015 16:54:55 +0000 (UTC) From: Andy Gross To: linux-arm-msm@vger.kernel.org Cc: Mark Brown , Bjorn Andersson , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Andy Gross Subject: [Patch v2 02/10] soc: qcom: smd-rpm: Add existing platform support Date: Wed, 23 Sep 2015 11:53:21 -0500 Message-Id: <1443027209-19444-3-git-send-email-agross@codeaurora.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1443027209-19444-1-git-send-email-agross@codeaurora.org> References: <1443027209-19444-1-git-send-email-agross@codeaurora.org> X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds support for all current Qualcomm platforms which utilize RPM over SMD. This includes both MSM8916 and APQ8084. Signed-off-by: Andy Gross Reviewed-by: Bjorn Andersson --- .../devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 2 ++ drivers/soc/qcom/smd-rpm.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt index 3710dd5..7d05246 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt @@ -20,6 +20,8 @@ resources. Value type: Definition: must be one of: "qcom,rpm-msm8974" + "qcom,rpm-msm8916" + "qcom,rpm-apq8084" - qcom,smd-channels: Usage: required diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c index 1392ccf..455083c 100644 --- a/drivers/soc/qcom/smd-rpm.c +++ b/drivers/soc/qcom/smd-rpm.c @@ -212,6 +212,8 @@ static void qcom_smd_rpm_remove(struct qcom_smd_device *sdev) static const struct of_device_id qcom_smd_rpm_of_match[] = { { .compatible = "qcom,rpm-msm8974" }, + { .compatible = "qcom,rpm-msm8916" }, + { .compatible = "qcom,rpm-apq8084" }, {} }; MODULE_DEVICE_TABLE(of, qcom_smd_rpm_of_match);