From patchwork Wed May 5 21:37:24 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 431220 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp868036jao; Wed, 5 May 2021 14:39:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy3BOs7atoejrItoGuzqn7dny6uUStQY8+LS980zrXUwGPOB4y9ZABLgt/OIZWPBJdE2/Pa X-Received: by 2002:a17:902:7203:b029:e6:a8b1:8d37 with SMTP id ba3-20020a1709027203b02900e6a8b18d37mr1157815plb.44.1620250755193; Wed, 05 May 2021 14:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620250755; cv=none; d=google.com; s=arc-20160816; b=WoVIYOQtkWqUZTbb4jUEVLwSWCRdqYOL0hxTzLrYalA4mR0D5N1DZs9XNHs0SRfC3b ECV2mFt0ZYhoROqyGpFk3BmGRbD3j4LWHrk22b42UkQh5AOm/1PMo7AypG5Y4dMCpi0I vK1KFY6lP0XO5XtHut7vUy5OCIL/ZA03WTFyNOmuD7LScc2MUZkRefrG9a/bVwYQR7tb qK5OMCOGa7bs53BI9dJchEHqTPl60NcYhT8Hl7j1wGkk0KpUbUza++HgiOy9N664HsfJ TTFSe+MSKD6nBWEGOeSiZaBTJqNRpx/xX8+SywygKP2f+OlQpP5hzfUijg8vOXT5PjFZ NJqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QTs/SEbir+LcEB2TCs+hMhq7sImYAohAveDk3rTOiyw=; b=EpT8oIp7ktXIUF0t0PbeHLoS/UtACr1ObzirpKdJaRB4dNvqXlha9+IXOjyovx3rG4 q86U4uHyYdEX8yVqj4Ker9hbBcHyqxHc+wGNxz0eW5m6uUbaDGIuVoVCGw2qpXDp0k/l LCA85QFKLuhes1e5vXJCsS2I3VSctTtIQUe9NnonfFDkqpVjiQAnyCgBWcHqlhVozLRa Js8MEpw7oUyLjkQMVMRPjC2IHohjmSNHXVaX1A9N5KFTpohun3PCebCG9B1/eHi/WVGM 0ElcP6CEBSCsZCJR+I/dK0XReSsdWobZHcbkWHfInixsHp68rnewN2RKhjMz1dvlMB6+ 6FcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dmGQrXTw; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v18si328135ply.297.2021.05.05.14.39.14; Wed, 05 May 2021 14:39:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dmGQrXTw; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 S234561AbhEEVkG (ORCPT + 3 others); Wed, 5 May 2021 17:40:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49852 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234436AbhEEVkA (ORCPT ); Wed, 5 May 2021 17:40:00 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 856FAC061761 for ; Wed, 5 May 2021 14:39:03 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id x7-20020a17090a5307b02901589d39576eso820350pjh.0 for ; Wed, 05 May 2021 14:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QTs/SEbir+LcEB2TCs+hMhq7sImYAohAveDk3rTOiyw=; b=dmGQrXTwqbRU0YhX8eT/Ex5erqUOL1+ceNi/hWVzGZ5pm6zXm6j41AkvT2l4wXcg2F a4Q5kq4KdcUGN9y7nl20+l2xT57h+f+xE4ZEB3PFSLU4v2PV/fg9zYinl0kYHLweLfTJ WdAw4b8nkdbvaO9WpBXCEQKdDQUfrWELQlKbOeyLRyAyLc6y/+7PMTTPhU7NldrvQ0V1 mG6/93fRQVrAKi8rtrRDnn4yK9PjFO9vEC75sCjPSMR8wM3UsO2FWlavpIbAdEFrI6HB BrWNmV0H4O+cJ6J+Q8LYysunkKODrLQuU1EBMpzMhdowQbgAHzXyb6rUVzKjbdL5gBOa 7GZw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=QTs/SEbir+LcEB2TCs+hMhq7sImYAohAveDk3rTOiyw=; b=CLUNO4C0QCSYsO292JeJbvWX5pIG16eLxW4TjySIgNMDQsSHB6Jhx7D68Z+zZj8/LQ 1qayuKapqYQ00UR8M8zQOuRFwky6X2VKXllRtbGreFkipufEVVqnM+TheSku00BgCpKi o+/IFlNbsvKzuwWyL+fU2pVb8EibEKS9xfno2uO6gnrQn4S5arS0l/IXg20uYreOiZb4 3egB4ynTUhzyQJZJO8N2d0mowL5BSB8rNTmPCmRkT8tP/RPudd31ca2+bvx4lDT5GmKu UCj1VnpusDJEvTYScVGkicTmED4/mWeRn+kZ+slhz4UB2FQEJJ6lH7ki5aCKKcE/JAD9 JkiA== X-Gm-Message-State: AOAM530QdrKVoiQpatF25iTqOsLmq2JsmLvyVPwOWHr9UM2YWfXZ8ina FT2lBrueLNQhAEQ81hNFeUU8Jw== X-Received: by 2002:a17:90a:c687:: with SMTP id n7mr13795495pjt.104.1620250743115; Wed, 05 May 2021 14:39:03 -0700 (PDT) Received: from localhost.localdomain.name ([223.235.141.68]) by smtp.gmail.com with ESMTPSA id z26sm167031pfq.86.2021.05.05.14.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 14:39:02 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org Cc: bhupesh.sharma@linaro.org, Thara Gopinath , Bjorn Andersson , Rob Herring , Andy Gross , Herbert Xu , "David S . Miller" , Stephen Boyd , Michael Turquette , Vinod Koul , dmaengine@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bhupesh.linux@gmail.com Subject: [PATCH v2 10/17] crypto: qce: Add new compatibles for qce crypto driver Date: Thu, 6 May 2021 03:07:24 +0530 Message-Id: <20210505213731.538612-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210505213731.538612-1-bhupesh.sharma@linaro.org> References: <20210505213731.538612-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Since we decided to use soc specific compatibles for describing the qce crypto IP nodes in the device-trees, adapt the driver now to handle the same. Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Cc: Andy Gross Cc: Herbert Xu Cc: David S. Miller Cc: Stephen Boyd Cc: Michael Turquette Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Cc: linux-clk@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: bhupesh.linux@gmail.com Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.30.2 diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 92a0ff1d357e..f6032c303c8c 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -294,8 +294,8 @@ static int qce_crypto_remove(struct platform_device *pdev) } static const struct of_device_id qce_crypto_of_match[] = { - { .compatible = "qcom,crypto-v5.1", }, - { .compatible = "qcom,crypto-v5.4", }, + { .compatible = "qcom,ipq6018-qce", }, + { .compatible = "qcom,sdm845-qce", }, {} }; MODULE_DEVICE_TABLE(of, qce_crypto_of_match);