Received: by 10.213.65.68 with SMTP id h4csp81102imn; Mon, 19 Mar 2018 20:25:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELsVzf732d0OUQnzcekvIY+JSG09zeb+1fGXonS9D/8Auoq+5hGyyoUtSwkMBUKbXDyzHxrp X-Received: by 10.99.143.66 with SMTP id r2mr10579784pgn.397.1521516349540; Mon, 19 Mar 2018 20:25:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521516349; cv=none; d=google.com; s=arc-20160816; b=lGgg/IPT1hPPcT0meVp5LFsjEwI5auy2IZo93IPkwkMx7oiu9udmzq3fEunfMRI/Z+ 7tDSUzYiv4vZoHf5/wFFVvTnxVlPTQlJuJ3KpkSO3s0XHOYQRAknN0b9OUXVhrWfdCzo QXPYcJGGkvDNQoE9t+d9IMU1ldHpnclphs9iwQQKsP/8iN67tOArPjbW56JfpxYE2Xjt AkTC0GM6KkNNhR9hGXnka82EWVJR8pTMe7KvAFvWcrGs5ZCv9mPijm0Uejq5JNRm+ezz vYA7SaJLpiFI3sOWOyFLt/NIvhdX7MrR7B7kNlEfQuWVK/rkWRWf2CMd5nAxBZUVloxs hosQ== 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=3IWG8ihoqwKdnvEledQQpbrPSbVpYzghcPG3fXR5GvE=; b=DuW+e2tQHtPMd3KI242L0FxCWqRPsUh2cJoNK6C59bDSvxfVFXUEL9oPU6OXrL94/w neTEpEB4Mq6f9AcFH1IjwmyVrR+5VSWJSHA888Xx7BFYjycJGDahi0+mRyvoZbSkKcbH RELkS3sfGgBCk7gXIlJUonCmOzDxU1TWw8Q4RKy5Y7fImP8mHiiKglgcf3b/MVnZxz+n Q8b7KV7ixRl+YqVe3HqvNfAAEmNyfMM6g0wugXSmj1Qr9Og8fozpVS+a+OBOUVWb+NU9 GNO9AEJJlKruXchJDNMEUh5RC07shq4L6b2L/6/Ffj4lMHiq/MQTIY3G7fDgnhyV/QNV BM9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BZEGDcg9; 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 e6si504311pgt.198.2018.03.19.20.25.35; Mon, 19 Mar 2018 20:25:49 -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=BZEGDcg9; 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 S1752014AbeCTDYc (ORCPT + 99 others); Mon, 19 Mar 2018 23:24:32 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:41701 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751755AbeCTDYG (ORCPT ); Mon, 19 Mar 2018 23:24:06 -0400 Received: by mail-pg0-f66.google.com with SMTP id m24so115471pgv.8 for ; Mon, 19 Mar 2018 20:24:05 -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=3IWG8ihoqwKdnvEledQQpbrPSbVpYzghcPG3fXR5GvE=; b=BZEGDcg9Oo6FFS4Trmx2ltyzQ2KgG98XWvx369N3PhnicUg/meA1GIaUrdeyOviJAi I8nNGOyvkbRkd9jBzvBl8SdIb6Vgt6P0poU1W14w3kYiHQQN8yl8QcICXxcYY0MsuHPD qyQ//WkSr8GPNkyTgISwUKF9gKS7BtWvt3IFk= 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=3IWG8ihoqwKdnvEledQQpbrPSbVpYzghcPG3fXR5GvE=; b=h8046h8KxG/5bozGlvW1jkL+TVcSFxywnTpERvjk+tiYdYGx21aNhMwQeHX6Xw/7BA 3pXecx+ojppUpuR2A1wMBtXbYUH5ULm4Wpd62EV81wF5PBr1B5UhaS5JtNygYLJztBFs rhVaezzGfek8pYV2E2v2zDnnVw7jRRtrJPBwQHz5O2ujMMLwELnTfAoO/v5D9VXi/z9b 94MkdeUWK546clH529IJX4LdIqT9lm01QQqGmzV7oUVaXrdcqeRBWtbGUQtymgytONPy d3WqnlS1nDf2WLn+qaoSgrmMfYABkNx4U7W10nJ0/7ylIhousC6E3iaTQHLbVN7ZkZpb 7bbQ== X-Gm-Message-State: AElRT7HJ7dxxbZQt3kFwlPtOkrDCmxBptKCfSHJQPHYTBnLvGLs5BDZk E8vLlQF15jjvfvCfnzCJ0RulUA== X-Received: by 10.98.46.197 with SMTP id u188mr12379658pfu.32.1521516245563; Mon, 19 Mar 2018 20:24:05 -0700 (PDT) Received: from localhost.localdomain ([218.255.99.6]) by smtp.gmail.com with ESMTPSA id c14sm741286pfn.185.2018.03.19.20.24.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 20:24:05 -0700 (PDT) From: Thierry Escande To: Rob Herring , Andy Gross , Marcel Holtmann , Johan Hedberg , David Brown , Mark Rutland Cc: Andy Shevchenko , Loic Poulain , 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 v5 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Tue, 20 Mar 2018 04:23:30 +0100 Message-Id: <20180320032331.29865-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180320032331.29865-1-thierry.escande@linaro.org> References: <20180320032331.29865-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 --- v5: - Rename 'bt-disable-n' gpio as 'enable' 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..bbc2973634b2 --- /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" + - enable-gpios: gpio specifier used to enable chip + - 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"; + + enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; + + pinctrl-names = "default"; + pinctrl-0 = <&bt_en_pin_a>; + + clocks = <&divclk4>; + }; +}; -- 2.14.1