From patchwork Thu Jul 25 11:27:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 814616 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D838E199249 for ; Thu, 25 Jul 2024 11:27:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721906864; cv=none; b=cUqZzzpqKOKowZjsYq0e47nGV6P3O9vY4idhi/8/ibHzi3EWGWPxGqdAvjVgBH9HoeKgioriLAjmd21ChdQsoPkxAkZQWGzR40kHP8SOORgeTLgoPQPz+DWbTfWFsav8hloEVydwbY5ICNA6GfOCdWZF1BUrtKeoXnFSf0elJJE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721906864; c=relaxed/simple; bh=+XTWa9hpEf4S+deZBp3LjU6C8IT8BthfSBNlMkyWCAY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=BmF+rnWy8VlL9d0RDwKhEZWok37trhTr2+lFjVpN2LHuWSFPhP2JciLxFNSFcCp+GeERbCiNrFT5wxSPTwyQADNzaawthmk5oyLJC1pUTu/WTlhrCbZ5XJYWZ4u25sEAG/Q3sasKn7B7y0T/wWhgXjFcmMm9/u9kJEBsWOWnRqQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=yr2l1lTN; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="yr2l1lTN" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-52fc4388a64so76199e87.1 for ; Thu, 25 Jul 2024 04:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721906861; x=1722511661; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=RdP3yGNeewRdl+uUZaeGE/lFC2ApLtozrXP5QIFLxBE=; b=yr2l1lTNfAri2FZ8luzQ54uqifA+3b4q60BRXydEFYJLfBqQIeInqK2/QL/31oIFux jgRZ9Lss+Q+HlFREQY55BIYWVfmzhVTudLvwx34kxqc9oow98nEPCMPdJLFkssc+xdHS ZwKN6aAybei53R06GNH5skYV1fcdexO59GecRiT3KAuV5ODZNSUfFRpNACzT9rUj9YZX PW1F7y7+xx84FyGooAUYOBt0gf5g5etH3F8gyR0UhRZaGzhtOHfZUIWlcWSkxTFDojnM L3Mn1fdbVV1hgH+8t5znc4EXk0siV8VmSIjDw1T1cxDLAuh8RaY+ZuZdx+f5Pm4S5T/U J7Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721906861; x=1722511661; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RdP3yGNeewRdl+uUZaeGE/lFC2ApLtozrXP5QIFLxBE=; b=Vtx+N4upJomF5peK1vdiKwVvAh4GCc4Lmb3fOxKAyyH2z3V8xOY0JoqnJYUG6Oh5L1 5L0sxFsKp1/yYW2FaoAst5EZ2j4cYtSXHgvbS3FbeaY0RXrs/UBPzyrASxbI3w0m5/vE +zikDOryA6VXrucEPPvu+hFjvNWlj6SpAMyRlIed940waFGeonfHDkndFipYWBw9h/9d N576Qe2NJ5yFow8s+S/OzFORsafJPmlGbpLBIBT6uKP9x3ZK54BRQIAAbA3+xEN5tm3Q o2vz3br2YtRju9UTF+LMq6bQ4/aWljD3Bg3XZJXBEn2WYfeLJURGs5c6URfc/Qy0j9oR LuDg== X-Gm-Message-State: AOJu0YxwJB3Dh4jKQUMd3+w1sDbZe5xxrPymHP4Fig13Lh8aJpDC77M8 pLW19GJp0KMgp81zXu+9D2uhDXmqSXtpfY/Zh3Y3tJRrgQ7bQys93vUxkhukjCA= X-Google-Smtp-Source: AGHT+IFhbtKpxAHdMYK8H7+fG4jmhEs/+GrCat1GPYdIv4DpNNfgCXV9V8g1hKOE95kDn+bbcz8PyA== X-Received: by 2002:a05:6512:304b:b0:52e:767a:ada3 with SMTP id 2adb3069b0e04-52fd60f4f14mr1053270e87.47.1721906860992; Thu, 25 Jul 2024 04:27:40 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52fd5bc3e8dsm194177e87.5.2024.07.25.04.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jul 2024 04:27:40 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 25 Jul 2024 14:27:39 +0300 Subject: [PATCH] firmware: qcom: enable qseecom on Lenovo Yoga C630 Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240725-more-qseecom-v1-1-a55a3553d1fe@linaro.org> X-B4-Tracking: v=1; b=H4sIAKo2omYC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDcyNT3dz8olTdwuLU1OT8XF1jc0tLY+Mky2RzM0sloJaCotS0zAqwcdG xtbUAQvVTJ14AAAA= To: Bjorn Andersson , Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1046; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=+XTWa9hpEf4S+deZBp3LjU6C8IT8BthfSBNlMkyWCAY=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmojarqF0R/OZSmoYGrVDMvllZo7y5HQgCeYoT/ eZVnpNt3dyJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZqI2qwAKCRCLPIo+Aiko 1dsyB/4gvN3N5LSDmUw7IC5bD8PIl396dkxFn/AMhhPoZ8vg3Ct4meoi3KYCIazx+L6ai/YMmNb KBnJudRmjMl2LMoW4henuOaGEHsMe0wU8zgTfxjDui5UZ0U4br+9xhRfp4+40AiH2KEnk6BZV/G bwE2gwovyZo3hTxhGNI1+MCtS0Zh9izACiTvxjBAJacNRLCUvB4oF38DwC06VNH2WJfiNpHKwjf 5Jvq1WVtm7MKElFVTGxs7Wr0Xdfg5fZ/phe1xRrFgTGlMGVwvDDaAXutglem0miYiZVOO9ciZMc zxGTIjY0xifz8H6X08MSfZmOYyOCjPKEejePXCMefFo07d6j X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A qseecom driver end uefi vars access works on the Lenovo Yoga C630. Enable the QSEECOM device on that laptop. Signed-off-by: Dmitry Baryshkov --- drivers/firmware/qcom/qcom_scm.c | 1 + 1 file changed, 1 insertion(+) --- base-commit: 864b1099d16fc7e332c3ad7823058c65f890486c change-id: 20240725-more-qseecom-379933b9c769 Best regards, diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c index 00c379a3cceb..9b427bab2028 100644 --- a/drivers/firmware/qcom/qcom_scm.c +++ b/drivers/firmware/qcom/qcom_scm.c @@ -1725,6 +1725,7 @@ EXPORT_SYMBOL_GPL(qcom_scm_qseecom_app_send); static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = { { .compatible = "lenovo,flex-5g" }, { .compatible = "lenovo,thinkpad-x13s", }, + { .compatible = "lenovo,yoga-c630", }, { .compatible = "qcom,sc8180x-primus" }, { .compatible = "qcom,x1e80100-crd" }, { .compatible = "qcom,x1e80100-qcp" },