Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp361822pxh; Wed, 10 Nov 2021 03:02:34 -0800 (PST) X-Google-Smtp-Source: ABdhPJx0cfsErl9K720x6TZl2WR1bq0okYx2+SmOCg/MWOFMRV6mFFK10eekF2Z4CrGeNGru8kvq X-Received: by 2002:a92:c569:: with SMTP id b9mr10879762ilj.39.1636542154554; Wed, 10 Nov 2021 03:02:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636542154; cv=none; d=google.com; s=arc-20160816; b=fS2Gh8RW7FKuwjkTif/Ei2c6SLEI6zWYtHDTn2ukHBy+t8JKyVIl6pr/O9yJe9Tumq ECv6e86A1HWLeSbzA0uR1mfHxryjP750bvEHfcESy4HVLA0MJ1cKHXwRW7I/dxn0T3Dw yqzUEGL92yMzakfjuu1tM+xkQg5hi7QahwLzaQa+sSk/8A3uvGXAF6RXlt5EY8gWbrIP 12MWrSmvMvEbi4cnV3vmF39qLs8nGB4u2xsKVqPqRSEwZ2vYU/5Jf+BIoGXJoYrQdaGt 1tTdUUZVHsZPa+8xJJB2EHwLeEwPQ99vl2aEfBYqGWz9wZVb2/8COqqmPY+wIYZAYV15 G7Lw== 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=zpst4LNqpOQv3g4mfS4aBAHT3dcK/uR+u5lZdpUeqpY=; b=FIdYD8Oq61OlWDnTNdGCu74vW3hkd4z+YWW9yANOJsU8h7pxSyludOhpUBsoC8pWvx ETS/mCz3zQmTUSKAhPHiHY5DHsOF7tySNByWM70nBtMFu8zaSCnoEpjx+03bvrkXg5Sz qLPOZRpe9HnI1SHbMfvcCfu1kvQ24CpmEIW777EDsN88graz7SakjdkMwlSc6jsvYQRd WHeoSH+GlvzgTQQ5uEpOYOdUAVKvlyjLIPbm8sghFq/FkkrNqAmzrrLWM7oXU7eL/R1q P5qp2J7lmQVCfzjOREhD80gzTPAA78Irok+XAGwDLm5et25gCsgJyQyDBLdqp8S2PrDy y1EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q+hXJwnN; 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 y13si45646801ilv.155.2021.11.10.03.02.21; Wed, 10 Nov 2021 03:02:34 -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=Q+hXJwnN; 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 S231838AbhKJLDy (ORCPT + 99 others); Wed, 10 Nov 2021 06:03:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231765AbhKJLDe (ORCPT ); Wed, 10 Nov 2021 06:03:34 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26D85C061239 for ; Wed, 10 Nov 2021 03:00:38 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id v20so2668185plo.7 for ; Wed, 10 Nov 2021 03:00:38 -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=zpst4LNqpOQv3g4mfS4aBAHT3dcK/uR+u5lZdpUeqpY=; b=Q+hXJwnN9C+thQknUIy7UewotrRXlH6mjjYFSdXv6ykK+3QaDbtrsSKhlUgOT2lvkc zDXHI76eBRW7Gozjchfe4wYB1NA/SrmZojBwM0mr3QGItO4Z+0dK8/haW2eeYXRyV0t7 AJunsWo+9cDw5JlGf3QQ19kN4EwIed/RBwyz+E/5KlijF3X6MDZ+92T/MzANl0mmG3uw lPbKdHQTLDF8l62ZAM8oM5IFkqVlPb8bPGclYWPITYKqS0ejqaXYacz2tHTErH4uyF3Y ox2/QCpRUPtbrHGhnQ1spGfL0Qh16tL9qx9fnCiQqsTeYWXYOUEL1q1uoIpGy7qOSOlk 08og== 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=zpst4LNqpOQv3g4mfS4aBAHT3dcK/uR+u5lZdpUeqpY=; b=wWg5fh3k6mAwI2GIwPsfdIzg2zaOY9HOAZEwZcqnyIq7Y6nwnRC1gbm6ZeoIGvcbxC 5oK4flRWVf3xLf2FK+Vb+xqZZDeNPk+JcdSC3jGF7cih5GbPqo0SaAeQ6OOKu4gcjg02 gNs0CtEO6eiH0yhxRUD8fSh3ZyOSc/GCLHhULM8AfRE+4DVUDkA9NPsaC02wEemwRmTe U/QX6N6cnhzSUvKWy2Qb33HmmdJ+E5ReznTKegB3B619ZeOD2D5plbzZMAjNz1Osu8cJ TVcoi+o+G9AzfzuwXMvPuM2qODVQgx3ha30Zxd0FgcVeZzyQdqvkyp5KxnNQ6cy1kxVg E3oQ== X-Gm-Message-State: AOAM530fEn9WRDFCioXxxauOrd5QE9T8vWC1ZNsgVktejV+pMFk3iZSe uwcnUeARistO5ij4JOpck1raYg== X-Received: by 2002:a17:90b:4a47:: with SMTP id lb7mr15816864pjb.243.1636542037675; Wed, 10 Nov 2021 03:00:37 -0800 (PST) Received: from localhost.name ([122.161.52.143]) by smtp.gmail.com with ESMTPSA id e11sm5585282pjl.20.2021.11.10.03.00.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Nov 2021 03:00:37 -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 , Rob Herring Subject: [PATCH v5 11/22] dt-bindings: crypto : Add new compatible strings for qcom-qce Date: Wed, 10 Nov 2021 16:29:11 +0530 Message-Id: <20211110105922.217895-12-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 Newer qcom chips support newer versions of the qce crypto IP, so add soc specific compatible strings for qcom-qce instead of using crypto IP version specific ones. Keep the old strings for backward-compatibility, but mark them as deprecated. Cc: Thara Gopinath Cc: Bjorn Andersson Reviewed-by: Rob Herring Signed-off-by: Bhupesh Sharma --- Documentation/devicetree/bindings/crypto/qcom-qce.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index efe349e66ae7..77b9f544f32f 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -15,7 +15,13 @@ description: | properties: compatible: - const: qcom,crypto-v5.1 + enum: + - qcom,crypto-v5.1 # Deprecated. Kept only for backward compatibility + - qcom,ipq6018-qce + - qcom,sdm845-qce + - qcom,sm8150-qce + - qcom,sm8250-qce + - qcom,sm8350-qce reg: maxItems: 1 @@ -68,7 +74,7 @@ examples: - | #include crypto-engine@fd45a000 { - compatible = "qcom,crypto-v5.1"; + compatible = "qcom,ipq6018-qce"; reg = <0xfd45a000 0x6000>; clocks = <&gcc GCC_CE2_AHB_CLK>, <&gcc GCC_CE2_AXI_CLK>, -- 2.31.1