All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rnndb/dsi: Add more bits for DSI PHY
@ 2015-08-13 21:44 Hai Li
  2015-08-24 20:20 ` Samuel Pitoiset
  0 siblings, 1 reply; 6+ messages in thread
From: Hai Li @ 2015-08-13 21:44 UTC (permalink / raw)
  To: dri-devel; +Cc: linux-arm-msm, linux-kernel, robdclark, Hai Li

More registers and bit fields are added for PHY timings
and bitclk source selection.

Signed-off-by: Hai Li <hali@codeaurora.org>
---
 rnndb/dsi/dsi.xml | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi/dsi.xml
index 02cfa3b..956f3ff 100644
--- a/rnndb/dsi/dsi.xml
+++ b/rnndb/dsi/dsi.xml
@@ -217,6 +217,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 	<reg32 offset="0x00128" name="PHY_RESET">
 		<bitfield name="RESET" pos="0" type="boolean"/>
 	</reg32>
+	<reg32 offset="0x0017c" name="T_CLK_PRE_EXTEND">
+		<bitfield name="INC_BY_2_BYTECLK" pos="0" type="boolean"/>
+	</reg32>
 	<reg32 offset="0x001d0" name="RDBK_DATA_CTRL">
 		<bitfield name="COUNT" low="16" high="23" type="uint"/>
 		<bitfield name="CLR" pos="0" type="boolean"/>
@@ -437,7 +440,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 	<reg32 offset="0x001c4" name="BIST_CTRL_4"/>
 	<reg32 offset="0x001c8" name="BIST_CTRL_5"/>
 
-	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
+	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
+		<bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
+	</reg32>
 	<reg32 offset="0x001dc" name="LDO_CNTRL"/>
 </domain>
 
@@ -608,7 +613,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
 	<reg32 offset="0x001c4" name="BIST_CTRL_4"/>
 	<reg32 offset="0x001c8" name="BIST_CTRL_5"/>
 
-	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
+	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
+		<bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
+	</reg32>
 	<reg32 offset="0x001dc" name="LDO_CNTRL"/>
 </domain>
 
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] rnndb/dsi: Add more bits for DSI PHY
  2015-08-24 20:20 ` Samuel Pitoiset
@ 2015-08-24 20:16   ` Rob Clark
  2015-08-24 20:26     ` Samuel Pitoiset
  0 siblings, 1 reply; 6+ messages in thread
From: Rob Clark @ 2015-08-24 20:16 UTC (permalink / raw)
  To: Samuel Pitoiset; +Cc: dri-devel@lists.freedesktop.org

On Mon, Aug 24, 2015 at 4:20 PM, Samuel Pitoiset
<samuel.pitoiset@gmail.com> wrote:
> Hi Hai,
>
> I don't know what those bits are used for, but I'm a bit curious about how
> did you find them?
>
> Also, the next time don't forget to send patches related to envytools to
> nouveau@lists.freedesktop.org
> (or better send a pull request from github).

fwiw, those are actually for freedreno envytools ;-)

(although I suppose at some point we should maybe try to get it all
back into a single repo..)

BR,
-R

