[PATCH] clk: ppc-corenet: Add support for the FMD clock

Scott Wood scottwood at freescale.com
Thu Mar 5 11:30:30 AEDT 2015


On Fri, 2015-02-27 at 10:02 -0600, Kumar Gala wrote:
> On Jan 20, 2015, at 6:03 AM, Igal.Liberman <igal.liberman at freescale.com> wrote:
> > +	guts_regs = of_iomap(guts, 0);
> > +	of_node_put(guts);
> > +	if (!guts_regs) {
> > +		pr_err("ioremap of GUTS node failed\n");
> > +		return -EINVAL;
> > +	}
> 
> Have you guys looked at using drivers/mfd/syscon.c for GUTS access.

Given the lack of documentation, could you explain what that file
offers?  Other than a requirement to modify existing device trees to do
something other than describe the hardware (that file won't touch
anything that isn't compatible with "syscon").

-Scott




More information about the Linuxppc-dev mailing list