Re: [PATCH v5 1/6] spmi: Linux driver framework for SPMI

2014-02-18 Thread Josh Cartwright
On Sat, Feb 15, 2014 at 05:47:48PM -0600, Felipe Balbi wrote: > On Mon, Feb 03, 2014 at 05:05:33PM -0600, Josh Cartwright wrote: > > +#ifdef CONFIG_PM_RUNTIME > > +static int spmi_runtime_suspend(struct device *dev) > > +{ > > + struct spmi_device *sdev = to_spmi_device(dev); > > + int err; > >

Re: [PATCH v5 1/6] spmi: Linux driver framework for SPMI

2014-02-15 Thread Felipe Balbi
Hi, On Mon, Feb 03, 2014 at 05:05:33PM -0600, Josh Cartwright wrote: [ snip ] > +#ifdef CONFIG_PM_RUNTIME > +static int spmi_runtime_suspend(struct device *dev) > +{ > + struct spmi_device *sdev = to_spmi_device(dev); > + int err; > + > + err = pm_generic_runtime_suspend(dev); > +

Re: [PATCH v5 1/6] spmi: Linux driver framework for SPMI

2014-02-15 Thread Greg Kroah-Hartman
On Mon, Feb 03, 2014 at 05:05:33PM -0600, Josh Cartwright wrote: > From: Kenneth Heitke > > System Power Management Interface (SPMI) is a specification > developed by the MIPI (Mobile Industry Process Interface) Alliance > optimized for the real time control of Power Management ICs (PMIC). > > S

[PATCH v5 1/6] spmi: Linux driver framework for SPMI

2014-02-03 Thread Josh Cartwright
From: Kenneth Heitke System Power Management Interface (SPMI) is a specification developed by the MIPI (Mobile Industry Process Interface) Alliance optimized for the real time control of Power Management ICs (PMIC). SPMI is a two-wire serial interface that supports up to 4 master devices and up