Re: [PATCH 1/8] usb: add bus type for USB ULPI

From: Heikki Krogerus
Date: Thu Jan 29 2015 - 10:56:42 EST


On Wed, Jan 28, 2015 at 11:02:37PM -0600, Felipe Balbi wrote:
> Hi,
>
> On Fri, Jan 23, 2015 at 05:12:51PM +0200, Heikki Krogerus wrote:
> > @@ -6,4 +6,5 @@ obj-$(CONFIG_USB_COMMON) += usb-common.o
> > usb-common-y += common.o
> > usb-common-$(CONFIG_USB_LED_TRIG) += led.o
> >
> > -obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
> > +obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
>
> a bit of unrelated change here.

OK

> > diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
> > index cc0ced0..c0fc3b5 100644
> > --- a/drivers/usb/core/Kconfig
> > +++ b/drivers/usb/core/Kconfig
> > @@ -84,3 +84,11 @@ config USB_OTG_FSM
> > Implements OTG Finite State Machine as specified in On-The-Go
> > and Embedded Host Supplement to the USB Revision 2.0 Specification.
> >
> > +config USB_ULPI_BUS
> > + bool "USB ULPI PHY interface support"
> > + depends on USB || USB_GADGET
>
> depends on USB_SUPPORT ?

sure

> > +int ulpi_register_driver(struct ulpi_driver *drv);
> > +void ulpi_unregister_driver(struct ulpi_driver *drv);
> > +
> > +#define module_ulpi_driver(__ulpi_driver) \
> > + module_driver(__ulpi_driver, ulpi_register_driver, \
> > + ulpi_unregister_driver)
> > +
> > +int ulpi_read(struct ulpi *ulpi, u8 addr);
> > +int ulpi_write(struct ulpi *ulpi, u8 addr, u8 val);
>
> no stubs ?

Is there really need for them? Well, I'll add them.


Thanks,

--
heikki
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/