Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp310858imm; Tue, 15 May 2018 01:57:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrFLdNNvsVZA+AE5vrWmJPKwaJbKud8RHquAWVjtj2+cO8NjdKy05Dn0nhrmZLNwE7x5DbH X-Received: by 2002:a17:902:321:: with SMTP id 30-v6mr4884727pld.122.1526374627760; Tue, 15 May 2018 01:57:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526374627; cv=none; d=google.com; s=arc-20160816; b=C2wYdJWuQfpkJQHPcCbHjw/XVnXniAiNgoCl3Zla/uapnaUMtPP8O9a/0JkcKo+dJx vo5HAR0ylMn47tUrcBD9kmtOsq5fzPt6Yv0iseoczUKGSn3e6wH5D8VykAU2ECL5wmvz htgEkwJDe+v328fBcuy5G2PectRxuspbeYWKvM7PDV2rAsTNMcMHQlMkhiLn/oTIidaK RZDf4FT2Pxzxnt3Suuj43FdG0K3rS7cuqX9Ytn3sSOB89V2vnumnVEb3J1WuFwyaTFq1 qNi6mnHvWYCCOeLPC5RaqWcn/KLdRBdd1wKsXjsrXvgPVrCE4a8fbNyccPNIWmaO02kN 36TQ== 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=vjvzp7MOhkEiWwMKApl3kkiw5DQa/KXBGHqoMg4l6n01WceB4WVpGPcMWeTzY2q6b4 ZlgdduWSWyszhQ9+JonpSAxM7b/Sot7e3df8ByUDxslLNq4byx4NGtmz+nHWaurlm2UH CDfcwilvRd+ZXZiHwTZWwaGFrKElWzOUr1E8LUpDspQjF4UOeSMh/6u3p3atbvxDl26n 1nTn073sGOlb8AVzfMv1lYwIwS4wyCjRo22M5JLbfFEZyrAJSDGJr3eWbp6lhK4seSG9 grAM03Vnwlf8aimTcYMDdRojRO4k8MA7xX70jq2bnVPBEJnws7NTfckhXDieMz+6KMxo GeqQ== 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 w25-v6si8935550pgv.526.2018.05.15.01.56.53; Tue, 15 May 2018 01:57:07 -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 S1752709AbeEOIy5 (ORCPT + 99 others); Tue, 15 May 2018 04:54:57 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:52757 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752555AbeEOIwi (ORCPT ); Tue, 15 May 2018 04:52:38 -0400 X-UUID: 38731af7cb4a4192989bc315a3718eb5-20180515 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 883853774; Tue, 15 May 2018 16:52:35 +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; Tue, 15 May 2018 16:52:32 +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; Tue, 15 May 2018 16:52:32 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v2 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Tue, 15 May 2018 16:52:16 +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