devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: phy-samsung-usb: Simplify and cleanup
@ 2013-08-02  0:52 Julius Werner
  2013-08-02  0:52 ` [PATCH 1/3] usb: phy-samsung-usb: Simplify PMU register handling Julius Werner
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Julius Werner @ 2013-08-02  0:52 UTC (permalink / raw)
  To: Felipe Balbi
  Cc: linux-kernel, linux-usb, linux-samsung-soc, Tomasz Figa,
	Vivek Gautam, devicetree, Sylwester Nawrocki, Julius Werner

This patch series cleans up and simplifies some of the Samsung USB PHY
driver code. It changes the PMU register handling to carry the register
address directly in the device tree and avoid a lot of special-cased
address arithmatic in the code. Then it removes the USB_PHY_TYPE
HOST/DEVICE distinction which was only needed for those removed parts.

Julius Werner (3):
  usb: phy-samsung-usb: Simplify PMU register handling
  usb: phy-samsung-usb: trivial: rename pmuregs variable
  usb: phy-samsung-usb: Remove USB_PHY_TYPE from Samsung PHY driver

 arch/arm/boot/dts/exynos5250.dtsi  |  4 +--
 drivers/usb/phy/phy-samsung-usb.c  | 51 +++++++++-----------------------------
 drivers/usb/phy/phy-samsung-usb.h  | 34 ++++++-------------------
 drivers/usb/phy/phy-samsung-usb2.c | 34 +++++++------------------
 drivers/usb/phy/phy-samsung-usb3.c | 13 +++-------
 5 files changed, 34 insertions(+), 102 deletions(-)

-- 
1.7.12.4


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-08-06 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02  0:52 [PATCH 0/3] usb: phy-samsung-usb: Simplify and cleanup Julius Werner
2013-08-02  0:52 ` [PATCH 1/3] usb: phy-samsung-usb: Simplify PMU register handling Julius Werner
2013-08-02  7:51   ` Felipe Balbi
2013-08-06 18:00     ` Julius Werner
2013-08-02  0:52 ` [PATCH 2/3] usb: phy-samsung-usb: trivial: rename pmuregs variable Julius Werner
2013-08-02  0:52 ` [PATCH 3/3] usb: phy-samsung-usb: Remove USB_PHY_TYPE from Samsung PHY driver Julius Werner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).