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 C952EC636D6 for ; Wed, 1 Feb 2023 07:18:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231761AbjBAHS3 (ORCPT ); Wed, 1 Feb 2023 02:18:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjBAHS2 (ORCPT ); Wed, 1 Feb 2023 02:18:28 -0500 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26797402E7 for ; Tue, 31 Jan 2023 23:18:26 -0800 (PST) Received: by mail-wr1-x429.google.com with SMTP id q10so16350199wrm.4 for ; Tue, 31 Jan 2023 23:18:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iW6TmbMd1gF07kY30EHKKSaAsBit2kIYwls/u2QTCf4=; b=j3nk+KTjiQcXiaKpw0pS/P9AFoUUfBNZujRQVvK4n2gaSInX/Kq+gO7bSyRymDA5d7 +SKy82W4wCrsXxv0/94ntcvpp8v/UbhAmbuiSa6K2BbxbnFZyExtFWockWLDsl36sVhL o8iwJfLzqcsu0RRadIS0OWOX/PQshd2FQsvEFf9QYB4UVoVoTwpp1yEgn6fziJ04uo3W NuU2PDl78L4TvMoZqeNAuqnn4Im+/+mboSpTMLrR7/xaW5Nf6hHVR7pjn2bQkiEt6PXG EdevtW0J6TkqZkpR2yqVfk5HmumVBokZ4IX9N59OvmPIos27lBUaiBx8OWshshksNOtl XrWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=iW6TmbMd1gF07kY30EHKKSaAsBit2kIYwls/u2QTCf4=; b=QFtRT/ujY+BC04zTgSCIxw4Lb1yqSriAc6Xlpe3YiJ6A5VCT2XANpw5Yukg4T4VS3W r49tYJD+/m/VtWUSid3CCx/0rSppta4Xiza1x+DpS9jG3RpbhqeN+mQNBC4MKgC82CqO h6CXoFOtGX+VczH8TWLOwugACWcfXU5v35Ck1HpjA5ADQ/In5o/h4CVlXkmQaai4Y0wH EFy433RvSB2re5PzA/CQLOrZfa3FJqETgYsKNiEab5p2ud81JyxVQ7uzFOGZUV9IbMWi BTqKGBSboBQinIz9/MmFBTzBbRryHF4d6kMgpSiKqpE3tGBECHUHpxSe0oQMw5m18CUJ S0lA== X-Gm-Message-State: AO0yUKUFa0WCegj4pNTQQgNxVNt0vTicPL6unVRvNESdKhFYoRgu1hBw q33hCxaXchrUs6CZ3PC4mDzcKA== X-Google-Smtp-Source: AK7set8aXkWyw3ME7Gycfqg3GIvG2Nld+V7yA715pFMljnnf5z5iftP/liNYXRk1ZeDczwawfygFYQ== X-Received: by 2002:adf:d0cc:0:b0:2bf:e01c:b9d0 with SMTP id z12-20020adfd0cc000000b002bfe01cb9d0mr1429041wrh.13.1675235904619; Tue, 31 Jan 2023 23:18:24 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id h12-20020a056000000c00b002bdd96d88b4sm16917401wrx.75.2023.01.31.23.18.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Jan 2023 23:18:24 -0800 (PST) Message-ID: <634ad948-c95d-541f-ccb6-c1f185faad9c@linaro.org> Date: Wed, 1 Feb 2023 08:18:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: thinkpad-x13s: Add bluetooth Content-Language: en-US To: Steev Klimaszewski Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , 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 References: <20230201031349.56405-1-steev@kali.org> From: Krzysztof Kozlowski In-Reply-To: <20230201031349.56405-1-steev@kali.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 01/02/2023 04:13, 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? Keeping them commented out, does not solve the "these should be there". Drop or add them. Best regards, Krzysztof