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

Wolfram Sang wsa at kernel.org
Tue Mar 1 13:45:01 PST 2022


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 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>
> > ---
> >   drivers/i2c/busses/i2c-mt65xx.c | 127 +++++++++++++-------------------
> >   1 file changed, 51 insertions(+), 76 deletions(-)
> > 
> 
> Hello,
> this is a friendly ping to request review on this patch as to avoid forgetting it.
> 
> Adding context, I have tested this patch on multiple (older/newer) MediaTek
> platforms.

Qii Wang, what do you think about this patch?

-------------- 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-arm-kernel/attachments/20220301/bd83a43b/attachment.sig>


More information about the linux-arm-kernel mailing list