lkml.org 
[lkml]   [2014]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 1/6] usb: chipidea: setup ci_hdrc_platform_data in core driver
Date
Hello,

This series introduce the ci_hdrc_get_platdata function to help setting up the
ChipIdea internal ci_hdrc_platform_data structure. This helps avoiding
duplicating code.

This series comes from a duscission on Berlin's USB pacthes where it was asked
to move the PHY phandle handling in the ChipIdea core[1].

With the introduction of the ci_hdrc_get_platdata function, the old
ci_get_platdata function is removed. Changes in ChipIdea drivers have also been
made.

This series is needed for the Berlin USB support and has been tested with an
updated version of the USB Berlin driver (not in mainline yet).

Thanks,

Antoine

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/292383.html

Antoine Tenart (6):
usb: chipidea: add a core function to setup ci_hdrc_platform_data
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_imx
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_msm
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_pci
usb: chipidea: use ci_hdrc_get_platdata in ci_hdrc_zevio
usb: chipidea: remove obsolete ci_get_platdata function

drivers/usb/chipidea/ci_hdrc_imx.c | 14 ++--
drivers/usb/chipidea/ci_hdrc_msm.c | 10 ++-
drivers/usb/chipidea/ci_hdrc_pci.c | 12 ++-
drivers/usb/chipidea/ci_hdrc_zevio.c | 8 +-
drivers/usb/chipidea/core.c | 146 ++++++++++++++++++++++++++++-------
include/linux/usb/chipidea.h | 2 +
6 files changed, 150 insertions(+), 42 deletions(-)

--
2.1.0



\
 
 \ /
  Last update: 2014-10-30 13:21    [W:0.097 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site