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: 885402 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="OqI5y+wC"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4013Yd0v4fz9sSY for ; Wed, 14 Mar 2018 05:39:49 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750855AbeCMSjC (ORCPT ); Tue, 13 Mar 2018 14:39:02 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:37732 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752266AbeCMSic (ORCPT ); Tue, 13 Mar 2018 14:38:32 -0400 Received: by mail-wr0-f194.google.com with SMTP id z12so1751904wrg.4 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=KN1+8zsUlm4278QqA5R9BG/6zw96SYlHuMdqGFXYXS9+sipqPowom+buPCztM9xdiN e7/B7ckowOlstNu2AfgHDdS/cOfrsNVvSMp7NM5/qE3h+ZL9cbRe/FJXe3yukktn6Uww qv3aNih/4+eFpV4PX3dcnN2zZsbDtxLoXoXoab3IWR20DqHylofnRX5jRkqXcRlcK9MY i433uGQVftDki0INTUJTFQ+/jghYJ+mW+l2srqpT5q/0JFLF67MJ8z6dLaZsI4aN95iA HiGrD4rIvZcwyg3E9cwBF6lJekypEf9YZ+kWZN/7EDYcA5PxVpmmwOe81ISqZmTL3dH1 A5yg== X-Gm-Message-State: AElRT7E8a5L97LDWahFkImO83x5bK9SIXsek9K5iTa7tljc6Ry13ljqc EeD2oMoXRQB13Pi7EXrO4ra+gQ== 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: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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>; + }; +};