From patchwork Wed Aug 2 17:05:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sean Wang X-Patchwork-Id: 9877161 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 16C8D602BC for ; Wed, 2 Aug 2017 17:06:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F3C53287FE for ; Wed, 2 Aug 2017 17:06:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8ABB28807; Wed, 2 Aug 2017 17:06:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 806432880B for ; Wed, 2 Aug 2017 17:06:07 +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=/Nc/UhIY7RTfb1t91chVD4Lq5q1+mwNLaO9aDjq/U7M=; b=u1d4vhF8L8d/fC WO4q9lSMxLrFD3QHyIvX/hjA1fqVCqEvDL9APcGuhTTg4saX7R8hNDR8OQnjOdHMSWOxBMK8vrcLM nyEx46rope/AcMw12yMW+eiZR59PvuAJthFJ0nvCe7loJB4h1PB5IvdTPCp8IH2SAoNZRmC2DXJ6S L+z7hxR7s28L/vGIRZqdCVD1s5FQyL+HAVAvco55CzRldnLIF6xehBZwogkyCJqdpofwFBoxZ0KBw Jhv4Snyjc4jREVCCMdLcBqPMfR2O+EOw38EqANafs8cD3hwRMbmYfoHjABZr1oPfcUM0k/n2+05AU OumW5HmVJaI9cw5rgouA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dcx5u-0000mJ-Qn; Wed, 02 Aug 2017 17:06:02 +0000 Received: from [210.61.82.184] (helo=mailgw02.mediatek.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dcx5q-0000Zc-El; Wed, 02 Aug 2017 17:06:00 +0000 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1484361566; Thu, 03 Aug 2017 01:05:29 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 3 Aug 2017 01:05:28 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 3 Aug 2017 01:05:27 +0800 From: To: , , , , , , , , Subject: [PATCH 1/2] dt-bindings: serial: Add MediaTek BTIF controller bindings Date: Thu, 3 Aug 2017 01:05:22 +0800 Message-ID: <6b2ad0dc976259563562e7ab23abdacf68c94aa5.1501692369.git.sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170802_100558_668281_B153452E X-CRM114-Status: GOOD ( 13.49 ) 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, Sean Wang , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-serial@vger.kernel.org, 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 From: Sean Wang Document the devicetree bindings for MediaTek BTIF controller which could be found on MT7622 and MT7623 SoC. Signed-off-by: Sean Wang --- .../devicetree/bindings/serial/mtk-btif.txt | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/mtk-btif.txt diff --git a/Documentation/devicetree/bindings/serial/mtk-btif.txt b/Documentation/devicetree/bindings/serial/mtk-btif.txt new file mode 100644 index 0000000..80c1f5a --- /dev/null +++ b/Documentation/devicetree/bindings/serial/mtk-btif.txt @@ -0,0 +1,26 @@ +Device-Tree bindings for MediaTek BTIF controller found on those +MediaTek SoCs with Bluetooth feature + +Required properties: +- compatible: Should be one of: + - "mediatek,mt7622-btif" : for MT7622 SoC + - "mediatek,mt7623-btif" : for MT7623 SoC +- reg: The base address of the BTIF register bank; +- interrupts: A single interrupt specifier; +- clocks: list of clock specifiers, corresponding to + entries in clock-names property; +- clock-names: should contain "main" entries. + +Optional properties: +- mediatek,loopback: Boolean; if defined, indicates that BTIF controller + running on the loopback mode. + +Example: + + btif: btif@1100c000 { + compatible = "mediatek,mt7623-btif"; + reg = <0 0x1100c000 0 0x1000>; + interrupts = ; + clocks = <&pericfg CLK_PERI_BTIF>; + clock-names = "main"; + };