From patchwork Tue Mar 13 16:44:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 10280067 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 5B4C3602C2 for ; Tue, 13 Mar 2018 16:45:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4CF7B28D3F for ; Tue, 13 Mar 2018 16:45:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41954290BC; Tue, 13 Mar 2018 16:45:50 +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 D544828D3F for ; Tue, 13 Mar 2018 16:45:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752962AbeCMQpa (ORCPT ); Tue, 13 Mar 2018 12:45:30 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:35167 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933216AbeCMQpK (ORCPT ); Tue, 13 Mar 2018 12:45:10 -0400 Received: by mail-wr0-f195.google.com with SMTP id n12so758694wra.2 for ; Tue, 13 Mar 2018 09:45:10 -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=bfIjGJF3vmpOqSVa1gAC/Cwr3ikU2IzHtbZchqMybKAVe7UNrUR4kC51nySVe9AcFX e4zaWA35Tk5d4hr+269naW8veNikzAhgIEl7rVWDZJ9PVo+ZQc2Qlw9VeuMXesqP78b3 CSYGJ4V+psDSD5d1UY5TiNgq/Y3Uh2aukGpJI= 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=dE8yYY7/soWNU2oSulH9yEF9mIxbw5f6koSWBuO4aVaHbkePXf0MMAuIj27JV6Tw6W MFdBXs8dGpQjcTcC/OSkl53+BJfJ8CTT5vgkuOmVReeLnv4sy3+vAdjkk5IjpCKGlBU7 knmeIYOhIIC2gwl9pvXnIJInjuNViTvLPe/2gMRLJEVal3SzsXsRiBZi1gh6KvFS6+V8 NsROQNDqSlWXyXBV50DfbvU+l8hKk6I66MTGAq7if6gFE/YUebfSMwG3lC0Z2Y25OyH5 88VoArtPTPKvwwOQB3yinMN+lpyT3W4CJvRKilZujmlofcbHqS2exXMaiQXerqWqwrRy 412Q== X-Gm-Message-State: AElRT7GlEEmSM/6oNYMRetosRIAmvADhLH3lJJN1wEnhVnmTjxAdjWMO CRG51d1z06LL44DU5sNSi9JXDw== X-Google-Smtp-Source: AG47ELt1f7w38g5djGrkRb3ziX3svvZ4ZcNnSBRzi7WNvMeVf1Z/mAlOlR2Wd4qHQS6UyXU+rKx8fg== X-Received: by 10.28.109.195 with SMTP id b64mr1293372wmi.13.1520959509396; Tue, 13 Mar 2018 09:45:09 -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 96sm707758wrk.54.2018.03.13.09.45.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 09:45:08 -0700 (PDT) From: Thierry Escande To: Rob Herring , Andy Gross , Marcel Holtmann , Johan Hedberg , David Brown , Mark Rutland 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 v2 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Tue, 13 Mar 2018 17:44:43 +0100 Message-Id: <20180313164444.19881-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180313164444.19881-1-thierry.escande@linaro.org> References: <20180313164444.19881-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>; + }; +};