Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6010894imm; Wed, 27 Jun 2018 00:11:30 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ8Kuedv9der//4+wpTN1AV2BQAhuJrenlQYw5aGuLnYpezZVr/EmDQQ/FpR09cNJo9KpBO X-Received: by 2002:a17:902:bd42:: with SMTP id b2-v6mr4916474plx.23.1530083490327; Wed, 27 Jun 2018 00:11:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530083490; cv=none; d=google.com; s=arc-20160816; b=DPg9HywEIpP/2AHq7I5CNBkuTNSteaFhNqp5d67FakWuT+Y9v5RfWzJMYi2e8geqxW vTdVTZsSVoVqkxGu2Wp2IwIjLYPyrOHi6LW2XHL0nXGYmjro61ERSoCfWoHSH8xeoCOU lzbYHYGWD3Pra6sgSA90AV4QL+sZeAlXoHJxxAIh+ojnoKG+aCu1O0Z6bbybsVyreuay HPDI6iGwADgc0cNQoGTgxBrN8sN+eeI+33WdJKW6Nubxpp0YHTEWM65dT/jznNrUxaS2 iOJmOwu3fxSM788xYaUbJjFhzkhDflVE3bGLvAp4z5AHZK42dSwHvZ53gySphVKY97w5 jobw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=ZwsAPbv9vHcD2P9v1GI3O5Kh9J53DH3mFoGWtjatVW0=; b=dP4Nt4Y1JiMh0Lsjorm40GhKzYamZuY1G12JG7LygxUJDBIMLrP9Q2hUo0KdLFcRq6 oofbKVxjyRY7lYPJD/O0UtdqVT1vH7p9wVYiB1/JfyaiSI7OQh59RQ2bXXqH3TTK8+ni KFkBt/F6Y41z/dAL4+FARp4o56SwYHSkeNGfsXF05Fktgf6gjhiGEf2uBti8Im4O78X9 bdpBBU56mLviulKsXidDNH7UISlq1Z2XxAnSQZ9FirePifPBJDDTFP2/S5kSumLY8/6b lS5KnQlGB5Y51hDtpiRugHbk79bdGHTX8AgGonq08knK3Mzcz8vjrw2nN3GP2I4o+HbH 9Wdw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r6-v6si3256514pfl.260.2018.06.27.00.11.15; Wed, 27 Jun 2018 00:11:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752757AbeF0Fne (ORCPT + 99 others); Wed, 27 Jun 2018 01:43:34 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35835 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752495AbeF0Fnc (ORCPT ); Wed, 27 Jun 2018 01:43:32 -0400 X-UUID: b40d56ea0a754c18b9c7ed2e3463b27e-20180627 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 944696649; Wed, 27 Jun 2018 13:43: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; Wed, 27 Jun 2018 13:43:27 +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; Wed, 27 Jun 2018 13:43:27 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v4 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Wed, 27 Jun 2018 13:43:19 +0800 Message-ID: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/mediatek-bluetooth.txt diff --git a/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt b/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt new file mode 100644 index 0000000..1335429 --- /dev/null +++ b/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt @@ -0,0 +1,35 @@ +MediaTek SoC built-in Bluetooth Devices +================================== + +This device is a serial attached device to BTIF device and thus it must be a +child node of the serial node with BTIF. The dt-bindings details for BTIF +device can be known via Documentation/devicetree/bindings/serial/8250.txt. + +Required properties: + +- compatible: Must be one of + "mediatek,mt7622-bluetooth"": for MT7622 SoC +- clocks: Should be the clock specifiers corresponding to the entry in + clock-names property. +- clock-names: Should contain "ref" entries. +- power-domains: Phandle to the power domain that the device is part of + +Example: + + btif: serial@1100c000 { + compatible = "mediatek,mt7622-btif", + "mediatek,mtk-btif"; + reg = <0 0x1100c000 0 0x1000>; + interrupts = ; + clocks = <&pericfg CLK_PERI_BTIF_PD>; + clock-names = "main"; + reg-shift = <2>; + reg-io-width = <4>; + + bluetooth { + compatible = "mediatek,mt7622-bluetooth"; + power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; + clocks = <&clk25m>; + clock-names = "ref"; + }; + }; -- 2.7.4