From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Sat, 19 Dec 2020 11:40:26 -0500 Subject: [PATCH v3 12/28] dm: core: Allow manual sequence numbering In-Reply-To: <20201217042034.411902-11-sjg@chromium.org> References: <20201217042034.411902-11-sjg@chromium.org> <20201217042034.411902-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Some buses have their own rules which require assigning sequence numbers with a bus-specific algorithm. For example, PCI requires that sub-buses are numbered higher than their parent buses, meaning effectively that parent buses must be numbered only after all of their child buses have been numbered. Add a uclass flag to indicate that driver model should not assign sequence numbers. In this case, the uclass must do it. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Add new patch to allow manual sequence numbering drivers/core/device.c | 2 +- include/dm/uclass.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!