> Thanks.
>
>
> On 08/13/2015 11:44 PM, Hai Li wrote:
>>
>> More registers and bit fields are added for PHY timings
>> and bitclk source selection.
>>
>> Signed-off-by: Hai Li <hali@codeaurora.org>
>> ---
>>   rnndb/dsi/dsi.xml | 11 +++++++++--
>>   1 file changed, 9 insertions(+), 2 deletions(-)
>>
>> diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi/dsi.xml
>> index 02cfa3b..956f3ff 100644
>> --- a/rnndb/dsi/dsi.xml
>> +++ b/rnndb/dsi/dsi.xml
>> @@ -217,6 +217,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>> rules-ng.xsd">
>>         <reg32 offset="0x00128" name="PHY_RESET">
>>                 <bitfield name="RESET" pos="0" type="boolean"/>
>>         </reg32>
>> +       <reg32 offset="0x0017c" name="T_CLK_PRE_EXTEND">
>> +               <bitfield name="INC_BY_2_BYTECLK" pos="0" type="boolean"/>
>> +       </reg32>
>>         <reg32 offset="0x001d0" name="RDBK_DATA_CTRL">
>>                 <bitfield name="COUNT" low="16" high="23" type="uint"/>
>>                 <bitfield name="CLR" pos="0" type="boolean"/>
>> @@ -437,7 +440,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>> rules-ng.xsd">
>>         <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>         <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>   -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>> +       </reg32>
>>         <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>   </domain>
>>   @@ -608,7 +613,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>> rules-ng.xsd">
>>         <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>         <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>   -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>> +       </reg32>
>>         <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>   </domain>
>>
>
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rnndb/dsi: Add more bits for DSI PHY
  2015-08-13 21:44 [PATCH] rnndb/dsi: Add more bits for DSI PHY Hai Li
@ 2015-08-24 20:20 ` Samuel Pitoiset
  2015-08-24 20:16   ` Rob Clark
  0 siblings, 1 reply; 6+ messages in thread
From: Samuel Pitoiset @ 2015-08-24 20:20 UTC (permalink / raw)
  To: Hai Li, dri-devel

Hi Hai,

I don't know what those bits are used for, but I'm a bit curious about 
how did you find them?

Also, the next time don't forget to send patches related to envytools to 
nouveau@lists.freedesktop.org
(or better send a pull request from github).

Thanks.

On 08/13/2015 11:44 PM, Hai Li wrote:
> More registers and bit fields are added for PHY timings
> and bitclk source selection.
>
> Signed-off-by: Hai Li <hali@codeaurora.org>
> ---
>   rnndb/dsi/dsi.xml | 11 +++++++++--
>   1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi/dsi.xml
> index 02cfa3b..956f3ff 100644
> --- a/rnndb/dsi/dsi.xml
> +++ b/rnndb/dsi/dsi.xml
> @@ -217,6 +217,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
>   	<reg32 offset="0x00128" name="PHY_RESET">
>   		<bitfield name="RESET" pos="0" type="boolean"/>
>   	</reg32>
> +	<reg32 offset="0x0017c" name="T_CLK_PRE_EXTEND">
> +		<bitfield name="INC_BY_2_BYTECLK" pos="0" type="boolean"/>
> +	</reg32>
>   	<reg32 offset="0x001d0" name="RDBK_DATA_CTRL">
>   		<bitfield name="COUNT" low="16" high="23" type="uint"/>
>   		<bitfield name="CLR" pos="0" type="boolean"/>
> @@ -437,7 +440,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
>   	<reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>   	<reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>   
> -	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
> +	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
> +		<bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
> +	</reg32>
>   	<reg32 offset="0x001dc" name="LDO_CNTRL"/>
>   </domain>
>   
> @@ -608,7 +613,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd">
>   	<reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>   	<reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>   
> -	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
> +	<reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
> +		<bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
> +	</reg32>
>   	<reg32 offset="0x001dc" name="LDO_CNTRL"/>
>   </domain>
>   

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rnndb/dsi: Add more bits for DSI PHY
  2015-08-24 20:26     ` Samuel Pitoiset
@ 2015-08-24 20:22       ` Ilia Mirkin
  2015-08-24 20:46       ` Rob Clark
  1 sibling, 0 replies; 6+ messages in thread
From: Ilia Mirkin @ 2015-08-24 20:22 UTC (permalink / raw)
  To: Samuel Pitoiset; +Cc: dri-devel@lists.freedesktop.org

On Mon, Aug 24, 2015 at 4:26 PM, Samuel Pitoiset
<samuel.pitoiset@gmail.com> wrote:
> On 08/24/2015 10:16 PM, Rob Clark wrote:
>> On Mon, Aug 24, 2015 at 4:20 PM, Samuel Pitoiset
>> <samuel.pitoiset@gmail.com> wrote:
>>>
>>> Hi Hai,
>>>
>>> I don't know what those bits are used for, but I'm a bit curious about
>>> how
>>> did you find them?
>>>
>>> Also, the next time don't forget to send patches related to envytools to
>>> nouveau@lists.freedesktop.org
>>> (or better send a pull request from github).
>>
>> fwiw, those are actually for freedreno envytools ;-)
>
>
> Oh really? I have never heard about an envytools for freedreno! :)

Should be cueseetools or something :)

  -ilia
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rnndb/dsi: Add more bits for DSI PHY
  2015-08-24 20:16   ` Rob Clark
