clk: mux: Add support for read-only muxes.
commitc57acd14ac2d53e40f5c17701c3cc3a092a07b35
authorTomasz Figa <tomasz.figa@gmail.com>
Mon, 22 Jul 2013 23:49:18 +0000 (23 01:49 +0200)
committerMike Turquette <mturquette@linaro.org>
Mon, 5 Aug 2013 18:56:46 +0000 (5 11:56 -0700)
treef26fc4f7c7449f3ccfb2e36090561adbf0504bd2
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
clk: mux: Add support for read-only muxes.

Some platforms have read-only clock muxes that are preconfigured at
reset and cannot be changed at runtime. This patch extends mux clock
driver to allow handling such read-only muxes by adding new
CLK_MUX_READ_ONLY mux flag.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-mux.c
include/linux/clk-provider.h