Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp36505imm; Thu, 2 Aug 2018 13:27:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdyOHM67CVNLb8Rt3Wx86fFXkfxEepSLVZFlcXlUtvhPHZpYrszYn2uDCbYgbA033n9qyWi X-Received: by 2002:a63:2dc1:: with SMTP id t184-v6mr912906pgt.62.1533241625305; Thu, 02 Aug 2018 13:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533241625; cv=none; d=google.com; s=arc-20160816; b=hinMShCUbcSMOnAQdVmY7dTUHQR8OEjDdmqCE4Lr71KFwnVj4l36HZ9aunpzrs3VIi zDHFGrzZ/JajRdD0yU9FBvTdJqaU0Plnsbgnypo+E0wAmulhTitVSOCamzX50zt0CPPo Lg1XokSBwJjEEx69H8xj5Xar3tpiO5uloZu36xpz2+d4gOTT6vqQsBdKcNkwaxVG2now v6nHLwohzoxRczqnmV8MtyJhD3nVR6nM+04HkXbruYjlznJMic7ViYLU96nOIBcr9IEO To1PulTKNSGBAGqfaBhAXUjjWTK8J4Bcoe3d5rR96epf1WpqfMWUrsPf54uI/dKXNiTg drTw== 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=NmjW70zdegR6X5kU69eLfZbsiLKPaIX+FjnCuXyAkbU=; b=bX0vqmAACKNhYpxgXcHhpdCwF95ykgeDZzTmn5WFhnFhCzY9fmmCbN6Y7rC8uv4xfD IZjjNQ62tY1DLhqUR79ApAeilxjgHdvqX1ROlgnCoTSRZYSKIpU5QP9mIIsrT36eIHW/ STZ+b/tFUj/skVh0fsQei8kjBS75KJvTGyflZTE/MYBqYUOt2kx/obXccxOo1LErtEFh 4tHbcHyVX8ue8SjeMDbRjLaLd8F02/Pon0lcOCibzhSCbjU3dRdnzQmi0r117voXquYK 7C3A1lzm9F4+y56m09LDxxNM3d0BXJ36rT76UZJp7nH1Ms6tkMFfB99908piydaGNl41 OfUw== 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 b2-v6si1996545plx.121.2018.08.02.13.26.50; Thu, 02 Aug 2018 13:27:05 -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 S1731902AbeHBWS1 (ORCPT + 99 others); Thu, 2 Aug 2018 18:18:27 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:10623 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727369AbeHBWS0 (ORCPT ); Thu, 2 Aug 2018 18:18:26 -0400 X-UUID: 53c34d6acef241aabc2122d741933c23-20180803 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 1725531893; Fri, 03 Aug 2018 04:25: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; Fri, 3 Aug 2018 04:25: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; Fri, 3 Aug 2018 04:25:34 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v8 1/3] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Fri, 3 Aug 2018 04:25:30 +0800 Message-ID: <82d9bef756cd6b9d4687ffb8e4f501ab5a7d12f7.1533241009.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..14ceb2a --- /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 + "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