Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A06DAC636CD for ; Sun, 5 Feb 2023 21:17:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbjBEVRT (ORCPT ); Sun, 5 Feb 2023 16:17:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbjBEVRR (ORCPT ); Sun, 5 Feb 2023 16:17:17 -0500 Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EC35166EF for ; Sun, 5 Feb 2023 13:17:15 -0800 (PST) Received: by mail-qv1-xf31.google.com with SMTP id d7so1035998qvz.3 for ; Sun, 05 Feb 2023 13:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sQpfxqbj8W16EcaK4RqVCodrekeKSrjK/jm5qyTP/Lw=; b=o49zfJQTX1TVubYCthchKrDz11Sc8q44WgHx+9GehoCmw1a/UUOBGtSbW8mJtT9Nhe OYPaFlhphng5zEAm1oRYXUhSPkEDQXbVKeTR6LdFNSWHMnv0GOmElv4bpNRmXmgpkcs4 h5VwkMGb0cH7EL2rAuGhV/dYkMMdCMQ/8YKu1Oe7yUHn3rFflfF/S4DEC6ja8bEhXDDZ +YeLcpEFmwZjfjFYTC5EUCSHN7pDsNUBsJctDr4yg3GVmC8m7f8SBPCZiad651ZM6SUj R2Hrj+QbGTCZxNs8Ch6c0TYt4mcPKpuTPEP888KxqtXHcxfkgHwsZcWEBs081QhT22Kd 7A8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sQpfxqbj8W16EcaK4RqVCodrekeKSrjK/jm5qyTP/Lw=; b=Nhf7Q4wc8hYAz5UMaRCMwwBtiEfXpAqAnT0dHrjp6wXa5BkfImwoMdDEjQw2tc2gKa RoRhI4fmXoIMfYPCMBJP7VzsoiRTf9EVdk592PInxo5xh3VbHVFInzJAYCc33m6E/9Jc hPmylyZBAZvmHU3HJIdShqpUYD6HlmGBJc5UVwq0wsX9BZaRGcVShDXb0lOq/C+JwoeM M1xHrCzvuOCjI4M2H5s6u/3lPogintBg68GuxQNrAhWYkC8me2/5O2U1/9vf9fgAHImR cI5nDD4vSkhz1IpIeaOKmzA0YZhYB4XSJJ6ZcMYdzTw+8iTBUKkHpBSD7gS5kJwK6+7g 9NIw== X-Gm-Message-State: AO0yUKUSGEgIRe6gTVNKE2KzObKq5JjSklR2tRzokU0WC8QUOxvAr3FA tdc9AAB1/Eto55BJ0cZn6hcgBQ== X-Google-Smtp-Source: AK7set+SbqcAB7CSGrzF8/8vOEuKkbVHEowhg2nRY4TOn6pW9Wya4yVk0B/Rwf7K0CZjvcRRvCAHtA== X-Received: by 2002:a05:6214:2582:b0:56b:eb9d:4342 with SMTP id fq2-20020a056214258200b0056beb9d4342mr11420162qvb.49.1675631834415; Sun, 05 Feb 2023 13:17:14 -0800 (PST) Received: from localhost (23-118-233-243.lightspeed.snantx.sbcglobal.net. [23.118.233.243]) by smtp.gmail.com with ESMTPSA id k1-20020a05620a414100b007112aa42c4fsm6196519qko.135.2023.02.05.13.17.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Feb 2023 13:17:13 -0800 (PST) From: Steev Klimaszewski To: Luiz Augusto von Dentz Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Marcel Holtmann , Johan Hedberg , Sven Peter , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-bluetooth@vger.kernel.org, Mark Pearson Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: thinkpad-x13s: Add bluetooth Date: Sun, 5 Feb 2023 15:17:11 -0600 Message-Id: <20230205211712.48001-1-steev@kali.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Luiz, >Hi Steev, >On Tue, Jan 31, 2023 at 7:13 PM Steev Klimaszewski wrote: >> >> >On 31/01/2023 05:38, Steev Klimaszewski wrote: >> >> Signed-off-by: Steev Klimaszewski >> >> --- >> >> .../qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 68 +++++++++++++++++++ >> >> 1 file changed, 68 insertions(+) >> >> >> >> diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts >> >> index f936b020a71d..951438ac5946 100644 >> >> --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts >> >> +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts >> >> @@ -24,6 +24,8 @@ / { >> >> aliases { >> >> i2c4 = &i2c4; >> >> i2c21 = &i2c21; >> >> + serial0 = &uart17; >> >> + serial1 = &uart2; >> >> }; >> >> >> >> wcd938x: audio-codec { >> >> @@ -712,6 +714,32 @@ &qup0 { >> >> status = "okay"; >> >> }; >> >> >> >> +&uart2 { >> >> + status = "okay"; >> >> + >> >> + pinctrl-names = "default"; >> >> + pinctrl-0 = <&uart2_state>; >> >> + >> >> + bluetooth { >> >> + compatible = "qcom,wcn6855-bt"; >> >> + >> >> +/* >> > Why dead code should be in the kernel? >> As mentioned in the cover letter, this is a bit closer to an RFC than ready to >> go in, and I do apologize that it wasn't clear enough. I do not have access to >> the schematics, and based on my reading of the schema for bluetooth, these >> entries are supposed to be required, however, like the wcn6750, I have dummy >> data entered into the qca_soc_data_wcn6855 struct. I know that these should be >> there, I just do not have access to the correct information to put, if that >> makes sense? >Well you don't have the RFC set in the subject which is probably why >people are reviewing it like it is supposed to be merged, that said I >do wonder if there is to indicate these entries are to be considered >sort of experimental so we don't end up enabling it by default? > Initially, it was meant to be more of an RFC/RFT, but as it turns out it works pretty good with the defaults in the bluetooth driver, so I've made a change in v3 to just make a note that it's a TODO? I'm not sure if that's okay or not, but I'm sure people will let me know :) >> >> >> >> -- steev >-- >Luiz Agusto von Dentz