From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BB08BCCFA07 for ; Mon, 3 Nov 2025 23:49:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=lqByeuQOA/e5U+8+HH3QgrlVMkgcCAj8C1QVWcayf48=; b=cqBJ0Obbs8r2PN fpSqfDGJOi3Xm6Qb/LdVaK5sBH1u79kiqxRwCgU49qcyhpr3ace3pMsH8eireCwiCBuBa3QF6qt4m GHVX8H/vnUzYXowH80w70Yilq1sALUKLgbEL9+bsoi441nTDfRb64OZyJDXjXvjRC/jZWOQwGUKX5 66PsCn6eQzsdQoTBELR2Fzf40tRrW6A84VQf61IzEpMYKchVsQjwikZlFRmnA9yY/J42rvqbCh1jE YMP+xJ0L4tdUXfc8VvYbvBsj7/p6UPDNKY/R7kAyclItkdxYV/ezfrk/tJZIOTKB2P4eapSTrumdV rcgG12HjbfYHtCkxZeLg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vG4Ip-0000000AnwH-45LL; Mon, 03 Nov 2025 23:49:35 +0000 Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vG4Im-0000000Anu7-1K2C; Mon, 03 Nov 2025 23:49:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=ow42XSSS62Xe13Q+xB3zV8SuFB8IbXgX8m/GeyD8hWo=; b=aA55i6rk4l/b1l8B/8wSmhzcuN kUb3M+yCS4u7TzUA2TZUZJr3CdICOYcI6JvsohJJwKmQGPdbBnUKVZ1EZ5ieIapRGcCkgi5mAlDXc wsP+wHxU7rwIH/EpQf9ErzUoNifptPnDIbDA0i2rb/cKel3ICGfDStAs9CqwXQW+fIzpKQ7v3ALMQ vHY8Hm5rbFY9uDOtj8ww7PDSiGRv4SR7pPgYQOXDab+PORBuWlgscOBcT/CikpmX3qWRWtmey4GVW Xo07aSlGdSSHK78kAqUG2Y5+aAIB4IVvcY4JsFnhZaSacdVNAa5fXwGfDbJ4zRgaYh65svkC5+p0N 82EFC3Gg==; Received: from i53875a3a.versanet.de ([83.135.90.58] helo=phil.fritz.box) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vG4Ij-0007vT-To; Tue, 04 Nov 2025 00:49:29 +0100 From: Heiko Stuebner To: heiko@sntech.de Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, michael.riesch@collabora.com Subject: [PATCH 1/3] dt-bindings: clock: rk3568: Add SCMI clock ids Date: Tue, 4 Nov 2025 00:49:24 +0100 Message-ID: <20251103234926.416137-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20251103234926.416137-1-heiko@sntech.de> References: <20251103234926.416137-1-heiko@sntech.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251103_154932_355272_80B32D67 X-CRM114-Status: GOOD ( 11.43 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The Trusted Firmware on RK3568 exposes 3 clocks via the SCMI clock interface. Add descriptive IDs for them. The clock ids are used in both the older vendor-binary TF-A, as well as the recently merged upstream SCMI clock implementation. Link: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/31265 Signed-off-by: Heiko Stuebner --- include/dt-bindings/clock/rk3568-cru.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/dt-bindings/clock/rk3568-cru.h b/include/dt-bindings/clock/rk3568-cru.h index f01f0e9ce8f1..1e0aef8a645d 100644 --- a/include/dt-bindings/clock/rk3568-cru.h +++ b/include/dt-bindings/clock/rk3568-cru.h @@ -483,6 +483,12 @@ #define PCLK_CORE_PVTM 450 +/* scmi-clocks indices */ + +#define SCMI_CLK_CPU 0 +#define SCMI_CLK_GPU 1 +#define SCMI_CLK_NPU 2 + /* pmu soft-reset indices */ /* pmucru_softrst_con0 */ #define SRST_P_PDPMU_NIU 0 -- 2.47.2 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip