From patchwork Wed Mar 28 09:51:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 132518 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp254446ljb; Wed, 28 Mar 2018 02:52:39 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/K1zRxYEl+XUk7yXFF7jvF3fQ7oguWJslpGvrT+Q+Zi32IBSlgUYFIjgbdviwbCD3CJIJ7 X-Received: by 2002:a17:902:d807:: with SMTP id a7-v6mr3104865plz.218.1522230759127; Wed, 28 Mar 2018 02:52:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522230759; cv=none; d=google.com; s=arc-20160816; b=xE8h2t/S9kcc6ihoybCgTmrIZ3g2UWbbl/kbM+0YhVEDXK/tB2kZrWze9Kbxwvsm1Q YnZAp+yOOFGTYMP7Ob9eJNNqm/g+4mNDWe+lcvhQ+IcyLBsAj/LEVeL5yTPmnxK4EdOp pxmK117PPtXziIbNbcervsOtXAQqtbuqOLF8X+xVci3Rt69wSxk4b0TLsKKNuzZCUaPC 2DCwjROfpXiL5gS4MLEqKF1hCgIXOYou7NnLFJMzwFZTrY9sNr4J+89mvyjOejeA0K9n qVwp+UOc19zG1tSdWOef/KzoE4Om3O1nzeOuBOwPkXmImZi2nUNmhnIM9u/ZTh2hQYQQ PXGw== 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=25ZTIaHZ17qrw4Q75rH3UHsT6koZdhGAXLUq258pnW4=; b=lHh+2i8lToupR6/vVjBMn82Vm96aiV4OF3JzWcQ0/JDpTp0ksiKVwOF/JKDbqDH+kn u9Ew69FNyH8rL+fNipgkt4V48h4XNYVc5YojKMNDUly8Ws1V81JQYS4y5LgjkSeIPLWZ 6CAzoVThccazBAjUareMRL1LaU6QKkO/Ka3Vovedl77cVarMzQijsCmo2WHCmVcHPEkd Fy0UYlyocd6Rg1III+Y0aLjcikWVcb6YV1D1DEcG5shdUv8ziF6I04uxPZ9yz2d/7CR1 Kpp+K4Y+wakDbo4o/XKFOzNo8w5775CEF6o8ALVEISsJ3uHmNxPcKJTzi2Ixf3KeFHL8 LAuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LnSa65dK; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 h6-v6si3348541pln.61.2018.03.28.02.52.38; Wed, 28 Mar 2018 02:52:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-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=LnSa65dK; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1752781AbeC1Jwg (ORCPT + 10 others); Wed, 28 Mar 2018 05:52:36 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:38932 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752674AbeC1Jv7 (ORCPT ); Wed, 28 Mar 2018 05:51:59 -0400 Received: by mail-wr0-f193.google.com with SMTP id c24so1626390wrc.6 for ; Wed, 28 Mar 2018 02:51:58 -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=YShoW9QW4PIxU2fV4LhoxXLORDzcuLqe7u/fq/C1mwg=; b=LnSa65dKmgP3YPQSQTTktfEZtZ9zNGnkKDrVFmL0EIb5+5SkqacQMkpYkG+XsIk1zT 9Ydjr/++iBEZSYIvjmctoXbSIpjmnkT59YZCAJfETyCKP3AOwVySvfHVnjRWLYiI8zBQ VVPdUqr3o5Dld7HPEQ73zlAq+eXFt+eTSzKzw= 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=YShoW9QW4PIxU2fV4LhoxXLORDzcuLqe7u/fq/C1mwg=; b=mjGyYtH8FYyf7kaHHvBM6iGVcRgbow4ae7y4sO3+VjJWeIA2auDyjq0ylM8rxnFoH1 bqcGSAP1jivKoj/yCmOhgU67SaNhAHqeVFoFDFC7pFj0JTj62E59AhLa1/XSV5gcDdte D86vOUKzGhAPeNrFxsCKLybl0/JYiRbtLInmcX/pJPb7pyK3TWO+XaoZUKWEgiFZ72CS OZxAMjIHQlU3hvI/SQuWdXwh69afnkyJ27l6a5soJi7Vh3k9SDbx27IPUikQt5p3oWWF 2Q2JsAWWop/zXaRv3leHe07NPNQUVM44Vv0WOoGp7y5NIG79tt/znuU7cBlzAg0hGrUQ Z4Pw== X-Gm-Message-State: AElRT7FWgkJ8ueYe3yGDnlR95Eb0vbli3SaWbZ01wJfbKZW504Y2uVMg XdO0THO9gEEU3B8l1MDIrZ5IPw== X-Received: by 10.223.185.25 with SMTP id k25mr2143519wrf.237.1522230717774; Wed, 28 Mar 2018 02:51:57 -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 d9sm7285992wmh.38.2018.03.28.02.51.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Mar 2018 02:51:57 -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 v6 2/3] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Wed, 28 Mar 2018 11:51:32 +0200 Message-Id: <20180328095133.14343-3-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180328095133.14343-1-thierry.escande@linaro.org> References: <20180328095133.14343-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 Add binding document for serial bluetooth chips using Qualcomm protocol. Signed-off-by: Thierry Escande Reviewed-by: Rob Herring --- v6: - Remove chip specific pinctrl conf - Move gpio and clocks into optional props section 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 | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt -- 2.14.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" 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..f1ca8f667a5e --- /dev/null +++ b/Documentation/devicetree/bindings/net/qualcomm-bluetooth.txt @@ -0,0 +1,30 @@ +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: + - enable-gpios: gpio specifier used to enable chip + - clocks: clock provided to the controler (SUSCLK_32KHZ) + +Example: + +serial@7570000 { + label = "BT-UART"; + status = "okay"; + + bluetooth { + compatible = "qcom,qca6174-bt"; + + enable-gpios = <&pm8994_gpios 19 GPIO_ACTIVE_HIGH>; + clocks = <&divclk4>; + }; +};