Received: by 10.213.65.68 with SMTP id h4csp251730imn; Wed, 28 Mar 2018 02:55:18 -0700 (PDT) X-Google-Smtp-Source: AIpwx49zSM6A/7oW3BFg8MF3W0t5P6HLQWpKF1KrOtq3T87VJ1dNLFKTAzySYUihDjselJytAahR X-Received: by 10.99.106.202 with SMTP id f193mr2123746pgc.334.1522230918571; Wed, 28 Mar 2018 02:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522230918; cv=none; d=google.com; s=arc-20160816; b=fZwo4fgaurPd0Wue0O7wNqkqevnM8OnXhxk5q5IZ9hssEoBKz8oVeE+u07AAk/xILY +BSMg1eVCEDujB2tS3oS1j1uHhDQDmofcs6urasz/9siRiwsN9kJ3i+ERB1thVxZBv0l fxXuQHt8y+7dgMNyGd6sSXpCYbTzDiSZ7QSs18s8CKPwq/yb1MOOv42w8j6RKdjrk03r yfCd4mZPKm6KG7BP8OhhBDijkN0zakJnW6GYVBSgA1zGUxHaF1dWiz85Rzg03qQoPJs+ buK+O+OpUo/nVT22NT0CIZ0wiCLnjmim250gAkcxO3Q4AXGqbvpN3T9VMSnP5cpEvX8k Dd1w== 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=YShoW9QW4PIxU2fV4LhoxXLORDzcuLqe7u/fq/C1mwg=; b=qZBt+JLGqF0QRFTqNXXNmCVrmcpy/uckwXdus2RmVfzFm8MRspWlBsQZwZMumUNDuk 4LB5dG+ojLy051DXiIMF4kT1thcs2orYWhoBSJeI5A+I8RKoBTWPkVXxe0dz5ALe+L8I keZWxIN2qorjEJ3mV0gQwKGZtLX/gQpfcU+Fcs9aRwbUdOANJU/f4/BokmfL5B2z2Vpu Fj1Xgv/J9jl8Q/TK/4UzPbIfcdwRCAuZu9bhSeC5S/RHNmxqQBGM/4UIA2ykOgxXOI7H 2NHD6A95YY4ObylJkFpTtXl6ASYtboAUymO7BEQJGCQDr22FG7uOs/ndBM1eduCvJgVc 39dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LnSa65dK; 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 h4-v6si3485516pll.339.2018.03.28.02.55.04; Wed, 28 Mar 2018 02:55:18 -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=LnSa65dK; 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 S1752774AbeC1Jwg (ORCPT + 99 others); Wed, 28 Mar 2018 05:52:36 -0400 Received: from mail-wr0-f196.google.com ([209.85.128.196]:45468 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752676AbeC1Jv7 (ORCPT ); Wed, 28 Mar 2018 05:51:59 -0400 Received: by mail-wr0-f196.google.com with SMTP id u11so1614348wri.12 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=Yo0emJ9cXyJTZ+W24BgLmQK857iLbYLqsKb2mZxiuP7iImOoZg1zHQ+wcc9c2hSqdd QIcbB6DL73MDshOzLp+CCCqKB487RBZpP7j/bYOIrK/0AUweqMitgGQhm9CuumI+wFaF uZuPlvd54+LJoPABFIHtzwT6pVVRHBeYJKBgt9CxmOdy9isUspaKr9WXKEPEIC/Y6bzi 3f87fZOFgFxeqNmoFsBZ7Ol+zDfa2l1h+bQdPyJTw33CNa06HCKK1uJdoA7qNshu3Ql7 8Dg18rfck9AbiaU1EigJWf1Qfu6thbHmLeTfyoUiJLQpQwcW+cgWQFux83VeZxxNVJOM Cqhw== X-Gm-Message-State: AElRT7FN44PkTQAskzG/vWnRMSwX3ygYWZ3EeyKmgV3w+P8PA6EF+xVc e3a8AhhXZwPL4Xld9dkVay7GXA== 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-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 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 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>; + }; +}; -- 2.14.1