[PATCH 4/9] clk: sunxi-ng: mux: Add support for mux tables

Jean-Francois Moine moinejf at free.fr
Tue Jul 26 10:43:06 PDT 2016


On Tue, 26 Jul 2016 15:04:26 +0800
Chen-Yu Tsai <wens at csie.org> wrote:

> Some clock muxes have holes, i.e. invalid or unconnected inputs,
> between parent mux values.
> 
> Add support for specifying a mux table to map clock parents to
> mux values.

Putting empty strings in the holes should work. No?
Ex:

static const char * const csi_mclk_parents[] =
	{ "pll-video0", "pll-video1", "", "", "", "osc24M" };

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/



More information about the linux-arm-kernel mailing list