clk: add table lookup to mux

Add a table lookup feature to the mux clock. Also allow arbitrary masks
instead of the width. This will be used by some clocks on Tegra114. Also
adapt the tegra periph clk because it uses struct clk_mux directly.

Signed-off-by: Peter De Schrijver <[email protected]>
Tested-by: Stephen Warren <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
4 files changed