Received: by 10.213.65.68 with SMTP id h4csp1081289imn; Wed, 14 Mar 2018 09:03:36 -0700 (PDT) X-Google-Smtp-Source: AG47ELuA1pAAx5cV1hozeBB/dQ9dRpuJh5eIiYeDpFzxMA3MSju7Ctve10fzH74v8rsP2KRQOdfD X-Received: by 2002:a17:902:8c97:: with SMTP id t23-v6mr4709192plo.372.1521043416657; Wed, 14 Mar 2018 09:03:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521043416; cv=none; d=google.com; s=arc-20160816; b=XQ4+eaOJrjb8t9z4Pbk4KRrdp9w3burwoCHjLOic9e5YEMFXEgeIhBJc9b/Bg5e7Ll CEsAxgc96MT3Ot+5zdXLMFRSbozREVrhYcGVNPWFSk8UxGee68+jAOBDzL6lOmX2Osdl BIzKKSZ/PXwTOW0GnwaZzwDyDOhkTt8McfI+BSmc+bEvt/8lpLEBUKbh6a5k+lTshUQ6 AhQV4VgdgC6wkbQNCsHw+axpGZ1VUa/Av0lmpUhgJp13XleY0NEk5Ce1IlYMUK2T87j/ Ek1gVBA5Kr1Gm9GxCKhHyRz8cT7d1AQt4Zky7vg6CMCrf+iZB0WIzYBOElC0e14IIfxb pxEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfert-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=qNK9NaC8dNprOUbcnYFQ2dlQ1rURZzSDftM+sYfg0bM=; b=OXZk/DcCmAh+RKBA1Z8HwtTxCZkn2+wZBj3Ft6N1DI28Zqfflx7bU4KfxV8h9riLRB Y2A+fuzPHZcRHMrXK4A2ODRRkxyUuj4B//L4sNNv0blYmXBqVOctlf3NYVSEolZahtD8 tqCdYeUWHOTadCWF52WCAWPmLrAA4mgBIVnzkOUXWW3x2UnZn6hGfFMg+ATZN8uGFhQu +NE0759kJTtG0ovuLIPJOqV4iNQ3IElAFHwZnhw4QSyPVnB2kfBaHrhkCJ7cbrineGKY Ly6GaR2Whz4oAjT8XtRwyDGaDNmxl4MRvm7yeQ4VIMTrlpE7K++Rw5Cxb34phmkyiKKV rN7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Z4M/xg8c; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si1991346pgj.705.2018.03.14.09.02.50; Wed, 14 Mar 2018 09:03:36 -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; dkim=pass header.i=@linaro.org header.s=google header.b=Z4M/xg8c; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752583AbeCNP7k (ORCPT + 99 others); Wed, 14 Mar 2018 11:59:40 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:41055 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752587AbeCNPzl (ORCPT ); Wed, 14 Mar 2018 11:55:41 -0400 Received: by mail-wr0-f196.google.com with SMTP id f14so5255064wre.8 for ; Wed, 14 Mar 2018 08:55:40 -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=qNK9NaC8dNprOUbcnYFQ2dlQ1rURZzSDftM+sYfg0bM=; b=Z4M/xg8c4cfaRLNuKv7dYAbeH9uywY/gOnTQFZd1+r2olcBRo1Mu0KRHysfycgDbMG MdCZYlHtGGUCgh14oNPhIP2AQVwoPUVgdUFPSz2K/eoDPalCsNP7TKKMXsg04aqToZpz 0C0qcB0/lRQAfNpqDT+/PrvYkfDDj+i3lHmwI= 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=qNK9NaC8dNprOUbcnYFQ2dlQ1rURZzSDftM+sYfg0bM=; b=cq2Cka8XOLVBGFrnxf5HE+w+XmLyReLQ/Tk5w/lMNySfyknVEpPugB5AbnTQ0R/YUU ItHP/WMQdTBJWPCfy4fOeyydOulseGxdyvj1a8xdRKefbU2UqXlAZjKsnuGoLJGqR5aN EGBtdq50mAN3RxycR7eZPEj+BY469QNI1tsvSI723czwSVQEarP2gJW7iWxJcVH4Hqln fW/jpZE+lf0oxdp8kmbQt869cY0pyXfbjDTOefPRFHq/fpctVFHgOgJvxBfN+FBadBur 2jluhgjAtKHoWIryhs079K9xUKSgtuNOEW0w4ead3KxjpHn1SKwOx1E8tXpAkYjGPDPN UVcg== X-Gm-Message-State: AElRT7EzsIUNGrT+u2qodqZEYODFJ6046ATJfxkX5zBdhWeHjZoKmDX4 DxOTpIPL65e/mj2uMa0QtqXMvA== X-Received: by 10.223.163.23 with SMTP id c23mr4359322wrb.103.1521042939901; Wed, 14 Mar 2018 08:55:39 -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 n127sm1418909wmb.5.2018.03.14.08.55.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 08:55:39 -0700 (PDT) From: Thierry Escande To: Rob Herring , Andy Gross , Marcel Holtmann , Johan Hedberg , David Brown , Mark Rutland , Andy Shevchenko , Loic Poulain , Bjorn Andersson Cc: Srinivas Kandagatla , linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Wed, 14 Mar 2018 16:55:13 +0100 Message-Id: <20180314155514.3374-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180314155514.3374-1-thierry.escande@linaro.org> References: <20180314155514.3374-1-thierry.escande@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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>; + + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_pin_a>; + + clocks = <&divclk4>; + }; +}; -- 2.14.1