]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: Add GPIO-controlled clock gate driver
authorMarek Vasut <marek.vasut+renesas@mailbox.org>
Sun, 13 Aug 2023 23:51:27 +0000 (01:51 +0200)
committerMarek Vasut <marek.vasut+renesas@mailbox.org>
Sat, 9 Sep 2023 02:53:31 +0000 (04:53 +0200)
commit92d5f99633e4d0a33ea1f22e28674440ddcd7072
treeaf7f6af6e686ed2ef2c1321f8e0f43a20f3f95c0
parent515e0af77b25fba24ef6a3c72afee6ae3c739825
clk: Add GPIO-controlled clock gate driver

Add driver which implements GPIO-controlled clock. The GPIO is used
as a gate to enable/disable the clock. This matches linux clk-gpio.c
driver, however this does not implement the GPIO mux part, which in
U-Boot DM would be better fit in separate driver.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/clk-gpio.c [new file with mode: 0644]