Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp27848rwd; Fri, 19 May 2023 14:50:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ57DGVuQxDAoIva313W7bxqWCJwcr4KkN7eiBczm/xUoJnn6Pwv+tLgFYO66s8S699MGlny X-Received: by 2002:a17:902:b093:b0:1ac:a28e:4b1d with SMTP id p19-20020a170902b09300b001aca28e4b1dmr3422093plr.34.1684533033479; Fri, 19 May 2023 14:50:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684533033; cv=none; d=google.com; s=arc-20160816; b=wjL6UP0dn64pM3dr1hKi+RYS2xAomBtksj+LfESwEO/WVC4fjEzFtF2dtTo5h8OgT2 MUfXcP5CyNxXr7FNRQ6DeM/Ie0zBSvrRuk0Dxp+V1R4o765VM9FGa3eZQKOfqpEcQwD8 WGTaODwKdHi3Yh6MCaKn/lk7sVb9I1phgZ/b2QQmroanb7aJZjZSOxFQcsCxTz8s0pFJ mEbjy/R0/OV3Tvp7abul5rGdUpPMhJEE7iCsy+xefV76QiW0Pk6TbG7CTQaQjKW0QRu4 h+WQRhCccJjYlAythMiFns4NqiDbOnkD+/vwyFSlrVvAa/n8pz/JYwR6DVjeoifKxGQC N14A== 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=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=s+UsZj5b4fMR58drEjZvTibRiK5UF89xT99NKefJHPubSnWikfMY8O4cdYSuotdqTQ njQOZVqLDLMoS+BTdh1shFGLyRBF9mTmY5WAPnDxlbuDyASwrxWTwnAYy+dWpp08tTL9 4UH7FEwKyz8rX3RYjfaBnRH3uLe0TABLhJnt/q3IoqDDDbqcjZtBF+x9h6U+uLZrvCOH Xj/jwAW9gOacy397Pmh5G2dn3JDSJLxhkn6IiqlQg6VZ5t1MC567AnS8bHEK92kwnbeG mlmUXBgfXNzD0/YjxBWzkn3xse9c2F8NlPLNtTisGdDuNXyhH8TbPhzIywtPWN8Bh2JV 0k3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xneVNezd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jk11-20020a170903330b00b001a6ce2cdb20si171046plb.244.2023.05.19.14.50.19; Fri, 19 May 2023 14:50:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xneVNezd; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S230502AbjESVtr (ORCPT + 99 others); Fri, 19 May 2023 17:49:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231272AbjESVtZ (ORCPT ); Fri, 19 May 2023 17:49:25 -0400 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D3BB6E6A for ; Fri, 19 May 2023 14:49:09 -0700 (PDT) Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-64d2981e3abso1540732b3a.1 for ; Fri, 19 May 2023 14:49:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684532946; x=1687124946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=xneVNezdg3Qhn1i2UsRdOk8txhSI55rOdul9umRKZJcSkSmgwvSfoNUekhfpIoAwRZ 9fmM2AlcqJub567tFBFZbwqRjYJ48FjGexMiUu+Ahu9wKJ9QoKGi4w/UEoO3i9B3h3j1 asLOwJbbeip0sRtP7OxxEPcnDoYPwILOd5oHGukLgSmeesLf5jsQ8OoXQBr4Tcy+wGEL CAVBWiGFt50gLliyfsPsN6pQAHQpdRye07mi73EHasmneZvHsLZkF+0nbbbSL9JUfUq+ eC1RCSHdUzwnDhra44eGW5i7YJXbhzIy4BqVLlJX3FwgJqW8GAD+2EGNini/oEnlhywL 7+bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684532946; x=1687124946; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=prFhwvSxBQ/UQ8d4CbWdnfwjRcrN8xUyHXxMGOEWxfk=; b=FSxmp/Dh1nRnWv/BmjNoGpFlYwbFcNZM9R4ESBEP9K6HcIhUVImjdKB0+5JMHXeI9U hz0Mnr0MrI928unvvF+H4M5ZFIZseIKifW91OWSRxoJ3RbukZLHx//67y2UQyq5Soia/ /CfSExxMiWf6OL9uFz3etqxoawMfxLnyC+/BUPHNwOXKM1W1Svqzkn5DfLSiz2kKuI8x 5n3C69LBqFTHPH84wFbMqJOKGgkjvKAG8rvLYeNQ6DvtSESQ7sABvMQylymmSo2n+SUr c2eSsZ8KgXc6pO0kp0M5IEYebV/HwQ/PF/h9Mf3kJmRShHTnzYoHM7b2BFVTgJyoN2+Y zKuw== X-Gm-Message-State: AC+VfDypfS2TCYIeqBbIP4ofhPx3jgHeljI0kM+n8NY+Chglh00+WFYV eiTXFLd0T0a+hT15jEaZBF8lPQ== X-Received: by 2002:a05:6a00:893:b0:634:7ba3:d142 with SMTP id q19-20020a056a00089300b006347ba3d142mr4831542pfj.10.1684532946605; Fri, 19 May 2023 14:49:06 -0700 (PDT) Received: from localhost.localdomain ([2401:4900:1c60:d309:883d:817e:8e91:be39]) by smtp.gmail.com with ESMTPSA id n14-20020aa7904e000000b006470a6ef529sm144891pfo.88.2023.05.19.14.49.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 May 2023 14:49:06 -0700 (PDT) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Cc: agross@kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, andersson@kernel.org, bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, krzysztof.kozlowski@linaro.org, robh+dt@kernel.org, konrad.dybcio@linaro.org, vladimir.zapolskiy@linaro.org, rfoss@kernel.org, neil.armstrong@linaro.org, djakov@kernel.org, stephan@gerhold.net, Anders Roxell , Linux Kernel Functional Testing Subject: [PATCH v7 06/11] dt-bindings: qcom-qce: Add compatibles for SM6115 and QCM2290 Date: Sat, 20 May 2023 03:18:08 +0530 Message-Id: <20230519214813.2593271-7-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> References: <20230519214813.2593271-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The core clock for the Crypto Engine block on Qualcomm SoCs SM6115 and QCM2290 are provided via the RPM block. So mark the compatibles for these SoCs to indicate that only 'core' clock is required for such SoCs. Acked-by: Krzysztof Kozlowski Tested-by: Anders Roxell Tested-by: Linux Kernel Functional Testing Signed-off-by: Bhupesh Sharma --- .../devicetree/bindings/crypto/qcom-qce.yaml | 44 +++++++++++++++---- 1 file changed, 35 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml index 90ddf98a6df9..bb828068c3b8 100644 --- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml @@ -35,7 +35,9 @@ properties: - qcom,ipq6018-qce - qcom,ipq8074-qce - qcom,msm8996-qce + - qcom,qcm2290-qce - qcom,sdm845-qce + - qcom,sm6115-qce - const: qcom,ipq4019-qce - const: qcom,qce @@ -52,16 +54,12 @@ properties: maxItems: 1 clocks: - items: - - description: iface clocks register interface. - - description: bus clocks data transfer interface. - - description: core clocks rest of the crypto block. + minItems: 1 + maxItems: 3 clock-names: - items: - - const: iface - - const: bus - - const: core + minItems: 1 + maxItems: 3 iommus: minItems: 1 @@ -95,9 +93,37 @@ allOf: enum: - qcom,crypto-v5.1 - qcom,crypto-v5.4 - - qcom,ipq4019-qce + - qcom,ipq6018-qce + - qcom,ipq8074-qce + - qcom,msm8996-qce + - qcom,sdm845-qce + then: + properties: + clocks: + maxItems: 3 + clock-names: + items: + - const: iface + - const: bus + - const: core + required: + - clocks + - clock-names + - if: + properties: + compatible: + contains: + enum: + - qcom,qcm2290-qce + - qcom,sm6115-qce then: + properties: + clocks: + maxItems: 1 + clock-names: + items: + - const: core required: - clocks - clock-names -- 2.38.1