[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3cd275cb1f53a5fdfbf7028f233f4fd7.sboyd@kernel.org>
Date: Fri, 15 Mar 2024 15:41:14 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Wadim Mueller <wafgo01@...il.com>
Cc: Wadim Mueller <wafgo01@...il.com>, David S. Miller <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Rob Herring <robh+dt@...nel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Conor Dooley <conor+dt@...nel.org>, Shawn Guo <shawnguo@...nel.org>, Sascha Hauer <s.hauer@...gutronix.de>, Pengutronix Kernel Team <kernel@...gutronix.de>, Fabio Estevam <festevam@...il.com>, NXP Linux Team <linux-imx@....com>, Chester Lin <chester62515@...il.com>, Andreas Färber <afaerber@...e.de>, Matthias Brugger <mbrugger@...e.com>, NXP S32 Linux Team <s32@....com>, Alexandre Torgue <alexandre.torgue@...s.st.com>, Jose Abreu <joabreu@...opsys.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>, Michael Turquette <mturquette@...libre.com>, Richard Cochran <richardcochran@...il.com>, Simon Horman <horms@...nel.org>, Andrew Halaney <ahalaney@...hat.com>, Bartosz Golaszewski <bartosz.golaszewski@...ar
o.org>, Johannes Zink <j.zink@...gutronix.de>, Shenwei Wang <shenwei.wang@....com>, Russell King (Oracle) <rmk+kernel@...linux.org.uk>, Swee Leong Ching <leong.ching.swee@...el.com>, Giuseppe Cavallaro <peppe.cavallaro@...com>, netdev@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-stm32@...md-mailman.stormreply.com, linux-clk@...r.kernel.org
Subject: Re: [PATCH 1/3] arm64: dts: S32G3: Introduce device tree for S32G-VNP-RDB3
Quoting Wadim Mueller (2024-03-15 15:27:47)
> diff --git a/include/dt-bindings/clock/nxp,s32-scmi-clock.h b/include/dt-bindings/clock/nxp,s32-scmi-clock.h
> new file mode 100644
> index 000000000000..240022c1f109
> --- /dev/null
> +++ b/include/dt-bindings/clock/nxp,s32-scmi-clock.h
> @@ -0,0 +1,158 @@
> +/* SPDX-License-Identifier: BSD-3-Clause */
> +
> +#ifndef __DT_BINDINGS_NXP_SCMI_CLOCK_S32_H
> +#define __DT_BINDINGS_NXP_SCMI_CLOCK_S32_H
> +
> +#define S32_SCMI_COMPLEX_CLK 0xFFFFFFFFU
> +#define S32_SCMI_NOT_IMPLEMENTED_CLK 0xFFFFFFFEU
> +
> +#define S32_SCMI_CLK_BASE_ID 0U
> +#define S32_SCMI_CLK(N) ((N) + S32_SCMI_CLK_BASE_ID)
> +#define S32_PLAT_SCMI_CLK(N) ((N) + S32_SCMI_PLAT_CLK_BASE_ID)
I think we've been recommending that scmi clk consumers simply list the
number instead of making up defines for them.
> +
> +#define S32_SCMI_CLK_VERSION_MAJOR (1)
> +#define S32_SCMI_CLK_VERSION_MINOR (0)
Why is this part of the dt binding?
Powered by blists - more mailing lists