From patchwork Sun Oct 15 20:03:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 153060 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3081427vqb; Sun, 15 Oct 2023 13:04:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFE68fGdot86ufbBrNlBxYiTB4TDG8BTX4NFR+2fpRdWcr18bZ2thhPD7iY9itSxncJhK1R X-Received: by 2002:a05:6a21:a5a0:b0:15d:a247:d20c with SMTP id gd32-20020a056a21a5a000b0015da247d20cmr43211016pzc.6.1697400285604; Sun, 15 Oct 2023 13:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400285; cv=none; d=google.com; s=arc-20160816; b=liYu4AhoGqganDX8XO2gb6IVYE+lC5X5sfZGawGitMa310/IN4A+11CIQcXITRiLYI ZwKoJRIyFa0cb1bJwY9514pW+J/TZGYakl+/KdUyFrJQ0PWuk4R8lwiKXI5UCNeDzhhU 5zgjU9eElRnyru00gFRNy+zmDYr2XYms80AZ7vnk82+WGeeosPvgPL+eMJD1xht3YM6U SKrlno4LpTIIIsD9eGynd+JxdkTwVE5dw7eVU+jfjPBQdbCgFBaRqKvK/hWuIQ+zrvrp dhfFXyZ5AReC42BP3pf9DtapRfjQuxOTEGcASF03UvWo2Fnoy5fBi1tKlDKDfA5RlV0T Dpvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=xGCnGtF735+lRNmvpsrnwQcXurAuO7aewd70+4kzK/w=; fh=bnVlws2G5v6X2y1GNW0WSdGsCq/qDeexOOT5gNpb8Hc=; b=hF+Kq/6qxsCv3RqFSDXAN1kg7wYmIe1E21E9LBtJzusX4mIPXQKMhgZgZo+sWvmGgc R526ciz2bxJswml6VhI8yJRwpB9tfa0Y8Nx0NkE2Gx3gIfDMUzTpLq9QwTCvkjTFoSpt 2l//SIa2oO5B3BGvoq3MnGqqVtV+EapZl0oazdE3Shf8CyTbLDnI0KuaijwSNd/LCRC+ hcqaARJhtrWVkzja/nDJgLSN4ikVxDmNWGKrFuZGbBJUkW5ujbfmVuNJLCBowaC67smN uI5dbhP1N1kYwaVYyowpYAsUhGh14W9LuiClmfgoCo+kPd1LdYR1yne74lJQOEaL1T8W Akbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=wCMCKUVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id t10-20020a63b70a000000b00565fb7714a5si1992889pgf.800.2023.10.15.13.04.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=wCMCKUVt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 9A9CF8060CA5; Sun, 15 Oct 2023 13:04:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231133AbjJOUEN (ORCPT + 19 others); Sun, 15 Oct 2023 16:04:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230417AbjJOUEH (ORCPT ); Sun, 15 Oct 2023 16:04:07 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B89ED9; 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=1697400213; bh=UBcuPPvCkMF5VJX2cM/TeeQFIz6MAcbcTnhTFVt0/f0=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=wCMCKUVtrDwe6X5Bg0nId5QFXMCRKYAZBulQ++9fqc4RZbqaXcXAEJ3pHToYx8aED LCfIvxiV8jkgwvHzkyJAeGWDnDXrVnjh6vP3nrmocf6uFs6O+l8MUms6eq3qQDJBlS wfmuo14ZjcLcv1Iy5UfrQEeHCmg0RKMgnmXepZyg= From: Luca Weiss Date: Sun, 15 Oct 2023 22:03:06 +0200 Subject: [PATCH 1/4] dt-bindings: remoteproc: qcom: wcnss: Add WCN3680B compatible MIME-Version: 1.0 Message-Id: <20231015-fp3-wcnss-v1-1-1b311335e931@z3ntu.xyz> References: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> In-Reply-To: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> 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=746; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=UBcuPPvCkMF5VJX2cM/TeeQFIz6MAcbcTnhTFVt0/f0=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLEWQWYz3VnCBzuywdfmhz0FJE7b161pJE9+zl YZAeemp6A+JAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxFkAAKCRBy2EO4nU3X VgUoD/957O200UjOLzDFN3HHOTl5/M5HtqlfCK+sAZl73OpKRDMj0Jcp8oMLl0OnrElRbTtpkJW croer+9sw6euIA03ntodsFpkA/HSSMSWV8fsYdsa5hs9Vl1M5KT1E8eskSJriUOML2thUt1uvBY PbB8K5X5pxSssglgqmFNhrYPaJzQz+rWYCiY1k5PQwHYj1SHfSGaPrT+nGYEK7TtyzZtA7vGOwE Os+46TJqIcBEDRjmgNDPR505ZSMESvjZB6tNhgN6bK9bJpb94Ef2uU+8fTXvWaB2ha+NSGQjEZ/ 3O0jTCXwVfd5RitkoJPIPr8JsHmaZnmb4PzhuUa49t72dAuAVmaFKiG81Uvo75et+Q9Vi7UEWrD rpTdYS9lwzQIE7rFG6Hd4xJwe488aEEw1PusLwpksOBnxg31L3PRSw3ARAoObqG8751HWPdwCFB NAqpeCXIxCFEcYnzNDSA5NaMhSCMkEaUjPN7SaItoLNIy9FuCkqDsDGAPAe9+VJF1G53hpHk7ib 44eplItLHmqFYdpY7mkAUQjD1XW2Q3JPf0UtrwxiuKNj6slkNvhTBRLp7KZR2BGcFgiEi/eEdyV ki9H78THtYsJd2h9ziLiE+n0GyDHhK0GGhQjhLftDK+Ri1ruKO7l3K2K7jPLc+9VVANiw+uBku0 dv2y6ikI1jaqFTQ== 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 howler.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 (howler.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:43 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779853201562099837 X-GMAIL-MSGID: 1779853201562099837 Add a compatible for the iris subnode in the WCNSS PIL. Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml index 45eb42bd3c2c..0e5e0b7a0610 100644 --- a/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml +++ b/Documentation/devicetree/bindings/remoteproc/qcom,wcnss-pil.yaml @@ -111,6 +111,7 @@ properties: - qcom,wcn3660 - qcom,wcn3660b - qcom,wcn3680 + - qcom,wcn3680b clocks: minItems: 1 From patchwork Sun Oct 15 20:03:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 153057 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3081301vqb; Sun, 15 Oct 2023 13:04:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH12mVzW1D21dKfsOqhCDK2/1Z3yEZNhJi3c6os4lr2GL6O+10qrSLHFTqitKY67QnnyzA5 X-Received: by 2002:a6b:3b83:0:b0:7a5:cd6b:7581 with SMTP id i125-20020a6b3b83000000b007a5cd6b7581mr12601480ioa.2.1697400264743; Sun, 15 Oct 2023 13:04:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400264; cv=none; d=google.com; s=arc-20160816; b=mPY6x+hUtx/zXKNs0LV7+187074Zmmh6d4u57lwAz/KdFW1DifhE67nF2dsKx4c1eq TlCs0A46XJJEk30hDqcI5XNYnYJ0zlFaDltREkcYK/4c0Jvoawapm+fHHFTt1orG3tuK zF/7H9opzK+OwDUk+VoBdrgL0SPkhTdx+/WHhgaS6vlsZFgprgY5JQTfgeixyrSRttTV I52R69ZeRaBddzsvHJVcw6OEXmwNqlDm/eh01/U40jjjS+me5aYYaV56M836PQipOmKP bhC3DJQmYCujHsJ810NOlJUtKF4ughDfKJP5trhxZej6j1sZPfStoQS+O2Hqdr4ZwVzJ VqTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=AtUj1HP9I9+J+snFmhGRVuGo0b0ypxC+tGt5xsnyAZQ=; fh=bnVlws2G5v6X2y1GNW0WSdGsCq/qDeexOOT5gNpb8Hc=; b=mdVo2BgI8z5IypoHj+fq6+L7pQd40d+jTse6FbdQ03GtlxfJQJJZuFMwaEVTy53p/z nd9Ffazcex8iD81bJiD8iHBHvNQIIiUv9YYIz5Mv6VLU+I4f0yALGHIwfa55A12P8CG+ O4tdc6ao72hJaKh74NCEzZ5DvF0ivA4BRnOO0v1nzQGsBOu9r4RT2xQNhj1L/QsCHPkm PRYHRpSDh10lI9kvL/udnRFHErDeLyDWWKl5aQ0HSCT7tG+UMhlrwNy5tdPDDJfC0Int YCaUaqaFZeBTIc1XXpDhEYj+Q7+b5wku3sUB5/7Bm0Q2+iFBnyLCjMqFEaeCihkX/Hho bpdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=XPnutBRu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id c65-20020a633544000000b0058990e98427si5799951pga.292.2023.10.15.13.04.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=XPnutBRu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 3475F806B9E0; Sun, 15 Oct 2023 13:04:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbjJOUDw (ORCPT + 19 others); Sun, 15 Oct 2023 16:03:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229772AbjJOUDk (ORCPT ); Sun, 15 Oct 2023 16:03:40 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53540C5; Sun, 15 Oct 2023 13:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697400213; bh=2ykxA5zzNJWAE+OoTTOfsNOtoZ0RYvFAtzV34C7L8Ho=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=XPnutBRuLZF+K0HCGwq4OvnYkOVs0vOPCn0mKcuV4sFSBJ9Iz5LC8WoNuGdk1j5lO v2f7nk9aVO/u9rA+hgC4/+BSozFEish58yScozF/Qv09ZjOFc6KDGE3oj1Saai5PZs Jgor3sBqz6RamxbhpeeAbXID5VBSgytZ0VKkS/lo= From: Luca Weiss Date: Sun, 15 Oct 2023 22:03:07 +0200 Subject: [PATCH 2/4] remoteproc: qcom_wcnss: Add WCN3680B compatible MIME-Version: 1.0 Message-Id: <20231015-fp3-wcnss-v1-2-1b311335e931@z3ntu.xyz> References: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> In-Reply-To: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> 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=856; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=2ykxA5zzNJWAE+OoTTOfsNOtoZ0RYvFAtzV34C7L8Ho=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLEWR1EdQQWFa0spDxB5Nq2eXKQrvzYfHimGBh 88EaOpKOLSJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxFkQAKCRBy2EO4nU3X Vj9ZD/9+ky5IFpL9cSPvYSEDGkwX+QREqSdT7eBH+Px1+POoBQe5sLUM2/GwEZFd1vp88/2aH3S e3nfs+I8w39H/VZSUvZ9twVBWbzswlS6bKnlm6DaHzwc5aTbox0oTs7yIy3MFFsMz+rNbHaMg3P VomVU3n6qrZsDYsB3nyibYw61epBl3XFqGD39mC0BioHpc/oyXdkhWkNRwvdv0CcKZNiVGeg5YH vFRr/Q/HrdnH1TX8dn4URV7MFAFbtA4poBEDaHLW2RokhnOMW5xbxwVFWZ2/03IUcZ7JCdX9bi6 zthj3sV3v2i+r3qcbIzO31JRVxLrJoM/d+z4q5v+t4IEX+5elmkNKuWDd548Sezgi1gxdERD6oR OdcInOZrX0lFfhzH9sivg79PufDk0GIBn8CVjSjh1fJJcPd6hFMr8wII0kmtGd3oeryTLCmu6pV d1MJKtcTLJ+TzVvkOgSuReXqWpz1ofDkyJrbJzaky8WumnlAaz6S+eb3TKE1abh/gQmm4+QZOgS LJdnh8AOVr1GCbfj+ciX6UeX35f5FE7A5/MozYbU8BvDYqaDN+h00vEF+uyqVzgBJQEGXcgVlLO WuUdWqlx5ZhlCz/Cx8WkGHP/H1vStUntNoeqqxUK1rWZ5NFTU86x2J6uSITf5Wr+28tFDS8mWBv 1cyLkonatMF0K/Q== 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779853180357052308 X-GMAIL-MSGID: 1779853180357052308 Add a compatible for the WCN3680B chip used with some Qualcomm SoCs. It shares the same regulator setup as WCN3680, so we can reuse the driver data for that. Signed-off-by: Luca Weiss --- drivers/remoteproc/qcom_wcnss_iris.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/qcom_wcnss_iris.c b/drivers/remoteproc/qcom_wcnss_iris.c index dd36fd077911..22acc609105f 100644 --- a/drivers/remoteproc/qcom_wcnss_iris.c +++ b/drivers/remoteproc/qcom_wcnss_iris.c @@ -99,6 +99,7 @@ static const struct of_device_id iris_of_match[] = { { .compatible = "qcom,wcn3660", .data = &wcn3660_data }, { .compatible = "qcom,wcn3660b", .data = &wcn3680_data }, { .compatible = "qcom,wcn3680", .data = &wcn3680_data }, + { .compatible = "qcom,wcn3680b", .data = &wcn3680_data }, {} }; From patchwork Sun Oct 15 20:03:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 153058 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3081340vqb; Sun, 15 Oct 2023 13:04:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF5T3QFDutAbFov/odSRHTYkCTGIppQ2cfGVA0C1+C/Xjcrl+BA9O3XqQZdlOBVCBA+IZEM X-Received: by 2002:a17:903:22ce:b0:1bb:83ec:832 with SMTP id y14-20020a17090322ce00b001bb83ec0832mr35525659plg.2.1697400271352; Sun, 15 Oct 2023 13:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400271; cv=none; d=google.com; s=arc-20160816; b=pUdcCyakrBdSM/H/XxI6HaDXwFS9ZJja9ITNAzLt7Ho35ZF4nAjImaEixfSq53d0BV F277tcCN36SDZNS2YBUczR9VZKgFSR7NQJCH+nE+dFEQXQL/w6BKpdkM5yHoxRlloRsd eHrIJfPYIJthHWocfwDeARUiIqr+FCPwFDR4sGb0TECs6vauzd+o3C+BMgEYWCzhMcDJ j20oLjFWGGUH00D05W4EL0FusI1Ddd9sUOktaYIYVYW4LpRf1SiTM8r5oE0iVVHYdxTu rqgbMpGUYzFe7a6J6EtuWL8/xUEvr/VIMVBZh3uJbkBOzXhMHGQJf7cqKfLHf8UAx75O INCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=rlYKEsF+m5zMfS6O1Uu0UZy559BDMcZEUKmuxRotW/Y=; fh=bnVlws2G5v6X2y1GNW0WSdGsCq/qDeexOOT5gNpb8Hc=; b=VgEnUFnFi+tFPF1f8JBPiDmzq3BzqsfH4PqQDpGMRS0q68EjyJacwodNQZbe1tEpW6 T4QfkAuo5L/DD0EqUlcg/jHJsO48X/xe8o5XLgwTY3eCp38sNw8kK2Rhu3IL7Sn0xqyy UWI9Mfszn5h+PJl6tEPtb6rIhgiBvZjddbf5RL6hK31uBkK7TWVyuUScogP11NbteMen QxElCk58C8Idhfo6ts4X3ySJF+8xT06lwIDQHIXTC35UaCVUvyUDV8WorjkH2SxkhTzF Fk3iLxVdIBjiL+9RzhceV9cBR+Soqh4DjWyKg4dm7lhh1wklVeOXvP7pwZhSqj2AyTOb CJLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=HVBfOQoz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id d1-20020a170903230100b001b3fb1742e4si9662471plh.547.2023.10.15.13.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=HVBfOQoz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (Postfix) with ESMTP id 42CD1805935F; Sun, 15 Oct 2023 13:04:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230315AbjJOUDt (ORCPT + 19 others); Sun, 15 Oct 2023 16:03:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229518AbjJOUDk (ORCPT ); Sun, 15 Oct 2023 16:03:40 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51ADCB7; Sun, 15 Oct 2023 13:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697400213; bh=qZlNzEpRoS5paF/EbsvUPqS1Yv+qD45c+PbzCsHBeTY=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=HVBfOQozHsT0wnd4rGAVdyIdNep7uY/Mz/KEH2BlKWYMJFH02V/wTSvrrUPrFTsyu rFdQ56rpQemoYvQxk9+eAzE1op8drtc/mTa5KP2dc/HbZdTOty6FgnSH0QV8xa2i8/ wt+gFWrFZXChbw6pjonXBl3ghMaQdCPcXVv8i2xg= From: Luca Weiss Date: Sun, 15 Oct 2023 22:03:08 +0200 Subject: [PATCH 3/4] wifi: wcn36xx: Add check for WCN3680B MIME-Version: 1.0 Message-Id: <20231015-fp3-wcnss-v1-3-1b311335e931@z3ntu.xyz> References: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> In-Reply-To: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> 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=966; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=qZlNzEpRoS5paF/EbsvUPqS1Yv+qD45c+PbzCsHBeTY=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLEWSIODDShP6A2fJ2Vf5LSlcaLukdHI504hZW gRd8oh2nMCJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxFkgAKCRBy2EO4nU3X VtSMD/44Ttl62qB0epFTn19gfFMWUYwSXnzdqFhapN+LsRfa10HzoTnuEEsQCl2LvpAzjRj1kgC EaiQO372J3sCgPAIt4wTV/XM2HWxeGsKSPxNdFfRSsZxT24c5nRQuWQ7SJn3AF8PYB2eCBX9LPQ JNmyJJ/U70XqT+TLvjrLVYO6rayCYRXhAEXESJPu4McFO6I2SKo6i6KWRhZn4aXOM6Flz/1+/Mk rho9kpWhkBLcQXwDbjkPOwsWQEZT3a962deOwLkpbKQsw5I0IVce3xlx59aG/0FErAipgK51xke m2QjHJnLjtC3UwEyjaMSaGeMkNVpn9x1+DW1IIbwX8RmmYDPXOj3btcE7um0fADKc5Fp+87FZmp Iwycw+zbnt4dUX3RaOXG0KxY+DjU7TQHKlfSsIzcNulfhfmO7NFbXj9FT3Yd7iIyAUMJdQbK0DK V5FZhDKDlx5qDCOX4CqrMkbpdH+cHgy+2l1Jya9JFr7lzBSCjjCLIv/E/FcJ2/NwGaCzco++sES dACParyXrslCuJ0oc9MyPDBe2Gi3ETe/HFliGM8iZnflgmXpSeA9kqQ8nuaiZBvau177K7P93GS duCitbhvfH1jKTyvvRNlAmBO3Xyzv6nzw9Mag4Yq1OACkr0iDWYRSWHJCg6Z3d3zl6hynYjEH0v 6keZ4ZS6nCPNbkw== 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 agentk.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 (agentk.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:26 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779853186798435779 X-GMAIL-MSGID: 1779853186798435779 Add a check for the WCN3680B compatible next to the WCN3680 compatible. Signed-off-by: Luca Weiss --- drivers/net/wireless/ath/wcn36xx/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c index 2bd1163177f0..74b0b7074760 100644 --- a/drivers/net/wireless/ath/wcn36xx/main.c +++ b/drivers/net/wireless/ath/wcn36xx/main.c @@ -1535,7 +1535,8 @@ static int wcn36xx_platform_get_resources(struct wcn36xx *wcn, if (of_device_is_compatible(iris_node, "qcom,wcn3660") || of_device_is_compatible(iris_node, "qcom,wcn3660b")) wcn->rf_id = RF_IRIS_WCN3660; - if (of_device_is_compatible(iris_node, "qcom,wcn3680")) + if (of_device_is_compatible(iris_node, "qcom,wcn3680") || + of_device_is_compatible(iris_node, "qcom,wcn3680b")) wcn->rf_id = RF_IRIS_WCN3680; of_node_put(iris_node); } From patchwork Sun Oct 15 20:03:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 153059 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3081356vqb; Sun, 15 Oct 2023 13:04:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxY8bs+ray1G76e+/35HOvMqFhYTk6lkeXT9lyadpQGDiUtJI5+eLW+XAoXC6iw58FKfCh X-Received: by 2002:a17:90a:3da1:b0:274:60c7:e15a with SMTP id i30-20020a17090a3da100b0027460c7e15amr29747153pjc.4.1697400273694; Sun, 15 Oct 2023 13:04:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697400273; cv=none; d=google.com; s=arc-20160816; b=JXmlQ9rvry6t9yDA7nWzLCZyOAZWCv7xs5L4CioTK+Uzfq9dloDS3sgZ8vhDa+lJj5 khx44zwMQZB7oYisl8WNKl/Ns841ylPB58KqVqatlKqgD4pWvSoIfpgUy1wPs4raguL3 8+lSoheENF+N9bgZfKwDtBYvz2UArD3P84lK58oUCY/FaBhE5b/j2AbyKwvl7CaW7267 AMvpsN6AznNI3lHcVV3GjfOEZwNgiy9LW9dbfU47+GkV6z5I8XBJb5CxCh3GI2qEp1y/ exdHQU7ZcoA+isFC1j0ySQg0j8zm65e6cvc+SUeuH3pv6CoNPddNU7UJRMcw5zHya4nY 2Guw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=TRFaCJX02pyvY0FKaraUaSwIQ41bBQFnHjWJx+J/4ZY=; fh=bnVlws2G5v6X2y1GNW0WSdGsCq/qDeexOOT5gNpb8Hc=; b=V4emeFXzfbeERNEdg/UHO302G3GiivRpu0lTXEK9cFHqLDXQiuxIoo823xTHyKGZ10 jjkLZFOuPQMYXwoR6qrlSnfD5oQAb1QkMZfEpbba77SaYud5DCqE8OKqESR7EBNWN9+p aYSVYdylQlGV+skzeOjI+6bpRqkMD8fhlOl9ekRl+A2WNXWyrmkYzkEg5d1hh/EY1m/J 4wPQadqK7NmsyWrp1y2MqFldYrdXxI2/5UKUL7Z5Ky+Zj7jgOU/7McwhuB+jiuoP5qUD 3/FzXx4F3HXnEiXXd67q7JtYe1SC59Cvv3BNfIg96KM/sBe1kFLUKiQMKo3Yd+xTLBMi +Cng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=iZYKu6yb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id om6-20020a17090b3a8600b0027cfa8df932si5200073pjb.59.2023.10.15.13.04.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 13:04:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@z3ntu.xyz header.s=z3ntu header.b=iZYKu6yb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id C3B75805935A; Sun, 15 Oct 2023 13:04:30 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbjJOUDu (ORCPT + 19 others); Sun, 15 Oct 2023 16:03:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbjJOUDl (ORCPT ); Sun, 15 Oct 2023 16:03:41 -0400 Received: from mail.z3ntu.xyz (mail.z3ntu.xyz [128.199.32.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53419C1; Sun, 15 Oct 2023 13:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=z3ntu.xyz; s=z3ntu; t=1697400213; bh=kLp68k9o+Z3NX4GK3pTddX18ul/eLURnuKSPZR5q97Q=; h=From:Date:Subject:References:In-Reply-To:To:Cc; b=iZYKu6yb9DHMMwmDG9Er8Fd+KL1D1rEieDtFmUEezF0KCyfjsR/QPiHZrnOwj8OHC 8//xnOhd8vzsjYhQHJqothiczc2IWnzEtE7Tys+LELouHF15NdOJKfbbLPfv4FaA7j EcLCiZCbXd7cS4G69+klB1b15iaP034/K0F25tso= From: Luca Weiss Date: Sun, 15 Oct 2023 22:03:09 +0200 Subject: [PATCH 4/4] arm64: dts: qcom: sdm632-fairphone-fp3: Enable WiFi/Bluetooth MIME-Version: 1.0 Message-Id: <20231015-fp3-wcnss-v1-4-1b311335e931@z3ntu.xyz> References: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> In-Reply-To: <20231015-fp3-wcnss-v1-0-1b311335e931@z3ntu.xyz> 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=872; i=luca@z3ntu.xyz; h=from:subject:message-id; bh=kLp68k9o+Z3NX4GK3pTddX18ul/eLURnuKSPZR5q97Q=; b=owEBbQKS/ZANAwAIAXLYQ7idTddWAcsmYgBlLEWTrklhyEZhz0lKiMUY6LmIk6xmg/ijZ1rGz 6UtFtx/ZlmJAjMEAAEIAB0WIQQ5utIvCCzakboVj/py2EO4nU3XVgUCZSxFkwAKCRBy2EO4nU3X VnKrD/45kk+lDiujez6dk+vdMqJ/6yD0XBxjLSrLYSbsOS6OayfTF9nbznHzoNIQYyeJCiXNt31 /NRAg/gZXe94EXZdMWAeAk3GrTMGaapE6d+S93PyH81HrOxZR+b0OmGF2GibbItX0OZvkazLbvI vrorYRzu2b7Zpcs+8U8BpPLXzqkiPSax7pab6ZBpJFLGxzqgfJxpS+PL2cAYw5OrrL5hE1rs/UH Mp0tooxIkhsaBs00Wf0ZgLB49cpb8QgZWJZKHVgPZNJFbpJpTNQi6aah6su00wwGyEiVeX+2cTO r0RWE+xn6+QcADozVIRLlO2RjidwWGgaVXcAzaXHUzDn+egxGCqGPffuCHeNvehyeaaJIsF0ih+ B/sxccssMEjV8jZsKpO0cW1JnOXwTaOHT/dd15W0P1N+0zax1eFriayoq2kBfUMPqhZTneK1NCp y1ijiqdiK4Ple4wW6NTlDLcL1dbvjN6Au5CKREwqo6xtc2u9e5lhfWlFyQk6bSLYkoac9jgmUkH zQTs0aBASH4d1GLGt31RHhgkClsaF+ws9xtIiNOJKJe3tWPRE7i+8NJ0sHZUHx0DBqPgME/C8TT 421wfgBiv74mvymR+sv6CwDQv6tZGPsO/QTTmEp7A+mx6rUs1GUf+pe+y4g8kxN51rrwJkluYoV OGXNKrGSYXVEPpQ== 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 agentk.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 (agentk.vger.email [0.0.0.0]); Sun, 15 Oct 2023 13:04:30 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779853189273227682 X-GMAIL-MSGID: 1779853189273227682 Configure and enable the WCNSS which provides WiFi and Bluetooth on this device. Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts index 301eca9a4f31..addf56fb7937 100644 --- a/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts +++ b/arch/arm64/boot/dts/qcom/sdm632-fairphone-fp3.dts @@ -239,3 +239,18 @@ &usb3 { &usb3_dwc3 { dr_mode = "peripheral"; }; + +&wcnss { + status = "okay"; + + vddpx-supply = <&pm8953_l5>; +}; + +&wcnss_iris { + compatible = "qcom,wcn3680b"; + + vddxo-supply = <&pm8953_l7>; + vddrfa-supply = <&pm8953_l19>; + vddpa-supply = <&pm8953_l9>; + vdddig-supply = <&pm8953_l5>; +};