@ 2015-08-24 20:26     ` Samuel Pitoiset
  2015-08-24 20:22       ` Ilia Mirkin
  2015-08-24 20:46       ` Rob Clark
  0 siblings, 2 replies; 6+ messages in thread
From: Samuel Pitoiset @ 2015-08-24 20:26 UTC (permalink / raw)
  To: Rob Clark; +Cc: dri-devel@lists.freedesktop.org



On 08/24/2015 10:16 PM, Rob Clark wrote:
> On Mon, Aug 24, 2015 at 4:20 PM, Samuel Pitoiset
> <samuel.pitoiset@gmail.com> wrote:
>> Hi Hai,
>>
>> I don't know what those bits are used for, but I'm a bit curious about how
>> did you find them?
>>
>> Also, the next time don't forget to send patches related to envytools to
>> nouveau@lists.freedesktop.org
>> (or better send a pull request from github).
> fwiw, those are actually for freedreno envytools ;-)

Oh really? I have never heard about an envytools for freedreno! :)

>
> (although I suppose at some point we should maybe try to get it all
> back into a single repo..)
>
> BR,
> -R
>
>> Thanks.
>>
>>
>> On 08/13/2015 11:44 PM, Hai Li wrote:
>>> More registers and bit fields are added for PHY timings
>>> and bitclk source selection.
>>>
>>> Signed-off-by: Hai Li <hali@codeaurora.org>
>>> ---
>>>    rnndb/dsi/dsi.xml | 11 +++++++++--
>>>    1 file changed, 9 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi/dsi.xml
>>> index 02cfa3b..956f3ff 100644
>>> --- a/rnndb/dsi/dsi.xml
>>> +++ b/rnndb/dsi/dsi.xml
>>> @@ -217,6 +217,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>>> rules-ng.xsd">
>>>          <reg32 offset="0x00128" name="PHY_RESET">
>>>                  <bitfield name="RESET" pos="0" type="boolean"/>
>>>          </reg32>
>>> +       <reg32 offset="0x0017c" name="T_CLK_PRE_EXTEND">
>>> +               <bitfield name="INC_BY_2_BYTECLK" pos="0" type="boolean"/>
>>> +       </reg32>
>>>          <reg32 offset="0x001d0" name="RDBK_DATA_CTRL">
>>>                  <bitfield name="COUNT" low="16" high="23" type="uint"/>
>>>                  <bitfield name="CLR" pos="0" type="boolean"/>
>>> @@ -437,7 +440,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>>> rules-ng.xsd">
>>>          <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>>          <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>>    -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>>> +       </reg32>
>>>          <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>>    </domain>
>>>    @@ -608,7 +613,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>>> rules-ng.xsd">
>>>          <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>>          <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>>    -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>>> +       </reg32>
>>>          <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>>    </domain>
>>>
>>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] rnndb/dsi: Add more bits for DSI PHY
  2015-08-24 20:26     ` Samuel Pitoiset
  2015-08-24 20:22       ` Ilia Mirkin
@ 2015-08-24 20:46       ` Rob Clark
  1 sibling, 0 replies; 6+ messages in thread
From: Rob Clark @ 2015-08-24 20:46 UTC (permalink / raw)
  To: Samuel Pitoiset; +Cc: dri-devel@lists.freedesktop.org

