From patchwork Tue Mar 13 16:03:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 10279761 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 61587602BD for ; Tue, 13 Mar 2018 16:05:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E20FF287F8 for ; Tue, 13 Mar 2018 16:05:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D6996290C7; Tue, 13 Mar 2018 16:05:13 +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 52D61287F8 for ; Tue, 13 Mar 2018 16:05:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933306AbeCMQE1 (ORCPT ); Tue, 13 Mar 2018 12:04:27 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:35040 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933847AbeCMQDw (ORCPT ); Tue, 13 Mar 2018 12:03:52 -0400 Received: by mail-wr0-f196.google.com with SMTP id n12so362535wra.2 for ; Tue, 13 Mar 2018 09:03:51 -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=eefyyNFt9pjp+mNE0aafO6kHn+I7S+4ywLYcC6XbX7dhW/M1JdI4q2x7cA49go7qpw vhgzdge8CDJ2T9r0o8X9Rw7woPHuzwJUUI5onf/k+1bNDG/4u9+NGWUuEvNul2KDqVCp lsptAr5rMcCBYOrHenNZeOelYDJlsQlRRzvOU= 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=RkU+kLTIfDGRNUoNFSqnx/2kV4z22zkk4u4vURwe62kLSOInZM70S90Rco2QQ33Xt+ BcQI5MZKnnIlYu6hf5ac9sCLawVp6bK8xEvt36Z1iw0Jd1zGtb+fDgn+rzifaIY8EbUZ LwXj4K1TUpiXu+uvmsSLtsrw8thY0BUBz3jIoOStqCTn0Uq1Hwq6hJBlFJe7n4ow2n+M BKBafvc1hWH3BYIdZhN3r0X3qPjjUF/UiEB9D4xSJAc+e10GMrNzFcDmci2338oaHfY4 y6qU8KCR3iDOBPgfNDDNeiR0XawOxtf84lzr1p4A3vXrTDnAt5bZxURTHWtsa9MEXWmh 3BlQ== X-Gm-Message-State: AElRT7HCRKjCNk8hjMaqd46fOQvpnRSFI4tJrZVRoxxbYVq7Jq8igb3x 6CFQIqHUN5bhFlq/u+ZHnbD+3g== X-Google-Smtp-Source: AG47ELsgoXtT6HicpEcBrxttNbslMz0TPmdYPVXyfI838/aDFoKr+2XzlLKZIp1bTP5i0KAbr7ZsaQ== X-Received: by 10.223.164.138 with SMTP id g10mr1018527wrb.74.1520957031217; Tue, 13 Mar 2018 09:03:51 -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 198sm784454wmg.8.2018.03.13.09.03.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Mar 2018 09:03:50 -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 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Tue, 13 Mar 2018 17:03:25 +0100 Message-Id: <20180313160326.18180-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180313160326.18180-1-thierry.escande@linaro.org> References: <20180313160326.18180-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>; + }; +};