Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1754215pxj; Wed, 19 May 2021 13:08:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTo0xEWrSYOhs8X20NxtAZLjgy26fNHmr7OCory1b68UN0fnzY2TopdmOinkguCf9m9+yn X-Received: by 2002:a92:c884:: with SMTP id w4mr934880ilo.117.1621454912632; Wed, 19 May 2021 13:08:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621454912; cv=none; d=google.com; s=arc-20160816; b=fYYGogzlYBXOOohbqANvi5uaRtl1VColBgtEjyA6ehLQvXLwITbuhAgqHda4BoYvkA A6WWFHp2YuYeZBuCOzjfuWSFdu2tjiN9yiROsJmTjFunP1u0v0KcRYIVxpQz00FeymVM kH1cxNkIXHPzCLAGufo0m/TucJ+KSX8YOrhrvQBgP5yYvXZQICXeD+iPkAV0J5QH87+X Cb7lcfoP/rYeuIzl4wsiBvNl2StZOfimP4idedL4T+rSvl+RkaYh+Wg0ZrlTIePcP6lY gHu7KYW+U5WE0lp07Y00lTVYq6aHbjgKWXUfMgdD5APaf3M8eD7+qR3dh+6kUzL+UpaL fanA== 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 i20si311498jal.25.2021.05.19.13.08.19; Wed, 19 May 2021 13:08:32 -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 + 99 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 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: 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(-) 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"; -- 2.31.1