Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENGR00286060 arm: imx6q/dl: fix 1588 clock init fail
Bug log during kernel boot: ... failed to find fsl,imx6q-iomux-gpr regmap ... The issue is imx6q_1588_init() is called before of_platform_populate(). of_platform_populate() walks the device tree and creates devices from nodes. imx6q_1588_init() call syscon_regmap_lookup_by_compatible() to get the device base on the given device node, since the device cannot created for the node, so it is failed. So, move the 1588 init function to behind of of_platform_populate(). Signed-off-by: Fugang Duan <B38611@freescale.com>
- Loading branch information