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 4F2D8C433EF for ; Tue, 1 Mar 2022 21:46:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CMFmqj0yv4cN1HjQLtS6Vt3bB7stagjV45M53cyPy3M=; b=ZAaAyeM2z2YFkwatlhAXtLvu4G 0NpHn2i+LyQS0pYxlqNUgWWesK585iYr5BA+JqX/B4LmOl2lKnoVsvxs7ECxcXICRj4f2/gR+dglL 3RmbY9PFFvgXJoA+dUBitL/zFaJPK2ZgGl8U2Cy6mh+XJHWFhIg2BcsTqffadx6V6bDvxkwjBk0XR 5KuDodDyecGb1yO6dbStNKa5hjGYYXgQtQIUW3UZ4StSuBNG/VSgwTrNdGrFrS7k4ZS7yx0OYJemS COtQyRpB1isy3g6fWBA1V9U81Ign0sqwqvafaVqeXL8P1VEr1mZ7qsa/S1CsUW9uSNw3ifa6RDx2D c4KI3rkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPAIx-000ftE-8A; Tue, 01 Mar 2022 21:45:11 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nPAIt-000fsR-Rv; Tue, 01 Mar 2022 21:45:09 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 49E25B81B0F; Tue, 1 Mar 2022 21:45:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7968DC340EE; Tue, 1 Mar 2022 21:45:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646171105; bh=3uwjHBi4Kpijzi8jIbSYaOoMSYmXzyJTEeVMSIbESIA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=koZS6u1JYkyQ/AsymFmTevOBEDEPaaFBGL6bIbEiw+654IcjZt5RiF8dHOJISRbT/ JFeksndmw6/gr35h37+vXWL3eYm92pB4aIsercuDesP+jF+/RmkXOJHDAyXHkg4yMK UfnXJzS7je8f7jq1gI/FLooe0RYJjB29hB/b8J9fcwPZZHFuuJ9IjYmeSJsxR8/GfB kEGrJF2ElSyM3+7jZGYMOqG77Dk5BwPnvW7l1KPdsBKbLJeEjGJAfKbUQNp1d8GNWh biDlTh2kCDPfqMrxpWQ6nucjhgujHZpMRDGdhVjOuPyIHv1GvAt8iV6lmYyzc7EFzu ubgflTWfhuiMQ== Date: Tue, 1 Mar 2022 22:45:01 +0100 From: Wolfram Sang To: AngeloGioacchino Del Regno Cc: qii.wang@mediatek.com, matthias.bgg@gmail.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH] i2c: busses: i2c-mt65xx: Simplify with clk-bulk Message-ID: Mail-Followup-To: Wolfram Sang , AngeloGioacchino Del Regno , qii.wang@mediatek.com, matthias.bgg@gmail.com, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com References: <20220118133358.111886-1-angelogioacchino.delregno@collabora.com> <8725a111-0ee2-8935-86b5-01c61774a628@collabora.com> MIME-Version: 1.0 In-Reply-To: <8725a111-0ee2-8935-86b5-01c61774a628@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220301_134508_256350_B0B06E7C X-CRM114-Status: GOOD ( 18.72 ) 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: , Content-Type: multipart/mixed; boundary="===============0679358425326119608==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============0679358425326119608== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RuPdci4FI09i3u+P" Content-Disposition: inline --RuPdci4FI09i3u+P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 14, 2022 at 12:26:30PM +0100, AngeloGioacchino Del Regno wrote: > Il 18/01/22 14:33, AngeloGioacchino Del Regno ha scritto: > > Since depending on the SoC or specific bus functionality some clocks > > may be optional, we cannot get the benefit of using devm_clk_bulk_get() > > but, by migrating to clk-bulk, we are able to remove the custom functio= ns > > mtk_i2c_clock_enable() and mtk_i2c_clock_disable(), increasing common > > APIs usage, hence (lightly) decreasing kernel footprint. > >=20 > > Signed-off-by: AngeloGioacchino Del Regno > > --- > > drivers/i2c/busses/i2c-mt65xx.c | 127 +++++++++++++------------------- > > 1 file changed, 51 insertions(+), 76 deletions(-) > >=20 >=20 > Hello, > this is a friendly ping to request review on this patch as to avoid forge= tting it. >=20 > Adding context, I have tested this patch on multiple (older/newer) MediaT= ek > platforms. Qii Wang, what do you think about this patch? --RuPdci4FI09i3u+P Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmIek90ACgkQFA3kzBSg KbafGw/9GFenif8e7sf8WDjqoiTJ19bnc5EA2wFP1yuCOK3ITglAu9Yya8tTY/3J phPYTkQlqYXpth6+AndEsBGv2g4sDb8T7MkcNCi6rZYper8oyS6Xro7qkprCvzqZ Nj6ltSANZqjsmKsQGNQjiZtXYG+uYzXMKGzbuf4SF9tSJ1GiC43usBv7KKW3wZie n9iP2Ii76q0nqJ5v44a2E1AIxQkyn1DQOotD4F+TFZEgpUSIIWctq2Ez3G6LpjjW YtERdPi5nCNB90V55nn13ksUKLv5pertnc4elqEbsFT6ZOtYUvUDYOo1oA/5sLIP rlLVSM2kZyRbomIPFW4n3AAX+Ag60eDc/VtBOj9rR2ZpRTe1GZCfCokk03/UIqiq CeWAEJPQ3kd1eqY2Hp46uNUMgS/zt5Xuc7uKNqZmSs9KIs6NUKi5ydH6/9AW1hrV f4xP9pm+CyZv+2/qrcMG3INfL4QRAmRgaVCIThN5n0Rapr7PELa+0bpnXND1a/AL SkRJUIX8r5nOMbeKGBkccTBnHr+asXr7FqY2EjO9fdzCj9CY7HaP/QXTjYzHdOsT Dnpz6clEeaUPmdG2zeNeS+nmjnWFpJhdQPt6Ac9CBJ6mGTXYH1tJR4C960YBQ5wF Tm92kQCkYCQDQE90ftGoq5AZVseXlmnPKXYiAndBXkX/9TmlUTU= =cpdN -----END PGP SIGNATURE----- --RuPdci4FI09i3u+P-- --===============0679358425326119608== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============0679358425326119608==--