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: 115761 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp641534qgn; Fri, 13 Oct 2017 04:59:25 -0700 (PDT) X-Received: by 10.101.77.144 with SMTP id p16mr1123941pgq.226.1507895965143; Fri, 13 Oct 2017 04:59:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507895965; cv=none; d=google.com; s=arc-20160816; b=q/kBQNJsQsRPyniapkcmPgx38XMVhcfW6Pm/+ctt76Gs19hDPtUE3MERQM7jhDC9CW XeHY0rKvKJheZsTDXdHQE0/DMt3nOayrx8XbN4F4vQHB3k1y+N0Nc6LbsuADc/G6K2ka mwsQf60MaZtDbaiakgHfKx5ldY/e/t1ghlupo++tPdkzC9X7XgbvPJ7OHTge42HETvhF XPC7703I5Hj/Ql67NAoA+ZZExBZ+unfgemU1ytA7x8iMTdPHWYAeli62TC88dznS+5Wf 4K5VOatVnjJ/b9UALn5OvDzp+6pUjHMliYFPbW1GyFFom3RzZtT3kzNt/nIOMNRYHNfN B04A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=s8MlcMVmg6VSOHSEtvXmFKcsImcFdH0dMzmhrFVPHDY=; b=J79jJeyezndHtFd7ggsWDsHlaefNyFuxvhqxlG2XTvT4WSp+IifeK2w2gOnM2DhGDW bfPKnATymVK4c99P3fuIz0XXOpkweFQ86G0McRSAVaYhYqsMSNKlM0Q/OrVXVuxLNpei arfJWDFJto3X+ibwtqoyPvrjudUwsUfwd164Iuh5eirmrUM74E8Y96/s4nCM+LCc7nR4 fwpdKd0JGq+g5J0OWKb9hmt8pFUb6uyREkGbd9HqFuELBLD3StKRxgGWTt/9d/1byeFb 9+NdgNTdAKkFUD3Sbv+D+MxL9Sp6OpcnOJoO+tTM+MmIzC7QJUHRe83G+w1kgLwOVnvj fuVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=X2s+FIKw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12si535914plt.452.2017.10.13.04.59.24; Fri, 13 Oct 2017 04:59:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=X2s+FIKw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757931AbdJML7X (ORCPT + 6 others); Fri, 13 Oct 2017 07:59:23 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:50736 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757349AbdJML7W (ORCPT ); Fri, 13 Oct 2017 07:59:22 -0400 Received: by mail-lf0-f53.google.com with SMTP id a132so9321987lfa.7 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=bj+R++hs+YY9EVg/imdrl91Vqa20r55qv3NoUDhXfqD5ZdIuvZC61bi7TA1yxMNX9g mnGiIiJZbm7yFA7gblyEXkxTe7C2CbCS7nNVWwR9yKKd1lEI78ZOrAXbEiStOMJ/hTfe mcy2ZS3OFYv8MZhYaIFOfFJ9ab5Dqj9P9DKXMT+dQtYFw3L4+x4yb49MSFOL/0ERDc+S zU48iR3ByCAbyOeIVaBEfinuuF5PB68UGP6sD/DBeUsp1PyvFz2mGG5UGWob5KLPd597 O52uAzOPf6/SJvBudpkDKiPFefJfl9qj8I6sfkzHzhVekQLHzGqdwwudQLlhqlghajrt 870w== X-Gm-Message-State: AMCzsaXQLHdab9Nn65fIJ/qcp5d+/puikGS/++LnZ5MXe9jDCNPx65qo qzJ/ToGK52TCJQkUYwCGXD+knA== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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(+) -- 2.13.5 -- To unsubscribe from this list: send the line "unsubscribe devicetree" 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/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