[PATCH v2 2/5] sandbox: phy: add driver_data for bind test cmd
Simon Glass
sjg at chromium.org
Wed Apr 29 20:04:42 CEST 2020
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard <patrice.chotard at st.com> wrote:
>
> Add driver data to existing compatible string "sandbox,phy".
> Add an additional compatible string without driver_data
>
> This will verify that bind command parses, finds and passes the
> correct driver data to device_bind_with_driver_data() by using
> driver_data in the second sandbox_phy_ids table entry.
> In sandbox_phy_bind() a check is added to validate driver_data
> content.
>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
> ---
>
> Changes in v2: None
>
> drivers/phy/sandbox-phy.c | 18 +++++++++++++++++-
> 1 file changed, 17 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list