Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp9802204ybc; Sat, 30 Nov 2019 14:53:56 -0800 (PST) X-Google-Smtp-Source: APXvYqxpz0+W0agBe5MDs+YNKbA2Pke8PthpkkvA7ByStNkEKtJuLzpecVL9v97F467NP3FOaRV1 X-Received: by 2002:a17:906:5957:: with SMTP id g23mr13388448ejr.187.1575154436037; Sat, 30 Nov 2019 14:53:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575154436; cv=none; d=google.com; s=arc-20160816; b=xcQIVv95oys1wCAGHfEFlS2Uv54iJOa1y/KTispAV68HIUxhNe+8qDpV2yIBTER9+m RQOwtdWA4hIhPRb2Ug7BC+P62lt8f00nDJZLNiBkw2xQhx/x0XMlQG52cgU0QDklTkgp oJ5uQYdNxGbMRIuRwSYGNUFd/AotidGITu6wIpG39YWenXP7fhfvffgMMqb1VPtNcIZe SMU5kuxyUAlzm7aW3drHdeB1uurX07DXd4Eu29toToh3DoA63xudGJDhDgB8+Kbi2CGF sLQa1s70DT6DqRCN7ycXx+2qJzsosPuFjADA1nTc2WOVYt46PafEfVs+CsxC7B0ydWg8 FOOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=0vwkyglGpGorvOt8VZHrq8ULnpvVj1p5SSJOevBnU2o=; b=Uho+9hrb4r8bHJerxZst+AgIn9kXfvUGhBmBoFdurc0CFbCAuEwG+Y3blI38qNkXX/ oEEJ9OcQsLb4jSWAz3FZrI9Vr5KdJ3KPnVhJ0lcDTuhnnQnJLI1li8GI300+3GXDAUXW ld63YVvyE4Jy10bPlQBcbu/m/+AgCyQQgODtCaaYqenzWBmE31eL3H3uHVrZYoAnLAGp mJGD+sihKINVLEad17zAXV7KxZDjPC0MV3OzGCI8drMGN9QKhZWRYZPUZWxP1jWB9+DG H//I18KehGfXBWyHFsjJiotuXEG7oToj2D6FJlT2vPAqUm23iSViLJtlvSzQiyblFZ6L Z1mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dT2+IP+O; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i12si1093365edr.79.2019.11.30.14.53.19; Sat, 30 Nov 2019 14:53:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=dT2+IP+O; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727179AbfK3WwH (ORCPT + 99 others); Sat, 30 Nov 2019 17:52:07 -0500 Received: from mail-yw1-f65.google.com ([209.85.161.65]:34140 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727025AbfK3WwH (ORCPT ); Sat, 30 Nov 2019 17:52:07 -0500 Received: by mail-yw1-f65.google.com with SMTP id l14so9579703ywh.1; Sat, 30 Nov 2019 14:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0vwkyglGpGorvOt8VZHrq8ULnpvVj1p5SSJOevBnU2o=; b=dT2+IP+O2lloskItMtC50uGcnA6bCqf8SFoGPWc8Hvug8ZofdNiXjH19sNBzTKFGUo xipC/EG29KSb20komeiZIiWko/RUn6KTMPcvu+71JUYs0397XeDbsyXTcol0KgangbFy cquh4yfKJdd7mMxjuykxkVWIQ7/Lg3fwG0XlfYiV+WX/KTKD+sxVTEyUrE7jHo5uOJvo rJHFPB0oLbc9wFqK0fF9kn55bVbNfRUlg7sGJofONDtJLGqJJrsBPePNpmPtfHd+MyB1 OonhnH2E1Ed+eOQqzK13QcrhP+ZoB2UQFYLajvKXdO6wbA5FIIgRB6Bj4gmVOeguOHUZ LbEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0vwkyglGpGorvOt8VZHrq8ULnpvVj1p5SSJOevBnU2o=; b=Z5gd/aR9ArCOi2bPdgizp7kK7ijgoNaBUmSQdeSzUD6soxxR54Jc/AcIwfJ1ve4viH XK/+vpFB13mcGv5XllpUqSodoe0YHLBo+lMkkppx3tgr4ZR2YqBmgbwG0iozNfsllDjT 7jd0EXikx+c6hlK5Y1/tOHCD4v6zo6oRfbns9TOZ1uzNpGmPtvwFCZz8vP4F0lH36W8j 1iR3l5MbOPsG5IgwTd9pz2mMgKvDCHjiFCAVBd4TVh9RWTWR2sW30eXZLP96CIoJ1TiL dp2WHv9n92knZ8mvaE59V1nqPnsE7o5zNMcwzsl8cUWnMgNcF5bM58FbU+dyS371tism jOoQ== X-Gm-Message-State: APjAAAUci9XP6MfxWEuMYPclzZrN+HKkm3Qxg+UMLBPYqd70+6daNPZm JtbIC3c+SDaq+82N/BquSwm4qmeYMKE= X-Received: by 2002:a81:7b08:: with SMTP id w8mr16074667ywc.133.1575154325471; Sat, 30 Nov 2019 14:52:05 -0800 (PST) Received: from localhost.localdomain (c-73-37-219-234.hsd1.mn.comcast.net. [73.37.219.234]) by smtp.gmail.com with ESMTPSA id y9sm2028163ywc.19.2019.11.30.14.52.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Nov 2019 14:52:04 -0800 (PST) From: Adam Ford To: linux-crypto@vger.kernel.org Cc: Adam Ford , Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , =?UTF-8?q?Horia=20Geant=C4=83?= , Aymen Sghaier , Herbert Xu , "David S. Miller" , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] crypto: caam: Change the i.MX8MQ check support all i.MX8M variants Date: Sat, 30 Nov 2019 16:51:51 -0600 Message-Id: <20191130225153.30111-1-aford173@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The i.MX8M Mini uses the same crypto engine as the i.MX8MQ, but the driver is restricting the check to just the i.MX8MQ. This patch lets the driver support all i.MX8M Variants if enabled. Signed-off-by: Adam Ford diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index db22777d59b4..1ce03f8961b6 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -527,7 +527,7 @@ static const struct soc_device_attribute caam_imx_soc_table[] = { { .soc_id = "i.MX6UL", .data = &caam_imx6ul_data }, { .soc_id = "i.MX6*", .data = &caam_imx6_data }, { .soc_id = "i.MX7*", .data = &caam_imx7_data }, - { .soc_id = "i.MX8MQ", .data = &caam_imx7_data }, + { .soc_id = "i.MX8M*", .data = &caam_imx7_data }, { .family = "Freescale i.MX" }, { /* sentinel */ } }; -- 2.20.1