[PATCH 00/21] usb: dwc2: Rework core parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series depends on the dwc2 fixes for 4.10-rc4 [1].

Patches 1-9 are a minor rebase and resend of the dwc2 checkpatch fixes
series [2].

The remaining patches complete the reworking of the dwc2 core
parameters. This is a follow up to and simplification of the previous
rework in 4.10.

Unlike the previous series, this handles all core parmeters. Any
custom settings based on device properties and compatible-strings are
handled in the same way. And there is no longer a need to explicitly
mark a parameter as "auto detect". So only those parameters that need
to deviate from the auto-detected defaults need to be set.

We also remove most debugging prints related to parameters and provide
a debugfs interface to see the parameter values.

The parameters are now set in three steps:

1) Initialize everything to defaults and auto-detected values.

2) Make adjustments
   a) via device properties
   b) overrides based on compatible strings
   c) other overrides, such as for cores type and versions.

3) Check all settings for consistency with the hardware and
   adjust/warn if necessary.

Regards,
John

[1] https://www.spinics.net/lists/linux-usb/msg151686.html
[2] http://marc.info/?l=linux-usb&m=148046010906392&w=2


John Youn (21):
  usb: dwc2: Cleanup some checkpatch issues
  usb: dwc2: Add identifier in prototypes
  usb: dwc2: Fix comment alignment and format
  usb: dwc2: Fix logical continuations
  usb: dwc2: Fix brace usage
  usb: dwc2: Fix lines over 80 characters
  usb: dwc2: Fix code indentation after conditionals
  usb: dwc2: Remove 'return' from void function
  usb: dwc2: Fix sizeof in kzalloc
  usb: dwc2: Remove unused otg_ver parameter
  usb: dwc2: Set core parameters to default values
  usb: dwc2: Get device properties
  usb: dwc2: Update parameter types
  usb: dwc2: Rearrange param structure members
  usb: dwc2: Check core parameters
  usb: dwc2: Remove platform static params
  usb: dwc2: Fix usage of bool params
  usb: dwc2: Remove unnecessary parameters
  usb: dwc2: Add debugfs file to show params
  usb: dwc2: Remove debug prints in params.c
  usb: dwc2: Show dr_mode via debugfs

 drivers/usb/dwc2/core.c      |   31 +-
 drivers/usb/dwc2/core.h      |  182 +++---
 drivers/usb/dwc2/core_intr.c |   11 +-
 drivers/usb/dwc2/debug.h     |    4 +-
 drivers/usb/dwc2/debugfs.c   |  182 +++++-
 drivers/usb/dwc2/gadget.c    |  215 +++----
 drivers/usb/dwc2/hcd.c       |  151 +++--
 drivers/usb/dwc2/hcd.h       |   76 +--
 drivers/usb/dwc2/hcd_ddma.c  |   23 +-
 drivers/usb/dwc2/hcd_intr.c  |   98 +--
 drivers/usb/dwc2/hcd_queue.c |   40 +-
 drivers/usb/dwc2/hw.h        |  596 +++++++++---------
 drivers/usb/dwc2/params.c    | 1436 ++++++++++--------------------------------
 drivers/usb/dwc2/pci.c       |    2 +-
 drivers/usb/dwc2/platform.c  |   14 +-
 15 files changed, 1218 insertions(+), 1843 deletions(-)

-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux