From patchwork Tue Mar 13 18:38:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 10280569 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BDDE36038F for ; Tue, 13 Mar 2018 18:39:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B064C2624D for ; Tue, 13 Mar 2018 18:39:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A341C262AE; Tue, 13 Mar 2018 18:39:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 295972624D for ; Tue, 13 Mar 2018 18:39:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751606AbeCMSjC (ORCPT ); Tue, 13 Mar 2018 14:39:02 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43682 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752527AbeCMSic (ORCPT ); Tue, 13 Mar 2018 14:38:32 -0400 Received: by mail-wr0-f196.google.com with SMTP id o1so1691369wro.10 for ; Tue, 13 Mar 2018 11:38:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfert-encoding; bh=yIOYOMFvpAnRPwBUASjn9iFXGmbnlrEiXLrNOz5J9v4=; b=OqI5y+wC57wtRQUWXpFZQ49FMEdzMtOJw5liAY/0CdDiOetKkh3PtJwNDuzhJOrmFv I9jvv7qOss8ZfdoKHhNiiYG4hrJtbeqoYvAa870kn8+TpomyP5fOViBfK49cw2vkCkU+ xOMoTBAIA0tNh41zIwJ902cUQkFMMS5O58t6U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfert-encoding; bh=yIOYOMFvpAnRPwBUASjn9iFXGmbnlrEiXLrNOz5J9v4=; b=glbWI9v0SqGijd+suLq9vzSc8BYmuoRcO/C9X2/Ls6iVMjISFfrf/bjiI00UBRwSaN uMOX3xMOBbC5PJxBYzJ+Psx7ezWoR/wwwOhTYAnc8kfREcbr5T39Unl5Y6QNoQxUUuIu SVruL1pwCtX0o4CGQwjPzZXw5MPFCJW/wsaEGlNSAlq7/ywWF3D+8Mdppr/FrfAdr16y 5vf0k+brK48SZ2HfqpDdfRod+IIROb8DbWPBOXv41lT2hxmQgRpJpcJV9J4Nv+a8v1/m j7/NmThGTaDWYvM2Txbu9ci3xJs0WyYwJxkAhOn6G2TIISq4OrcqHjQNtoL+I9YnB7r6 5lwQ== X-Gm-Message-State: AElRT7FYx/DVJ6GIwtOuGBYTuNHW3aXwUtjB3GWk9qVM4W8rOQnsARlm 9pe/r8oF6PPxDyAGLQgAh0fr7g== X-Google-Smtp-Source: AG47ELu6pf41wtlR+QSJHoPRQfcsq8pynBE/wpxIHn8cEMEeI3wgWvvUxXmkc0dfDJxzKc3s1CUKBQ== X-Received: by 10.28.215.67 with SMTP id o64mr1660232wmg.159.1520966311590; Tue, 13 Mar 2018 11:38:31 -0700 (PDT) Received: from localhost.localdomain (aig34-1-88-167-228-121.fbx.proxad.net. [88.167.228.121]) by smtp.gmail.com with ESMTPSA id q3sm549582wra.85.2018.03.13.11.38.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 11:38:30 -0700 (PDT) From: Thierry Escande To: Rob Herring , Andy Gross , Marcel Holtmann , Johan Hedberg , David Brown , Mark Rutland , Andy Shevchenko Cc: Bjorn Andersson , Srinivas Kandagatla , linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Tue, 13 Mar 2018 19:38:06 +0100 Message-Id: <20180313183807.6701-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180313183807.6701-1-thierry.escande@linaro.org> References: <20180313183807.6701-1-thierry.escande@linaro.org> MIME-Version: 1.0 Content-Transfert-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande --- .../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..288cf062e906 --- /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" + +Optional properties: + + - bt-disable-n-gpios: GPIO specifier, used to enable chip during probe + +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>; + + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_pin_a>, <&divclk4_pin_a>; + }; +};