[PATCH] drm/fsl-dcu: Fix endian issue when using clk_register_divider
Meng Yi
meng.yi at nxp.com
Tue Aug 23 10:16:51 UTC 2016
> >> fsl_dev->pix_clk = clk_register_divider(dev, pix_clk_name,
> >> pix_clk_in_name, 0, base + DCU_DIV_RATIO,
> >> - 0, 8, CLK_DIVIDER_ROUND_CLOSEST, NULL);
> >> + 24, 8, CLK_DIVIDER_ROUND_CLOSEST, NULL);
> >
> > Tested-by: Meng Yi <meng.yi at nxp.com>
> >
> > On LS1021A-TWR board.
>
> Yeah I wanted to give this a try on Vybrid, but I don't think that works since on
> Vybrid the IP is little endian...
>
> We need to come up with a solution which takes that into account.
> Alternatively we can put the offset into the SoC specific structure...
>
Ok, I will do this these days.
Best Regards,
Meng
More information about the dri-devel
mailing list