Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp69116lqb; Fri, 15 Mar 2024 15:41:29 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUhLb6VPeb+YfD0/hxy2PQKM+Gt5pkujp3JOjwQNfIjjhkZoqEnmWTy+4a51kmPvk/fif6OnSQGqOr3Nb+fzZt7R04hTeUId+WhiZQ9MA== X-Google-Smtp-Source: AGHT+IHjCA6u9TArqG5lzfpq+0E0k3g5D4JMzD+SjZixW13qePohARL8Dxq2KL1NBDaAsCVRBIbC X-Received: by 2002:a17:906:4a91:b0:a46:29ff:8dc1 with SMTP id x17-20020a1709064a9100b00a4629ff8dc1mr4288441eju.19.1710542488848; Fri, 15 Mar 2024 15:41:28 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hg15-20020a170906f34f00b00a433ebc18b9si2079991ejb.979.2024.03.15.15.41.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 15:41:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-104968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=fail header.i=@kernel.org header.s=k20201202 header.b=e8l9mfb6; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-104968-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-104968-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8B7991F239B5 for ; Fri, 15 Mar 2024 22:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D75A5810B; Fri, 15 Mar 2024 22:41:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e8l9mfb6" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 54C1AE542; Fri, 15 Mar 2024 22:41:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710542477; cv=none; b=cl/RcBqkGxZUxsmZY/uXobYGvhjqlNrBzM5awDAMJKE8bo7M48tRDMARPaiEcIvC3KjvIeamrZk5XFgjR4b9P2M21aCSsg/QBlfbw+MzcMXQk0aOCsDPskwItu7/0J5XO6qOuNyVLKqtz8lbYhYGX/+61fWzDAIQjaHxfY0b/a8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710542477; c=relaxed/simple; bh=+d8f7ozp1fczAC9vBPCNIiDBAqrIkkfS0UnjmlXtzwU=; h=Message-ID:Content-Type:MIME-Version:In-Reply-To:References: Subject:From:Cc:To:Date; b=SCkQZ3EHZS67WOpkVPo0lY44zeMnJMXmLfv62UMABuIRvk1LgRmEIjzH8jTpMbGeATZdQusPkpHCc/Rg/GDXq+gKfP0L38orlm6JD1mEfNiBYdYptpz+8IgzSdwFrFcm66r/B1QI0fKKLmX7QLjc2kHRui/b2UuP8NmN9Nd3GVI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e8l9mfb6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A938EC433F1; Fri, 15 Mar 2024 22:41:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710542476; bh=+d8f7ozp1fczAC9vBPCNIiDBAqrIkkfS0UnjmlXtzwU=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=e8l9mfb65Jxs98ZTM68IIz8f57uo0DoJOlcSADkTgiKJGrRoguFcFGgrdtO94MZLL yUQ1Y8ExfoREnO7PParl5J7v1hNubPSVQjZeV3sk3Trk9waECS/1a0m/gYwjo+93PY 1eOUeZVB8OBde9pSImLddiZaQX3oxyAt9rcHTCH3ekRglFIP9nNJZRz9Z0Uy9iHqB7 nrfbj4PZVHBZWMLmECgMabXWu9KY4TymyOBUGuMrIV8WrUjlwAPvWC29iOm45MZt+5 MPQrGyacW+5U+BAYTYlX4MBPCejDQzpxEfl2HXJJezJW1rh+4W0tldYBFcC1GxLi+0 hIod0XdaiSTkg== Message-ID: <3cd275cb1f53a5fdfbf7028f233f4fd7.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240315222754.22366-2-wafgo01@gmail.com> References: <20240315222754.22366-1-wafgo01@gmail.com> <20240315222754.22366-2-wafgo01@gmail.com> Subject: Re: [PATCH 1/3] arm64: dts: S32G3: Introduce device tree for S32G-VNP-RDB3 From: Stephen Boyd Cc: Wadim Mueller , David S. Miller , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Chester Lin , Andreas =?utf-8?q?F=C3=A4rber?= , Matthias Brugger , NXP S32 Linux Team , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Michael Turquette , Richard Cochran , Simon Horman , Andrew Halaney , Bartosz Golaszewski , Johannes Zink , Shenwei Wang , Russell King (Oracle) , Swee Leong Ching , Giuseppe Cavallaro , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, linux-clk@vger.kernel.org To: Wadim Mueller Date: Fri, 15 Mar 2024 15:41:14 -0700 User-Agent: alot/0.10 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?