]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitee0a5a9013b2b2502571a763c3093d400d18191f
treef7f2652850f5b09eb2d49d08092a6f9fd30f3e3b
parent80766f87263c527b6c66a297e8d9c1d961d37eba
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