72bb8275 | 09-Dec-2024 |
Jerome Brunet <jbrunet@baylibre.com> |
reset: amlogic: aux: drop aux registration helper
Having the aux registration helper along with the registered driver is not great dependency wise. It does not allow the registering driver to be pro
reset: amlogic: aux: drop aux registration helper
Having the aux registration helper along with the registered driver is not great dependency wise. It does not allow the registering driver to be properly decoupled from the registered auxiliary driver.
Drop the registration helper from the amlogic auxiliary reset driver. This will be handled in the registering clock driver to start with while a more generic solution is worked on.
Suggested-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20241209-meson-rst-aux-rework-v1-2-d2afb69cc72e@baylibre.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
show more ...
|
ccfba09c | 09-Dec-2024 |
Jerome Brunet <jbrunet@baylibre.com> |
reset: amlogic: aux: get regmap through parent device
Get regmap directly from the parent device registering the auxiliary reset driver, instead of using device data attached to the auxiliary device
reset: amlogic: aux: get regmap through parent device
Get regmap directly from the parent device registering the auxiliary reset driver, instead of using device data attached to the auxiliary device.
This simplifies the registration a bit.
Suggested-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20241209-meson-rst-aux-rework-v1-1-d2afb69cc72e@baylibre.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
show more ...
|
5f79c4b6 | 30-Sep-2024 |
Philipp Zabel <p.zabel@pengutronix.de> |
reset: amlogic: Fix small whitespace issue
Fix a checkpatch --strict issue:
CHECK: Alignment should match open parenthesis #48: FILE: drivers/reset/amlogic/reset-meson-common.c:48: +static in
reset: amlogic: Fix small whitespace issue
Fix a checkpatch --strict issue:
CHECK: Alignment should match open parenthesis #48: FILE: drivers/reset/amlogic/reset-meson-common.c:48: +static int meson_reset_level(struct reset_controller_dev *rcdev, + unsigned long id, bool assert)
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20240930-reset-align-amlogic-v1-1-f64ed5c4efc1@pengutronix.de Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
show more ...
|
fb4c3158 | 10-Sep-2024 |
Jerome Brunet <jbrunet@baylibre.com> |
reset: amlogic: add auxiliary reset driver support
Add support for the reset controller present in the audio clock controller of the g12 and sm1 SoC families, using the auxiliary bus.
This is expec
reset: amlogic: add auxiliary reset driver support
Add support for the reset controller present in the audio clock controller of the g12 and sm1 SoC families, using the auxiliary bus.
This is expected to replace the driver currently present directly within the related clock driver.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Link: https://lore.kernel.org/r/20240910-meson-rst-aux-v5-9-60be62635d3e@baylibre.com Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
show more ...
|
c38ae95c | 10-Sep-2024 |
Jerome Brunet <jbrunet@baylibre.com> |
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 de
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>
show more ...
|