[PATCH v2 1/3] dtoc: look for compatible string aliases in driver list

Simon Glass sjg at chromium.org
Sun Jul 26 16:53:51 CEST 2020


Hi Walter,

On Wed, 22 Jul 2020 at 21:22, Walter Lozano <walter.lozano at collabora.com> wrote:
>
> Currently dtoc checks if the first compatible string in a dtb node
> matches either a driver o driver alias name, without taking into account

or

> any other compatible string in the list. In the case that no driver matches
> the first compatible string a warning is printed and the U_BOOT_DEVICE is
> not being declared correctly.
>
> This patch adds dtoc's support for try all the compatible strings in the
> dtb node, in an effort to find the correct driver.
>
> Signed-off-by: Walter Lozano <walter.lozano at collabora.com>
> ---
>
> (no changes since v1)
>
>  tools/dtoc/dtb_platdata.py       | 45 ++++++++++++++++----------------
>  tools/dtoc/dtoc_test_aliases.dts |  5 ++++
>  tools/dtoc/test_dtoc.py          | 20 +++++++++++---
>  3 files changed, 44 insertions(+), 26 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list