On Fri, Sep 29, 2017 at 6:19 PM, Maxime Ripard
wrote:
> On Fri, Sep 29, 2017 at 08:22:55AM +, Chen-Yu Tsai wrote:
>> static const struct sun4i_tcon_quirks sun5i_a13_quirks = {
>> - .has_unknown_mux = true,
>> - .has_channel_1 = true,
>> + .has_unknown_mux= true,
>> +
On Fri, Sep 29, 2017 at 08:22:55AM +, Chen-Yu Tsai wrote:
> static const struct sun4i_tcon_quirks sun5i_a13_quirks = {
> - .has_unknown_mux = true,
> - .has_channel_1 = true,
> + .has_unknown_mux= true,
> + .has_channel_1 = true,
> + .set_mux
Different SoCs have different muxing options and values for the TCON
outputs. Instead of stuffing every possibility in sun4i_tcon_set_mux(),
add a callback pointer to sun4i_tcon_quirks that each TCON variant
can use to provide muxing support.
The current muxing options in sun4i_tcon_set_mux() for