From patchwork Wed May 19 14:36:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bhupesh Sharma X-Patchwork-Id: 442447 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp1385900jac; Wed, 19 May 2021 07:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNu3KiQ6J+wDmbX3KRg9vvOMEDOsBHN0TF31nnFTzU673B96GvszKA0NpIhlialqZCfXp5 X-Received: by 2002:a02:688:: with SMTP id 130mr13604578jav.48.1621435097363; Wed, 19 May 2021 07:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621435097; cv=none; d=google.com; s=arc-20160816; b=VJtM3El2UezngbAnaI75DrcHsYRgnvre0t09I19RU4Ry75SaDXdDedbPwSAGyS47R7 552IJnS+KXutVRRanMlfAUCYzRZI5PPMlnLvs+6kwp60Soc63fQBO9JsErMBkalcLLGX pKEM8C56s8rhcu/KfhLMsKjq0f/nLInuR8PQm22lx+d4VMza3LMBj98qV7o2L13VnnYd we+QJgXswidTL6e5uYQVz0re/YSZs6SwaQ3+9pjqegcnbmcxYunEcm+hhSiJzFgAXvNT i9wl7jQ6Fj/FYMByEQJGT+LULHWUtpwtNlsW2UwZi2WQgU6X7V2SZEJhapNPh4WgOmAO qoYg== 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=/W6azUUE1Twja3FY7bt61gqSPj92cSqiD8Un8maDnxA=; b=tGrXP2Ounj8ogrfOBq6ehqcUEecpzVW1G6H6EVJJ0R+hU3esjJLMXT/0IKiwfgo4u5 qMhAAEpURHubje/ro44BZQApEqOzNEZ/92hZjJumbyI40PC/847EWpRG2p5BYnkUEGn5 /WyQqi8Q39ChWaYzKQamppIrMTSvovVMHiNrLS/8P4kRYyPZ/IYyhpq4HIZRDdnPsiaj 3zacB/jRkJqV9Iz+iEeI60evU3PYz8Md3pVyBhStRDpN+e0ve2EZrrOWQY1J91qVTJsr lCtTU/4jBXhv/gBhNgm4Fd4U2KnVGIfbh+bOWzwQzuLBGFZHSKt1MZYUkdNJmJj7G6CL j2kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kCyBhJZG; 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 n4si23252560ion.59.2021.05.19.07.38.17; Wed, 19 May 2021 07:38:17 -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=kCyBhJZG; 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 S1354291AbhESOje (ORCPT + 3 others); Wed, 19 May 2021 10:39:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354278AbhESOjc (ORCPT ); Wed, 19 May 2021 10:39:32 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EB01C0613CE for ; Wed, 19 May 2021 07:38:12 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id x18so5742782pfi.9 for ; Wed, 19 May 2021 07:38:12 -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=/W6azUUE1Twja3FY7bt61gqSPj92cSqiD8Un8maDnxA=; b=kCyBhJZGO6qUJrlRysy4+Nv4CLYlylZc3tBEI8W4U1wmH3c4bQXckCc3dnxJU+NfXM BfdBLML+2jRQsk7WbX8NvtyEOMFUbVswuY89ywECZWrUzmfTk9qhmt1uf5D6jcpufRXS yP9AFzCegCI6JG1SrOmPplG39WQ/edeAv/S6HT0M1Nglbcqk65abCVCFrMcHWw/83Har gqTrPFgc+JbKbrDf2mcgx2zCbMDDdBFPUb86BdY2y1tU/D1E9z9F3b3u7OjHBl0zJRcx Qh71OoJvzY7yItHn56MNpXTN86tYgAIq7n72SwydDlmTnbfDCxgx7AmKMgkcxh8r5+0j Qd3A== 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=/W6azUUE1Twja3FY7bt61gqSPj92cSqiD8Un8maDnxA=; b=sRUTunKUID6QuHVzVYB7pjvbFSFNVYM+t/89wQwMrGnvymCxiIKhyO9ORDeqszwvUn M9wJpu4+akV1oxhuASNlFXpZoKPlOmBldcgCC3pz0KokQ5RGE0WkOEZqRRAqD1iP6f6B vgtV/m7GsZ6XUacwrLTYXAFpg6mIvWX2+bZixqoymxauzBM3MzlIfmRjeQ4DAjLXH8nE sTOb1Hg4RayvXh2zpGcX0PW5byNlkUQ8vI4N2X3b1I76+9l7VEcl92h8RuX1CESVa+zI 5rRZzac7ekeWLnmBJ/MojJBla+ZNyMgG6MEr0YmWpEtIG7yUvFjzYXz0Q3L7Yb33M2vn mvXQ== X-Gm-Message-State: AOAM5331wES3KuDUhWScTBFWtcyjsXmLVL0fWTtJf8V8yBg8mPM7Xr0i CC0MyKVJpqeQ0brqXWFCi0QhSQ== X-Received: by 2002:aa7:91d4:0:b029:2c5:7d17:c20c with SMTP id z20-20020aa791d40000b02902c57d17c20cmr11250321pfa.4.1621435091682; Wed, 19 May 2021 07:38:11 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 May 2021 07:38:11 -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 07/17] arm64/dts: qcom: sdm845: Use RPMH_CE_CLK macro directly Date: Wed, 19 May 2021 20:06:50 +0530 Message-Id: <20210519143700.27392-8-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: 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: 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 --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Reviewed-by: Thara Gopinath diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 0a86fe71a66d..2ec4be930fd6 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -2316,7 +2316,7 @@ cryptobam: dma@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";