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 E17F1CCFA0D for ; Wed, 5 Nov 2025 13:09:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:From: Subject:Cc:To:Message-Id:Date:Content-Type:Content-Transfer-Encoding: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=JviihLCt3v6d6CZovBHWlp8JXmmPFCMHNUL+edx3LHs=; b=3coZ79l/9hl4i7o2RUDj6h8WRT MFpw4/rrcPW1ULKsLqAknzKeQNQHNTNs+lvIjPAnzsIQ+7FKVuJasDG0+nhnVjMgbXJQJbr7nxnoY z2tyxo8UjoVtt+YMWmCTOge0Hf7jXMO4okWk+Sy1VVss44TJ1GiYn6hn4gAG0y1Udl7HvgzJvI/dv TAnXxl2XF4v8mX26x3OafUlAagQmbjgRfOcGf2FXzS/UgG7LzrkR5FYzEhRgPOCdQk+PTWs8SuG+I QYbY/roYrw7uiJIY/Zfw5H52RqOm2zipVZhrbBHNa0y2hzUVhpav0xLy+CEjZgRCOBYQ5rxfKkqmR RqP+3JqA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vGdGM-0000000DjeK-3CJv; Wed, 05 Nov 2025 13:09:22 +0000 Received: from out-171.mta1.migadu.com ([2001:41d0:203:375::ab]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vGdGJ-0000000DjdP-0cuN for linux-arm-kernel@lists.infradead.org; Wed, 05 Nov 2025 13:09:21 +0000 Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow-tech.com; s=key1; t=1762348154; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JviihLCt3v6d6CZovBHWlp8JXmmPFCMHNUL+edx3LHs=; b=MNTmIoYgYT8/lE217Au/8HIwzXrmYeDqSa3iJuB2cz2XV0ASGUqU4Jn+7U+k5/x8VuoUmh wQM4ZwYXWDcsU7vOdXVFhoiwmcJe7dDaRSDvVJVGfGz3wrclxU+mpJ5dFoCmivN9vdAS18 sLVRoR2CRPiYUem7AmPTd7Whw6gsk+L6BDCkstcw4el/O7xgCyJ01yh2kvge79opSk7jAy OvgqFm3rNxMCWNc1v/M/5WWG/ItEEUahS0kpFDtVv8XJR7SdC5LjYLCGmfRgRPrUFeg2dG novMFhyOvhRD7jHLq93j6hNgrs0VqfXyipAM92miup/izAs0i8wqEVgnQ13kZw== Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Wed, 05 Nov 2025 14:08:59 +0100 Message-Id: To: "Heiko Stuebner" Cc: , , , , , , , , , Subject: Re: [PATCH 1/3] dt-bindings: clock: rk3568: Add SCMI clock ids X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" References: <20251103234926.416137-1-heiko@sntech.de> <20251103234926.416137-2-heiko@sntech.de> In-Reply-To: <20251103234926.416137-2-heiko@sntech.de> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20251105_050920_392356_14FE948A X-CRM114-Status: GOOD ( 12.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue Nov 4, 2025 at 12:49 AM CET, Heiko Stuebner wrote: > 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/+/3126= 5 > 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 @@ > =20 > #define PCLK_CORE_PVTM 450 > =20 > +/* scmi-clocks indices */ > + > +#define SCMI_CLK_CPU 0 > +#define SCMI_CLK_GPU 1 > +#define SCMI_CLK_NPU 2 > + This corresponds with the id's in ``clock_table`` in TF-A's ``plat/rockchip/rk3568/drivers/scmi/rk3568_clk.c`` file, so Reviewed-by: Diederik de Haas > /* pmu soft-reset indices */ > /* pmucru_softrst_con0 */ > #define SRST_P_PDPMU_NIU 0