Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp362593pxh; Wed, 10 Nov 2021 03:03:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwPfdiHOGfQ8DEiPdFEwPl6YkJCnn8LIkuxwuvPB0To2VTxbjHtEZ3jwuU8ANgDSh/aOMFY X-Received: by 2002:a5d:81c7:: with SMTP id t7mr10103201iol.65.1636542192851; Wed, 10 Nov 2021 03:03:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636542192; cv=none; d=google.com; s=arc-20160816; b=JkRVE7tAfTgNEgDEH5R+rufglSYqFdXdzGZm3vu6b+aFT0uFSWEEMFffg+QXZ6lLKS sfOEeHyegzoR5zKlEJDRKBPICpXmT4/STUat3ehg4sRJcZRVSooP1+cWDSSUd4ShuNpb uRnk7Q0+Uu0V13e7GWOccfYcOtS7/OqZwNgZk5lCa/8tex+gXaM5m3J0zFMPEAwNSDwK /YFk6bAiuQEuEgDuF410MAmkJzYY7dkVzQA+lNdleX8WpWAiUHarvJFUJFrBcK+IYjup qFZH8XqVSApLDNq3XcXb3Dw9vSrGOQ4qdgs3XZboR5jH3pEQleF5SFrkkjZRLTdzYhnH 2YwQ== 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=lLtW749UnPe8jWQgBOfGf+QUHkMztbxEo2aPck0k24g=; b=GgNUU16z+8ZPIPbvgTVuniSZu1jLMFF+27fBbnM1O6CUXhllylb/dWb4owXDaFp5jp gNlexSKr7p0yiDpBEx5djmocpmW2NrqX/B1Cp17BtJ1RThk6NO8y7bCvXy/RSSR2SJ6X Grv91gDVaKej0AthLyqrtkiGKblEoM9RZG2TudxBhw1NMnQlyHaApEK3Lt04gF3jxiqM bQ3LzFdwHZ6qofjAZjlhPwatRn2rz/cM80b87XBTPj1vLi1T4Nca+oL50clqTV2dsVCp /5mT3wA5xD9yZDJ0AmNyxua602HO4S5O9XmWlnzD06/97VkhPdtpWSrheVWdNlXVEUit B3Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vpIOVzQe; 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 k5si7945433ioh.105.2021.11.10.03.02.58; Wed, 10 Nov 2021 03:03:12 -0800 (PST) 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=vpIOVzQe; 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 S231728AbhKJLEg (ORCPT + 99 others); Wed, 10 Nov 2021 06:04:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbhKJLER (ORCPT ); Wed, 10 Nov 2021 06:04:17 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 269C5C0797BF for ; Wed, 10 Nov 2021 03:00:58 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id fv9-20020a17090b0e8900b001a6a5ab1392so1340393pjb.1 for ; Wed, 10 Nov 2021 03:00:58 -0800 (PST) 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=lLtW749UnPe8jWQgBOfGf+QUHkMztbxEo2aPck0k24g=; b=vpIOVzQeIzghGE7J3rYVia2sr88yR3iRc2AGjdxEhk0bXR8F4D/fmI0Eh7JeWdG+Nu S8hLBxRGKEt7Ob4Me9aHmlWg5ZHl2pkArYUijvZEaSwXdOtjn2HBZyI26XEmqeBz1xhq PGC/x4KO94A+zWlnJ+vb8gYKm6xOb9rBT1baIkUxEW7tCqe6JKwZXdGHRe/mxAYhayoR 2aej04aWygudAhQ9k5ElUkMtg1z9jWgWCCYTQ34YnrOpug/gfqFPJiYdfOb+FeEL7GVg P8zVgvvXfdalsnREtTQ4nmtrLSuzG3dX/8bM2p1EonmTmXmSJr9scRzxSnT5bEaOfdeg wObw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lLtW749UnPe8jWQgBOfGf+QUHkMztbxEo2aPck0k24g=; b=JZgnNF+iBmcTNpnWYBHcu0CIx63MAz8cD5R41gkD7QOLQH7ExxBnanU0rK6uDlxcmF lTAm1aP6kTF7WoyI8mkXdjpajkdcmiPTDZKK8Z7NMkitcDPaTaUzIJATDhyJ0hU5fPxm 1uKrYYafmenwekWh94ypFDpQt7KSgroBxzC6WjFDCDd/NtGEDkZPy5zQ4bMLDnHvqMb4 mEx8OeTssVrVl2G39gyXgbBFTib18/HnEuuabjD55S+Ld2gusmm8t+vGeiuyQj4264OV cO8m+A5cPVG93iIsBk5Lll6w7cdtxWHa+QU1+llw3B4haHirrQ2XXrB/U2gUYhm7W6YG uGjA== X-Gm-Message-State: AOAM531MwQn5TCnJI71VqcCGLS+9SbtB7Zhh0Ns59r68QemrO39iqgAr heK9PMlBTYq/XgzvcUXo5JXiHw== X-Received: by 2002:a17:90a:e7d0:: with SMTP id kb16mr15567760pjb.22.1636542057729; Wed, 10 Nov 2021 03:00:57 -0800 (PST) Received: from localhost.name ([122.161.52.143]) by smtp.gmail.com with ESMTPSA id e11sm5585282pjl.20.2021.11.10.03.00.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 03:00:57 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, agross@kernel.org, herbert@gondor.apana.org.au, davem@davemloft.net, stephan@gerhold.net, Thara Gopinath , Bjorn Andersson Subject: [PATCH v5 15/22] crypto: qce: Add new compatibles for qce crypto driver Date: Wed, 10 Nov 2021 16:29:15 +0530 Message-Id: <20211110105922.217895-16-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211110105922.217895-1-bhupesh.sharma@linaro.org> References: <20211110105922.217895-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Keep the old deprecated compatible strings still in the driver, to ensure backward compatibility. Cc: Thara Gopinath Cc: Bjorn Andersson Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- drivers/crypto/qce/core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c index 89d9c01ba009..dd2604f5ce6a 100644 --- a/drivers/crypto/qce/core.c +++ b/drivers/crypto/qce/core.c @@ -297,8 +297,12 @@ static int qce_crypto_remove(struct platform_device *pdev) } static const struct of_device_id qce_crypto_of_match[] = { + /* Following two entries are deprecated (kept only for backward compatibility) */ { .compatible = "qcom,crypto-v5.1", }, { .compatible = "qcom,crypto-v5.4", }, + /* Add compatible strings as per updated dt-bindings, here: */ + { .compatible = "qcom,ipq6018-qce", }, + { .compatible = "qcom,sdm845-qce", }, {} }; MODULE_DEVICE_TABLE(of, qce_crypto_of_match); -- 2.31.1