[PATCH v3] phy: zynqmp: Handle the clock enable/disable properly
Manish Narani
MNARANI at xilinx.com
Wed Mar 24 12:21:12 GMT 2021
Hi Laurent,
Thank you so much for the review.
> -----Original Message-----
> From: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Sent: Wednesday, March 24, 2021 8:38 AM
> To: Manish Narani <MNARANI at xilinx.com>
> Cc: kishon at ti.com; vkoul at kernel.org; Michal Simek <michals at xilinx.com>;
> linux-kernel at vger.kernel.org; linux-arm-kernel at lists.infradead.org; git
> <git at xilinx.com>
> Subject: Re: [PATCH v3] phy: zynqmp: Handle the clock enable/disable
> properly
>
> Hi Manish,
>
> Thank you for the patch.
>
> On Tue, Mar 23, 2021 at 07:49:47PM +0530, Manish Narani wrote:
> > The current driver is not handling the clock enable/disable operations
> > properly. The clocks need to be handled correctly by enabling or
> > disabling at appropriate places. This patch adds code to handle the
> > same.
> >
> > Signed-off-by: Manish Narani <manish.narani at xilinx.com>
>
> This looks good to me.
>
> Reviewed-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
>
> However, it would be really nice to make clock handling dynamic, to only
> enable clocks that are needed by active PHYs. Keeping them enabled at
> all times will waste power. It can be done on top of this patch. Is it
> something you could work on ?
Sure. I'll plan to work on that.
I have sent v4 for this with Michal's input.
Thanks,
Manish
More information about the linux-arm-kernel
mailing list