From patchwork Sun Jun 29 18:32:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Jarzmik X-Patchwork-Id: 4445001 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id CDD619F32E for ; Sun, 29 Jun 2014 18:36:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E29D320353 for ; Sun, 29 Jun 2014 18:36:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 133682034E for ; Sun, 29 Jun 2014 18:36:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1JvW-0002r4-R3; Sun, 29 Jun 2014 18:34:10 +0000 Received: from smtp01.smtpout.orange.fr ([80.12.242.123] helo=smtp.smtpout.orange.fr) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1X1Jv9-0002iV-3r for linux-arm-kernel@lists.infradead.org; Sun, 29 Jun 2014 18:33:47 +0000 Received: from localhost.localdomain ([90.38.42.162]) by mwinf5d53 with ME id LJZB1o00B3Vvi2203JZT2j; Sun, 29 Jun 2014 20:33:27 +0200 X-ME-Helo: localhost.localdomain X-ME-Date: Sun, 29 Jun 2014 20:33:27 +0200 X-ME-IP: 90.38.42.162 From: Robert Jarzmik To: devicetree@vger.kernel.org, Mike Turquette , Haojian Zhuang , Eric Miao Subject: [PATCH 4/4] clk: dts: document pxa27x clock binding Date: Sun, 29 Jun 2014 20:32:24 +0200 Message-Id: <1404066744-13416-5-git-send-email-robert.jarzmik@free.fr> X-Mailer: git-send-email 2.0.0.rc2 In-Reply-To: <1404066744-13416-1-git-send-email-robert.jarzmik@free.fr> References: <1404066744-13416-1-git-send-email-robert.jarzmik@free.fr> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140629_113347_335527_DB304FDF X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) Cc: Mark Rutland , Robert Jarzmik , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document the device-tree binding of Marvell PXA based SoCs. PXA clocks are mostly fixed rate and fixed ratio clocks derived from an external oscillator, and gated by a register set (CKEN or CKEN*). Signed-off-by: Robert Jarzmik --- .../devicetree/bindings/clock/pxa-clock.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/pxa-clock.txt diff --git a/Documentation/devicetree/bindings/clock/pxa-clock.txt b/Documentation/devicetree/bindings/clock/pxa-clock.txt new file mode 100644 index 0000000..beb28ea --- /dev/null +++ b/Documentation/devicetree/bindings/clock/pxa-clock.txt @@ -0,0 +1,32 @@ +* Clock bindings for Marvell PXA chips + +Required properties: +- compatible: Should be "marvell,pxa-clocks" +- reg: Address and length of the CKEN register +- #clock-cells: Should be <1> +- clocks: the parent fixed rate clocks +- clock-indices: the bit index in the CKEN register gating the clock +- clock-outpout-names: the names of the clocks + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell. + +Examples: + +pxa2xx_clks: pxa2xx_clks@41300004 { + compatible = "marvell,pxa-clocks"; + clocks = <&clk_14_857mhz>, <&clk_14_857mhz> + #clock-cells = <1>; + clock-output-names = + "pxa27x-ffuart", "pxa27x-btuart"; + clock-indices = +}; + + +* Core clock bindings for Marvell PXA27x chips + +Required properties: +- compatible: Should be "marvell,pxa270-core-clocks" +- #clock-cells: Should be <1> +- clocks: the parent fixed rate clock, should be the 13MHz oscillator +- clock-outpout-names: the names of the 7 core clocks