On Fri, Oct 7, 2016 at 4:38 PM, Maxime Ripard
wrote:
> Hi,
>
> On Fri, Oct 07, 2016 at 12:06:22AM +0800, Chen-Yu Tsai wrote:
>> +struct sun4i_tcon_quirks {
>> + boolis_sun5i; /* sun5i has undocumented mux */
>> + boolhas_channel_1; /* a33 does not have channel 1 */
>> +
On Tue, Oct 11, 2016 at 05:16:21PM +0800, Chen-Yu Tsai wrote:
> On Fri, Oct 7, 2016 at 4:38 PM, Maxime Ripard
> wrote:
> > Hi,
> >
> > On Fri, Oct 07, 2016 at 12:06:22AM +0800, Chen-Yu Tsai wrote:
> >> +struct sun4i_tcon_quirks {
> >> + boolis_sun5i; /* sun5i has undocumented mux */
Hi,
On Fri, Oct 07, 2016 at 12:06:22AM +0800, Chen-Yu Tsai wrote:
> +struct sun4i_tcon_quirks {
> + boolis_sun5i; /* sun5i has undocumented mux */
> + boolhas_channel_1; /* a33 does not have channel 1 */
> + boolhas_bypass_src; /* has separate input bypassing CEU */
We already have some differences between the 2 supported SoCs.
More will be added as we support other SoCs. To avoid bloating
the probe function with even more conditionals, move the quirks
to a separate data structure that's tied to the compatible string.
Signed-off-by: Chen-Yu Tsai
---