From mboxrd@z Thu Jan 1 00:00:00 1970 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 081AA8C00; Thu, 21 Dec 2023 04:38:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cUwqrrQw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67187C433C8; Thu, 21 Dec 2023 04:38:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1703133494; bh=EoN6l1+DooB0CJ/UZoJpfudxWXvrGj8uF1Np3H6ZHmE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=cUwqrrQwQh8SPx3VgsGUy7jxNJDcj4wMWHpM5mIiU1Lu/YzJ2tqGwxykGIBTFk67z kIwB74j0yhQdLBp6HGAwdte9/dYFssNjaWcZsaLLbjDQihG2HrD5W9s5fd2NY3sFS7 BLnRtm4/uhcABV6V6qyDetDJFIOyomef7vA53jasWi7HyUO9a4tgfUA7n8s7WTuaNp E8rJDIPrjVVvPStejHSsI7U8bqB4N0DBzE3sZU2Yl6uE0O57je90tO5zjywGO6rzRY EvideAuyhMoruVqVGgSdZvxigk7lXySpx5lwa8dsoQdUEkpwH78njGpXEorI36PsZp jgR5FEu04FWcw== Message-ID: <2c37cada9bb4be59bf06fa9a9df81e07.sboyd@kernel.org> Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20231219232442.2460166-2-cristian.ciocaltea@collabora.com> References: <20231219232442.2460166-1-cristian.ciocaltea@collabora.com> <20231219232442.2460166-2-cristian.ciocaltea@collabora.com> Subject: Re: [PATCH 1/2] clk: starfive: Add flags argument to JH71X0__MUX macro From: Stephen Boyd Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@collabora.com, Emil Renner Berthing , Jacob Keller To: Cristian Ciocaltea , Emil Renner Berthing , Hal Feng , Michael Turquette Date: Wed, 20 Dec 2023 20:38:12 -0800 User-Agent: alot/0.10 Quoting Cristian Ciocaltea (2023-12-19 15:24:39) > From: Emil Renner Berthing >=20 > This flag is needed to add the CLK_SET_RATE_PARENT flag on the gmac_tx > clock on the JH7100, which in turn is needed by the dwmac-starfive > driver to set the clock properly for 1000, 100 and 10 Mbps links. >=20 > This change was mostly made using coccinelle: >=20 > @ match @ > expression idx, name, nparents; > @@ > JH71X0__MUX( > -idx, name, nparents, > +idx, name, 0, nparents, > ...) >=20 > Signed-off-by: Emil Renner Berthing > Signed-off-by: Cristian Ciocaltea > Reviewed-by: Jacob Keller > --- Applied to clk-next