Skip to content

phy: remove the need for the phys to know about their users

Heikki Krogerus linux-arm-kernel linux-omap linux-samsung-soc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 of 5 patches 12 repliesIn review

4 of 5 patches are in this archive. The cover letter announces 5.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5phy: unify the phy name parametersdrivers/phy/phy-core.c include/linux/phy/phy.h+14 -160 replies
2/5phy: add support for indexed lookupdrivers/phy/phy-core.c include/linux/phy/phy.h+89 -315 replies
3/5phy: improved lookup methoddrivers/phy/phy-core.c include/linux/phy/phy.h+138 -10 replies
4/5arm: omap3: twl: use the new lookup method with usb phyarch/arm/mach-omap2/twl-common.c+6 -97 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchTony Lindgren
1/5
2/5
3/5
4/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] phy: remove the need for the phys to know about their users

Hi,

This replaces the consumer & init_data structures with a lookup table that contains complete associations with the phys and their users, removing the need for the phy drivers themselves to care about their users even when not using DT.

The lookup method is copied from the way the gpio descriptor lookup is now handled in gpiolib.c.

Heikki Krogerus (5):
phy: unify the phy name parameters
phy: add support for indexed lookup
phy: improved lookup method
arm: omap3: twl: use the new lookup method with usb phy
phy: remove the old lookup method

 arch/arm/mach-omap2/twl-common.c    |  15 ++-
 drivers/phy/phy-core.c              | 209 ++++++++++++++++++++++++++----------
 drivers/phy/phy-exynos-dp-video.c   |   2 +-
 drivers/phy/phy-exynos-mipi-video.c |   2 +-
 drivers/phy/phy-omap-usb2.c         |   2 +-
 drivers/phy/phy-twl4030-usb.c       |   4 +-
 include/linux/phy/phy.h             |  86 ++++++++++-----
 7 files changed, 221 insertions(+), 99 deletions(-)
Signature · 1 line
1.8.5.1