Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1928586rdh; Sat, 25 Nov 2023 07:29:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0Nh0oBbJSNjgmeqPH8xaZmuzk2pTJLkva9fbpPilKurtg5xT6AF35S3DZMmoTpP9C+vum X-Received: by 2002:a92:c80f:0:b0:35c:8611:ae4b with SMTP id v15-20020a92c80f000000b0035c8611ae4bmr2768499iln.21.1700926146549; Sat, 25 Nov 2023 07:29:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700926146; cv=none; d=google.com; s=arc-20160816; b=Jn8ygojrgV54WwTjlcEcc5luFwXmZiy6zL1PYZ6nUvo+R5D/Kmncx8KhRHE+OxXgdj FHING7oTPvS9pmzvNgizEsGqphPJlVUe1GiSZ4f9sc9+igKcqXGNF5uDk5rU7IsjLpKj vPosOX9/9Cyvb8MHT18TKe2CeVDnlDE5zyDgHXl0YNxkBfZZZfzQufL0Kn3/5imGPt3P bnpIPig5xzCu92qgvhIm52ZN2/5x1aKFp33pNW8mfUJTLrgY0DmPY6dC3PUybpiFCZDt PGr1Uzl4GC1BU4BMCYE6GwROhgwKbTVHONOFPsc3VtttNHClMlxU7YWZK9qR12/HyamC XmNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=y+9qVNr/VUwknbnWPngJyNBv+EpK6pBAV+6jnHif/dw=; fh=AhcXu63qnjOd8UwBKFWtDOBZPX6IyBsbT/bGSYEHIB4=; b=pde2FfuWyfE1XXE86Ha0OAywQPrQBKNuk1zwrcA72saPqNHwvhZ/ooGrwdn66yeDIy HhrgqGU/CUSVfJmaKX9+P8zQA2tBBhAz8CN75MOJJMME/anKSw/NgVhomwLzLJC6V32f I2MPIWSufsB1HpnTi0yBVmuFxfhLw/VqCYkG0CqdbNfSoluzhtQAwsExlnqI3I7VOFwJ p08LtZNtp4pqm1NJ43NFkiEmL8SlfjeQ+8sMRHAwOPLaC+Yvizj65pbUYIsKOuBJw/N8 3ZPvWN1jMrOZCIhJXuHEX2xVIjepVgQcQAvyzn5iuJ8nyYyhH+bvC1Kd/XU7H2UYqv3d tABQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="isccZI/o"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id b16-20020a6567d0000000b005bd18d53c2bsi5795508pgs.885.2023.11.25.07.29.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 07:29:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="isccZI/o"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 25265809B748; Sat, 25 Nov 2023 07:29:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232246AbjKYP2j (ORCPT + 99 others); Sat, 25 Nov 2023 10:28:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbjKYP2h (ORCPT ); Sat, 25 Nov 2023 10:28:37 -0500 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A24101 for ; Sat, 25 Nov 2023 07:28:44 -0800 (PST) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50baa2a278bso615561e87.0 for ; Sat, 25 Nov 2023 07:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700926122; x=1701530922; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=y+9qVNr/VUwknbnWPngJyNBv+EpK6pBAV+6jnHif/dw=; b=isccZI/osEFyX5nQzOrrtilKnjmM/b+9gCVzcHMmmtcSWDhB7YwlX1B3zow9Vd34cn v7Niy2+9Xs+Xdi+CaCZ0QJC95beWJ+OCB1b/f1mXyTzzNZGDxrfDgcSrpRIKxhk7YWq0 6C3yTOzvbnXIAsH4xkL4NM90qS6pZbhahUhIDbC38I4NXawdpbevyUZIlpbv9C9VGzoE vJ1pup3MxLW7CxU+74CZdbFXJwTuvUoPpzcPyvR4kf97wJcK/+riCUhHiRcg4CB122rP MrgdOlncScbVnbqQZKsP4eziK12lNuCc5MfKc23a96zRnC61Mrjbv7S57ssJLXTVdS6F MT3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700926122; x=1701530922; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y+9qVNr/VUwknbnWPngJyNBv+EpK6pBAV+6jnHif/dw=; b=qEaumbGfBpVpb8v8IMMbgmbDnU/xMWFUr9zkoWYUyL2R+5bSFkZF3EkhhMy3HB8xdL lisfrfz+7EUOpTFF6QLk50DoBU8PFE3TXLMtdyg7p3HBQ9IMoWlh2J/aTSR7rg8hP9VO ltSl22osrkZWymBSdpmSGWNxYFCREZcnDTx70ZYbqmvjOWTKgxulLEUXXDT2YQ5NDyWP UjQ6TX93tD6zVAcZG5hAbiHco5feUvFDzbSAz5GHPrWd2/XBjbz8t7RXaYuHHqKFhHOz x8/zjB188cFtC1rSsdpIRJMO56GWbObSwfspqWxJeVQehUBUK/sUMTMavj2ymHHPvMAZ ROqw== X-Gm-Message-State: AOJu0Yz8BJJLoSEZnpluaguiHJkCkDwZP5//rIhVuJlSz9zx1z50RQgF EJIZFCu0AkZmfw89UrmYiCQkZapLXp5MS80xCXU= X-Received: by 2002:a2e:2e19:0:b0:2b9:ee3e:2412 with SMTP id u25-20020a2e2e19000000b002b9ee3e2412mr4828741lju.22.1700926122424; Sat, 25 Nov 2023 07:28:42 -0800 (PST) Received: from [192.168.201.100] (178235187180.dynamic-4-waw-k-2-3-0.vectranet.pl. [178.235.187.180]) by smtp.gmail.com with ESMTPSA id dk12-20020a170906f0cc00b00a0c8cc6fd75sm514133ejb.126.2023.11.25.07.28.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Nov 2023 07:28:42 -0800 (PST) Message-ID: <36316a86-4ac9-4f4e-a01e-15792a8d71be@linaro.org> Date: Sat, 25 Nov 2023 16:28:39 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] arm64: dts: qcom: qrb4210-rb2: Enable bluetooth Content-Language: en-US To: Bryan O'Donoghue , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231120-topic-rb2_bt-v1-0-509db2e28e70@linaro.org> <20231120-topic-rb2_bt-v1-2-509db2e28e70@linaro.org> From: Konr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7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sat, 25 Nov 2023 07:29:04 -0800 (PST) On 25.11.2023 16:04, Bryan O'Donoghue wrote: > On 25/11/2023 13:04, Konrad Dybcio wrote: >> Enable the QCA bluetooth on RB2. It identifies like the following: >> >> Bluetooth: hci0: QCA Product ID   :0x0000000a >> Bluetooth: hci0: QCA SOC Version  :0x40020150 >> Bluetooth: hci0: QCA ROM Version  :0x00000201 >> Bluetooth: hci0: QCA Patch Version:0x00000001 >> Bluetooth: hci0: QCA controller version 0x01500201 >> >> Signed-off-by: Konrad Dybcio >> --- [...] >> + >> +        rx-pins { >> +            pins = "gpio11"; >> +            function = "gpio"; >> +            bias-pull-up; >> +        }; >> +    }; >> + > > My reading of downstream has all of these pins drive-strength = <2>. Right, I'll fix it up. > > >>       lt9611_rst_pin: lt9611-rst-state { >>           pins = "gpio41"; >>           function = "gpio"; >> @@ -508,6 +567,26 @@ sdc2_card_det_n: sd-card-det-n-state { >>       }; >>   }; >>   +&uart3 { >> +    interrupts-extended = <&intc GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, >> +                  <&tlmm 11 IRQ_TYPE_LEVEL_HIGH>; >> +    pinctrl-0 = <&uart3_default>; >> +    pinctrl-1 = <&uart3_sleep>; >> +    pinctrl-names = "default", "sleep"; >> +    status = "okay"; >> + >> +    bluetooth { >> +        compatible = "qcom,wcn3988-bt"; >> + >> +        vddio-supply = <&vreg_l9a_1p8>; >> +        vddxo-supply = <&vreg_l16a_1p3>; >> +        vddrf-supply = <&vreg_l17a_1p3>; >> +        vddch0-supply = <&vreg_l23a_3p3>; >> +        enable-gpios = <&tlmm 87 GPIO_ACTIVE_HIGH>; >> +        max-speed = <3200000>; >> +    }; >> +}; > > Does firmware name not matter here ? The driver figures it out, see drivers/bluetooth/btqca.c : qca_uart_setup() Konrad