
29 Apr
2020
29 Apr
'20
8:04 p.m.
On Wed, 29 Apr 2020 at 06:20, Patrice Chotard patrice.chotard@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@st.com
Changes in v2: None
drivers/phy/sandbox-phy.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
Reviewed-by: Simon Glass sjg@chromium.org