From patchwork Wed Mar 14 15:55:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 131653 Delivered-To: patch@linaro.org Received: by 10.80.210.197 with SMTP id q5csp339223edg; Wed, 14 Mar 2018 08:59:29 -0700 (PDT) X-Google-Smtp-Source: AG47ELtM5p0OJrACJZqfCSeJjcX7qkvBZWcmdxd7PYm7VRGLyfDZtJ4AcFOQapw8/dAwNr9Fb3xl X-Received: by 2002:a17:902:2e04:: with SMTP id q4-v6mr4613634plb.22.1521043168938; Wed, 14 Mar 2018 08:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521043168; cv=none; d=google.com; s=arc-20160816; b=v7bFp6pWTTe+pCg4oNkksHo2Cmxeb/p9+cRHyvZVk1d9K145kUHUBDkIjXmHScBBl7 SsXsS5OIuLKo+Q498JphWgNsW4c6ypPgtK+62mXubkwwi40p3ejb5Ve8YrQ6uZTrehVB 4oEiMue3h3bhlG/8cRmMTWbmHa6CfNLwplWD+UU2bwUHzw/ayn/grJVMd9AiT3u1s0ry RgW6dg9YbbrB0nXccu5K4MxZMUqQ8fQuWY5v17cjfrWqajHm6t0MtCooLKAEVYzUUs3B 3YGR+MIyU4zn6K4QnZ1efJxtEw/vKZu66kYI/D/wc0v3VL4bAkkKgAitPtp/l8ZprfID 2HyQ== 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=rvUXxEtEkuTMIrHfagGLBL/ro9c8LNsEzK8GMY5iSgU=; b=znWr35eVnfhw36ZQmSiuSUeu7+mRLvDGSzVsHil6iICHxVhgSOLFwcoi1RKC1dvHed +bN7+e7lapwfzDnFm1+/OTSZx8p1qYCFD7EhBTXd8speeGnqlrnpfVxEuaHSDLCTL7mZ YYqDxTFZy/CFJ4vCmF+aIw3ewNpVnUjLjdU5C3WMCt4thQKKI1/8zm2PSCstRGz4U2Rj Bf4inVfMr5OYIS9ieB0BJFonwYiWS/Y2SOQdiemm1F7LU7APa57eEt0f4s1eC6kDqGwL YWKUzgdwbHqlnwYVDwakPMRf0XGpr7An3N/bq4+EtsaDJYXPj6qDH6y8HRNfYtlwdcAg Buiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z4M/xg8c; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (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 t2-v6si2307942plj.651.2018.03.14.08.59.28; Wed, 14 Mar 2018 08:59:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Z4M/xg8c; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752612AbeCNPzo (ORCPT + 1 other); Wed, 14 Mar 2018 11:55:44 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:34498 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484AbeCNPzl (ORCPT ); Wed, 14 Mar 2018 11:55:41 -0400 Received: by mail-wr0-f193.google.com with SMTP id o8so5336911wra.1 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=YIYfivMDd5UYk2+Sr90/BXgNubbPYsxzwMd+YHipWFPidWFgOJpCkeX/Nrw+ybBeBZ 0+yOKT2hBVtWP8mWPbuKsQqQ0E7acrITNDVGjeSGiN9bhOc4UwScYTv6U5w3SNSYvIvD 0MwnA1OjzHUZMtvzpF8xjFI+L5XH36hn2lSihqVi7HNvHXDejPbeFhEtXyAg3PMyGJf8 0l0ylQSQN07pFumv6U2AOgAAkiynnW8EZ74oIbEjdX6YcABcE4awJ0vuGg6PZV1rw07b qS0PMuufkQ+BbkReR/o1mG9oqygkRwal4ji8j+hYt2twMmTWgh7wwnhmPp3kaqFs3CE0 BGWw== X-Gm-Message-State: AElRT7H68vz8XZBO0AHCZpNbxK2/QlmZXBM+tH/qSdwoQ4baJtGVpbQG n2H1XlUKPQJM876fFGjJ84n49A== 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-Transfert-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@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 -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>; + }; +};