|
|
|
RE: multi-phy generic patch (Add plan) | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
Hi Felipe, Ajay, Kishon
In order to add generic USB PHY layer, from my point, below
steps are needed to be done
1. Move generic PHY things from otg/ to phy/
- Split include/linux/usb/otg.h to include/linux/usb/phy.h
and include/linux/usb/otg.h
- Split drivers/usb/otg/otg.c to drivers/usb/otg/otg.c
and drivers/usb/phy/phy.c
- Change CONFIG_USB_OTG_UTILS to CONFIG_USB_PHY_UTILS
- obj-$(CONFIG_USB_OTG) += otg.o
- obj-$(CONFIG_USB_PHY) += phy/
2. Eliminate the relationship between struct usb_otg and struct usb_phy
3. Add generic USB PHY layer support to drivers/usb/phy/phy.c
- generic USB PHY layer is implemented at phy.c
- Related driver's change for adopting this PHY layer
The step 2 is optional, and will take much time.
Any comments are welcome, I will begin step 1 from next week.
Best regards,
Peter Chen
> -----Original Message-----
> From: Chen Peter-B29397
> Sent: Wednesday, July 04, 2012 6:15 PM
> To: 'Gupta, Ajay Kumar'; ABRAHAM, KISHON VIJAY
> Cc: Balbi, Felipe; psp_usb@xxxxxxxxxxx - Internal USB Discussion/Exchange
> forum (May contain non-TIers); Liu JunJie-B08287
> Subject: RE: multi-phy generic patch
>
> >
> > As per discussion in list, Felipe was against using "name"
> > so I think we need to find another way.
> >
>
> Below is our latest discussion for this problem.
> http://www.spinics.net/lists/linux-usb/msg65487.html
>
> both devm_regulator_get and clk_get use "name". If you think it is not
> suitable,
> please suggest.
>
>
> Best regards,
> Peter
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html

[Linux Media] [Video for Linux] [Linux Input] [Linux Audio Users] [Photo] [Yosemite News] [Yosemite Photos] [Free Online Dating] [Linux Kernel] [Linux SCSI] [Old Linux USB Devel Archive] [More Archives]
![]() |
![]() |