From patchwork Tue Aug 14 12:12:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sricharan Ramabadhran X-Patchwork-Id: 10565561 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DE4DD17E1 for ; Tue, 14 Aug 2018 12:39:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB94D29ABE for ; Tue, 14 Aug 2018 12:39:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BEA3B29AC7; Tue, 14 Aug 2018 12:39:38 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=unavailable version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6BD1029ABE for ; Tue, 14 Aug 2018 12:39:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=BRiQfxEvkR/KpHSsN1kX9B38wOfUkw9zaQgZP13F0xA=; b=IFHNw7XSsamonplvc+1Ufgwu2H t01SB/IY4uO3AQsvLGXpAECRnjM5FDg9ldbXNp7CfzYV5llxhNPiu2df9cJaHEORwUmEY4XNDtJvQ N9fycg6/TACnpguGBJmsvj8pbvtuhd2oRGywaRubmGPiaVmKZEwZcDnk7YTVjX5ALTT0IkQFxKShV bS1qGlpQ8AEmwJxujzwTgOovyl51SXde4KJ9SGqK6kcOAMT5hup6ryE/juOhgXX7xMuCesi+udOEX UF1P0ys7Feowz0L12QNlGe3w6BBzwnFpOo3aZcQ9DSs15UX9JTaqw9mtpIO6HKGsBK8uQtv2Eorae j7vDgr9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpYbp-0005qu-9P; Tue, 14 Aug 2018 12:39:37 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpYS0-0001DV-0n for linux-arm-kernel@bombadil.infradead.org; Tue, 14 Aug 2018 12:29:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=dTZXuZn23fWkrSvWn/WOlM0EV9llmrFMR8+MnYt7IRM=; b=mnv4gkUdOiU9DKs0gi1drJYVa mCncWfseDVfl0hZobuteEZZJI8xLyryG3x1NA2naGZoD1YkG3/IHTsfImZznSmmZjdqmr3i/F/SZt ZIq/KF+6S07w7rh2/K6wpaE6DwENFKdES+sL9PXJKvoMmSfAkNMhfWR9gxGarR+fHIUwdNHLhpxug YazNYcwmI1Iq+Ed7Yz2COu+1bVvS2f0WA/PF846sXIWHqHrCmTeUCxcd+5tewGaRHsGf5jirUuDYH IyptNRCa0U6Cz4ELrWYmdshgIJlxDEPewjWRE1WD4iGouRRy98rfwr9U7w7U2B/ni0OKiyyZY0xga h9gBdUJGA==; Received: from smtp.codeaurora.org ([198.145.29.96]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fpYCl-0007NP-AL for linux-arm-kernel@lists.infradead.org; Tue, 14 Aug 2018 12:13:45 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9B00660D83; Tue, 14 Aug 2018 12:13:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534248811; bh=4B2qv+0YsvV/stjGfH9ZirfqD8TnSJziz7SDcxhd94I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BzQVMtvRuAyuf77mqa/8I7jY+mG2vvaz9UTYrhHB4+vcYfVs5hw4jPpDvyCAga2UN 4lCEqFw2iQrmduEG6DDoXz72s6jsrFjtb0o2RHROjDaNuSAajapbNFUOC6Bo4UHDxM YQlz+tgnYd5B5keQXY/PwSGRB47LcjxMAqjIhPa4= 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 9F44860CEF; Tue, 14 Aug 2018 12:13:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534248795; bh=4B2qv+0YsvV/stjGfH9ZirfqD8TnSJziz7SDcxhd94I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lh1HEjZ17UmALQ7ruLCS+m908s6QE7wQEC1qkMXD+WX2XvvOGnGn50HQyYea2snAT Ufc/gTQoZ9Hg2lzXZRM8kd2UA2vHpwnHslIicEbbkAAfvRGYr1/yIX7gHD0oncldwR 9F7jG66bWKvWgkqX2x/u8ZafjXMUWgcJsAcYgtyw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 9F44860CEF 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: mark.rutland@arm.com, robh@kernel.org, sudeep.holla@arm.com, linux@arm.linux.org.uk, ctatlor97@gmail.com, rjw@rjwysocki.net, viresh.kumar@linaro.org, mturquette@baylibre.com, linux-pm@vger.kernel.org, sboyd@codeaurora.org, linux@armlinux.org.uk, thierry.escande@linaro.org, linux-kernel@vger.kernel.org, david.brown@linaro.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, andy.gross@linaro.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, niklas.cassel@linaro.org Subject: [PATCH v12 04/14] dt-bindings: clock: Document qcom,hfpll Date: Tue, 14 Aug 2018 17:42:23 +0530 Message-Id: <1534248753-2440-5-git-send-email-sricharan@codeaurora.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1534248753-2440-1-git-send-email-sricharan@codeaurora.org> References: <1534248753-2440-1-git-send-email-sricharan@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180814_131343_642360_1972AFC0 X-CRM114-Status: GOOD ( 14.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sricharan@codeaurora.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Stephen Boyd Adds bindings document for qcom,hfpll instantiated within the Krait processor subsystem as separate register region. Reviewed-by: Rob Herring Signed-off-by: Stephen Boyd Signed-off-by: Sricharan R --- .../devicetree/bindings/clock/qcom,hfpll.txt | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,hfpll.txt diff --git a/Documentation/devicetree/bindings/clock/qcom,hfpll.txt b/Documentation/devicetree/bindings/clock/qcom,hfpll.txt new file mode 100644 index 0000000..ec02a02 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/qcom,hfpll.txt @@ -0,0 +1,60 @@ +High-Frequency PLL (HFPLL) + +PROPERTIES + +- compatible: + Usage: required + Value type: : + shall contain only one of the following. The generic + compatible "qcom,hfpll" should be also included. + + "qcom,hfpll-ipq8064", "qcom,hfpll" + "qcom,hfpll-apq8064", "qcom,hfpll" + "qcom,hfpll-msm8974", "qcom,hfpll" + "qcom,hfpll-msm8960", "qcom,hfpll" + +- reg: + Usage: required + Value type: + Definition: address and size of HPLL registers. An optional second + element specifies the address and size of the alias + register region. + +- clocks: + Usage: required + Value type: + Definition: reference to the xo clock. + +- clock-names: + Usage: required + Value type: + Definition: must be "xo". + +- clock-output-names: + Usage: required + Value type: + Definition: Name of the PLL. Typically hfpllX where X is a CPU number + starting at 0. Otherwise hfpll_Y where Y is more specific + such as "l2". + +Example: + +1) An HFPLL for the L2 cache. + + clock-controller@f9016000 { + compatible = "qcom,hfpll-ipq8064", "qcom,hfpll"; + reg = <0xf9016000 0x30>; + clocks = <&xo_board>; + clock-names = "xo"; + clock-output-names = "hfpll_l2"; + }; + +2) An HFPLL for CPU0. This HFPLL has the alias register region. + + clock-controller@f908a000 { + compatible = "qcom,hfpll-ipq8064", "qcom,hfpll"; + reg = <0xf908a000 0x30>, <0xf900a000 0x30>; + clocks = <&xo_board>; + clock-names = "xo"; + clock-output-names = "hfpll0"; + };