linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus support
@ 2024-07-31 15:42 Radhey Shyam Pandey
  2024-07-31 15:42 ` [PATCH v3 1/2] usb: misc: onboard_dev: extend platform data to add power on delay field Radhey Shyam Pandey
  2024-07-31 15:42 ` [PATCH v3 2/2] usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus programming support Radhey Shyam Pandey
  0 siblings, 2 replies; 5+ messages in thread
From: Radhey Shyam Pandey @ 2024-07-31 15:42 UTC (permalink / raw)
  To: mka, gregkh, javier.carrasco, macpaul.lin, jbrunet,
	stefan.eichenberger
  Cc: linux-usb, linux-kernel, git, Radhey Shyam Pandey

This patchset adds usb5744 SMBus support in onboard usb driver.

Changes for v3:
- Modified power_on_delay_us comment.
- Add comment for UDC suspend sequence.
- Drop USB5744_CREG_MEM_NBYTES and USB5744_CREG_NBYTES and replace
  it with literal + comment.
- Move microchip defines to source file.

Changes in v2:
- Fix subsystem "usb: misc: onboard_usb_dev:..."
- Change implementation from introducing onboard_dev_i2c_init
  func pointer and do i2c initialization based on compatible string.
  This is to make onboard_dev_5744_i2c_init() as static.
- Use #define for different register bits instead of magic values.
- Use err_power_off label name.
- Modified commit description to be in sync with v2 changes.
- Move power on reset delay to separate patch.

Radhey Shyam Pandey (2):
  usb: misc: onboard_dev: extend platform data to add power on delay
    field
  usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus programming
    support

 drivers/usb/misc/onboard_usb_dev.c | 74 ++++++++++++++++++++++++++++++
 drivers/usb/misc/onboard_usb_dev.h |  2 +
 2 files changed, 76 insertions(+)


base-commit: e4fc196f5ba36eb7b9758cf2c73df49a44199895
-- 
2.34.1


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

end of thread, other threads:[~2024-08-21 18:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-31 15:42 [PATCH v3 0/2] usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus support Radhey Shyam Pandey
2024-07-31 15:42 ` [PATCH v3 1/2] usb: misc: onboard_dev: extend platform data to add power on delay field Radhey Shyam Pandey
2024-08-07 10:43   ` Greg KH
2024-08-21 18:32     ` Pandey, Radhey Shyam
2024-07-31 15:42 ` [PATCH v3 2/2] usb: misc: onboard_usb_dev: add Microchip usb5744 SMBus programming support Radhey Shyam Pandey

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).