[PATCH] i2c: busses: i2c-mt65xx: Simplify with clk-bulk

Wolfram Sang wsa at kernel.org
Wed Mar 2 13:38:00 PST 2022


On Tue, Jan 18, 2022 at 02:33:58PM +0100, AngeloGioacchino Del Regno wrote:
> 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 functions
> mtk_i2c_clock_enable() and mtk_i2c_clock_disable(), increasing common
> APIs usage, hence (lightly) decreasing kernel footprint.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>

Hmm, it doesn't apply to my for-mergewindow branch because of other
mediatek patches. Would you be so kind and rebase this patch on top of
it and add Qii Wang's tag, too?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20220302/b2f257bc/attachment-0001.sig>


More information about the Linux-mediatek mailing list