RE: [PATCH] drm/fsl-dcu: Fix endian issue when using clk_register_divider

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2016-08-22 00:13, Meng Yi wrote:
>>  	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@xxxxxxx>
> 
> 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...

--
Stefan

> 
>>  	if (IS_ERR(fsl_dev->pix_clk)) {
>>  		dev_err(dev, "failed to register pix clk\n");
>>  		ret = PTR_ERR(fsl_dev->pix_clk);
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux