From patchwork Tue Apr 21 14:08:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrice CHOTARD X-Patchwork-Id: 238197 List-Id: U-Boot discussion From: patrice.chotard at st.com (Patrice Chotard) Date: Tue, 21 Apr 2020 16:08:37 +0200 Subject: [PATCH v1 0/2] cmd: bind allow to bind driver with driver_data Message-ID: <20200421140840.25729-1-patrice.chotard@st.com> For this, we make usage of driver_check_compatible() primitive. Patch 1 is giving access to driver_check_compatible() Patch 2 is adding find_udevice_id() which parses the driver of_match list and returns the driver corresponding entry. Patrice Chotard (2): dm: core: give access to driver_check_compatible() cmd: bind: allow to bind driver with driver data cmd/bind.c | 29 ++++++++++++++++++++++++++++- drivers/core/lists.c | 6 +++--- include/dm/lists.h | 12 ++++++++++++ 3 files changed, 43 insertions(+), 4 deletions(-)