From nobody Tue Dec 16 10:33:35 2025 Received: from mail.actia.se (mail.actia.se [212.181.117.226]) (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 E2F3F1C5F06; Tue, 27 May 2025 07:16:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.181.117.226 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748330169; cv=none; b=Lb388wZZP0sVe0N0QeP6+Y3HpPDs5v8kBDJ+KRzlmnVeQJ1Z9jIk/rux6tzziyrOhq1cUW/P1LgaK/cBamo+bfin9Sip3TePYAUM6rQCL9/PsYYGXVyLw8Nw1qwpZGKhRqjvT3pHqh/QgV2uCcp+3eF6iCCDFIKPv0vcjBJ7yT0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1748330169; c=relaxed/simple; bh=XFOiPQUFK0VIn6n7oh3KxY5vFwJT2+GZLEpOGFisQ2E=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=Lcsmbd5bpCY85SLaBgnGb0kS8UmRFdgNXZSNt698/yLhAF09qiwN6l5D5Pr/omDMmueX6st81AOTUujwFmSHhqMm8c4eMLJkwKvDvjplt1nOTmJ+92sPxVMIPQv0ubtPKhocXz3QSVaJ3G4IuGUvsLAyC88NCMfHe0efhGMSnwY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=actia.se; spf=pass smtp.mailfrom=actia.se; arc=none smtp.client-ip=212.181.117.226 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=actia.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=actia.se Received: from S036ANL.actianordic.se (10.12.31.117) by S035ANL.actianordic.se (10.12.31.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Tue, 27 May 2025 09:16:03 +0200 Received: from S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69]) by S036ANL.actianordic.se ([fe80::e13e:1feb:4ea6:ec69%3]) with mapi id 15.01.2507.039; Tue, 27 May 2025 09:16:03 +0200 From: John Ernberg To: =?iso-8859-2?Q?Horia_Geant=E3?= , Pankaj Gupta , Gaurav Jain , Herbert Xu , "David S . Miller" , "Rob Herring" , Krzysztof Kozlowski , "Conor Dooley" , Shawn Guo , Sascha Hauer CC: Frank Li , Pengutronix Kernel Team , Fabio Estevam , Thomas Richard , "linux-crypto@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "imx@lists.linux.dev" , "linux-arm-kernel@lists.infradead.org" , John Ernberg , Frank Li Subject: [PATCH v2 2/4] crypto: caam - Support iMX8QXP and variants thereof Thread-Topic: [PATCH v2 2/4] crypto: caam - Support iMX8QXP and variants thereof Thread-Index: AQHbztc0p5K2Az19iUScBagTo6x0XA== Date: Tue, 27 May 2025 07:16:03 +0000 Message-ID: <20250527071552.1424997-3-john.ernberg@actia.se> References: <20250527071552.1424997-1-john.ernberg@actia.se> In-Reply-To: <20250527071552.1424997-1-john.ernberg@actia.se> Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.49.0 x-esetresult: clean, is OK x-esetid: 37303A2956B1445360726A Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The iMX8QXP (and variants such as the QX, DX, DXP) all identify as iMX8QXP. They have the exact same restrictions as the supported iMX8QM introduced at commit 61bb8db6f682 ("crypto: caam - Add support for i.MX8QM") Loosen the check a little bit with a wildcard to also match the iMX8QXP and its variants. Signed-off-by: John Ernberg Reviewed-by: Frank Li --- v2: - Collect review tag --- drivers/crypto/caam/ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 766c447c9cfb..ce7b99019537 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -573,7 +573,7 @@ static const struct soc_device_attribute caam_imx_soc_t= able[] =3D { { .soc_id =3D "i.MX7*", .data =3D &caam_imx7_data }, { .soc_id =3D "i.MX8M*", .data =3D &caam_imx7_data }, { .soc_id =3D "i.MX8ULP", .data =3D &caam_imx8ulp_data }, - { .soc_id =3D "i.MX8QM", .data =3D &caam_imx8ulp_data }, + { .soc_id =3D "i.MX8Q*", .data =3D &caam_imx8ulp_data }, { .soc_id =3D "VF*", .data =3D &caam_vf610_data }, { .family =3D "Freescale i.MX" }, { /* sentinel */ } --=20 2.49.0