From patchwork Wed May 5 21:37:20 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 431216 Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp867743jao; Wed, 5 May 2021 14:38:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+U7qY3VDCZ2zGeEc1tX4pENjDsWPHfPe6qlRY6I/+V9T02LJhhCInRqFZaXss4caRDX2M X-Received: by 2002:a17:90a:9509:: with SMTP id t9mr13920895pjo.3.1620250723020; Wed, 05 May 2021 14:38:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620250723; cv=none; d=google.com; s=arc-20160816; b=q6xKDnI20xtIpZxP/R4rlZNKs0PbfednFxUtiSV9LUGtU6BL11dVTgIrlis5cdunYO TmhDcpcYx9yeQhlAvPEGRF6NgjA6U0dpFMwl8r92QcdYNc7fjJBUIwvojeaj1law0bPl NzjZeD5qBGj+GSUret2lWPcd/eQuumh5/8InP8FsfE6PdWK98Dyg2r5Wy1Do+QNZaMJR TuNJrBdFR/GcbUKzuo7ImaV5rJudAm4d5xg9gAhpOx87FgkHdoEoUJRrHL1os89g2Ck5 HYKeBvR/KhkWVPchbC543TTYxseB0BsF/su86hEBaMk9a8AbSBWMQBvTNrlq/nlOqUS4 /xLA== 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=Hn7TfYIdfqD0Oz8Zkvw4koFjDOZwR1ktbKdET4xonRI=; b=vtcH4EvpW9PRb05a3GtmObJD6jA+d+sBVt+8lPCe7q4XfWDoOgreDd7ul7ThYKXccp iAe4cYj+5q02TphiCf419pYnjxxL425f2O5Xzc3oDK70sywRxi4hgrFtgn1bfa9vIbck Tmjehb1tYrYHuIhA7akTzfa9A/y4X6ZU/D58csSwgQRHQdYyLPc6ghTrZR0tFjQHpETe IpFquJ6nAwRD6EhNr2oma8NxXwXaY2rP5ZbmdLGq2rjNSAkW9HwwKB7F918xcQk0ZPXz SjlooxmEq8Oyj6fLXkhfpAMx/b6VV7Ni5GBI+yboPcPq4Of+Ceyh+D4vVXzi3Z7FZa1x D47A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kg1P1d40; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 c20si489396pgc.344.2021.05.05.14.38.42; Wed, 05 May 2021 14:38:43 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=kg1P1d40; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S234074AbhEEVji (ORCPT + 6 others); Wed, 5 May 2021 17:39:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234015AbhEEVjf (ORCPT ); Wed, 5 May 2021 17:39:35 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0D88C061761 for ; Wed, 5 May 2021 14:38:37 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id m12so2797969pgr.9 for ; Wed, 05 May 2021 14:38:37 -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=Hn7TfYIdfqD0Oz8Zkvw4koFjDOZwR1ktbKdET4xonRI=; b=kg1P1d40yTtEG4b3W3pZCw8Z/F3EGVZYk24xAubD+8ctiTWheYqABJrrsBfj7b8QNC VLMdYpk/Xq2C+BmQjZZoV5XT+RYkwAnJ0DoGA7kTRFOdSNXPB9+N2BswsCHYzxmyvC1y iKVV9h5oh9MmQjOh9Qow75M3NqetBTOo7XvvITALJY3Gu4QBXVG/cuxvnQTFqYtdxRjr +LnMZDvo2ragoamp23py2/wnW/1gCtaW+DpgUGttqzDklozot8WODqF6lMjEFrF6rgo4 nqsOtBrWDGy+6Qi7f/4Pv2kqBQpIn0I6ZwV1j8ifAyE/nAYjhwac3inN1P7Od66lpBma k9Ww== 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=Hn7TfYIdfqD0Oz8Zkvw4koFjDOZwR1ktbKdET4xonRI=; b=CDVzQYcpOmVRwwEd082sGiinLcJeUbj7qMRwLlBIsJq8L9BOWXFJzrPmjW4ENHo2wY dJJpOfT41/jdGqvU65Aq9rR3+ml0xeU2smeOBIVyit7OpYjXYec/+72rZk8QDpCP00RG IDwX9D5WHclzwcyze1F6bWJzCM+a2/UgJSG3t3PxOsfzScaNW+/hvn9q+1FhUZKQmkDz fBnFbE1zwy3eC0coyUhgvnTdYujxBNNcs+weA/XDg0Igc5FBiiSXPohlKz1Q6qHEQ648 kbu16PmKCxc4/1EiD7yt2rFEJKJzi74+oP137axKFtlHdwLhaWAZQOP8q5AMDl6OkCfy rgGA== X-Gm-Message-State: AOAM532PqBsj/WMJk4zvjqjuOUuozx+cnSHRgfk2pL+cBh3pmEUXF2Yz GTRS3xCFvMgd2naBdGGif2YEPg== X-Received: by 2002:a63:4c55:: with SMTP id m21mr923423pgl.251.1620250717194; Wed, 05 May 2021 14:38:37 -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.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 May 2021 14:38:36 -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 06/17] dt-bindings: crypto : Add new compatible strings for qcom-qce Date: Thu, 6 May 2021 03:07:20 +0530 Message-Id: <20210505213731.538612-7-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: devicetree@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. 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 --- Documentation/devicetree/bindings/crypto/qcom-qce.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.30.2 diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.txt b/Documentation/devicetree/bindings/crypto/qcom-qce.txt index 3f70cee1a491..814fe3c577fb 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.txt +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.txt @@ -2,7 +2,12 @@ Qualcomm crypto engine driver Required properties: -- compatible : should be "qcom,crypto-v5.1" +- compatible : Supported versions are: + - "qcom,ipq6018-qce", for ipq6018 + - "qcom,sdm845-qce", for sdm845 + - "qcom,sm8150-qce", for sm8150 + - "qcom,sm8250-qce", for sm8250 + - "qcom,sm8350-qce", for sm8350 - reg : specifies base physical address and size of the registers map - dmas : DMA specifiers for tx and rx dma channels. For more see Documentation/devicetree/bindings/dma/dma.txt