From patchwork Wed Nov 7 10:12:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 10672075 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 3EBF213A4 for ; Wed, 7 Nov 2018 10:13:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2E64A28DEE for ; Wed, 7 Nov 2018 10:13:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2128A28C93; Wed, 7 Nov 2018 10:13:45 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham 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 60E1C28C93 for ; Wed, 7 Nov 2018 10:13:44 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=SXGqy8JdEHQOu4JPcahUYllPQ9686ZNd6K2uVnJ3sTs=; b=NGTjUWJ3Vf4+bn Igmvct19+3unqauibM4DUqEMUk5KgpdZB1IVK26coa/fIIAGztWq7uVvO4lSWyc7z3xLceoXEgeJK 64qnS791TR+or/HewnJt79S8GWRaw+/pMy3INEk5jVPGk0v3MsR0Hq82k47XniKan9q4toXx8qX7E q7CbAkkAqRrTfK0svmpGAJW7IXeH+wQr6jDD8dMrUuIvOhsGshnfOgYD8BdwWZqqAH8vJMe0Xs2MX aVT2GZ7AEUkX4ZXlPXAPu/PLjnXgj4I6oU6XS7zG+F90ie1dX0rPKNO9MOhOhT+qYuclwIrv0H6QU GrnD+4WjkUy0Sxw205qA==; 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 1gKKqE-0003HM-Hq; Wed, 07 Nov 2018 10:13:42 +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 1gKKqD-0003HA-Ap for linux-arm-kernel@bombadil.infradead.org; Wed, 07 Nov 2018 10:13:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type: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=5zbuSbxYUxf6yljzZZY1CoNlURRlXh9Bf5budmZZrvI=; b=r4k755M6/P9dVmrwRxXyHt/5kv UjdJywxGj7n8TMACV1lY5bj0945eWzAxQfzzd/AmqPoDr3n06u7z0sMEyK6inEVkK/3OjPFJhgzpW 4zR4e9zwI99r/hCufpwpvfkxU+CsS7m+zqBS66qKJe/OcqNyCM2mNRUh9hAd0P1KG3bjS37flEW32 OxBU5kv2KZYlrpSYilUtAG0kIaOkQERF1DHWJXi1bb4ekiufHCPLdAqFqp1PUQNOEFrzOPZut4D9p W6iwXsdc/fJmTqCRBpM9ThX3RPbKPW9/uD3Azfbn6pfQrBHV3ABZ5H9v25IwD/2gZyGAJbF7FK6Tu vdj2c3YQ==; Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gKKq9-0003A8-Fo for linux-arm-kernel@lists.infradead.org; Wed, 07 Nov 2018 10:13:39 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id 46F395F863; Wed, 7 Nov 2018 18:13:16 +0800 (CST) From: Chen-Yu Tsai To: Marcel Holtmann , Johan Hedberg , Rob Herring , Mark Rutland , Maxime Ripard Subject: [PATCH 01/15] dt-bindings: net: broadcom-bluetooth: Fix external clock names Date: Wed, 7 Nov 2018 18:12:54 +0800 Message-Id: <20181107101308.7626-2-wens@csie.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181107101308.7626-1-wens@csie.org> References: <20181107101308.7626-1-wens@csie.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181107_101337_888778_55DA1D8D X-CRM114-Status: GOOD ( 15.71 ) 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: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-bluetooth@vger.kernel.org, linux-sunxi@googlegroups.com, Loic Poulain , linux-arm-kernel@lists.infradead.org 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 The Broadcom Bluetooth controllers can take up to two external clocks: an external frequency reference, substituting the main crystal, and a LPO clock at 32.768 kHz substituting the internal LPO clock. In particular, the external LPO clock must be used when the controller does not have NVRAM connected, and the main reference frequency is not the default 20 MHz. This is described in detail in the datasheet. The original "extclk" clock name is ambiguous as to which of these it refers to, and some designs might even require both. This patch deprecates the existing name, and adds "txco" and "lpo". Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/net/broadcom-bluetooth.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt index 4194ff7e6ee6..2535e54219af 100644 --- a/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt +++ b/Documentation/devicetree/bindings/net/broadcom-bluetooth.txt @@ -18,7 +18,10 @@ Optional properties: - shutdown-gpios: GPIO specifier, used to enable the BT module - device-wakeup-gpios: GPIO specifier, used to wakeup the controller - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor - - clocks: clock specifier if external clock provided to the controller + - clocks and clock-names: clock specifier if external clocks are provided + - "txco": external reference clock + - "extclk": deprecated, replaced by "txco" + - "lpo": external low power 32.768 kHz clock - clock-names: should be "extclk"