mbox series

[v3,0/2] Use the generic PHY framework for Ingenic USB PHY.

Message ID 20200913063430.9622-1-zhouyanjie@wanyeetech.com (mailing list archive)
Headers show
Series Use the generic PHY framework for Ingenic USB PHY. | expand

Message

Zhou Yanjie Sept. 13, 2020, 6:34 a.m. UTC
v2->v3:
1.Remove unnecessary "of_match_ptr()" before the move to the generic PHY.
2.Change "depends on (MACH_INGENIC && MIPS) || COMPILE_TEST" to
  "depends on MIPS || COMPILE_TEST".
3.Keep the adjustments of "ingenic_usb_phy_init()" and "ingenic_usb_phu_exit()"
  positions in v2 to make them consistent with the order in "ingenic_usb_phy_ops",
  keep the adjustments to the positions of "ingenic_usb_phy_of_matches[]" in v2
  to keep them consistent with the styles of other USB PHY drivers. And remove
  some unnecessary changes to reduce the diff size.

周琰杰 (Zhou Yanjie) (2):
  USB: PHY: JZ4770: Remove unnecessary function calls.
  USB: PHY: JZ4770: Use the generic PHY framework.

 drivers/phy/Kconfig                                |   1 +
 drivers/phy/Makefile                               |   1 +
 drivers/phy/ingenic/Kconfig                        |  12 ++
 drivers/phy/ingenic/Makefile                       |   2 +
 .../phy-jz4770.c => phy/ingenic/phy-ingenic-usb.c} | 211 +++++++++++----------
 drivers/usb/phy/Kconfig                            |   8 -
 drivers/usb/phy/Makefile                           |   1 -
 7 files changed, 129 insertions(+), 107 deletions(-)
 create mode 100644 drivers/phy/ingenic/Kconfig
 create mode 100644 drivers/phy/ingenic/Makefile
 rename drivers/{usb/phy/phy-jz4770.c => phy/ingenic/phy-ingenic-usb.c} (70%)