From patchwork Sun Oct 15 20:03:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 15383 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3081399vqb; Sun, 15 Oct 2023 13:04:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaW2OozR8YzHdsE8i6jIpVVJVWU6apn7VBvw0mYeYiP/2PqFIOxcu81PUx43Yc6tzIcLtX X-Received: by 2002:a92:cdac:0:b0:357:59ca:38ec with SMTP id g12-20020a92cdac000000b0035759ca38ecmr12697510ild.1.1697400280896; Sun, 15 Oct 2023 13:04:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400280; cv=none; d=google.com; s=arc-20160816; b=iayRVL147FFJA2Gb7qK30cKiK6mwRkXmEqPf/++R+Tyv2adYDCORsE6xBjvJTGRWTI YdLIKO2UxLCenL5Ja0DROFkf49pZTuIPneFp0cAKP51/OZR6fmPSdfj7SkIBaw9bX6+G XyyscpmL4oy5dElFJ9RFUfUNJZxUGwenFGoTQCeTlVQwS9flxjUwPENeYt67qCWQcEDs Wi3ZhebC/7C+w+J0fnXQTp8KZGS3tyyQW9Yw6ZDyABrj+W45o0iTCFiTPQs8AIGdCCwq OnqCoNWX9WPt22SLkFDweeBIm+ZsSPZjK8uJ7BhW+Dft1AE8StVnN4yJCsYhZtAyfM5J eFRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=XKGatM4VaJ+YwutR70TEOz5j/wCwU9nvf5bNQiDcbHQ=; fh=bnVlws2G5v6X2y1GNW0WSdGsCq/qDeexOOT5gNpb8Hc=; b=MAfCnIFNWp1Q4zUCQXE79oExxCzl7AwrzrBYpJCdRLjPzzGWGWJxj+dfwAVVs7d+7I xj0tW4YNg3a2GH8aYbSSh7x3EEegCwhkk412/cURwE3lyRlCQM90ZGyBm4G/99aggWgQ 3CfIsIYPLyVaICN3UjZibBtnDHqY2IM1rThZNTQT6Wd3thE2NiE2lXoML+b+SzvutuuH F6+J/7xO8OEBUfrsmUwM0TUZyTt7C3ING5PERNIDPfXeH62aFQlAIPAE/q2sC+lz6sV2 45HCny+PamjyFsWFrMC+4l21HRnfJEZYE5lpNSjeWzr66u15WXclNGNCQ57A3L6FiboJ sdhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=eibEV0Jg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id z16-20020a656650000000b00573fbbb7803si8596167pgv.613.2023.10.15.13.04.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=eibEV0Jg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=z3ntu.xyz Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D947080615CD; Sun, 15 Oct 2023 13:04:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231239AbjJOUEK (ORCPT + 19 others); Sun, 15 Oct 2023 16:04:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229559AbjJOUEG (ORCPT ); Sun, 15 Oct 2023 16:04:06 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37FF9C5; Sun, 15 Oct 2023 13:04:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697400212; bh=HsI6q5ZqWA2Xqb7iuplYKiKLey5gau/NWt1cjNPYiYY=; h=From:Subject:Date:To:Cc; b=eibEV0JgXjMSfigi6w8SQom18W9kxtWAUaGm3ygoHsIpQBIuT3Ls0VUtLq0m6LcGR ioWkLPyESxVYM8f+klu/B7KfdFsbuts9Yb3Wo9J7GCh5dQxKZMoOVv1BpeJvPh9kZc +qndWPnRl9OZebR6NZ0790k5kZQn4oOZThl4RG70= From: Luca Weiss Subject: [PATCH 0/4] Add WCN3680B WiFi/Bluetooth and enable it on Fairphone 3 Date: Sun, 15 Oct 2023 22:03:05 +0200 Message-Id: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAHpFLGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA0NT3bQCY93y5LziYl0j41QL4yQLI2PTNFMloPqCotS0zAqwWdGxtbU ALtuZRVsAAAA= To: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Loic Poulain , Kalle Valo , Bryan O'Donoghue , Stephan Gerhold Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, wcn36xx@lists.infradead.org, linux-wireless@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1128; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=HsI6q5ZqWA2Xqb7iuplYKiKLey5gau/NWt1cjNPYiYY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLEWG9Gp66ulRUz7oQWuzEBvMk2DKLUswm1NFY OuLLA8+1VaJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxFhgAKCRBy2EO4nU3X VspqD/0c+2OcM1vAUEhGee8RMbaeYcyy0yD6WuefeqaEEHO51eB9PlZimEv/NDVi2H/N1FFvKjG PhA96ExHV1idW3gUcEod6w8QSGGSu8FSVEY08LfV8iIFxZiZazxvrKAzOOI5KpI28btSbsLjg4E 4A6alHfxWSfoeAAvLwgb070Pj7D8mIqjhQ9gasW85r+Z5hb+5l/qOe/mp+gKXuQ+8vIu9b5OXFj dEc+O0V3XEzfwANhzmYfZVcQoXqFAsPGyKLLuglHsVGXS7uSXxdEwR7XfXh5pmszFVAomIKjboY U6NRRq6otOG/6nKxy8GLv4yQjuVd8I95IUvTk7wlMYJeJDnOAQmaHZGLcfHIfs5RpzITo+p8n+1 cSrpKVligbDsaJZBSct8IttOph6UL8XdhM7l9skVtlHLiMPLcbYFQaxwNDduJOxDyaC0ukQD/db Mmsj38SNSAoJOIV43HTygfFHVB4en7/8CpyGSQ5xG35u1sdpT633ZSfZKBc8NXyCQMCtuRWUsdL dJsCUg//rZ6JOSlfUg25WUXZeGO/60D86DZkyOk/KhYpSD77VpQDQTJ7oF/5qR9JwjCOfbNsGLa T3X3Vz1YLzwn2bqqVL1t9P1GL1DbLir2IL2spBuk0qaEGAAYC6tQwbT9l3gbsM9eF+R9KDRY/nn YhEGG6xQG3LxoQA== X-Developer-Key: i=luca@z3ntu.xyz; a=openpgp; fpr=BD04DA24C971B8D587B2B8D7FAF69CF6CD2D02CD X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:38 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779853196747332770 X-GMAIL-MSGID: 1779853196747332770 Add a new compatible for the WCN3680B found together with some Qualcomm SoCs. And enable this WiFi/Bluetooth combo on Fairphone 3 smartphone. Worth noting that I'm pretty sure some phones already in mainline do have this WCN3680B chip enabled but are using a different compatible, e.g. qcom,wcn3680 (without the b suffix). Signed-off-by: Luca Weiss --- Luca Weiss (4): dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible remoteproc: qcom_wcnss: Add WCN3680B compatible wifi: wcn36xx: Add check for WCN3680B arm64: dts: qcom: sdm632-fairphone-fp3: Enable WiFi/Bluetooth .../devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml | 1 + arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 15 +++++++++++++++ drivers/net/wireless/ath/wcn36xx/main.c | 3 ++- drivers/remoteproc/qcom_wcnss_iris.c | 1 + 4 files changed, 19 insertions(+), 1 deletion(-) --- base-commit: 09eda82818c490a6fb24f1374bd704ea5c3b577a change-id: 20231015-fp3-wcnss-23e83b8235f5 Best regards,