On Fri, 2015-02-27 at 10:02 -0600, Kumar Gala wrote:
> On Jan 20, 2015, at 6:03 AM, Igal.Liberman <igal.liber...@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


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to