]> git.baikalelectronics.ru Git - kernel.git/commit
clk: bcm2835: Introduce SoC specific clock registration
authorStefan Wahren <wahrenst@gmx.net>
Sun, 18 Aug 2019 16:23:42 +0000 (18:23 +0200)
committerStephen Boyd <sboyd@kernel.org>
Tue, 17 Sep 2019 16:55:31 +0000 (09:55 -0700)
commitac657cfff8ca4888e8b6138963236bbbe4b4a6e6
treef7f2652850f5b09eb2d49d08092a6f9fd30f3e3b
parentfabe0f8fd5d299f2562e9c6b8ff983c2241babd2
clk: bcm2835: Introduce SoC specific clock registration

In order to support SoC specific clocks (e.g. emmc2 for BCM2711), we
extend the description with a SoC support flag. This approach avoids long
and mostly redundant lists of clock IDs. Since PLLH is specific to
BCM2835, we register only rest of the clocks as common to all SoC.

Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
drivers/clk/bcm/clk-bcm2835.c