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

From: Jean-Francois Moine
Date: Tue Jul 26 2016 - 13:43:16 EST


On Tue, 26 Jul 2016 15:04:26 +0800
Chen-Yu Tsai <wens@xxxxxxxx> 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/