Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2468637imm; Thu, 19 Jul 2018 22:13:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdYKqLxxgGK9KdpBe6dFm+suz5VkPt4p2ihSjBdbhLYTnUwTs69ExGb8z530thN7rbHHj3v X-Received: by 2002:a63:5350:: with SMTP id t16-v6mr634042pgl.196.1532063622385; Thu, 19 Jul 2018 22:13:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532063622; cv=none; d=google.com; s=arc-20160816; b=J7yFilbmA1FgLHbq0UDGwXLPcBLSekbgJ9h59YCtopCX/Bd8ni5dopZFdktLPYGJ6B 6tQfXRYIY6ggwHRSpOJ6fCH0O3YDZgYR5hmn0jHiJuEK7WWcup8XbdIoXCP8Tk7Y18ny XTloPxiLJ1kglf/+0CzvYpkifF+g67IBxpE1vFCU1NLLn95oDl1K/AK3b0S1v7EgfVXz P/9cFxP+TVXWsw8qmOfoWx5tftc5u1lJX+l7+ej35Cb+YYypHy+OnKP611K75qP1ydur NYJ9DUbmts/vQEhf7TcutKcr210T4BYStrgZnkKZ7DraFhXGOrV3+cPQCxVvyFmDBEgP db+w== 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=nn40oPm4hFiVA6bVb3zV9Dg1x6+eT9zUe6ry9vRQSDdKp9sbjFF4DbDfoZC8Qs2pq/ Nl/8UYpoxc3b2Rwto2TOHMgT+BU8LOOUtVZmXVfiIrAqUfmCtL9Aj99nvx9o1j/JNoGH gX/Zuizz0AczYUymKd69VS/A4pV4gGVGCGbJ0aHMxI2DzDgz80qvzTsaK25QY3QMg8oY WhopFk9IkTWZREUOOKzx3qjFJAJfGIC4eOR+hSS8/aaSSvaIryE3Z4qeuWGG+9doCa8j vEqb9y3NPz/cMLVGlouxLuVNR3TPBHPySsdqZN2cz0S4iTHILbycaGdpmpMKZ+ymVO1L EBYA== 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 3-v6si1015257pld.36.2018.07.19.22.13.27; Thu, 19 Jul 2018 22:13:42 -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 S1727638AbeGTF7I (ORCPT + 99 others); Fri, 20 Jul 2018 01:59:08 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:62629 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726616AbeGTF7H (ORCPT ); Fri, 20 Jul 2018 01:59:07 -0400 X-UUID: 8be554a63ba5422591bebabaa53c24ae-20180720 Received: from mtkcas07.mediatek.inc [(172.21.101.84)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 489439146; Fri, 20 Jul 2018 13:12:34 +0800 Received: from mtkcas09.mediatek.inc (172.21.101.178) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 20 Jul 2018 13:12: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; Fri, 20 Jul 2018 13:12:33 +0800 From: To: , , , CC: , , , , , Sean Wang Subject: [PATCH v6 1/4] dt-bindings: net: bluetooth: Add mediatek-bluetooth Date: Fri, 20 Jul 2018 13:12:27 +0800 Message-ID: <0abe731710734135619bb1291ff2f71e0d5cf5be.1532060309.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