From: Walter Lozano Date: Thu, 23 Jul 2020 00:22:02 -0300 Subject: [PATCH v2 0/3] dtoc: improve compatible string aliases support Message-ID: <20200723032205.29856-1-walter.lozano@collabora.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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