clk: bcm2835: Limit PCM clock to OSC and PLLD_PER
authorPhil Elwell <phil@raspberrypi.org>
Wed, 26 Apr 2017 16:28:47 +0000 (17:28 +0100)
committerRaspbian kernel package updater <root@raspbian.org>
Sun, 8 Oct 2017 01:07:29 +0000 (01:07 +0000)
commitde8fc98ea2924e33836dd30e3653d36fff13f5df
treeacbf2f61e9b3921888209c7f82f8af194aae1ed8
parenta5963e4f0bcde4771a6c2c242a111994374f039c
clk: bcm2835: Limit PCM clock to OSC and PLLD_PER

It is unwise to use sources other than the oscillator and PLLD_PER for
the PCM peripheral (and perhaps others - TBD) because their rate can
change and they may even be switched off, so explicitly restrict the
choice using dummy entries in the list of potential parents (item index
is significant).

See: https://github.com/raspberrypi/linux/issues/1949

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/clk/bcm/clk-bcm2835.c