On Mon, Aug 24, 2015 at 4:26 PM, Samuel Pitoiset
<samuel.pitoiset@gmail.com> wrote:
>
>
> On 08/24/2015 10:16 PM, Rob Clark wrote:
>>
>> On Mon, Aug 24, 2015 at 4:20 PM, Samuel Pitoiset
>> <samuel.pitoiset@gmail.com> wrote:
>>>
>>> Hi Hai,
>>>
>>> I don't know what those bits are used for, but I'm a bit curious about
>>> how
>>> did you find them?
>>>
>>> Also, the next time don't forget to send patches related to envytools to
>>> nouveau@lists.freedesktop.org
>>> (or better send a pull request from github).
>>
>> fwiw, those are actually for freedreno envytools ;-)
>
>
> Oh really? I have never heard about an envytools for freedreno! :)
>

yup... fwiw, etnaviv and I think ilo also use envytools

BR,
-R

>
>>
>> (although I suppose at some point we should maybe try to get it all
>> back into a single repo..)
>>
>> BR,
>> -R
>>
>>> Thanks.
>>>
>>>
>>> On 08/13/2015 11:44 PM, Hai Li wrote:
>>>>
>>>> More registers and bit fields are added for PHY timings
>>>> and bitclk source selection.
>>>>
>>>> Signed-off-by: Hai Li <hali@codeaurora.org>
>>>> ---
>>>>    rnndb/dsi/dsi.xml | 11 +++++++++--
>>>>    1 file changed, 9 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/rnndb/dsi/dsi.xml b/rnndb/dsi/dsi.xml
>>>> index 02cfa3b..956f3ff 100644
>>>> --- a/rnndb/dsi/dsi.xml
>>>> +++ b/rnndb/dsi/dsi.xml
>>>> @@ -217,6 +217,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>>>> rules-ng.xsd">
>>>>          <reg32 offset="0x00128" name="PHY_RESET">
>>>>                  <bitfield name="RESET" pos="0" type="boolean"/>
>>>>          </reg32>
>>>> +       <reg32 offset="0x0017c" name="T_CLK_PRE_EXTEND">
>>>> +               <bitfield name="INC_BY_2_BYTECLK" pos="0"
>>>> type="boolean"/>
>>>> +       </reg32>
>>>>          <reg32 offset="0x001d0" name="RDBK_DATA_CTRL">
>>>>                  <bitfield name="COUNT" low="16" high="23" type="uint"/>
>>>>                  <bitfield name="CLR" pos="0" type="boolean"/>
>>>> @@ -437,7 +440,9 @@ xsi:schemaLocation="http://nouveau.freedesktop.org/
>>>> rules-ng.xsd">
>>>>          <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>>>          <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>>>    -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>>>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>>>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>>>> +       </reg32>
>>>>          <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>>>    </domain>
>>>>    @@ -608,7 +613,9 @@
>>>> xsi:schemaLocation="http://nouveau.freedesktop.org/
>>>> rules-ng.xsd">
>>>>          <reg32 offset="0x001c4" name="BIST_CTRL_4"/>
>>>>          <reg32 offset="0x001c8" name="BIST_CTRL_5"/>
>>>>    -     <reg32 offset="0x001d4" name="GLBL_TEST_CTRL"/>
>>>> +       <reg32 offset="0x001d4" name="GLBL_TEST_CTRL">
>>>> +               <bitfield name="BITCLK_HS_SEL" pos="0" type="boolean"/>
>>>> +       </reg32>
>>>>          <reg32 offset="0x001dc" name="LDO_CNTRL"/>
>>>>    </domain>
>>>>
>>>
>>> _______________________________________________
>>> dri-devel mailing list
>>> dri-devel@lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-24 20:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-13 21:44 [PATCH] rnndb/dsi: Add more bits for DSI PHY Hai Li
2015-08-24 20:20 ` Samuel Pitoiset
2015-08-24 20:16   ` Rob Clark
2015-08-24 20:26     ` Samuel Pitoiset
2015-08-24 20:22       ` Ilia Mirkin
2015-08-24 20:46       ` Rob Clark

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.