Received: by 10.213.65.68 with SMTP id h4csp3207634imn; Tue, 3 Apr 2018 00:19:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+77dHEKQyCh/pj46wmVo64O2ToJRK7SdX6nXZLSbz7HLigqfSlu9Hb0PahcrBhn+DYaexr X-Received: by 10.101.93.5 with SMTP id e5mr8504837pgr.247.1522739941250; Tue, 03 Apr 2018 00:19:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522739941; cv=none; d=google.com; s=arc-20160816; b=JOgKJ/4K4IeHUCBe7w45LrouWrRfn37mWreXHC9B/3y+t0Dj7s4K0/uBhhkJwbtqlQ RUAZkiq44YlODpiK7IkGp9wBiKsimwmuYW0iakUj/3u+Aplq4aPeVHo8IRwU0IPBe9fl MWOJvOsDTKm2AJ2a2WzyOMTD5E7ylLm9rFHH5vkXDInwNlXvNeBZxD6StQdSdtUy3sAH Sw8TrV6AOSsHhfYEjzYJaXFUF9IsZq8fcHZTRl7EMiFuwUpzLGcDrv+9AAkeEjK9VV62 rkCdZBVSJQQVAiktpaeaIt01Utw6wNG1y7ayat2rQbqbu+WSUTrUom00tUfmSpDaQRzi pgLA== 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=l6d+6fcnoY4JzgsicbCEDlRLZ5w2R7urtr3J0UrbCUQ=; b=Yr6viFRKAWAbsNZ9BBCF67uk2nNrOKhX8Ux2fbuE0hkn7a1rbxjY+kKasy2/h2rPkt x945xo5KmD1ZiLZjFve3TmqIZnsdsIkb37EOhV9vK+POk5/9zwGbXYjxr25lz9SdaNEl MXHqElK/hLlEsSPFHXOdcu0Ir6ws6CN0ZfQLIpKEF/oLWPhA9c9wEBzTo5NCg4sB+4j7 V6CERd3dNALXftORyW0yhx8mW6v7n4Cf+3IPDui7rqW3XC5Diqm9Q+hQ+wbmgXE36q+b EJ/bdnmO8A3c+Hs5cw24phBZKcbW9Vrk0WEwOF8Jlo1r/QNlmgrOPgj7XRY1es20hY/9 dYJg== 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 s8-v6si2653272plk.550.2018.04.03.00.18.47; Tue, 03 Apr 2018 00:19:01 -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 S1754790AbeDCHQN (ORCPT + 99 others); Tue, 3 Apr 2018 03:16:13 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:58293 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754855AbeDCHQH (ORCPT ); Tue, 3 Apr 2018 03:16:07 -0400 X-UUID: 9557350225c342259d90566c8738db45-20180403 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1186904898; Tue, 03 Apr 2018 15:16:05 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs08n2.mediatek.inc (172.21.101.56) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 3 Apr 2018 15:16:04 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Tue, 3 Apr 2018 15:16:04 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v1 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Tue, 3 Apr 2018 15:15:51 +0800 Message-ID: <958f8a0ef0b557fdfcc02a1e86536e1f97a16e22.1522736996.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-TM-AS-Product-Ver: SMEX-12.5.0.5042-8.2.9001-23760.005 X-TM-AS-Result: No-8.527300-8.000000-10 X-TMASE-MatchedRID: bPjU8R/NGeExFdXyW/P+XXBRIrj8R47FuftX4oH7dy438zfZwr5+SMNU ZqLXyeOudZ+iOIKZPqKsMR/ATxTHjSWvhQBtQUwTyeVujmXuYYWagpdUd+Iwz+TcZ41tGho2ky5 P5/5L4poWl6j129YpPj0ZAfBnk8YHy1ki1BndNJOerwYKAG2gtk+fvhSDkQoQxy4VLVnNTm+jxY yRBa/qJShNCXvA0fw+jaPj0W1qn0SyO81X3yak86ZgyB5OFWNtjEkrGb0ebEiplpQqsnxM9WXdB Yi5jyuCiRgvOTvS2v1+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--8.527300-8.000000 X-TMASE-Version: SMEX-12.5.0.5042-8.2.9001-23760.005 X-TMASE-POSTMAN: 2-d; 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 --- .../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