Commits
Ye Li committed 637d2ef7e44
MLK-24062-3 gpio: mxc_gpio: Improve to use ofdata_to_platdata Current mxc_gpio DM driver allocates the platdata in bind function to handle both OF_CONTROL enabled case and disabled case. This implementation puts the devfdt_get_addr in bind, which introduces much overhead especially in board_f phase. Change the driver to a common way for handling the cases by using ofdata_to_platdata and using DM framework to allocate platdata. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit b1d08b73756f5090aa33edda98edd239cfca3f4e)