From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7344BC43381 for ; Fri, 22 Feb 2019 19:15:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 348BC20700 for ; Fri, 22 Feb 2019 19:15:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=davidjohnsummers.uk header.i=@davidjohnsummers.uk header.b="SLzRMV3A" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726106AbfBVTPD (ORCPT ); Fri, 22 Feb 2019 14:15:03 -0500 Received: from mail-gw.thundercloud.uk ([149.255.60.82]:45338 "EHLO mail-gw.thundercloud.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725878AbfBVTPC (ORCPT ); Fri, 22 Feb 2019 14:15:02 -0500 Received: from mailbsf01.thundercloud.uk (mail-gw.thundercloud.uk [149.255.60.72]) by mail-gw.thundercloud.uk (Postfix) with ESMTPS id 6C45260C8479 for ; Fri, 22 Feb 2019 19:14:59 +0000 (GMT) X-ASG-Debug-ID: 1550862898-05541312675416a0001-BZBGGp Received: from cloud706.unlimitedwebhosting.co.uk (no-dns-yet.unlimited.uk.net [149.255.62.7]) by mailbsf01.thundercloud.uk with ESMTP id BvXl964xJZGGVM2Q (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Feb 2019 19:14:58 +0000 (GMT) X-Barracuda-Envelope-From: beagleboard@davidjohnsummers.uk X-Barracuda-Effective-Source-IP: no-dns-yet.unlimited.uk.net[149.255.62.7] X-Barracuda-Apparent-Source-IP: 149.255.62.7 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=davidjohnsummers.uk; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6rLgN2xM4PQi5JFNYJOJPO6aR+TC3oll5nFcyRER7nQ=; b=SLzRMV3A6IMUugJMtbGNZ7a/uL PSQVMiWnJSItsN2Ddb+Nk6Jq0qIB7+OalKqvzPjUl2+t6gxK7EC+93VgOnzQmuiw//KfLXEmlT0yL dRgiMK2hieJPZcp9B1mRPgIZU+m6Wkp5faz/a9xjRwYuws3ZafTdKQo/z3vrDuc1No9vY/20ZkjES sA6YLEeF3903Wy8KRfnEi0F7GJvjQO4MQ2sNIGCzB5oAPfmrCF+trIE1yrSe7M9T5yPQ2esT2Xn8W dVW+KLh34wEHPMNc+DKuKewfHSKJtcdu2AzCDXhJ6FbzPcVXtpVFCN1MmJunZAMIrMt5lH5d5Udh6 R/tn6pQg==; Received: from [87.114.170.31] (port=34708 helo=[192.168.2.187]) by cloud706.unlimitedwebhosting.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gxGHi-000QPo-0K; Fri, 22 Feb 2019 19:14:58 +0000 Subject: Re: [PATCH 3/8] dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth To: Vasily Khoruzhick , Stefan Wahren X-ASG-Orig-Subj: Re: [PATCH 3/8] dt-bindings: net: bluetooth: Add rtl8723bs-bluetooth Cc: Rob Herring , Mark Rutland , devicetree , Johan Hedberg , Maxime Ripard , netdev@vger.kernel.org, Marcel Holtmann , linux-bluetooth@vger.kernel.org, Chen-Yu Tsai , "David S. Miller" , arm-linux References: <20190118170232.16142-1-anarsoul@gmail.com> <20190118170232.16142-4-anarsoul@gmail.com> <20190218211035.GA28145@bogus> <1245842044.588056.1550527701604@email.ionos.de> From: David Summers Message-ID: <8b97f349-4416-058c-0d01-3be592b89a7d@davidjohnsummers.uk> Date: Fri, 22 Feb 2019 19:14:56 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-PH X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud706.unlimitedwebhosting.co.uk X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - davidjohnsummers.uk X-Get-Message-Sender-Via: cloud706.unlimitedwebhosting.co.uk: authenticated_id: davidjoh/from_h X-Authenticated-Sender: cloud706.unlimitedwebhosting.co.uk: beagleboard@davidjohnsummers.uk X-Source: X-Source-Args: X-Source-Dir: X-Barracuda-Connect: no-dns-yet.unlimited.uk.net[149.255.62.7] X-Barracuda-Start-Time: 1550862898 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://149.255.60.72:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at thundercloud.uk X-Barracuda-Scan-Msg-Size: 2840 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.67730 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Vasily, Just catching up with this series - good that you are doing it. We need it for users on ArchLinux ARM! On question though, what is "firmware-postfix" used for? I see in the documentation, that it points to the board name. But can't see where else it is used. Is there a need to have the board name? Anyway good work. David. On 18/02/2019 22:28, Vasily Khoruzhick wrote: > On Mon, Feb 18, 2019 at 2:08 PM Stefan Wahren wrote: >> Hi Vasily, > Hi Stefan, > >>> Vasily Khoruzhick hat am 18. Februar 2019 um 22:24 geschrieben: >>> >>> >>> On Mon, Feb 18, 2019 at 1:10 PM Rob Herring wrote: >>>> On Fri, Jan 18, 2019 at 09:02:27AM -0800, Vasily Khoruzhick wrote: >>>>> Add binding document for bluetooth part of RTL8723BS/RTL8723CS >>>>> >>>>> Signed-off-by: Vasily Khoruzhick >>>>> --- >>>>> .../bindings/net/rtl8723bs-bluetooth.txt | 35 +++++++++++++++++++ >>>>> 1 file changed, 35 insertions(+) >>>>> create mode 100644 Documentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt >>>>> >>>>> diff --git a/Documentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt b/Documentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt >>>>> new file mode 100644 >>>>> index 000000000000..8357f242ae4c >>>>> --- /dev/null >>>>> +++ b/Documentation/devicetree/bindings/net/rtl8723bs-bluetooth.txt >>>>> @@ -0,0 +1,35 @@ >>>>> +RTL8723BS/RTL8723CS Bluetooth >>>>> +--------------------- >>>>> + >>>>> +RTL8723CS/RTL8723CS is WiFi + BT chip. WiFi part is connected over SDIO, while >>>>> +BT is connected over serial. It speaks H5 protocol with few extra commands >>>>> +to upload firmware and change module speed. >>>>> + >>>>> +Required properties: >>>>> + >>>>> + - compatible: should be one of the following: >>>>> + * "realtek,rtl8723bs-bt" >>>>> + * "realtek,rtl8723cs-bt" >>>>> +Optional properties: >>>>> + >>>>> + - device-wake-gpios: GPIO specifier, used to wakeup the BT module (active high) >>>>> + - enable-gpios: GPIO specifier, used to enable the BT module (active high) >>>>> + - host-wake-gpios: GPIO specifier, used to wakeup the host processor (active high) >>>>> + - firmware-postfix: firmware postfix to be used for firmware config >> sorry, i didn't noticed your great series before. David and i working at the same stuff but for the Asus Tinker Board. >> >> I created a similiar yet untested patch version for hci_h5 [1]. Maybe it's useful. > Looks good to me, but you may need to add firmware-postfix. > >> Just a comment about the binding. It's really necessary to add the reset-gpio? Can't we use the enable-gpio with inverse polarity for this? > Yes, we can use enable-gpio instead of reset-gpio on pine64 and pinebook. > >> Stefan