Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1597704imm; Thu, 14 Jun 2018 00:15:45 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKqSrPMrYcwcIzxglI0yFyOwujod+nva3RbwJ4siAkEG7SiZdLM+69lL8kemdS4opRUTERD X-Received: by 2002:a63:7b03:: with SMTP id w3-v6mr1314043pgc.52.1528960545460; Thu, 14 Jun 2018 00:15:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528960545; cv=none; d=google.com; s=arc-20160816; b=jEyUACm8f9PAfRJmLOvRxe/fah387sGbB+qH9Th5AkEcfudOuIk6Ir7kbE6kTP/791 W8DVehyzb2d0Cx7NgwkMYzGcZWiv5dp98Y/hJHL0o0/xfNdcwCC8XOzx6esde3YzkzRE QzpRzfayBih7rE6tMW6TpaIVjo6Fh7xhNibyKFAVih6TtFSTd5D5NpPrflx1u8PXJOTB uja7ZEbGx59iOxT9tRSzHYL2GffLBmosNIc+9iTCNFnxmG5spp5jDTI+bexmtbr8HESG TwPU6/Wz7QiTBri4/GGC6SDbLtqERJ1HPl3zSNSsS7DfQmmZRt04nFljBFyDeGaQMrS3 PGpA== 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=0NotJZs7/RvxiL9tRR3Iyc6zM7Cdmm9EzjZrUpwjlGP1LugKfNOVZkyzKKlHQWcMzm i3HWxgMAV4+PlBW95PCxRR32BodnZyrT60rekNtlZsFSySl+BVMxHuf/h8P3RNxJYPTb fehKeQs9DNteLPqnQ4HZ37JHfkIabRH/fqg1T5iFEyrinGzEqUZzYEno42o1wocq1OmV We8xFvtG/kEIZ8h5K01+N2q8JskLsTzXkArGfa6OZwKD2uoxo9cIYhMePw4n8CMgmXAq jr+3StpzLkpQHkRDgEvorsBpupKEOAHTPNceg+pF1HIK2Mr45fbfP8y4KF+sSHMMsqMF 6UoQ== 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 n9-v6si3959340pgf.497.2018.06.14.00.15.31; Thu, 14 Jun 2018 00:15:45 -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 S1754755AbeFNHOo (ORCPT + 99 others); Thu, 14 Jun 2018 03:14:44 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:59671 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754598AbeFNHOj (ORCPT ); Thu, 14 Jun 2018 03:14:39 -0400 X-UUID: d2ba05d2b4dc4ed2861de8f2c6409d5c-20180614 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1707222424; Thu, 14 Jun 2018 15:14:35 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 14 Jun 2018 15:14:33 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Thu, 14 Jun 2018 15:14:33 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v3 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Thu, 14 Jun 2018 15:14:23 +0800 Message-ID: <83e2a39ae59d1c30b61f65efd12fdcd60be4bd70.1528960095.git.sean.wang@mediatek.com> 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