Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2417933imj; Mon, 18 Feb 2019 05:45:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZ/9piVZ8pLAuhzLgR1IqU6CC5LqT6pZdGHmHqNFxVWpYsp3X4eUZhrhVXF0igztV8lWEHu X-Received: by 2002:a17:902:ea8c:: with SMTP id cv12mr1956460plb.123.1550497540136; Mon, 18 Feb 2019 05:45:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550497540; cv=none; d=google.com; s=arc-20160816; b=h9tJ2psWokrLQyaGX90DtBALeeYgDYAMtdUih+A2Z/qRWItpjOjQYrSQHooCX3brdK 82wFDTEH3xruOPvQ5gIXsGnZS2pKARn1cu03udN25OANTmP3K7NtkD7vzM3DZZd5iFxf haWfnk7lxPOiR9B2Nm0frVfLP98QDELylzrPIuMVTcyu7yoL6XceBz6pSk6uhUTtpTZY c5Qdx6KIHzBeUrZj7Im2dKNN8zZCasR66ENdqnz0YVUmqXBc3r/5QWjyTqrNog4+T68f Aev6DU4Twz6goYWmVB2tIHsCJhj2RPtLsi1eikvWq+7q36mqM3wbxBAu2dIqJNYDtIW5 W/kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=CABVZsVkn+g9l+X3oUUBjBEwhTb99bs25Fs1DXZTCyU=; b=opAm7E19Ly8SEncd7FBAwv/ND9UC+ZlzujgYgQa+VeP/BeHkuyi2hWL/lGd7lTUUFI OamQ8H6+j6Ui5LDKQZ9ZwaPBLnZOLZy3BxHSZACQZCw37Y8kkmwtsmM7P2zV0r6T1fDy HbL/iyV59BLbkHG98tjZVP3PpUM91K81c3WaXj4e/0GuHYxa4hlMxPalVywDY3x8jFvy bur4u5syNP7uIIErxDk8OrBRHWTy49KQ/n4iVEjR8GvW1R4z7GHVwQBmIWIb4FecMWJw NbFk/2WrGtOl9qPU8OmYhp/EeRzJYq9sDx6GleOcTtiznm+uIPsSVUCZgqcB1BYcQIIZ RdsA== 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 p66si13568959pfp.144.2019.02.18.05.45.24; Mon, 18 Feb 2019 05:45:40 -0800 (PST) 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 S1730784AbfBRNFN convert rfc822-to-8bit (ORCPT + 99 others); Mon, 18 Feb 2019 08:05:13 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:33617 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728900AbfBRNFN (ORCPT ); Mon, 18 Feb 2019 08:05:13 -0500 Received: from marcel-macpro.fritz.box (p4FF9F361.dip0.t-ipconnect.de [79.249.243.97]) by mail.holtmann.org (Postfix) with ESMTPSA id F4131CF2C7; Mon, 18 Feb 2019 14:13:04 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH 1/6] dt-bindings: net: bluetooth: add support for MediaTek MT7663U and MT7668U UART devices From: Marcel Holtmann In-Reply-To: Date: Mon, 18 Feb 2019 14:05:11 +0100 Cc: Mark Rutland , Johan Hedberg , devicetree , "open list:BLUETOOTH DRIVERS" , linux-arm-kernel , linux-mediatek@lists.infradead.org, Linux Kernel Mailing List Content-Transfer-Encoding: 8BIT Message-Id: <0EF74A38-3D1F-4BD1-9B72-78E8720C125D@holtmann.org> References: To: Sean Wang , Rob Herring X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, > Update binding document with adding support of MT7663U and MT7668U UART > devices to mediatek-bluetooth. > > Signed-off-by: Sean Wang > --- > .../bindings/net/mediatek-bluetooth.txt | 64 +++++++++++++++++++ > 1 file changed, 64 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt b/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt > index 14ceb2a5b4e8..41a7dcc80f5b 100644 > --- a/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt > +++ b/Documentation/devicetree/bindings/net/mediatek-bluetooth.txt > @@ -33,3 +33,67 @@ Example: > clock-names = "ref"; > }; > }; > + > +MediaTek UART based Bluetooth Devices > +================================== > + > +This device is a serial attached device to UART device and thus it must be a > +child node of the serial node with UART. > + > +Please refer to the following documents for generic properties: > + > + Documentation/devicetree/bindings/serial/slave-device.txt > + > +Required properties: > + > +- compatible: Must be > + "mediatek,mt7663u-bluetooth": for MT7663U device > + "mediatek,mt7668u-bluetooth": for MT7668U device > +- vcc-supply: Main voltage regulator > +- pinctrl-names: Should be "default", "runtime" > +- pinctrl-0: Should contain UART RXD low when the device is powered up to > + enter proper bootstrap mode. > +- pinctrl-1: Should contain UART mode pin ctrl > + > +Optional properties: > + > +- reset-gpios: GPIO used to reset the device whose initial state keeps low, > + if the GPIO is missing, then board-level design should be > + guaranteed. > +- current-speed: Current baud rate of the device whose defaults to 921600 > + > +Example: > + > + uart1_pins_boot: uart1-default { > + pins-dat { > + pinmux = ; > + output-low; > + }; > + }; > + > + uart1_pins_runtime: uart1-runtime { > + pins-dat { > + pinmux = , > + ; > + }; > + }; > + > + uart1: serial@11003000 { > + compatible = "mediatek,mt7623-uart", > + "mediatek,mt6577-uart"; > + reg = <0 0x11003000 0 0x400>; > + interrupts = ; > + clocks = <&pericfg CLK_PERI_UART1_SEL>, > + <&pericfg CLK_PERI_UART1>; > + clock-names = "baud", "bus"; > + > + bluetooth { > + compatible = "mediatek,mt7663u-bluetooth"; > + vcc-supply = <®_5v>; > + reset-gpios = <&pio 24 GPIO_ACTIVE_LOW>; > + pinctrl-names = "default", "runtime"; > + pinctrl-0 = <&uart1_pins_boot>; > + pinctrl-1 = <&uart1_pins_runtime>; > + current-speed = <921600>; > + }; > + }; can you ACK this please. Regards Marcel