diff options
author | Heiko Stuebner <heiko@sntech.de> | 2024-09-06 11:25:10 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-10-16 21:20:42 +0300 |
commit | 4940071d962827467f7297be3b874c96186ca0b7 (patch) | |
tree | 1c482ba8b0b437e06355e3bc5ee8daffdbd4baae /tools/perf/scripts/python/task-analyzer.py | |
parent | 36abe81d9c3fa200a57ef2363e93a2991e387e19 (diff) | |
download | linux-4940071d962827467f7297be3b874c96186ca0b7.tar.xz |
clk: clk-gpio: add driver for gated-fixed-clocks
In contrast to fixed clocks that are described as ungateable, boards
sometimes use additional oscillators for things like PCIe reference
clocks, that need actual supplies to get enabled and enable-gpios to be
toggled for them to work.
This adds a driver for those generic gated-fixed-clocks
that can show up in schematics looking like
----------------
Enable - | 100MHz,3.3V, | - VDD
| 3225 |
GND - | | - OUT
----------------
The new driver gets grouped together with the existing gpio-gate and
gpio-mux, as it for one re-uses a lot of the gpio-gate functions
and also in its core it's just another gpio-controlled clock, just
with a fixed rate and a regulator-supply added in.
The regulator-API provides function stubs for the !CONFIG_REGULATOR case,
so no special handling is necessary.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://lore.kernel.org/r/20240906082511.2963890-5-heiko@sntech.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions