Received: by 10.213.65.68 with SMTP id h4csp1855416imn; Thu, 29 Mar 2018 12:18:03 -0700 (PDT) X-Google-Smtp-Source: AIpwx498JMyjPtWFWbxYmlW4J2b13FTz9aOFxrSlyOnasqjj8PVL5ymz+la4HHKXlKS+GyNKrEW7 X-Received: by 2002:a17:902:7202:: with SMTP id ba2-v6mr3966099plb.249.1522351083121; Thu, 29 Mar 2018 12:18:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522351083; cv=none; d=google.com; s=arc-20160816; b=wFZEGm2qHCm0nSUSEO5/jAQ1YxzcTKugfbNWh8NI2tc3u/w1NxJyQsMTCjSfKulk1a 34afxKzS8MXP8dgQ2tpyKhjzfKfCynA3eI2jYcM+GLiMLyGAr/6KyAWMiYs+K9SxbE1e hwan52nD74VR3GTvFjUZ6zKLbyMKyUM1pyUi0kyHJIlJUjRb+bhv/tXzr4n43hqwbkhh de/dqgEtfaTmbxG7B3RwKiHSfDf7B3qTnVImBjF0CS+JjIozaePw4VzJ6Y0LWQGMA2Rh kx2XoZvQiNAFiDAOMUXOus/fseSYQMdh3mPhOpiOzKrSclhiw37DZaP5pZ5n1RIY+3MX /59Q== 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=UFZ3UbTPLodfuLFFeYVino4jl695NijaxawhKcAPH3o=; b=wQbW+zMvWS813Ib3um4x6A/Z0r275pb6ORonYv0XDD44SBECMH5tQxZYaq4+/dgCB9 F0pgTWYOMx5Zd69TYY1jXviPP+GNl2TM9PoZI/aAr9p9Tc+8ZH8L0u/+4P0AvVq09nrL 8voX8hNYUdFYSMvp3rfqpFfVlBncEcure59rssObYfmfb0wv6/51Gfci5a0UQITZ6KzE Zzz0Vv0sJqKS+FhTxa2iNYcpeQVKfvn9hr3kffkvTKFWEk6YSKlC2/omIw/ACfm1MQLm 3dIJ0DuhZ164w3iS9N8PJAmwjYeVOPpPqP9/5xwdyNBWqDezxyVgSjhoYPKIaN3TAl6A o7tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gRQqo2mD; 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 y13si2864293pfd.47.2018.03.29.12.17.49; Thu, 29 Mar 2018 12:18:03 -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=gRQqo2mD; 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 S1752299AbeC2TQZ (ORCPT + 99 others); Thu, 29 Mar 2018 15:16:25 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53048 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752058AbeC2TPv (ORCPT ); Thu, 29 Mar 2018 15:15:51 -0400 Received: by mail-wm0-f65.google.com with SMTP id l9so12560094wmh.2 for ; Thu, 29 Mar 2018 12:15:51 -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=UFZ3UbTPLodfuLFFeYVino4jl695NijaxawhKcAPH3o=; b=gRQqo2mD5d7/IINbI54XjbfL1dEDyNbN4UpjyMDTIAKL+W4MHd35SE/VLu4yg+CSlk wyEE11aZe/Se+avO79KV/xl7vwEMBH7mluM+h0Ais+F7FmgNhu0NY+uIVFo2nVMWuwi8 qS2XA1NwzE5TO328CSVb8GdfOFuB8kMdF2ilo= 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=UFZ3UbTPLodfuLFFeYVino4jl695NijaxawhKcAPH3o=; b=l+reI2Df2hBEhYfNY1HFe3f5QXyeC4Vjng/BHmvX9uRCtprxFtF83HBUT2AF40Me4Q KkDwi8PLedXFAWq+c883s8nomm0GDOxrTr4O+ZTZvaOckNymB2aWPWFWxK4DwAXBBzpU xNV4l6q5LBoYTJvEMmg+pGzrtr3KB+DjeiYROSGMNHjU2tLANy9k9OJDtZFzteMvqcMp Zq3Wa/LB4JpGIsFYpHRuxXzflPKYTdBeEoG0Re/Z/VXs0nKoNogHpyGCkTNv0RMWv8MW +taG1LGRFXx1XR7kSaF6pfO/B8TCEawhcuv90gZ27UORgdn8wvjGrbal83g4eWFv/Mic ekdQ== X-Gm-Message-State: ALQs6tA4syJdhTNQxHLjocsUYCNsT8n4acr3fq5rSmNhwGcXS6AbBfgV J9tBCY0vyxvt9DoX4bvmyUkaIA== X-Received: by 10.28.144.146 with SMTP id s140mr170995wmd.74.1522350950438; Thu, 29 Mar 2018 12:15:50 -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 b40sm16145099wrb.88.2018.03.29.12.15.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 12:15:49 -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 v7 3/4] dt-bindings: net: bluetooth: Add qualcomm-bluetooth Date: Thu, 29 Mar 2018 21:15:23 +0200 Message-Id: <20180329191524.30225-4-thierry.escande@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180329191524.30225-1-thierry.escande@linaro.org> References: <20180329191524.30225-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 --- v7: no change 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..0ea18a53cc29 --- /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 controller (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