From patchwork Fri Apr 7 19:54:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81012 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp499676vqo; Fri, 7 Apr 2023 13:00:08 -0700 (PDT) X-Google-Smtp-Source: AKy350bgom+7+5JG3Hds41/wgB4aQr14Co6NxI94Vtx4OhvvxNofS/qUvAU44Zzbfw0g+zuncNXl X-Received: by 2002:a17:906:1c47:b0:930:1391:da7c with SMTP id l7-20020a1709061c4700b009301391da7cmr486116ejg.60.1680897608137; Fri, 07 Apr 2023 13:00:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680897608; cv=none; d=google.com; s=arc-20160816; b=Lw1OBXuUe8jyWyJmwCKsCyb5X9WrsQeMyUU/scyuebnxDUYTMMaq9jmCbNuqoIrPXi l7Ktj/HVVSsUQEIqZ1JFO0Hz8fMO8ebJ4juc+m7qQjZPoF+aACu4xx/a8svpeKcTOw/3 LyXExhLMmTuvaGuduWrdrO/1Ne5K2Tcjl5Rb9ErR5GxZ19ms801Fp6bDGFNfSHVIEHNn 6po7e8nx+UfgGmP0N3vNlxgBBaeaJ1TLF08jRTru+lW7GuylYDckjKF6bO1bP1O4bW6s p4+vF0+sh7aGwJ1Lc0W2UKQAJQBC9XuKnxBcLQi8RBuHzuoIx1DFeXQ3KIOL45WaR5CD Elzw== 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=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=eZp2dPUvt34ufCGYPIzcnD+gv8EPbOeilp1Zy007/Pm55lf6zy6/exHqODZsSeVWQ2 ysm07mRb7yUHkRjXcSQeW+8veVPXpG2mB1v2HXixPyAEYqAypp2Yzsvgmvr5YVEPTGKh FlteJXMcZ8wpdff5tt1jrby09jrl5pds5CWce6DpFAxAn4a2km5ZdOX0pLz2LGUdh5fp iHnt/OrZYS1GxNnayL26ysWnk9OYmgFRyEeogGMBDggFHlKjNd82qSpNBZ5c+dijJXEY P8lARFUKxClm00kf+L2B0/CkJNeVZ2t8jILty8RWZq+5FOLm9sPj8T20CNQxMomHLRsx yc2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bMuJhqfH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c17-20020a17090654d100b00945347f282csi3931389ejp.1041.2023.04.07.12.59.44; Fri, 07 Apr 2023 13:00:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bMuJhqfH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231129AbjDGTzB (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230518AbjDGTyu (ORCPT ); Fri, 7 Apr 2023 15:54:50 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A962A277 for ; Fri, 7 Apr 2023 12:54:49 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id z8so1359759lfb.12 for ; Fri, 07 Apr 2023 12:54:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897288; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=bMuJhqfHPpyn6QximJG/STPxFywOBESH03woaCLph8VyGfvK7QATR+kTRLm7E64BQY tBsiV0HeWFZrMYjgmtyoSqouLEWwMsTO03s1brNnWaRxWdDN95pY3hmH7EFOhxj2p61r 3H6/nbA98vsZ3EcAHDGvEdMLbxHd7xRc/QC6/9cfP1jpLPgFlVyLNgfcVLwtRdtMUFfh ZlRwGpnJDtcb5oSvVlp1N29tnkeROai5vTiTeZoFZ2lWtEvspcYCkJ5JLA9LwTBNwdbw WWizPbLuO/Oouyz7RSne9BMT+pflTHannixNeuw5OLaf1/Ohni+BAeJPooWIqeRLZ+nL Y2og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897288; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ik00/DWzOBDdpaDCzlragBZR2t7JS1DYLQEwoXiJp+k=; b=l9leFaxHdlRV5deaNBNvxu4E+MeShChPlzHch4SPKkkZkLmKNNfZ5mueDKhyIvXoIJ bTxnGccYcLRXLtiKZaSPB/PbABJFyvvmGFv3WWmy7e9A+Q41wfKqYs+516xCDZelrd68 fSFA0GNMGAun/rMBTy+YZaRP1e4vWhJJ0Ejr27vnLF0l+RY0k4ZwYOsPMyHVrkjW5iF7 iftCB8aw97Z//rCH4XvP+ZiwTVA8vW9Bpsr7yWgASN5RuINNq74QaCf0tO8Z++v3oo2i FDZLLovOSPDsdGdOAYTsQeI3HN5a7azUkn/Y3KbfkFGEqig8GPI96+mRET+DKoQ9xeho JHkQ== X-Gm-Message-State: AAQBX9d8oCpTbS6eAi7PLHi483wAgebWzP5GZCYV7mErj28RZiLTmUSl jCpFft5sxG2Rm347b8XfYmfdmA== X-Received: by 2002:ac2:4838:0:b0:4dd:af29:92c1 with SMTP id 24-20020ac24838000000b004ddaf2992c1mr786647lft.44.1680897287743; Fri, 07 Apr 2023 12:54:47 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:47 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:41 +0200 Subject: [PATCH v2 1/4] arm64: dts: qcom: sm6115-j606f: Add ramoops node MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-1-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=841; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=E/tv8jOaoTtifU3iJkgY+Xi2d+mKQ2GWGkNbT8cN8Ck=; b=ZZHXQ2cKIx+C02ak8/jM5lpthy0RYTcN2FKcZFAytNmq9sljyputmzIU+Df5yjE0Al55eYDdtUWv X+gR0JmdCdB65vFzgB82jYBFS/RGCg+6V/MW/6uQ58I66cEE1Uty X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762548890062358617?= X-GMAIL-MSGID: =?utf-8?q?1762548890062358617?= Add a ramoops node to enable retrieving crash logs. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index 10c9d338446c..cd47fbc993ba 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -52,6 +52,17 @@ key-volume-up { wakeup-source; }; }; + + reserved-memory { + ramoops@ffc00000 { + compatible = "ramoops"; + reg = <0x0 0xffc00000 0x0 0x100000>; + record-size = <0x1000>; + console-size = <0x40000>; + ftrace-size = <0x20000>; + ecc-size = <16>; + }; + }; }; &dispcc { From patchwork Fri Apr 7 19:54:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81013 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp503723vqo; Fri, 7 Apr 2023 13:07:15 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkDeBbpsnWGJ/rokX5hFAY9Z4mYlD6CzlXM0m5VoJgdZSlaC8K1np+LoZD59TA11877/bd X-Received: by 2002:a17:906:ae41:b0:946:c1d2:8b5d with SMTP id lf1-20020a170906ae4100b00946c1d28b5dmr460509ejb.17.1680898035119; Fri, 07 Apr 2023 13:07:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680898035; cv=none; d=google.com; s=arc-20160816; b=hc6YeHkZlfAPJrcyG5WUznVS1LvlQNvRBLJDEER2eNlNMYvZ8SAdH5XtMB/3/lHxtb uoiHZYy/zBJv3CPCjTISiZLBZKhrikMgAjHE3dxnxSyLCNdKaRlKTKo4MwqBLGyjkagi 7CpzerXMvhGB88KVrPi/pmWvlDCfyRYQhoVPIQoutCpsgEe0YDmoQE/lyabY1qmLqXN8 70DUm3G65xdwsceYmz9VWaGRNr+jCv4NmwJgeqBn31Hq9e63vf+Lh3JsRS2VysL3lS+d DMX13RAjMNJcAKnx+Dl93uEReCHLjRCWpmsodpCI6rAR9Z2zQNbvElRA8c+IPk1OqBVL iP5A== 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=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=QB4lSA3Y5uef/eT1tsU0prPVeB2pbUM06hj6POLtG8BgUm2qobFSLarWSfqPCp7oTd nud+MTIsFUvStbaPRon+YiNyQpJMC2fQOXVaboDM5d9nLC+69+gtoD8G8C4VZO9pxFRt P7ihGkAhMpEjnFMCCfjo8h0xqqDJe2juXXSWdlwEWc56E6WkWxoJXnOpw1Vn50WkEJkT XH2fDZCRcJFJx8eHwaklWsR/cRJ4t/90HdDckDMkmPgRsOmkKxYNrJVs5eyllKsCuV/P 62FsROI1DIqxLPaSNkElHiHMuGt1nw0LNEm1I9xeGW37g18xYyfk158wtqxMdgoiqcL4 cXiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QvQt0Ei+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u6-20020aa7d0c6000000b004fba7349857si3637039edo.421.2023.04.07.13.06.50; Fri, 07 Apr 2023 13:07:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QvQt0Ei+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231390AbjDGTzJ (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231293AbjDGTyw (ORCPT ); Fri, 7 Apr 2023 15:54:52 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52722A5D5 for ; Fri, 7 Apr 2023 12:54:51 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id c9so45220890lfb.1 for ; Fri, 07 Apr 2023 12:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897289; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=QvQt0Ei+1MDhYXEJ07cnGLSac1IxZsgQMdLEILTL+nv/+Ks/4Lvaa4cLWm4j6nQp9L mGDwAyQIExKHg3wa/3GtozueaeeN67KgioUY05VLevyQMgj5ti2Cqjgm3krfDrcHsFwV KLcP9mqjtpfTGMyL94juV8bN4Wsf9kS/+NOtVNjTkuYJSJKXDqIVA9fvJ1GSTMN1ILBF eh8SGNJe6V6Tdpkfknv+D0p+xd3H9ha4z1ojcZRWKk6rBqGmGlXFmkivHsao/pVW6LmX fSiVaN+bmiRngu5fAPM8jmFcEKL/R6oIa7BrDU/rmVJFFMvZM78E5tlWSTXnV3ItxSsB n8pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897289; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5hc2CsV2PdwIrwzsquuwQ6o8Ebf/JgkdU7cj1UvOiFY=; b=3H23B1+9D7wJIX+U3FE+AQMiqt6ARqrD6GxfNuCngEkoWm7ygMUgUXd+9/CKW2H6NH Vi+7KAZxJ3bvqkgLlEan+6t7JU6g2Ux9n9JzZ0KxLc7P7pPzINqDiDki/lkaIFIbhCI7 8Dii21gk6UCwHB9wTC2bZc+fbE5vj0pKkmKqnrWy2q4Xi1CE7rX+MBOIPoSXkQoGRLXO pVmFnwmTyoXd27n3n+Kr0jmIhB8rUcC0f39gsTR5Kf9jIfNMZOddU+w8XWTP8ol6ygKi fbdr1CzQ/oDgu3cKsSACfH0fKbeP1vFTUbp9kwTzCGoyvw4+P/XsTZfJ4zNUscPSOobq mSNA== X-Gm-Message-State: AAQBX9czxJTR9+GRbUPPlYws8jlOD6ApTr6SZjEBP807jYjwgqY3z1To b1XJLFY1PhvLeZzMF5DiiEXSjQ== X-Received: by 2002:ac2:5094:0:b0:4eb:3cac:23b9 with SMTP id f20-20020ac25094000000b004eb3cac23b9mr764776lfm.9.1680897289310; Fri, 07 Apr 2023 12:54:49 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:48 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:42 +0200 Subject: [PATCH v2 2/4] arm64: dts: qcom: sm6115: Add RMTFS MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-2-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=1251; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=IIk+twEwz0LlHdxtIsrn9UJGLOCT8VZyIM/WB4QSvH0=; b=I9rgSh4Kma+lc/Zkd3I2PwnJjpRVICDW88ksWJU/j7VwMjJs4MCqm1bT39j3aVdu+jnXciLSG1Pj CxRQkMzUDTkGjcgbvNxsfMJQzXoTENCv6Wxik2nL2Z6arW/YRZv8 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762549337867217396?= X-GMAIL-MSGID: =?utf-8?q?1762549337867217396?= Add a node for RMTFS and associate it with MSA and NAV IDs to enable modem functionality on SM6115. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115.dtsi b/arch/arm64/boot/dts/qcom/sm6115.dtsi index 2505c815c65a..99c6550663c8 100644 --- a/arch/arm64/boot/dts/qcom/sm6115.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6115.dtsi @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -290,6 +291,15 @@ removed_mem: memory@60000000 { reg = <0x0 0x60000000 0x0 0x3900000>; no-map; }; + + rmtfs_mem: memory@89b01000 { + compatible = "qcom,rmtfs-mem"; + reg = <0x0 0x89b01000 0x0 0x200000>; + no-map; + + qcom,client-id = <1>; + qcom,vmid = ; + }; }; rpm-glink { From patchwork Fri Apr 7 19:54:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81014 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp503961vqo; Fri, 7 Apr 2023 13:07:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bxPaY5Q0HMUcaB5usFPSAkDJw1vhDPqkVsUwm0fuCdlSw/jkgeq8cMQFD35yiDPsi3C6mP X-Received: by 2002:a17:906:7cc8:b0:933:1702:a12b with SMTP id h8-20020a1709067cc800b009331702a12bmr605938ejp.17.1680898065852; Fri, 07 Apr 2023 13:07:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680898065; cv=none; d=google.com; s=arc-20160816; b=tZ2MaM87wBmOtDzw7UJ3nHOd/e16cyGNN4C5YL2MpH+CRKRhilLrxhXrXACr1o2+FJ 3AraqQ0ByRmk8KQMw+Hx6sNCdXjhuihoLWZYA05wM6OnEYO+GbnMubFeH9jgkBxbTryA L+ecg0+3tAn+OPHqfuZ8FAlOrnJ841g+YrwSRGJnZ1qnDJ5+YJjz8apVaPIX2KL4r6Ij 7S1v852cwmJqYtYPz5QVbdG2R/S6Bf8yXS4AjEjpGDklLImzUFERrb0Pxa1NhZ93gdHC dkVRO2bhyPjfRGQCBr42dgIEwcOZq+w2/hbT3vQoAdjtEgrZrkHg7DAH5mrn/Am7HpY0 Ea4w== 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=HrrXtbRkA/TPN5iifxIhcwLiJb4rv7pfySUS4qMYehs=; b=EWc8W6n1bzZo7R+jkS4f0fXFIAuCZHh3+kNrQEkbHGxAzTPeEyL4+JDgjNI6Oisn6E 4ScLhOvp6GQDlXWN6TVH9wR2K5gBExabThXcDECtw9j6wV9Imhanx2OCTvvP7bykGZY/ HbRrwuejM4unnIZKwWfWmmueXfyUuvKwooEMh5Fjy0C81y9tv+n6aTqZTg90u9KSezAU Zs0pKqBFY65AE0vnofZnAOe4P4aQ7uPEz7e+2OA5gV1BzYJFSh1CU/ctqbUp1b9kNSLd dosU62VqRrpwKfguADprVhzqaez1kjAUhB8IZYP3OgddndVUMRxO67588NA6ib4IZpYp xMcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Uf1E/REF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n22-20020a1709061d1600b00939c395018esi3496898ejh.474.2023.04.07.13.07.21; Fri, 07 Apr 2023 13:07:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Uf1E/REF"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231366AbjDGTzF (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231266AbjDGTyw (ORCPT ); Fri, 7 Apr 2023 15:54:52 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 330BF976D for ; Fri, 7 Apr 2023 12:54:51 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id h25so55662615lfv.6 for ; Fri, 07 Apr 2023 12:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897290; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HrrXtbRkA/TPN5iifxIhcwLiJb4rv7pfySUS4qMYehs=; b=Uf1E/REFFX5GFkeXVT1+e3z009N8o23rDUvS1gCMi+LubcZG/stiFQFgN+9Rn4TJLm hCrsIsiJkjMzj8oninsA7fKuH/6niBTkjA/yqzDj01W11mgLJ1QGFuw2K2IuB3aAfLsx HBucvmcZrpmbePIK7iRpvSmUq6uBBO/OgiZBes0kfbSNGH/TDwRdj9g6IXNpXp2bpBgV uhgJq9tx6or7+Bt7L+1d5yQ+8fSichKQI8NviZ0NbI+AtdTQk90rJrGLm7jaSn/xGNQf Yz+WKC3n1mK2Of0hPwm3NVaTB2Cxrs8Nj8medEIZCda41pJkLFw7cd4uAEbpYsnfL6FI p4kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897290; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HrrXtbRkA/TPN5iifxIhcwLiJb4rv7pfySUS4qMYehs=; b=paWTeXUnkKiE/JP3yUGHvmJyy0plAg4Tb3Z0sIlxAoOM6OgXVWoEl2Rw9uTI7i4qb9 Vaq1lqiAJXTqazymuRxFsXPAZLI2ySAb4ivLoHm+FKZKExPlZiZKPYChRzD2mCaE/GHM zpFEBLankiO3NXpsl1KV5qD631swr1B4pahnofxpIrlYVMpmAnTO6rgfGcO+aiPRHWFn oEiWY1ao6LmB4yyjJB+wYVcjBX/mt6OqDhsEEPIrvhv5fuR9Tj9vplSJmGEQ/cS2IQx/ si7vrPyIyqWQJSI+ngEVX/AgqjdwQ1elGHlmdlq/kV0n7WbLZJhdPfXKIufIBJ4ZU3U0 okJQ== X-Gm-Message-State: AAQBX9daAvDyd5vAJ7S/q6gTAyc/Xzpeutd/pfDWMnSbFgY5/jpbqQaT Ozfy2iL33JSIHiGJhANgEvyjYg== X-Received: by 2002:ac2:5290:0:b0:4b6:ecfb:ee98 with SMTP id q16-20020ac25290000000b004b6ecfbee98mr1028200lfm.41.1680897290751; Fri, 07 Apr 2023 12:54:50 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:50 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:43 +0200 Subject: [PATCH v2 3/4] arm64: dts: qcom: sm6115p-j606f: Enable remoteprocs MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-3-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio , Dmitry Baryshkov X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=1042; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=LheeN2mshsAs8brSHZ+At1/DkO/Urs9BzGBJSfcH0V0=; b=n7GkBgoMqoqy2+U6y+lxt6w26SMGcXHwa4SOBOfhJ9tg7oDFeyBsaWpfojbP797Ad6ZC63v276w3 bphMEjZgALDUYvIIIAiHSM4TQYLqph0NqSasINjVr2ajYzf7XbH7 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762549370356719624?= X-GMAIL-MSGID: =?utf-8?q?1762549370356719624?= Enable the [AC]DSP and MPSS and specify the firmware paths. Reviewed-by: Dmitry Baryshkov Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index cd47fbc993ba..bc232deb802b 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -89,6 +89,21 @@ &pon_resin { status = "okay"; }; +&remoteproc_adsp { + firmware-name = "qcom/sm6115/LENOVO/J606F/adsp.mbn"; + status = "okay"; +}; + +&remoteproc_cdsp { + firmware-name = "qcom/sm6115/LENOVO/J606F/cdsp.mbn"; + status = "okay"; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sm6115/LENOVO/J606F/modem.mbn"; + status = "okay"; +}; + &rpm_requests { regulators-0 { compatible = "qcom,rpm-pm6125-regulators"; From patchwork Fri Apr 7 19:54:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 81015 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp505457vqo; Fri, 7 Apr 2023 13:10:54 -0700 (PDT) X-Google-Smtp-Source: AKy350btGJusqddEDxuIjoT3I/3hvJvkcUCzfyKkw9ei+iAUBQxmCJ520y4RkCmdNfrhOMWVHbQ6 X-Received: by 2002:a17:906:ad9:b0:931:ce20:db8e with SMTP id z25-20020a1709060ad900b00931ce20db8emr553236ejf.51.1680898254662; Fri, 07 Apr 2023 13:10:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680898254; cv=none; d=google.com; s=arc-20160816; b=GAZ2vBIDCnvNCUGFdQGjxhp6DHpO/2HGIc5NsT4Ob8v9q6YjTh49oCErxSYBFZmaGD rnMpcHgd0H15liZWlatumy3nZ6ybpvxtgNoBubDPb51MqTMuUMG9h87mBWk/cWOT5T3C JiWjgj+eHHuE1mv8ld+zenTKA96+Y3+4iqwFwQiqKaRMPcHo9okrutva6bRWRl2a1GW/ VfdChPZHcMKfd65cNcAgV56qUTQ3N9XQmAMwU4aaCTo6NG30Fy4HtiKKtAMsNMZGYKGr 3wtw84f7wNgmzEzrIlEKskDiL2JyS3NrbTi9lHOumGTe+Lw2CzhEykAXpBxFiVE0FaaM ivHA== 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=UnW6A28IKcreFUAfuKike2SwwSqJ7t/qMOojsEiWd3o=; b=nI2R4uphJYrIySwb71ysVj3qNd5LnUGCPUxiB/HMPmV2gN9hvbu0jc7cLNz877raKI +fMKmEfSrO0MXS+EUvxVChodFPXBtpMH/hczx8MhRiqY2ZaW9Sa+a00ID/gK5MNjVbt8 c6OrjVeljpbFTAZZ5QqKdavRktN3avUt1cixUczVQ2LwmKb33QWqnxrOW5jS8aiWDZTa T/kY2qNAvSkWAp9D+fXJIkeMTz8Q7XRvH7kWhoIM+yf7i+gzHE22PcRVvxpOaQfJpL6C VsPl8vUCgcOX1tSwpY1fiXoG5iHz9v8DK2/O9A3wgYCcyP8HP1Od3nT+qYmZlMehvysr NcEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MwmFmghB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s21-20020a170906455500b00948aae5e3dbsi1687965ejq.963.2023.04.07.13.10.29; Fri, 07 Apr 2023 13:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MwmFmghB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231466AbjDGTzN (ORCPT + 99 others); Fri, 7 Apr 2023 15:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231379AbjDGTyy (ORCPT ); Fri, 7 Apr 2023 15:54:54 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8DABA27B for ; Fri, 7 Apr 2023 12:54:53 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id y20so55691794lfj.2 for ; Fri, 07 Apr 2023 12:54:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680897292; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=UnW6A28IKcreFUAfuKike2SwwSqJ7t/qMOojsEiWd3o=; b=MwmFmghBv6y4HhNOaxXFNNuzkqK19RmVnmxCLV9ziJFoBJj36Uyj22QNGse8V10FED Ycn7rsZiJL7XOKtpf2EWV4qpPMfUhdv759rK9a2kBagd+9O0MfW2SvdgHXF+DUTidvs6 0NuHdJn3tVfqdpCDpOulLjBicpoCTzr3Z76kGINvmk9J8UjgMozQcjVmuJe1r162BW8k xPPpd9R1EejUZmmFLIXV0Fs3gJ58IpJjXaP2QB7wdOKDHWeyecXoDyo9R5jEoEolHS/L 9TsgTijFoz1ncDgN4P1a1yY63cg2NdIvwe9c3BJ1gmk8w49kPK3Pyl/XcLIrZN90ocYf MEJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680897292; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UnW6A28IKcreFUAfuKike2SwwSqJ7t/qMOojsEiWd3o=; b=Smukj6oo2RQqj+jn+wJI24OsIECZ/zYsvYkK9tduF9GDST/CHYyW6rvP7m1aWZKKIn 1WtcMr/6nB+JEHLBjPwVAA7fATisDgSAtCti1FsPDwXnzm35xxKrA2vLJsdO1PI8l4EX 9sN2rLNne0UI2ukiwUSM+uweITlJtNEzmq5XQvr+1EWkNYuYo2D93Z20ceZ7PT6ceK+2 uFKqa12tl4Ar8lhxnYMHQB92ZnW22vP/pvHnmIWvhi+HJwtRGTq9uT87Crbc3DDv2tdc hFftr4uYZEkM9qJoa6N7NWALMUY7om/u4XO+JYxG49PGRMFywLAuku6ZTZQaI1pF9e7H bn6A== X-Gm-Message-State: AAQBX9dvMug2za8oUQlc0rGcBCLKJyVchs55JlsWbZVeakwRrOKvuxax VNy2Ij75MEjiHLMxC5MuNOGy0A== X-Received: by 2002:ac2:5f0f:0:b0:4eb:13ff:6ca7 with SMTP id 15-20020ac25f0f000000b004eb13ff6ca7mr918254lfq.16.1680897292119; Fri, 07 Apr 2023 12:54:52 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id u5-20020ac248a5000000b004d856fe5121sm839981lfg.194.2023.04.07.12.54.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 12:54:51 -0700 (PDT) From: Konrad Dybcio Date: Fri, 07 Apr 2023 21:54:44 +0200 Subject: [PATCH v2 4/4] arm64: dts: qcom: sm6115p-j606f: Enable ATH10K WiFi MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v2-4-625d7cb4a944@linaro.org> References: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v2-0-625d7cb4a944@linaro.org> To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Kees Cook , Tony Luck , "Guilherme G. Piccoli" Cc: Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, Konrad Dybcio X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1680897283; l=1763; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=b3Zu3ZZnDQhyKIftWOiLA89iYJJNHGbq+oJ3wY2oUSk=; b=eVPsQfPvLHPeKGN8di7rL5TOwfLtMuC4wjd3d03xaNYMEJ9N8wylr+p90aUi7lfQEjG2NeH+8QY4 XrznSAhtCYgwlrLVRl/DbslgdBrm3qdA/s64o9xWOM3fnCnTixe/ X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762549568089124443?= X-GMAIL-MSGID: =?utf-8?q?1762549568089124443?= Enable the onboard QCA Wi-Fi. HW identifiers for reference: qmi chip_id 0x320 chip_family 0x4001 board_id 0xff soc_id 0x400e0000 Firmware sources: /vendor/firmware_mnt/image/wlanmdsp.bin -> qcom/.../wlanmdsp.mbn /vendor/firmware_mnt/image/bdwlan.bXX [1] -> [2] -> ath10k/.../board-2.bin [3] -> ath10k/.../firmware-5.bin Not sure where 3 comes from on the device itself, gotta investigate that.. According to [4], it's called WCN3990_STRAIT. [1] XX = board_id printed when the file is missing or by your downstream kernel firmware loader in the dmesg; if XX=ff, use bdwlan.bin [2] https://github.com/jhugo/linux/blob/5.5rc2_wifi/README [3] https://github.com/kvalo/ath10k-firmware/blob/master/WCN3990/hw1.0/HL3.1/WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1/firmware-5.bin [4] https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/qca-wifi-host-cmn/-/blob/LA.VENDOR.1.0.r1-20700-WAIPIO.QSSI13.0/hif/src/hif_hw_version.h#L55 Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts index bc232deb802b..ea3340d31110 100644 --- a/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts +++ b/arch/arm64/boot/dts/qcom/sm6115p-lenovo-j606f.dts @@ -315,6 +315,15 @@ &usb_hsphy { status = "okay"; }; +&wifi { + vdd-0.8-cx-mx-supply = <&pm6125_l8>; + vdd-1.8-xo-supply = <&pm6125_l16>; + vdd-1.3-rfa-supply = <&pm6125_l17>; + vdd-3.3-ch0-supply = <&pm6125_l23>; + qcom,ath10k-calibration-variant = "Lenovo_P11"; + status = "okay"; +}; + &xo_board { clock-frequency = <19200000>; };