Skip to content

usb: usb251xb: Add USB2517i hub support and fix some bugs

Serge Semin linux-devicetree lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 4 repliesIn review
  2. v29 patches 17 repliesSuperseded
  3. v15 patches 11 repliesSuperseded

Changes in v3 from the cover letter

- Move bindings documentation updates to a separate patch
- Add "boolean" info to the corresponding properties
- Rename {sp,bp}-max-{power,current} with a better readable {sp,bp}-max-{total,removable}-current-microamp
- Discard Copyright line
- Add better reason text for dev_warn()'s
- Set led-speed-mode being default
- Fix some types

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10usb: usb251xb: Update usb251xb bindingsDocumentation/devicetree/bindings/usb/usb251xb.txt+32 -141 reply
2/10usb: usb251xb: Add USB2517i specific struct and IDsdrivers/usb/misc/Kconfig drivers/usb/misc/usb251xb.c+23 -41 reply
3/10usb: usb251xb: Add USB251x specific port count settingdrivers/usb/misc/usb251xb.c+21 -31 reply
4/10usb: usb251xb: Add 5,6,7 ports mapping def settingdrivers/usb/misc/usb251xb.c+11 -10 replies
5/10usb: usb251xb: Add 5,6,7 ports boost settingsdrivers/usb/misc/usb251xb.c+10 -50 replies
6/10usb: usb251xb: Add battery enable setting flagdrivers/usb/misc/usb251xb.c+9 -00 replies
7/10usb: usb251xb: Add USB2517 LED settingsdrivers/usb/misc/usb251xb.c+12 -00 replies
8/10usb: usb251xb: Fix property_u32 NULL pointer dereferencedrivers/usb/misc/usb251xb.c+7 -70 replies
9/10usb: usb251xb: Add max power/current dts property supportdrivers/usb/misc/usb251xb.c+20 -41 reply
10/10usb: usb251xb: Use GPIO descriptor consumer interfacedrivers/usb/misc/usb251xb.c+13 -200 replies

Reviews trailers per patch

4 of 10 patches have a Reviewed-by or Acked-by.

PatchRichard LeitnerRob Herring
1/10A-b
2/10
3/10A-b
4/10A-b
5/10A-b
6/10
7/10
8/10
9/10
10/10

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

Read the v3 thread

Cover letter [PATCH 00/10 v3] usb: usb251xb: Add USB2517i hub support and fix some bugs

Primarily it was intended to just add USB2517 hub support to the driver. But after tests a bug and inconistency were discovered. So it was decided to make the following changes:

Changelog v1:
- Add USB2517/i hub specifics support to the driver
- Fix property_u32 NULL-pointer dereference
- Add new {bus,self}-max-{power,curret} dts properties
- Replace legacy GPIO API usage with descriptor-based one

Changelog v2:
- Split first patch into smaller ones
- Fix invalid BOOST_14 register definition
- Combine copyrights adding patch into the last one

Changelog v3:
- Move bindings documentation updates to a separate patch
- Add "boolean" info to the corresponding properties
- Rename {sp,bp}-max-{power,current} with a better readable {sp,bp}-max-{total,removable}-current-microamp
- Discard Copyright line
- Add better reason text for dev_warn()'s
- Set led-speed-mode being default
- Fix some types

Serge Semin (10):
usb: usb251xb: Update usb251xb bindings
usb: usb251xb: Add USB2517i specific struct and IDs
usb: usb251xb: Add USB251x specific port count setting
usb: usb251xb: Add 5,6,7 ports mapping def setting
usb: usb251xb: Add 5,6,7 ports boost settings
usb: usb251xb: Add battery enable setting flag
usb: usb251xb: Add USB2517 LED settings
usb: usb251xb: Fix property_u32 NULL pointer dereference
usb: usb251xb: Add max power/current dts property support
usb: usb251xb: Use GPIO descriptor consumer interface

 .../devicetree/bindings/usb/usb251xb.txt |  46 ++++--
 kernel/drivers/usb/misc/Kconfig          |   4 +-
 kernel/drivers/usb/misc/usb251xb.c       | 166 +++++++++++++++------
 3 files changed, 158 insertions(+), 58 deletions(-)
Signature · 6 lines
2.12.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html