MLK-20886-6 imx8qm/qxp: Implement runtime i2c driver binding
authorYe Li <ye.li@nxp.com>
Thu, 31 Jan 2019 06:24:15 +0000 (22:24 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:16 +0000 (04:28 -0700)
commit8393fe1e2ad6025f686956a447a6acee3250a2b4
tree8c4618989011f9a667a1ac2e64447d1d90e33068
parent8c407ea63ad7c7cf59eb6d8b96766cd163026d82
MLK-20886-6 imx8qm/qxp: Implement runtime i2c driver binding

When a i2c device is binding with drivers, we check whether current
partition ownes the resource. If not owned, the binding to local lpi2c
driver will fail, otherwise binding to virtual i2c driver will fail.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 81dd157fd0ba476c994e95a63515cb65164f1e87)
arch/arm/mach-imx/imx8/cpu.c