[PATCH v2 0/3] dtoc: improve compatible string aliases support

Walter Lozano walter.lozano at collabora.com
Thu Jul 23 05:22:02 CEST 2020


This series adds additional improvements to dtoc, which are focused in
compatible string aliases.

First, enhance dtoc to use not only the first but all the compatible
strings in a dtb node in order to find a valid driver name.

Second, remove the aliases support from some drivers as it is not longer
needed.

Last, remove compatible string aliases from dtoc which were used to
generate mappings between struct names. This is not longer needed since
now a valid driver name is used.

Changes in v2:
- Remove aliases from drivers

Walter Lozano (3):
  dtoc: look for compatible string aliases in driver list
  drivers: avoid using aliases on drivers when OF_PLATDATA is enabled
  dtoc: remove compatible string aliases support

 drivers/gpio/mxs_gpio.c          | 10 ++----
 drivers/mmc/mxsmmc.c             | 10 ++----
 drivers/spi/mxs_spi.c            | 10 ++----
 tools/dtoc/dtb_platdata.py       | 58 +++++++++++++-------------------
 tools/dtoc/dtoc_test_aliases.dts |  5 +++
 tools/dtoc/test_dtoc.py          | 39 +++------------------
 6 files changed, 38 insertions(+), 94 deletions(-)

-- 
2.20.1



More information about the U-Boot mailing list