From patchwork Mon May 4 21:04:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 6330081 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 24647BEEE1 for ; Mon, 4 May 2015 21:08:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 436D62027D for ; Mon, 4 May 2015 21:08:15 +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 6A60D2028D for ; Mon, 4 May 2015 21:08:14 +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 1YpNYg-0006KE-8e; Mon, 04 May 2015 21:05:46 +0000 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YpNXp-0004kY-QE for linux-arm-kernel@lists.infradead.org; Mon, 04 May 2015 21:04:55 +0000 Received: by widdi4 with SMTP id di4so136198546wid.0 for ; Mon, 04 May 2015 14:04:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ySgHdDZFa3nPMGHefeswUDtD1rG2SyisvbtQMxiB5JI=; b=sAnQprfmdk1PEjltZc8EgKiG9P0A4KfzYWlrURuIQ14ncDw8lBm12LFJguLc25jFsb gvxo9pG3vzyfFM9mKD6Frm+9crEolAJtlXHRbh1HrId4Z5MuCQOar4f+mHZ9OepASjDm 8F5dkvsfBh/l3RgNBuOQUUrPDLL2cGuFigKRhIUI2BylK3guT6pOtceXxS0tVLICC36i M15UtH86zItaRFOoIHvCBkotL9Tothtiq2nwOGPrt6F5P1gpGAgO2TPQq07l6zQaF3t+ ALK4iHRqYNMlzlJDA7At54yODrsLwTw8lo+JL4V3Yw9c5j1NqBfLPIVRFiWxN1wUBaQ6 E/lw== X-Received: by 10.194.97.196 with SMTP id ec4mr6420296wjb.3.1430773471045; Mon, 04 May 2015 14:04:31 -0700 (PDT) Received: from topkick.lan (f051147104.adsl.alicedsl.de. [78.51.147.104]) by mx.google.com with ESMTPSA id u3sm22288583wjq.36.2015.05.04.14.04.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2015 14:04:30 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH v2 1/3] clk: si5351: Mention clock-names in the binding documentation Date: Mon, 4 May 2015 23:04:14 +0200 Message-Id: <1430773456-15203-2-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1430773456-15203-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1430773456-15203-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150504_140454_043992_2AFF7250 X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: -0.8 (/) Cc: Jean-Francois Moine , Mike Turquette , Jason Cooper , Andrew Lunn , Stephen Boyd , linux-kernel@vger.kernel.org, Gregory Clement , Michael Welling , Russell King , linux-clk@vger.kernel.org, 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Since the introduction of clk-si5351 the way we should deal with DT provided clocks has changed from indexed to named clock phandles. Amend the binding documentation to reflect named clock phandles by clock-names property. Signed-off-by: Sebastian Hesselbarth --- Cc: Mike Turquette Cc: Stephen Boyd Cc: Jean-Francois Moine Cc: Michael Welling Cc: Russell King Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- Documentation/devicetree/bindings/clock/silabs,si5351.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/silabs,si5351.txt b/Documentation/devicetree/bindings/clock/silabs,si5351.txt index c40711e8e8f7..28b28309f535 100644 --- a/Documentation/devicetree/bindings/clock/silabs,si5351.txt +++ b/Documentation/devicetree/bindings/clock/silabs,si5351.txt @@ -17,7 +17,8 @@ Required properties: - #clock-cells: from common clock binding; shall be set to 1. - clocks: from common clock binding; list of parent clock handles, shall be xtal reference clock or xtal and clkin for - si5351c only. + si5351c only. Corresponding clock input names are "xtal" and + "clkin" respectively. - #address-cells: shall be set to 1. - #size-cells: shall be set to 0. @@ -71,6 +72,7 @@ i2c-master-node { /* connect xtal input to 25MHz reference */ clocks = <&ref25>; + clock-names = "xtal"; /* connect xtal input as source of pll0 and pll1 */ silabs,pll-source = <0 0>, <1 0>;