Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5205263imm; Tue, 19 Jun 2018 06:50:38 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIXfbMb9nI4SHmxosQ54SIjZ8UE3d/XSzoma9FrVSHmktUoCjJG0H6FDgQPi/cO//aiZ4tW X-Received: by 2002:a62:b417:: with SMTP id h23-v6mr18251176pfn.121.1529416238000; Tue, 19 Jun 2018 06:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529416237; cv=none; d=google.com; s=arc-20160816; b=GDTq2ho6sgYfHnPrwK2pt1hf9ia/xiXMx3zkf/s8YUiLNkMl/MErhQmYx6czmmu+o5 u3buAzyIfOG1zMOfCG9H1+tmdxnp/5YdLFn2LdZecjq4tzkzCT9wJgkxBFZD/od7eb7v D3ji4v4KTNyxkZ61p371ARHb0gO/jBvnahze3KLN4V+PsefsPdNyeAus/lcWhk/lP3dZ +4ROgAYbw1m7NQjgs68DWL52YyRgsAvGsQD9ZjzAXKx3+XmMq6Vwe/T03RIJbLrL+F1t axT0tTGUgQTlalYckcJWfbKjT6gR7xfmoAJW1xbCjduWWMDEHtKw2I0yZr5dU5/bIx25 rArg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=lkeoXAUd6G/xYxdckKiuGvkmNYJqJ7ebrImmJ78/Z/g=; b=X0NI92W+kzGPy26ZIT+/rYjoHDa3+cLDSIv38nIFOsINzzv/XuLRrKvrnd4QMX2Xv0 adZRY1WCCMdElLUB02JMXkV77hFElfwAhe2ssebi08QlxNLxEtrm7Jh73imVqti7ZQ7b ZDFGvrlpXEeFqV5qZkVTRj8dlBT/abiy3KlFDgyk1PxDBiJHh5PsjLF4aYs8QZ7A3w6G Wgd9eoHMsL6HTN1CCK530j0gZ9vEx9vqVm8Bx3V9ZKPpaXVTOJmn+4de4Rgsp51Wt3oo GadCVZ6IiJq0U89h0DjjrrJ9eH/ivdNv4C5+YM7yOudxIFyuK8ch20VKTdC7DebxNnDW 74Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="SlJ8Ta1/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=RTJzbkrg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1-v6si14206012pgc.502.2018.06.19.06.50.24; Tue, 19 Jun 2018 06:50:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="SlJ8Ta1/"; dkim=pass header.i=@codeaurora.org header.s=default header.b=RTJzbkrg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966539AbeFSNsH (ORCPT + 99 others); Tue, 19 Jun 2018 09:48:07 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:41242 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965599AbeFSNqb (ORCPT ); Tue, 19 Jun 2018 09:46:31 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 7A28260B24; Tue, 19 Jun 2018 13:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529415990; bh=VZyDqzz2IQm0nQxLG5dgUcHi8gn12rBiU0Uo8QHBbDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SlJ8Ta1/1INcyjn3BfoyECo7amy9qlZkMtj/ruI1/GSBJoCJof6tw7bg74BpzXcme d/nnMqbC8uxy0KEQvs5cK6tIxxgeAH8PMOA4KcBPupc/LpOgO5cGkmFNYFFKesHWVk Qhf52+Nj8LRFfHwsTM8He7UCN7dFhTj5UHGg08f8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from srichara-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A9A8360B24; Tue, 19 Jun 2018 13:46:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1529415989; bh=VZyDqzz2IQm0nQxLG5dgUcHi8gn12rBiU0Uo8QHBbDQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RTJzbkrgHtDanqdonXCTOUByO/vqwOWuoX+gGMsRyrjEsgIOHmYhresDGXf3j+SDY PTNF+CUOMvrI5CT5vEfgazfCPdxV0ojrOxb+aQBxRJ/62cZuu9AMElyuN2Jm0Lur4e rfd//RM5SoiW97gT9pNa6Er8Ld831TBosGPgAhdI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A9A8360B24 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sricharan@codeaurora.org From: Sricharan R To: robh@kernel.org, viresh.kumar@linaro.org, mark.rutland@arm.com, mturquette@baylibre.com, sboyd@codeaurora.org, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, rjw@rjwysocki.net, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-pm@vger.kernel.org, linux@arm.linux.org.uk, thierry.escande@linaro.org, ctatlor97@gmail.com Cc: sricharan@codeaurora.org Subject: [PATCH v10 09/14] dt-bindings: arm: Document qcom,kpss-gcc Date: Tue, 19 Jun 2018 19:15:20 +0530 Message-Id: <1529415925-28915-10-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1529415925-28915-1-git-send-email-sricharan@codeaurora.org> References: <1529415925-28915-1-git-send-email-sricharan@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Stephen Boyd The ACC and GCC regions present in KPSSv1 contain registers to control clocks and power to each Krait CPU and L2. Documenting the bindings here. Reviewed-by: Rob Herring Signed-off-by: Stephen Boyd --- [v10] Updated to add clocks and clock-names property newly .../devicetree/bindings/arm/msm/qcom,kpss-acc.txt | 19 ++++++++++ .../devicetree/bindings/arm/msm/qcom,kpss-gcc.txt | 44 ++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt index 1333db9..7f69636 100644 --- a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt +++ b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt @@ -21,10 +21,29 @@ PROPERTIES the register region. An optional second element specifies the base address and size of the alias register region. +- clocks: + Usage: required + Value type: + Definition: reference to the pll parents. + +- clock-names: + Usage: required + Value type: + Definition: must be "pll8_vote", "pxo". + +- clock-output-names: + Usage: optional + Value type: + Definition: Name of the output clock. Typically acpuX_aux where X is a + CPU number starting at 0. + Example: clock-controller@2088000 { compatible = "qcom,kpss-acc-v2"; reg = <0x02088000 0x1000>, <0x02008000 0x1000>; + clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>; + clock-names = "pll8_vote", "pxo"; + clock-output-names = "acpu0_aux"; }; diff --git a/Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt new file mode 100644 index 0000000..e628758 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt @@ -0,0 +1,44 @@ +Krait Processor Sub-system (KPSS) Global Clock Controller (GCC) + +PROPERTIES + +- compatible: + Usage: required + Value type: + Definition: should be one of the following. The generic compatible + "qcom,kpss-gcc" should also be included. + "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc" + "qcom,kpss-gcc-apq8064", "qcom,kpss-gcc" + "qcom,kpss-gcc-msm8974", "qcom,kpss-gcc" + "qcom,kpss-gcc-msm8960", "qcom,kpss-gcc" + +- reg: + Usage: required + Value type: + Definition: base address and size of the register region + +- clocks: + Usage: required + Value type: + Definition: reference to the pll parents. + +- clock-names: + Usage: required + Value type: + Definition: must be "pll8_vote", "pxo". + +- clock-output-names: + Usage: required + Value type: + Definition: Name of the output clock. Typically acpu_l2_aux indicating + an L2 cache auxiliary clock. + +Example: + + l2cc: clock-controller@2011000 { + compatible = "qcom,kpss-gcc-ipq8064", "qcom,kpss-gcc"; + reg = <0x2011000 0x1000>; + clocks = <&gcc PLL8_VOTE>, <&gcc PXO_SRC>; + clock-names = "pll8_vote", "pxo"; + clock-output-names = "acpu_l2_aux"; + }; -- 1.9.1