Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3334957pxb; Wed, 13 Oct 2021 04:00:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5I43/qrn13ZFqAdBMVPSHFUnI3aydr50e8ZKqYG5C43rilmcGxmtmjWYKLaF4f8432h5O X-Received: by 2002:a17:907:9889:: with SMTP id ja9mr41972337ejc.361.1634122840557; Wed, 13 Oct 2021 04:00:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634122840; cv=none; d=google.com; s=arc-20160816; b=RVV/cH9dgeWtS3zxImWl5mtDSZ93Ak9Oail0Esdnf9AGk2HrQCnxNgM2zVoMQMv1sZ xf0tPnSnFwpS/ep/C/VkIXSDXoZ+4iGZqGpUYw550GuXNnXFea+dfyT2EvPhHv3T9rjN EXNKvVPAXxEtXjFeCcEowHXiBcDTNTSjjR3pzWHDWjOoV6aliTzgaXeDQCfnl/zieNzP Jh0dBOXC8bkhpvgbrcdPUIexuMIFtkxNJrA0wTDxxuLDHxX0rSu3+ImGI0tU/viOmA0g zYEfxcTprSmg+iIMKaV6ccd8WRHFr/4DN4kxyLdDmqWZ2QkA4jAUgBzelqwEuQckIExL Nzyg== 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=/pyODqkukGQl+Vrz63im0QcSLiwmTtjxEqIvcDs/jLA=; b=fNuyiy+RFzAjN5acFChawJxja0mLI8pBRkYd7ngIEHPs/4ixZ8CveWPx7G89Uc/ngI Q+X5YJEDi4d7f5o4+k6yeXo6eA3GlTvr2QamvkYB5H8Ol5b+llB2GMUsYRkr942php+y lmRnuYe7ANqmxE6XibfAjVab9bJYfq81h2t09QjRF73SVeVQlbjpnwoSYdXfjBGW7Kek dHfkUQsQvwTXa1UeGv3dPQGKpWgDfn8mQDzohxq6LRnRQUABCc854eL/J1ZSIaKeNmxb uy58d91IV9hbUwnM/7AA0ZiLp5siHKrptTIvgbC9gugoyUGRPqZSrsYRBq+P5D0AoIG8 tPrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fxJ57WNB; 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 i2si10270976edc.582.2021.10.13.04.00.07; Wed, 13 Oct 2021 04:00:40 -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=fxJ57WNB; 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 S233226AbhJMLAX (ORCPT + 99 others); Wed, 13 Oct 2021 07:00:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234531AbhJMK7d (ORCPT ); Wed, 13 Oct 2021 06:59:33 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D5C7C061782 for ; Wed, 13 Oct 2021 03:56:42 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id o133so2087757pfg.7 for ; Wed, 13 Oct 2021 03:56:42 -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=/pyODqkukGQl+Vrz63im0QcSLiwmTtjxEqIvcDs/jLA=; b=fxJ57WNBEvlRBn8ueXr+2xSkBYKkXRBbUZ8oEsti3BUMi7DFeBvCF9aLyAFXreheyb mRMoBWBGSjTdQwdpSs//QcHzHuYE8RYCZBOd+6a9lW1D/TWMFx2V0MB7mIyizklotPBC 6I+DbCMR+v47jheHR9Sx7Pd/zWG15E52YNjcPWDlhyONe/3MzXJV2OmmJrmqx70tz16x z77PAaqs7t85yCPrkqIETSEH/Voi3vFjfFdY2XK/etiBPHFpHzYH59ZSM/gWoUnXyJGy C5FC1bt9ZJzA+LwlJ2jUzszIOXnU+ppG1unnMX0qw8iI2RXA2snCt8bE3icH8+elIQKy T9cg== 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=/pyODqkukGQl+Vrz63im0QcSLiwmTtjxEqIvcDs/jLA=; b=o4lIdMSFztoB+cpLOq60LL5A23RbInqbN4T+M2mtPC811ejJRYcNgFZrsuRByI7bLN GHZjH6auKVZS7ETQS56Z2e1Ug57WyI5XTEhx9SPLRsAbn4BfytyGa1sAV8/P2p4huy/h 1C504ywQsPLUv3zKeu8bZTnJXxXeuRXK9CN4Pin2Odq6iN2mCUFIPzAB5i48ZUFao8LN GDVQZ6YcX10bTFk4vzaY2Nn7iCIv80nQqIMB9hv0fLvvHj0mWhwpYPbLyVnjYA41euPa 3aC64C9FJJcBofuyUzzXGFnvjqjUXgwuth3vAtM9xUGDb8NuPnCKC3BMB2Onmvkr4Urq NjWg== X-Gm-Message-State: AOAM530KhfP5EOjM5pP7zSNrFcYQz4KJ0vQUnSbTtJiXKV0nirOH2Hlv 7GciN61JPQsKxHTxj2P9bHmaCkkzub7eXA== X-Received: by 2002:a63:6a05:: with SMTP id f5mr27161340pgc.97.1634122601586; Wed, 13 Oct 2021 03:56:41 -0700 (PDT) Received: from localhost.name ([122.161.48.68]) by smtp.gmail.com with ESMTPSA id b13sm6155351pjl.15.2021.10.13.03.56.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 03:56:41 -0700 (PDT) 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, Bjorn Andersson , Thara Gopinath Subject: [PATCH v4 10/20] arm64/dts: qcom: sdm845: Use RPMH_CE_CLK macro directly Date: Wed, 13 Oct 2021 16:25:31 +0530 Message-Id: <20211013105541.68045-11-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211013105541.68045-1-bhupesh.sharma@linaro.org> References: <20211013105541.68045-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 In commit 3e482859f1ef ("dts: qcom: sdm845: Add dt entries to support crypto engine."), we decided to use the value indicated by constant RPMH_CE_CLK rather than using it directly. Now that the same RPMH clock value might be used for other SoCs (in addition to sdm845), let's use the constant RPMH_CE_CLK to make sure that this dtsi is compatible with the other qcom ones. Cc: Bjorn Andersson Cc: Rob Herring Reviewed-by: Thara Gopinath Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 72ec48c4e03c..a301ca7664c1 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2316,7 +2316,7 @@ cryptobam: dma-controller@1dc4000 { compatible = "qcom,bam-v1.7.0"; reg = <0 0x01dc4000 0 0x24000>; interrupts = ; - clocks = <&rpmhcc 15>; + clocks = <&rpmhcc RPMH_CE_CLK>; clock-names = "bam_clk"; #dma-cells = <1>; qcom,ee = <0>; @@ -2332,7 +2332,7 @@ crypto: crypto@1dfa000 { reg = <0 0x01dfa000 0 0x6000>; clocks = <&gcc GCC_CE1_AHB_CLK>, <&gcc GCC_CE1_AHB_CLK>, - <&rpmhcc 15>; + <&rpmhcc RPMH_CE_CLK>; clock-names = "iface", "bus", "core"; dmas = <&cryptobam 6>, <&cryptobam 7>; dma-names = "rx", "tx"; -- 2.31.1