Thread (10 messages) 10 messages, 2 authors, 2014-03-27

RE: [PATCH 2/2] video/fsl: Fix the sleep function for FSL DIU module

From: Jason.Jin@freescale.com <hidden>
Date: 2014-03-27 03:57:19
Also in: linux-fbdev

Jason.Jin@freescale.com wrote:
quoted
[Jason Jin-R64188] It's not hackish, we can provide the pixel clock
register in the DIU node, I did not provide the dts update as this is
only tested on T1040 platform. For other platforms such as p1022 and 8610=
,
we still can use the pixel clock setting function in the platform.
quoted
The dts node update for T1040 is:
display:display@180000 {
         compatible =3D "fsl,t1040-diu", "fsl,diu";
-       reg =3D <0x180000 1000>;
+       reg =3D <0x180000 1000 0xfc028 4>;
         interrupts =3D <74 2 0 0>;
};
=20
This is hackish because you're specifying a single register that you want
to preserve in the DTS file, instead of a platform function which is
where it's supposed to be.
=20
[Jason Jin-R64188] The pixel clock register is actually part of the DIU reg=
isters although it is not implemented in the diu module. Actually we can us=
e it to set pixel clock in the driver not just saving it in suspend. We can=
 provide the patch for discussion.=20
I will think about this some more.  I think you are trying too hard to
avoid a platform file, which is why some of this code is hackish to me.
[Jason Jin-R64188] Thanks. Could you please share you thinking for how to s=
etup the platform file then?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help