From patchwork Fri Oct 13 11:59:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10004333 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 BA44760216 for ; Fri, 13 Oct 2017 11:59:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A275C28F7E for ; Fri, 13 Oct 2017 11:59:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 953CA28FB2; Fri, 13 Oct 2017 11:59:24 +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 2356828F7E for ; Fri, 13 Oct 2017 11:59:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757889AbdJML7X (ORCPT ); Fri, 13 Oct 2017 07:59:23 -0400 Received: from mail-lf0-f48.google.com ([209.85.215.48]:49872 "EHLO mail-lf0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753406AbdJML7W (ORCPT ); Fri, 13 Oct 2017 07:59:22 -0400 Received: by mail-lf0-f48.google.com with SMTP id w21so1687011lfc.6 for ; Fri, 13 Oct 2017 04:59:22 -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=VS6OFSubbdM3FhuzF+AZ5avMJxsDQLk/YBUTcQ0wfw4=; b=X2s+FIKwXjxr5wmYagS4+k47JBHsgAV7rfsMCc/w6BBC1cb8NDCKWqjCHULiqD91iP PZ0HnsNW6WiJ0y2v85R9TzmxkOw0rVAc/jqYnXaLYoPgwGiUk4XWjvy4MV7Uma7M1tap x5ei/nPvF459QOTh1ohgJnzlmTagBas5kRz3Q= 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=VS6OFSubbdM3FhuzF+AZ5avMJxsDQLk/YBUTcQ0wfw4=; b=AeZ6wZw86tAqwKzQcejGiHC//gPE0pohTXlh0xg+HljLTOONsf3G0V9IrTRvzL6NCk BKYmn4b9hVRFwNvbHqBMUrnJZuRqMKI3I7advfK5W4KXuUzw0lqUpqfild9YKsG+kPxc hWULQ1tfFE7B3jivi8wDa1OicCCYPLLKGaRkJ8WULqehm8SaNYIpRphoMgeyVCl+uUXM Z6AcULYEQNGf0jx+Z7ILwn4ywNvygTG1uxwEQdEjHHjMFYAR0GdiwI7cHU0maZ4KtjO/ W04hDH+uvRhbU/HGyxkj9Y8ABiuvYQ1o6aFk6ub5xfEYlmpBd8ylPFMuM1EVEOaQqCQJ omYw== X-Gm-Message-State: AMCzsaXlMqwoVj+oDjiJeUmvtGakCMN/ug1pCl07I8uSpVghx8wvGo97 oG3EyXcLTCW/LDEIhlcE2VeiMw== X-Google-Smtp-Source: ABhQp+Q8HxZb+u/1FgDU8oXumVRwGPYBUplnuuA6or2tk/pdv3xYCY/Vm7MpK9AoT1R3kMZedi5mlw== X-Received: by 10.25.76.212 with SMTP id z203mr401478lfa.39.1507895961319; Fri, 13 Oct 2017 04:59:21 -0700 (PDT) Received: from genomnajs.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id 15sm194574ljf.22.2017.10.13.04.59.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Oct 2017 04:59:20 -0700 (PDT) From: Linus Walleij To: Michael Turquette , Stephen Boyd Cc: linux-clk@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2 v3] clk: qcom: Update DT bindings for the MSM8660/APQ8060 RPMCC Date: Fri, 13 Oct 2017 13:59:16 +0200 Message-Id: <20171013115917.9318-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.13.5 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 v2->v3: - Move PLL4 last, and do not provide an enumerator for the "active" variant, we don't do that on PLL4. ChangeLog v1->v2: - Collect Rob's ACK --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 2 ++ include/dt-bindings/clock/qcom,rpmcc.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index 32c6e9ce64c3..833a89f06ae0 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..29dad206a74b 100644 --- a/include/dt-bindings/clock/qcom,rpmcc.h +++ b/include/dt-bindings/clock/qcom,rpmcc.h @@ -37,6 +37,9 @@ #define RPM_SYS_FABRIC_A_CLK 19 #define RPM_SFPB_CLK 20 #define RPM_SFPB_A_CLK 21 +#define RPM_SMI_CLK 22 +#define RPM_SMI_A_CLK 23 +#define RPM_PLL4_CLK 24 /* SMD RPM clocks */ #define RPM_SMD_XO_CLK_SRC 0