summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2019-02-18 23:51:46 -0800
committerYe Li <ye.li@nxp.com>2019-02-18 23:53:33 -0800
commit7f753d1b5950015b11be58aa937e5c14b9f26d7a (patch)
tree45fc3c1f49507c7efc78511b24cf6514be41517f /drivers
parent8524ca764d8fbd05da1593abfed62bb075c50cd4 (diff)
MLK-20945-3 imx_virt_i2c: Add DM_FLAG_IGNORE_POWER_ON flag
When we probe device with virtual i2c driver, it will definitely fail to power up the PD. Becasue the resource is owned by M4. So set this driver to ignore the power up result Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/imx_virt_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/i2c/imx_virt_i2c.c b/drivers/i2c/imx_virt_i2c.c
index 46472547ada..765622f3870 100644
--- a/drivers/i2c/imx_virt_i2c.c
+++ b/drivers/i2c/imx_virt_i2c.c
@@ -306,4 +306,5 @@ U_BOOT_DRIVER(imx_virt_i2c) = {
.child_post_bind = imx_virt_i2c_child_post_bind,
.priv_auto_alloc_size = sizeof(struct imx_virt_i2c_bus),
.ops = &imx_virt_i2c_ops,
+ .flags = DM_FLAG_IGNORE_POWER_ON,
};