From patchwork Wed May 19 14:36:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442448 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1386405jac; Wed, 19 May 2021 07:38:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSOUQihA+E99mA8tbadcEO0Q8f3RfZAJ2qrh+xIGd0URtSFfwSwfZRAZ5W7FyJxn5eOJLN X-Received: by 2002:a05:6e02:b47:: with SMTP id f7mr11677337ilu.261.1621435131304; Wed, 19 May 2021 07:38:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435131; cv=none; d=google.com; s=arc-20160816; b=hQAqMhJ+VDzH8XdV6BMkFeD4r7k+xSKn6Jtcf0VDMayOBBN1DzVsCdK2WZUD2u8Tjy kt7CYpPICIZ9YyGwawyk9NVc/Q5k3G5jUt3/ls0kbfkFlvXLJMVcQIqK80UoOh06TkPX 09hES381ocVEoy+CrWK70hl3ud34kLUt0q7sTPa3zurR0c1jVWLWnUwW0hEnMiA743tw H/MOCuOq9RcnwAHrhry+RhzDBncgLgAGzHRJTE32Sabax2T/M7c6IgwtqTgdW8UIwISw NMiI6BBqktwgt4RRTOoXIVE23ffOme6lA1dKe3Kl5pl5n7mV2+nDYnUfO8e7vQX6xcBZ xvig== 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=N4+Pmvy+Kn++u+tJ4TtTc+C+SSq9T8K7CwVNxOIPf08=; b=zwogh0IykA1S/zT5Zn4Y2s59lHfDf+2jwaxnMN3BIACNkSURl574nyHgKmFlLl/ciu 12Ffgt1B8WRrV08zJRUmIK7Rxc+Imrz3ddzi55o1kLnIlJ+bcA136DTiIuHVD0UFHUsH 5pdDobtsAxKaRGo8eZjSee/u0RAa0Zm1l1nSOgnB/qjW192mlFfoDz4iA2jp9Yp9lT2t xIOJIf3NxusGQwFpK5qsTjY46ZThv+nb36hn6PBGcibus5ZFS+/B1kPDBeAwKfTLMr9X UMc9mWs8P1OakBy+EbEg34D7IYCPJoJSDE1svRiMxT06XLCipUOOzSAqaCoRicZwkqQz IqlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x2HRCTgG; 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 5si25375096ilx.117.2021.05.19.07.38.51; Wed, 19 May 2021 07:38:51 -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=x2HRCTgG; 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 S243478AbhESOkH (ORCPT + 7 others); Wed, 19 May 2021 10:40:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354355AbhESOjk (ORCPT ); Wed, 19 May 2021 10:39:40 -0400 Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E6E4C0613CE for ; Wed, 19 May 2021 07:38:19 -0700 (PDT) Received: by mail-pf1-x42f.google.com with SMTP id 10so10053999pfl.1 for ; Wed, 19 May 2021 07:38:19 -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=N4+Pmvy+Kn++u+tJ4TtTc+C+SSq9T8K7CwVNxOIPf08=; b=x2HRCTgG0GipiWBQV07MrWomyjGTmV7e4awp8zrWM08SFfCgZhcczG3pxZ8iD2a1/d kAyVzuq69LQyP0DH5u32JgTO48NM0M4agymuMF3Y9akEUjkPGSnpqualcBZl5Ue3lLvr h2+udxNYvoW8ZM9ymO8oRwyLaJkasizAM7pMMZLyQJzZoVO8lpaitttXtcVF+I5FLH89 WN1gbQo2LRRpT5OPvqlATjjUahEWcsUSi99+xxRd9LEynK5VUH/lCulfveJozVyPs5OA uFgEO51te7ziVGkJRdeKwxlRDLlhzFDQX3T5VDhwxhCq8bjJ6PbcXW5aCW/02q4cidEr ISIQ== 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=N4+Pmvy+Kn++u+tJ4TtTc+C+SSq9T8K7CwVNxOIPf08=; b=A/HrjBbPqPvwkBUi7Gmzl1v0S/E721Iy611pM1pv+fOFq+ewE1eKTY1StWscWZX03x Kkfb4GLbvYf7cIx0URI6biipxZMolPFwn89vW0i4btmJ/G2b6X9zaqOlJXYF01py00gW LyvvTCc8uK6fse/55UZCrTp7J+uoOqfB6GsCrXFxuo7cEygOUL3YH71eiV91uCezzqP5 b050hHzICh3+zrrWI75q2rI/pfBxDTGXLhuY/wG9+bW6/g6ycMZdsMcrljsZnfKj64V7 g/D0YuLlXhE+Hi9xnbQ48tmVY56KydZbck15i+QpLWKg59JwM0rP0DHlbhPsMmY7sdKj JJHQ== X-Gm-Message-State: AOAM533b6szNZmNQBgt040fKhT82+ETU3AAICUAy8qpHC+KU+yAkYvPP ZuMS5bLa0GIGGXJ1qMr0qyt/Fw== X-Received: by 2002:a63:bf4a:: with SMTP id i10mr10994699pgo.200.1621435099126; Wed, 19 May 2021 07:38:19 -0700 (PDT) Received: from localhost.localdomain.name ([122.177.135.250]) by smtp.gmail.com with ESMTPSA id o24sm9239515pgl.55.2021.05.19.07.38.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:38:18 -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 v3 08/17] dt-bindings: crypto : Add new compatible strings for qcom-qce Date: Wed, 19 May 2021 20:06:51 +0530 Message-Id: <20210519143700.27392-9-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210519143700.27392-1-bhupesh.sharma@linaro.org> References: <20210519143700.27392-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.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.31.1 diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 4be9ce697123..7722ac9529bf 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -15,7 +15,12 @@ description: | properties: compatible: - const: qcom,crypto-v5.1 + enum: + - qcom,ipq6018-qce + - qcom,sdm845-qce + - qcom,sm8150-qce + - qcom,sm8250-qce + - qcom,sm8350-qce reg: maxItems: 1 @@ -71,7 +76,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>,