Received: by 10.213.65.68 with SMTP id h4csp1088839imn; Wed, 14 Mar 2018 09:16:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELu+1bPtL64iOAAh7hyvIk7tIrxxG5Hs2WwCNfH/SccOHmFvtecklqBfoAuwDuI8sPHizsZU X-Received: by 2002:a17:902:ad0b:: with SMTP id i11-v6mr4638725plr.10.1521044171662; Wed, 14 Mar 2018 09:16:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521044171; cv=none; d=google.com; s=arc-20160816; b=bruEevdA6BVdycSVqLAF4GwoUqJpAux//0IhkTp54L711BWUQZ5mNMfzH+284u6uCw TksVi4WszejycLWGgKALnP+k/pHDas4a7sJxTtbApqkOc2kg+ZX8h4L5QDjYcbHGD0JH xLCzj57JySHSEk8CiWKhcBG2hcY+edzEyufFKNdsjTLsYtVbMuOssH96EImudxNqdpsk Epo9NTB7J+fG/A5+pJMW6WNVUYYRcH2v1m/4s747DDN2FRxZ83sHOxak7DcMtX9itOt4 +rZXA9M4rJzT1/cloH0Vlx8dGtteTQkU5Ia3N/BLt7YPAO/nOFJie2nqwJ6MWES4TynR zHKA== 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:arc-authentication-results; bh=LoURP/6g5tIuHjYfVs/Pka1LI4Hq+bRQrA0aaf182b4=; b=FNUoK+dZxAkgQx/GvCpvhdxgCgOSdhl9c137CWCGxDWSfUfiUic/c1/f+1kQ8896o2 Bww57iy8MjXWkiPy6gsdn1BXv/71xBBHkvFDxQCCl6cDeObAb4H8zyLW/g8gdFZYzC91 yxJgpt5WFpKYRVpsUDW4y2+nOWpNs9FPWHT2DNyckdwo2DjmUoImibQnW65vZeV5E5+t ZbNx91bqae3FAcOqwGg6jL8anTzWmbwnrCykNP9EQ2nMDC4l+EpqtjvCFuToqm/LhIOu ipVcJGf9h1K1+sf/xvEkjqGdPrlQhunbjTZP5j22Wt45S+6n1DI3MzwfxjKG8JJ+ozoY ec0A== 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 h132si304703pgc.308.2018.03.14.09.15.37; Wed, 14 Mar 2018 09:16:11 -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 S1752171AbeCNQNv convert rfc822-to-8bit (ORCPT + 99 others); Wed, 14 Mar 2018 12:13:51 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:59538 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751131AbeCNQNu (ORCPT ); Wed, 14 Mar 2018 12:13:50 -0400 Received: from marcel-macpro.fritz.box (p4FF9F617.dip0.t-ipconnect.de [79.249.246.23]) by mail.holtmann.org (Postfix) with ESMTPSA id 6CACACF369; Wed, 14 Mar 2018 17:20:02 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth From: Marcel Holtmann In-Reply-To: <20180314155514.3374-3-thierry.escande@linaro.org> Date: Wed, 14 Mar 2018 17:13:47 +0100 Cc: Rob Herring , Andy Gross , Johan Hedberg , David Brown , Mark Rutland , Andy Shevchenko , Loic Poulain , Bjorn Andersson , Srinivas Kandagatla , Linux Bluetooth mailing list , linux-arm-msm@vger.kernel.org, devicetree , linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: References: <20180314155514.3374-1-thierry.escande@linaro.org> <20180314155514.3374-3-thierry.escande@linaro.org> To: Thierry Escande X-Mailer: Apple Mail (2.3445.5.20) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, > Add binding document for serial bluetooth chips using Qualcomm protocol. > > Signed-off-by: Thierry Escande > --- > > v4: > - Move bt-disable-n-gpios to required properties section > - Add clocks and pinctrl-0 as required properties > > v3: no change > v2: no change > > .../devicetree/bindings/net/qualcomm-bluetooth.txt | 34 ++++++++++++++++++++++ > 1 file changed, 34 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > > diff --git a/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > new file mode 100644 > index 000000000000..cdb14b96c229 > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt > @@ -0,0 +1,34 @@ > +Qualcomm Bluetooth Chips > +--------------------- > + > +This documents the binding structure and common properties for serial > +attached Qualcomm devices. > + > +Serial attached Qualcomm devices shall be a child node of the host UART > +device the slave device is attached to. > + > +Required properties: > + - compatible: should contain one of the following: > + * "qcom,qca6174-bt" > + - bt-disable-n-gpios: gpio specifier, used to enable chip during probe > + - pinctrl-0: pin phandle for bt_en gpio > + - clocks: clock phandle for SUSCLK_32KHZ > + > +Example: > + > +serial@7570000 { > + pinctrl-names = "default", "sleep"; > + pinctrl-0 = <&blsp1_uart1_default>; > + pinctrl-1 = <&blsp1_uart1_sleep>; > + > + bluetooth { > + compatible = "qcom,qca6174-bt"; > + > + bt-disable-n-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; can we use a common name here. I think that Nokia and Broadcom drivers define one. And if this is the enable/shutdown GPIO, we should name it consistently across all manufacturers. It essentially does the same on Bluetooth UART chips no matter what chip is behind them. Regards Marcel