From patchwork Wed Apr 19 09:13:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 9687093 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 51E5C60375 for ; Wed, 19 Apr 2017 09:13:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 428A428342 for ; Wed, 19 Apr 2017 09:13:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 346FA2838E; Wed, 19 Apr 2017 09:13:46 +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.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, 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 C2CED2838E for ; Wed, 19 Apr 2017 09:13:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761441AbdDSJNo (ORCPT ); Wed, 19 Apr 2017 05:13:44 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:36379 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761430AbdDSJNl (ORCPT ); Wed, 19 Apr 2017 05:13:41 -0400 Received: by mail-lf0-f51.google.com with SMTP id c80so8900702lfh.3 for ; Wed, 19 Apr 2017 02:13:40 -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=zfs6xjRstrhD1CZQf9OSE3YVVoGB1bz6ZIJA7/Mygu8=; b=XsGPqzXafABmoCisVyGnYyk6G764gkEsIg+Sqa1brN7vdq9H2HC9BY86my0yUC0PtS wYmK2kNC84tvzdsALdI2s85WFUyoqC9gIsi8UuhRQ5RQ0o/W6mMvE7nwIr9qDAeTpawh TxtSB+P6b1mggBrlqwKo46ZGoKB19RbbOU18g= 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=zfs6xjRstrhD1CZQf9OSE3YVVoGB1bz6ZIJA7/Mygu8=; b=EGIv/K3aNC0PiqAm8nxMT83aqa/TIteMTDQ5u/lunl4vNmKNFXbaI67ANLkHJI+oaK ItTGxID5PNGIZMzAVduFA0AEwJKB8+i9ioGUDNLg91sN28SRPfyMmmF2lRQgNuN9Zb2r d8oy5ammbILqbe26Ka0dHqZgGeC0CNp36A8Q/bowrzOG4uu5svM2IbUtP7z33bwte8ET 9BiFB495Erce1OE8GuVHUx+a3Mp1x1OuV75gv1bhTHFHa9/zzTqCjMnoeTfZWwpg2+CY 3JOTXtt2NTf+91O5Wy/VocOq39UQHipdG9FIk3JYioH7kRuT8YpwE8/CdPLTx9LwTnqU 80mQ== X-Gm-Message-State: AN3rC/75NYEYhogbg7RFw2rmIMSX8UTFjsmlu070h8VrsCWlvEuYsai3 wnSr8nt0OaVMY1Rt X-Received: by 10.46.76.2 with SMTP id z2mr567558lja.38.1492593218014; Wed, 19 Apr 2017 02:13:38 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id q123sm303230ljb.18.2017.04.19.02.13.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 02:13:36 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/5 v2] clk: qcom: Update DT bindings for the MSM8660/APQ8060 RPMCC Date: Wed, 19 Apr 2017 11:13:22 +0200 Message-Id: <20170419091326.11226-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 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 These compatible strings need to be added to extend support for the RPM CC to cover MSM8660/APQ8060. We also need to add enumberators to the include file for a few clocks that were missing. Cc: devicetree@vger.kernel.org Acked-by: Rob Herring Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Collect Rob's ACK --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 2 ++ include/dt-bindings/clock/qcom,rpmcc.h | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index a7235e9e1c97..d470a0187035 100644 --- a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt +++ b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt @@ -10,6 +10,8 @@ Required properties : - compatible : shall contain only one of the following. The generic compatible "qcom,rpmcc" should be also included. + "qcom,rpmcc-msm8660", "qcom,rpmcc" + "qcom,rpmcc-apq8060", "qcom,rpmcc" "qcom,rpmcc-msm8916", "qcom,rpmcc" "qcom,rpmcc-msm8974", "qcom,rpmcc" "qcom,rpmcc-apq8064", "qcom,rpmcc" diff --git a/include/dt-bindings/clock/qcom,rpmcc.h b/include/dt-bindings/clock/qcom,rpmcc.h index 96b63c00249e..44358562a031 100644 --- a/include/dt-bindings/clock/qcom,rpmcc.h +++ b/include/dt-bindings/clock/qcom,rpmcc.h @@ -37,6 +37,10 @@ #define RPM_SYS_FABRIC_A_CLK 19 #define RPM_SFPB_CLK 20 #define RPM_SFPB_A_CLK 21 +#define RPM_PLL4_CLK 22 +#define RPM_PLL4_A_CLK 23 +#define RPM_SMI_CLK 24 +#define RPM_SMI_A_CLK 25 /* SMD RPM clocks */ #define RPM_SMD_XO_CLK_SRC 0