On Fri, Dec 13, 2013 at 12:25 PM, Felipe Balbi <balbi@xxxxxx> wrote: > On Fri, Dec 13, 2013 at 09:23:34AM +0800, Peter Chen wrote: >> Add anatop phandle which is used to access anatop registers to >> control PHY's power and other USB operations. > > no related to this patch, but this feels like OMAP's System Control > Module (a rather simplistic IP which control power for a few other IPs). > > We're starting to see a pattern here, eventually we will need a more > generic approach to such types of modules. For now, don't worry :-) > We use syscon (system controller) driver (drivers/mfd/syscon.c) to handle it, syscon uses regmap to visit register which can keep register access exclusively. -- BR, Peter Chen -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html