]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
reset: amlogic: split the device core and platform probe
authorJerome Brunet <jbrunet@baylibre.com>
Tue, 10 Sep 2024 16:32:50 +0000 (18:32 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 1 Oct 2024 08:40:32 +0000 (10:40 +0200)
commitc38ae95cd31c636ae21fff3e6a9250df680f0cdd
tree90001bc140d43cd66837e016a4e9ab4d9db70e64
parent2c138ee3354f8088769d05701a2e16d1cb4cc22d
reset: amlogic: split the device core and platform probe

To prepare the addition of the auxiliary device support, split
out the device coomon functions from the probe of the platform device.

The device core function will be common to both the platform and auxiliary
driver.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20240910-meson-rst-aux-v5-8-60be62635d3e@baylibre.com
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/amlogic/Kconfig
drivers/reset/amlogic/Makefile
drivers/reset/amlogic/reset-meson-common.c [new file with mode: 0644]
drivers/reset/amlogic/reset-meson.c
drivers/reset/amlogic/reset-meson.h [new file with mode: 0644]