lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 26 Oct 2022 19:26:50 +0100
From:   Paul Cercueil <paul@...pouillou.net>
To:     Bin Liu <b-liu@...com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Felipe Balbi <balbi@...nel.org>
Cc:     linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
        linux-mips@...r.kernel.org, od@...ndingux.net,
        Paul Cercueil <paul@...pouillou.net>
Subject: [PATCH v2 0/7] musb: Update to use generic PHY

Hi,

This patchset updates the musb core to add support for the generic PHY
framework.

It also updates the jz4740 driver to use the generic PHY driver
(drivers/phy/ingenic/phy-ingenic-usb.c) instead of the USB PHY one
(drivers/usb/phy/phy-jz4770.c) which is then removed.

If you are looking for the V1, it was sent two years ago [1] and
received zero feedback.

Anyway, V1 had only patches 1-4 and if I'm not mistaken the V2 patches
are exactly the same.

Patches 5-7 are new, and update the jz4740 driver to support generic
PHYs, and ultimately remove the old phy-jz4770 USB PHY driver which has
been replaced.

Cheers,
-Paul

[1]: https://lore.kernel.org/all/20201207130332.120681-1-paul@crapouillou.net/

Paul Cercueil (7):
  usb: musb: Add and use inline functions musb_{get,set}_state
  usb: musb: Add and use inline function musb_otg_state_string
  usb: musb: Allow running without CONFIG_USB_PHY
  usb: musb: Support setting OTG mode using generic PHY
  usb: musb: jz4740: Don't disable external hubs
  usb: musb: jz4740: Support the generic PHY framework
  usb: phy: jz4770: Remove driver

 drivers/usb/musb/Kconfig        |   1 -
 drivers/usb/musb/jz4740.c       |  62 +++++-
 drivers/usb/musb/musb_core.c    | 107 +++++-----
 drivers/usb/musb/musb_core.h    |  24 +++
 drivers/usb/musb/musb_debugfs.c |   6 +-
 drivers/usb/musb/musb_gadget.c  |  61 +++---
 drivers/usb/musb/musb_host.c    |  18 +-
 drivers/usb/musb/musb_virthub.c |  33 ++-
 drivers/usb/phy/Kconfig         |   8 -
 drivers/usb/phy/Makefile        |   1 -
 drivers/usb/phy/phy-jz4770.c    | 353 --------------------------------
 11 files changed, 195 insertions(+), 479 deletions(-)
 delete mode 100644 drivers/usb/phy/phy-jz4770.c

-- 
2.35.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