Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1103485rdb; Fri, 19 Jan 2024 08:14:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6V1Xb/ITqDwWRFpU/Jt+B/gKurIeu7XY7D9MrVOZYJriejpA1fKx0zMKpKmhsD93vt0kJ X-Received: by 2002:ac8:5716:0:b0:429:c7c5:a07c with SMTP id 22-20020ac85716000000b00429c7c5a07cmr58305qtw.28.1705680868190; Fri, 19 Jan 2024 08:14:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705680868; cv=pass; d=google.com; s=arc-20160816; b=VbTUFL6BHXyUH6OjJyWq40GweEUqIsciXqSjFEqA16gLkoha6vAV2UyoVE5ngSmxtG Kj1NECIUshK4IuzTdwXIlI6l5bMyzcYqtxepIrYtUYUCWD83YEH/2mRt5XkeDXv2Ha5I PqPsaFfOsu7vuFsT+nGqatRX7vkYJN1wnn0Wb+EDnZ7GAsUrKKxapMIZSPLeWWjX1/08 a02HV8sE7DmJbkUBGeeZtUONzq31cvqtPsR6izOK1pmcIIL3xu5loklDdY5NZ5FtQFak 9akzRWWYy3SQM1CGPyyinoT4XCKE0iCL+uV3lAGvnVpFMXybe9s1+M4rYbYRcUDBQJ+U 9qaQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mudT7L/WwtcX7G2SLbiemty/Fy9LPZSVm/RfwCetltI=; fh=wZ8i6jOHhxILa8GQNMpK0e37lTeeVepfqCJlhKLnH6I=; b=XBXZwiaog+4CLvUvkj7aUB6Ap0UnB01pufK+t6PzYJ8IsY1OAB+w/mR/NfzlEg+oVl EVg8SXyBcZq1OWW8izRc2gz5LPqSUH4i5k+YB0TjTZ/QYtsXCwg6PP+svW17qtjinjh8 8aLfTu9UO+CWrJ9GP+WkUG8hvmG5iRZR6V1q2DKwwab6DE/hTkiVbJaRwu8EOPgYAyOb DT+xHElrbzcIvk4aKcf6//j88b/Miq2yahWwtJ2x5iPwEsplEJBJNiBUQchI6U5iquf5 G7DEwE6yeIv+chL5Hv+0aCWeTN2gzh1Zz6dyhw4iP5rY4hsFY0xTMg9kmERuwhU7/89e 3uig== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTfpgvYQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31350-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h18-20020ac85e12000000b00429f4a60ee4si9809316qtx.20.2024.01.19.08.14.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 08:14:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTfpgvYQ; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-31350-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31350-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id E39DA1C234F7 for ; Fri, 19 Jan 2024 16:14:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0366B54F94; Fri, 19 Jan 2024 16:14:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GTfpgvYQ" 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 2518A55760; Fri, 19 Jan 2024 16:14:18 +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=1705680859; cv=none; b=R0CtIgDordARuTfZhz5puCAh5n0yP93eIBpZc2tcU4iXw8lwbK0msauxWxUq13BjYHAvPcOd73i2g3l2cFCO4k5W7wtPhWuJG5uH7XNJU92qeau4VmiBl3L9XxiL5xLDj45yJd9Yz40I9cQYaAohHiBDM2R1YLJ15RP3L8Un9Vw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705680859; c=relaxed/simple; bh=FTiyumdDUu3LG/iF+VkzG7r/ahERdxQdR7At/f8SshE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=N1Cm6oNayWf2hKdB5CjfDG84id9uTDcfoWS5XDUt0pryWP9fePcp7wyB4KKt9XxiTn2w9j55I13Nl57Zle4zJIQ+nVESq2gIavtSc0ssYzcA74O2swT3VzdNd9h0imi9/grrkYxp0ent5EdzgWPEogLI84Se6Ujiko87RZjfuRE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GTfpgvYQ; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 930A6C43390; Fri, 19 Jan 2024 16:14:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705680858; bh=FTiyumdDUu3LG/iF+VkzG7r/ahERdxQdR7At/f8SshE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GTfpgvYQliKoCICox/GA4UF2qAAxQTCC01Jg+KSo0KX0XdqZoq4jYqxseI7HESkTO 4vEuUO1984PbcN8UQaD+CcMp5kYGwNe937aToDNy5E6XRcQvUj2iPKj1WqG6hIeDB6 hUwt2sXl37wkfEc7LzkFIxoRM1zrUU74jvIjYtt70gq5M+nubkMjR1ifH38iY/TQ4h d3ViRA6fvtLvQNHzdlzY6NQ38FJZiVHdHAeRaan5oJEr7MLGLkDBC2PhSBEPcbubhb +yA16381Zz+VRROSh0ZHPsHAk7KUUtSocsgI9I7FEH7IlvQLmzzNynMv9QohE//pDj V+4QBJ2XxE56Q== Date: Fri, 19 Jan 2024 16:14:12 +0000 From: Conor Dooley To: "Ghennadi Procopciuc (OSS)" Cc: Chester Lin , Andreas Farber , Matthias Brugger , Shawn Guo , Sascha Hauer , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Michael Turquette , Stephen Boyd , NXP S32 Linux Team , Pengutronix Kernel Team , NXP Linux Team , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Ghennadi Procopciuc , Ciprian Costea Subject: Re: [PATCH 1/3] dt-bindings: clock: s32g: add uSDHC clock IDs Message-ID: <20240119-cattle-antarctic-432fa8e1c0ef@spud> References: <20240119130231.2854146-1-ghennadi.procopciuc@oss.nxp.com> <20240119130231.2854146-2-ghennadi.procopciuc@oss.nxp.com> <20240119-magnetic-racing-0adf8e5fbd4a@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="qUpbBLVWlyJG4s+w" Content-Disposition: inline In-Reply-To: <20240119-magnetic-racing-0adf8e5fbd4a@spud> --qUpbBLVWlyJG4s+w Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 19, 2024 at 04:11:37PM +0000, Conor Dooley wrote: > On Fri, Jan 19, 2024 at 03:02:28PM +0200, Ghennadi Procopciuc (OSS) wrote: > > From: Ghennadi Procopciuc > >=20 > > Add the SCMI clock IDs for the uSDHC controller present on > > S32G SoCs. > >=20 > > Signed-off-by: Ciprian Costea > > Signed-off-by: Ghennadi Procopciuc > > --- > > include/dt-bindings/clock/s32g-scmi-clock.h | 14 ++++++++++++++ > > 1 file changed, 14 insertions(+) > > create mode 100644 include/dt-bindings/clock/s32g-scmi-clock.h > >=20 > > diff --git a/include/dt-bindings/clock/s32g-scmi-clock.h b/include/dt-b= indings/clock/s32g-scmi-clock.h > > new file mode 100644 > > index 000000000000..739f98a924c3 > > --- /dev/null > > +++ b/include/dt-bindings/clock/s32g-scmi-clock.h > > @@ -0,0 +1,14 @@ > > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ > > +/* > > + * Copyright 2020-2024 NXP > > + */ > > +#ifndef _DT_BINDINGS_SCMI_CLK_S32G_H > > +#define _DT_BINDINGS_SCMI_CLK_S32G_H > > + > > +/* uSDHC */ > > +#define S32G_SCMI_CLK_USDHC_AHB 31 > > +#define S32G_SCMI_CLK_USDHC_MODULE 32 > > +#define S32G_SCMI_CLK_USDHC_CORE 33 > > +#define S32G_SCMI_CLK_USDHC_MOD32K 34 >=20 > Why do these numbers not start at 0? Ah, because these are the SCMI IDs directly. If these are numbers that are in the TRM, just use the numbers directly - there's no need to create bindings for that. --qUpbBLVWlyJG4s+w Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZaqf1AAKCRB4tDGHoIJi 0h34AP9TixDJ6YFjXe+5v6wxO9hgfYPUCpxkmHGGn4w/+waszQD/Wzjy8sz++98r s+IkN7/DXavVamW4wy7pnsZC9nJwFgI= =XE+5 -----END PGP SIGNATURE----- --qUpbBLVWlyJG4s+w--