]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: register reset controller from a platform driver
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 5 Oct 2021 10:06:18 +0000 (12:06 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 15 Oct 2021 01:38:06 +0000 (09:38 +0800)
commit67082a32708e38fa7169396a271f915d9868087a
tree6ab7f7f84d7f265dc311b6d76865e4f19929450d
parent103479191c4e70b5ba26c55ed10583d0ddab7e05
ARM: imx: register reset controller from a platform driver

Starting with commit 98efb555c0a2 ("of: property: fw_devlink: Add
support for "resets" and "pwms""), the imx-drm driver fails to load
due to forever dormant devlinks to the reset-controller node. This
node was never associated with a struct device.

Add a platform device to allow fw_devnode to activate the devlinks.

Fixes: 98efb555c0a2 ("of: property: fw_devlink: Add support for "resets" and "pwms"")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Saravana Kannan <saravanak@google.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/src.c