Skip to content
Commit a8dc4965 authored by Svyatoslav Ryhel's avatar Svyatoslav Ryhel Committed by Sean Anderson
Browse files

clk: clk-gpio: add actual gated clock



Existing gpio-gate-clock driver acts like a simple GPIO switch without any
effect on gated clock. Add actual clock actions into enable/disable ops and
implement get_rate op by passing gated clock if it is enabled.

Signed-off-by: default avatarSvyatoslav Ryhel <clamor95@gmail.com>
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
Link: https://lore.kernel.org/r/20240110160956.4476-2-clamor95@gmail.com


[ sorted includes ]
Signed-off-by: default avatarSean Anderson <seanga2@gmail.com>
parent 0bfbb830
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment