Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3760927pxb; Wed, 13 Oct 2021 12:23:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEJr6xeOEpj+Fa+tHJwWDcumnWnOtWfuV1+lG6fOAZNC4bajFSSw0Ppx0xZJLaiLVftiD+ X-Received: by 2002:a63:2d46:: with SMTP id t67mr812988pgt.15.1634152999152; Wed, 13 Oct 2021 12:23:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634152999; cv=none; d=google.com; s=arc-20160816; b=OabI/owvV63QDh/F5c/PIK00LQk43EPIe4QORLg4M/b92JGDcl0vSUg5s2awdc1Op5 PpYApicYXogjcwbALpyt36+7XvEUGBKTsDQn8xjT9ukCd0RA+ifS9PRmDCHsPuQN6HSY gECHwBermdUaDRLXKuENwuD1OaVwAQv1RZe2mb23dZ/1EdLVHef8Ix6OlY9OnS6rxoRe Q+SX/IedKgK3zWvxS5uzYZz391xAihw1p/HtTL2Jsmh4OPcKbI0+EfpGUG0rXAf3ZC7g cG+wJRXK4SCgEYL8mAc0ZQVFrfGO7cLdCYKptcp4QU+Gb6HJMjhE5y8iA1nOAgkW4s48 fXsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=ZNqvGfSDUhWxqhwP01MEB8XD1JZ1GH8Z2KHDHZM3Nx8=; b=M8mx3e+Oj4jOWo1qttSwzvc+IJ24cUJlWIwDW9HnhQsJliXjiq1410LyL1bOeLZYCI q44hxdx9ySlvUXdMtC1TyC86tnx9oVuDu1mudS1gbO7qd7ct09cDL7AvDcC+KnU/QsMH 1lkDvs1puX+7/K+nECqc1P3b0iyv8XaEr95ztJ+qowdFP110pycm3fjWiqbjDkNVOpmK KE7398odLQuaVwQiJy/Jn6MpoPJuTPbWcPKjuyCoa8ZihFmjdZ83qHUSD7KFyLvJpJc/ pAyq94O8hlnHSxowH16bg6H3QghTfdNKb0jnm+c1c0GAsg60amZFouLFuIjtrgbbRq3X KAfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fiWDlabK; 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 b3si555911pgi.351.2021.10.13.12.23.05; Wed, 13 Oct 2021 12:23:19 -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=fiWDlabK; 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 S235232AbhJMTYQ (ORCPT + 99 others); Wed, 13 Oct 2021 15:24:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231522AbhJMTYP (ORCPT ); Wed, 13 Oct 2021 15:24:15 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03E5DC061749 for ; Wed, 13 Oct 2021 12:22:12 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id x27so16213025lfa.9 for ; Wed, 13 Oct 2021 12:22:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ZNqvGfSDUhWxqhwP01MEB8XD1JZ1GH8Z2KHDHZM3Nx8=; b=fiWDlabKcldvXhcH1LFJPBkt7hgjyPu5PaNx7z1jti+e6SONQMaWpq+NAFB9F/h9/7 B4NBPeHtxciXGRas3IGykPvvbivLLmu9rxgJvPGYMnJaRdNmw/ArMLdAQSIpaJsYeEQx jgMmSTOCiJSteDCxb4BaisolDhnGl0GQELLCvAMuYPBXmiVFSIevT6MyfT+0nSN7BUzv Obtwd3NrsRs7UpIRAQSxm/jCT8jyLxnv4CL4Q6iXdVJ+C14S0SLCWzydhHQ6zxXPwa7/ uh3xnmid7ZC9fQuH1q2MCAJ1GClQNk6rZLa+h0nXuAPxxv+yjy6AbAa+XMXUjLZ2XwtY ntMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ZNqvGfSDUhWxqhwP01MEB8XD1JZ1GH8Z2KHDHZM3Nx8=; b=AJIdPkCXcDom7z+gum05nQstJvUbR1Edv2kW7LQeXKyQ4wMgwIZ0P9TSbNX2hIUrj/ UQSVXzObVoBEBgzQiHO1ybo55Th46pPsfZEFS6ips/sr3r77rKMRMrZQyv9Ni9eTHZOn eyMtRifgKf0M5rQNc2LHb4Vvlk3bi4h8DDbWgKQ0azDWCJBo4fseHjWwZLhuwm6m8udz vswN6JzPbn5V9+nhrZBpOSAhg1YuexW0TWjf9Qr33EXS6SFB5CCE2xptgvs5kZHNqvjp Dggn6zaiEPLry2dvgkb3eXhKF+5zeFqkASFaNktiULwPKg69eDmTH8g5q/4IQEhdJpHY Sedg== X-Gm-Message-State: AOAM532KnLmXkEQFyxsRBcVbiKKbMngpqk2gMapCcXibv1lXgzDCiEmt YwMpgQMTnXCDk8+foYa97xutHQ== X-Received: by 2002:a05:651c:a05:: with SMTP id k5mr1273338ljq.288.1634152930415; Wed, 13 Oct 2021 12:22:10 -0700 (PDT) Received: from [192.168.1.102] (62-248-207-242.elisa-laajakaista.fi. [62.248.207.242]) by smtp.gmail.com with ESMTPSA id m3sm32470lfh.2.2021.10.13.12.22.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Oct 2021 12:22:10 -0700 (PDT) Subject: Re: [PATCH v4 15/20] crypto: qce: Add new compatibles for qce crypto driver To: Bhupesh Sharma , linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org Cc: 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, Thara Gopinath , Bjorn Andersson References: <20211013105541.68045-1-bhupesh.sharma@linaro.org> <20211013105541.68045-16-bhupesh.sharma@linaro.org> From: Vladimir Zapolskiy Message-ID: <793685ac-332b-2dbb-ad61-3a31debc2c77@linaro.org> Date: Wed, 13 Oct 2021 22:22:09 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20211013105541.68045-16-bhupesh.sharma@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Bhupesh, On 10/13/21 1:55 PM, Bhupesh Sharma wrote: > 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 > Signed-off-by: Bhupesh Sharma > --- > drivers/crypto/qce/core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/crypto/qce/core.c b/drivers/crypto/qce/core.c > index 033c7278aa5d..2ab0b97d718c 100644 > --- a/drivers/crypto/qce/core.c > +++ b/drivers/crypto/qce/core.c > @@ -298,8 +298,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", }, This breaks backward compatibility with old/not updated dtbs, I'm not sure, if that common rule has to be kept here, but at least it's worth to be mentioned. > + { .compatible = "qcom,ipq6018-qce", }, > + { .compatible = "qcom,sdm845-qce", }, > {} > }; > MODULE_DEVICE_TABLE(of, qce_crypto_of_match); > -- Best wishes, Vladimir