clk: Add support for shared gates
Sometimes a single software control knob controls multiple gates
in hardware. This patch adds support for shared gates which help
coping this situation. The first gate is registered with the hardware
gate as usual, the others are registered as shared gates which does
not have hardware control itself, but only switches the real hardware
gate.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent bce7942 commit 2225c194edc1e2f71c0d8dc1c0c3b936d241060a
@Sascha Hauer Sascha Hauer authored on 2 Feb 2017
Showing 3 changed files
View
drivers/clk/Makefile
View
drivers/clk/clk-gate-shared.c 0 → 100644
View
include/linux/clk.h