u-boot/drivers/reset
Konrad Dybcio 3ead661633
clk/qcom: handle resets and clocks in one device
Qualcomm's clock controller blocks actually do much more than it
says on the tin.. They provide clocks, resets and power domains.
Currently, U-Boot requires one to spawn 2 separate devices for
controlling clocks and resets, both spanning the same register space.
Refactor the code to make it work with just a single DT node, making
it compatible with upstream Linux bindings and dropping the dedicated
reset driver in favour of including it in the clock driver.

Heavily inspired by Renesas code for a similar hw block.

[caleb: moved drivers to clk/qcom, added reset driver and adjusted bind
logic. Imported qcom,gcc-ipq4019.h from Linux]

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
2024-01-16 12:26:23 +00:00
..
Kconfig clk/qcom: handle resets and clocks in one device 2024-01-16 12:26:23 +00:00
Makefile clk/qcom: handle resets and clocks in one device 2024-01-16 12:26:23 +00:00
reset-ast2500.c reset/aspeed: Implement status callback 2022-07-06 14:30:51 -04:00
reset-ast2600.c reset/aspeed: Implement status callback 2022-07-06 14:30:51 -04:00
reset-at91.c reset: at91: Add reset driver for basic assert/deassert operations 2023-01-05 10:06:35 +02:00
reset-bcm6345.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-dra7.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
reset-hisilicon.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-hsdk.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-imx7.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-jh7110.c reset: starfive: jh7110: Add reset driver for StarFive JH7110 SoC 2023-04-20 16:08:44 +08:00
reset-mediatek.c reset: mediatek: check malloc return valaue before use 2023-08-03 09:40:49 -04:00
reset-meson.c reset: add support for Amlogic A1 family 2023-10-12 13:39:41 +02:00
reset-mtmips.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-raspberrypi.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-rockchip.c core: read: fix dev_read_addr_size() 2023-07-20 14:10:57 -06:00
reset-scmi.c scmi: refactor the code to hide a channel from devices 2023-10-13 16:59:23 -04:00
reset-sifive.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-socfpga.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
reset-sunxi.c reset: sunxi: Reuse the platform data from the clock driver 2022-07-18 09:37:50 +01:00
reset-syscon.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
reset-ti-sci.c tree-wide: Replace http:// link with https:// link for ti.com 2023-11-10 11:01:50 -05:00
reset-uclass.c reset: Allow reset_get_by_name() with NULL name 2023-02-12 13:44:20 -05:00
reset-uniphier.c reset: uniphier: Add USB glue reset support 2023-02-22 19:40:11 +01:00
reset-zynqmp.c reset: zynqmp: Enable reset driver for Versal NET 2022-09-26 14:23:29 +02:00
rst-rk3588.c reset: rockchip: implement rk3588 lookup table 2023-05-17 17:36:18 +08:00
sandbox-reset-test.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sandbox-reset.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
sti-reset.c common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
stm32-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
tegra-car-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00
tegra186-reset.c reset: Return 0 if ops unimplemented and remove empty functions 2022-05-05 19:37:11 -04:00