From patchwork Thu Mar 29 19:15:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Escande X-Patchwork-Id: 10316097 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A2AA16037E for ; Thu, 29 Mar 2018 19:16:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 970102A442 for ; Thu, 29 Mar 2018 19:16:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8B7722A46D; Thu, 29 Mar 2018 19:16:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D55592A445 for ; Thu, 29 Mar 2018 19:16:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751973AbeC2TQ0 (ORCPT ); Thu, 29 Mar 2018 15:16:26 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52199 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751187AbeC2TPv (ORCPT ); Thu, 29 Mar 2018 15:15:51 -0400 Received: by mail-wm0-f66.google.com with SMTP id v21so12573702wmc.1 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=jY/xLbvpKRjt570ysD7+PqiOpj0aLz43dJYG6FXui+nDhVUPQLfIjo1zIN+7I/hkXJ O96a3qIrposUS21M3E2oQGWNsS3NIywlIwXWMY8V1o3Opu5C+PSxemXYbXxDbmMppRNt h6/RZRev/uGwxM29r0yYmxGoJC2uO7H066UeYdxc7XV3SscFjvrVC8CzWcbDwtModQFk ssM5ICbma+ME+wMNaJIU9YiqTJr3I5hTyMZcb7oo3H2HwZPsFdDkWZzxWsZMhInELN2j TzvWl1Z5BD1zOlXQRk4GCyLL8Q7j78rOtY/I/aqCBD18xQk4YKZGQjTAqaXzH/xmttMx KvuA== X-Gm-Message-State: ALQs6tCXoGY4CNwHpFFJzl4Kiz1CwZYfA6YdMEDBDu/nypQPgJ4JCRtd Flq5EHmgJejqh7RjPTKDQdKWbA== X-Google-Smtp-Source: AIpwx4+n230XVar5HVIyvmNFQHgO8cspCx/E9jf0BviMp/g/MTL65SFmdMgFWdEj9D86hhEP/JT1Yw== 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-Transfert-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; + }; +};