Re: [RFC/PATCH 4/5] usb: musb: isp1704: add registers from isp1704

From: Felipe Balbi
Date: Fri Dec 11 2009 - 07:58:19 EST


On Fri, Dec 11, 2009 at 01:35:04PM +0100, Krogerus Heikki (EXT-Teleca/Helsinki) wrote:
Balbi Felipe (Nokia-D/Helsinki) wrote:
transceiver used on RX-51 board.

NYET-Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxx>
---


There are now many ULPI transceivers in use. Let's add the global ULPI
register definitions. isp170x transceivers have only one vendor-specific
register. The Power Control.

proof-of-concept, that's why it's NYET-Signed-off-by. It was easier to just copy the code from our working version for now, but sure, we have to do it in some way that works for everybody. I was thinking that RX-51's board files could provide us a charger_detect() implementation
which we can use here.

then:

if (!musb->charger_detect)
return NOTIFY_DONE;

--
balbi
--
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/