From patchwork Thu Apr 6 15:25:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 13203635 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 3F7ABC77B70 for ; Thu, 6 Apr 2023 15:26:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239395AbjDFP0R (ORCPT ); Thu, 6 Apr 2023 11:26:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239669AbjDFP0E (ORCPT ); Thu, 6 Apr 2023 11:26:04 -0400 Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E81CB7EEF for ; Thu, 6 Apr 2023 08:25:56 -0700 (PDT) Received: by mail-lf1-x132.google.com with SMTP id y20so51336541lfj.2 for ; Thu, 06 Apr 2023 08:25:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680794755; 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=pAB3+2xcGrU0pF4LSXRSi1oDyzJFHW2gf+rxyYWg9ig=; b=rj5Xf7lz2Utp/UPdj9ooBPZ9PiTbHpRewdUpW2BDtZi621IsG595648hxKFu8yaI0G OtBMeUJ9YvoZX6xsmqlW2xJasEbH+DljASm+b+sbmEBd1/h0M1Vo5/zlfghI4ShJRDlW 7BTs3ZQL7AcEsqnnzX6RmJ83ULMQ+Kzk9Eju3yJgHj9Fne+8G2PG/rbvbVXkO4+cO2eX OoR8FAJIxX5kQWs/vPHTmTnftbaITp970HtLsHBeoyusSZ/fHFu0r7bCkY04OlIMeMVh yplzTPMLnGLrId2Kh8j0H4dhaeOSghRrDDBg5ZMBJcHhFUxFPMVw6Dh0oOanLFPhgeaD ExxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680794755; 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=pAB3+2xcGrU0pF4LSXRSi1oDyzJFHW2gf+rxyYWg9ig=; b=T/f3DCwQuGTeNmDFoboz0db+kY40bAX2E/ERdi2IXe9aZVzJPUsvqhCgbo+33ZaVbF f8FUjnPhNNuL7vrcAhgdvPqg93Dsuy1fEP7vWS0mBfTg6Qy6eKybnNwyVHJqJHh6A1Bv c9t2zYHGZoxbThZP8q5MBQDcYyJk+aPlB3EEAD2KRwRn+FM/cNG7d/b/9U3l/968NDjM kYIp0u3K0NUYfzyufEFh4cupY8H/LpiHap6Tw9viVbQIPjxwSQe30cUbxvIoX535fkNK 4RuB1tVRAob2zU3pyAMm2kaYIZX5IeQOz2VY1S954mL8+rUgzhg5bcur1HD9PbA5W3e0 bTLQ== X-Gm-Message-State: AAQBX9ds/+GGzrq1vSJG4o3HboqS/ptH9fN2fFemM3mRpJgBhVT+LH3V +6wDYI2huk7maC1OJgV/ojTZ3g== X-Google-Smtp-Source: AKy350b+ugxCJMsryA6T/LW0LprAnp6n7K/sK2Y52HdOe4jJkNDwJO8Svc5w7QiV37KjzQaWbwX8Jw== X-Received: by 2002:ac2:5613:0:b0:4e8:3dc1:70f4 with SMTP id v19-20020ac25613000000b004e83dc170f4mr2856731lfd.34.1680794755355; Thu, 06 Apr 2023 08:25:55 -0700 (PDT) Received: from [192.168.1.101] (abxh37.neoplus.adsl.tpnet.pl. [83.9.1.37]) by smtp.gmail.com with ESMTPSA id h4-20020a197004000000b004cc9042c9cfsm300103lfc.158.2023.04.06.08.25.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 08:25:55 -0700 (PDT) From: Konrad Dybcio Date: Thu, 06 Apr 2023 17:25:52 +0200 Subject: [PATCH 3/4] arm64: dts: qcom: sm6115p-j606f: Enable remoteprocs MIME-Version: 1.0 Message-Id: <20230406-topic-lenovo_features-v1-3-c73a5180e48e@linaro.org> References: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@linaro.org> In-Reply-To: <20230406-topic-lenovo_features-v1-0-c73a5180e48e@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=1680794750; l=981; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=FZjBtkKQOHkQiYQcm1yhCjVdMS+pk+EROsCIeDBCZMQ=; b=vSd4K2uXsru7HwJY6Hu5Q4w4zy51ZBaLLasX3//rS7zsGPtPPvx91S7cvkH2pV7A1QJ5p/XUXROP Tb/f28OKDCtUIQ5R6CHNkPJIt+CPlc/bOiZQFxo84F7nmd3OHaWs X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= Precedence: bulk List-ID: X-Mailing-List: linux-hardening@vger.kernel.org Enable the [AC]DSP and MPSS and specify the firmware paths. Signed-off-by: Konrad Dybcio Reviewed-by: Dmitry Baryshkov --- 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 fd064899791c..2aac25171dec 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";