[PATCH v5 2/4] clk: imx: add new gate/gate2 wrapper funtion

Stephen Boyd sboyd at kernel.org
Mon Mar 19 13:48:48 PDT 2018


Quoting A.s. Dong (2018-03-15 23:30:13)
> > -----Original Message-----
> > From: Jacky Bai
> > Sent: Monday, March 12, 2018 5:29 PM
> > To: sboyd at kernel.org; robh+dt at kernel.org; shawnguo at kernel.org;
> > kernel at pengutronix.de
> > Cc: Fabio Estevam <fabio.estevam at nxp.com>; linux-clk at vger.kernel.org;
> > linux-arm-kernel at lists.infradead.org; dl-linux-imx <linux-imx at nxp.com>;
> > A.s. Dong <aisheng.dong at nxp.com>; jacky.baip at gmail.com
> > Subject: [PATCH v5 2/4] clk: imx: add new gate/gate2 wrapper funtion
> > 
> > Add new gate/gate2 wrapper function to register clocks with optional flags.
> > 
> > Signed-off-by: Bai Ping <ping.bai at nxp.com>
> 
> AFAIK Stephen requested to switch to clk_hw based APIs when reviewing my
> mx7ulp clk driver. We may need some comments from Stephen here.
> 
> Hi Stefen,
> 
> Do you have any comments about this?
> 

Using clk_hw based APIs is preferred. If there's existing usage of
non-hw based APIs then it's OK to keep same style and change later.



More information about the linux-arm-kernel mailing list