RE: [v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

2016-03-25 Thread Yangbo Lu
Xiaobo Xie > Subject: Re: [v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms > > On 03/09/2016 04:18 AM, Yangbo Lu wrote: > > +#ifdef CONFIG_FSL_GUTS > > +u32 fsl_guts_get_svr(void); > > +int fsl_guts_init(void); > > +#endif > > Don't ifdef prototypes

Re: [v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

2016-03-19 Thread Scott Wood
On 03/09/2016 04:18 AM, Yangbo Lu wrote: > +#ifdef CONFIG_FSL_GUTS > +u32 fsl_guts_get_svr(void); > +int fsl_guts_init(void); > +#endif Don't ifdef prototypes (when not providing a stub alternative). -Scott

[v6, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

2016-03-09 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu