Skip to content

dm: uclass: don't assign aliased seq numbers

Michael Walle u-boot 13 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest0 of 2 patches 0 repliesNew
  2. v4 posting 6/61 patch 0 repliesSuperseded
  3. v4 posting 5/61 patch 0 repliesSuperseded
Earlier versions · 10
VersionPostedPatchesRepliesStatus
v4 posting 4/61 patch0 repliesSuperseded
v4 posting 3/61 patch0 repliesSuperseded
v4 posting 2/61 patch0 repliesSuperseded
v4 posting 1/61 patch0 repliesSuperseded
v3 posting 3/31 patch0 repliesSuperseded
v3 posting 2/31 patch0 repliesSuperseded
v2 posting 2/21 patch0 repliesSuperseded
v3 posting 1/31 patch0 repliesSuperseded
v2 posting 1/21 patch0 repliesSuperseded
v11 patch0 repliesSuperseded

Changes in v7 from the cover letter

- added new patch to fix dev_read_alias_highest_id()

Patches in v7 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchMarek VasutSimon GlassAlex MargineanVladimir OlteanMichal Simek
SeriesR-b R-b R-b R-b R-b R-b R-b R-b R-b T-b R-b T-b A-b A-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v7 thread

Cover letter [PATCH v7 0/2] dm: uclass: don't assign aliased seq numbers

If there are aliases for an uclass, set the base for the "dynamically" allocated numbers next to the highest alias.

The actual patch is 3, the first two patches will fix some breakage which would be introduced with patch 3.

changes since v6:
- added new patch to fix dev_read_alias_highest_id()

changes since v5:
- added test cases for usb dt node patch

changes since v4:
- new patch to fix the ethernet0 alias on Raspberry Pis. This has never been working, but wasn't a problem until recently. Patch 3 changes the allocation of the numbers and reserves possible aliases.

changes since v3:
- dev_read_alias_highest_id() is only available if CONFIG_OF_CONTROL is set. Thus added an additional condition "CONFIG_IS_ENABLED(OF_CONTROL)", thanks Simon.

changes since v2:
- adapt/new test cases, thanks Simon

changes since v1:
- move notice about superfluous commits from commit message to this section.
- fix the comment style

Michael Walle (3):
usb: provide a device tree node to USB devices
dm: core: fix dev_read_alias_highest_id() without libfdt
dm: uclass: don't assign aliased seq numbers

 arch/sandbox/dts/test.dts     | 13 +++++++++--
 drivers/core/uclass.c         | 21 +++++++++++++-----
 drivers/usb/host/usb-uclass.c | 41 ++++++++++++++++++++++++++++++-----
 include/configs/sandbox.h     |  6 ++---
 include/dm/read.h             |  2 ++
 test/dm/eth.c                 | 14 ++++++------
 test/dm/test-fdt.c            | 22 ++++++++++++++-----
 test/dm/usb.c                 | 22 +++++++++++++++++++
 8 files changed, 113 insertions(+), 28 deletions(-)
Signature · 1 line
2.20.1