From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: robh+dt@kernel.org, gregkh@linuxfoundation.org, jslaby@suse.com, andriy.shevchenko@linux.intel.com, jan.kiszka@siemens.com, heikki.krogerus@linux.intel.com, hpeter@gmail.com, vigneshr@ti.com, matthias.bgg@gmail.com 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 List-Id: devicetree@vger.kernel.org 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"; + }; -- 2.7.4