Re: [V3] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-16 Thread Michal Simek
Hi,

On 16. 12. 20 8:56, quanyang.wang wrote:
> Hi Bruce,
> 
> Would you please help remove the obsolete branch standard/xlnx-soc in
> linux-yocto-dev
> 
> and apply these patches to the new branch standard/xlnx-soc?
> 
> There are 1444 patches in this pull request, and it contains three parts:
> 
> 1)  4 patches are picked from Michal's git tree
> 
> git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
> are used to enable mainline psgtr driver and sata.
> 
> 2) 5 patches are made by me. There is one mainline-reverted patch which
> is used to revert mainlne DP driver
> 
> (I still use SDK DP driver this time because the DP driver in mainline
> lacks some features).
> 
> The four patches left are to fix issues in mainline gqspi drivers and
> they have been reviewed by Amit.
> 
> 3) The 1435 patches are picked from SDK
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
> xlnx_rebase_v5.4_2020.2).
> 
> There are some modifications in them since I am using mainline
> psgtr/dpdma drivers instead of SDK's.
> 
> And the features as below are tested roughly:
> 
> On zcu102:
> 
> SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort (display)
> / MMC
> 

Not a problem with it. As we discussed there are some issues but they
will be mostly solved by xilinx 5.10 version when available when we
deprecate this one.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9273): 
https://lists.yoctoproject.org/g/linux-yocto/message/9273
Mute This Topic: https://lists.yoctoproject.org/mt/78996232/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-15 Thread quanyang.wang

Hi Michal,

On 12/15/20 10:28 PM, Michal Simek wrote:

Hi,

On 14. 12. 20 12:59, quanyang.wang wrote:

Hi Michal,

On 12/14/20 7:22 PM, Michal Simek wrote:

Hi,

On 14. 12. 20 10:48, quanyang.wang wrote:

Hi Michal,

On 12/14/20 5:25 PM, Michal Simek wrote:

Hi Quanyang,

On 08. 12. 20 10:55, quanyang.wang wrote:

Hi Bruce & Michal,

Would you please help review patches and  remove the obsolete branch
standard/xlnx-soc in linux-yocto-dev

and apply them to the new branch standard/xlnx-soc?

There are 1447 patches in this pull request, and it contains three
parts:

1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
Michal's git tree

git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
are used to enable mainline

psgtr driver and sata.

2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
There is one mainline-reverted patch

which is used to revert mainlne DP driver (I still use SDK DP driver
this time because the DP driver in mainline lacks

some features). The four patches left are to fix issues in mainline
gqspi drivers and they have been reviewed by Amit.

3. The 1438 patches are picked from SDK
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).

There are some modifications in them since I am using mainline
psgtr/dpdma drivers instead of SDK's.


And the features as below are tested roughly:

On zcu102:

SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort
(display)
/ MMC


I have started to do v5.10 xilinx rebase tree (not done yet) and I see
when I compare it with mine that a lot of things are not fully correct.
I see several drivers which are using eemi ops not being fixed.

Thanks for the updating.  I only build it pass by using config file
xilinx_zynqmp_defconfig (disable RSA) and xilinx_zynq_defconfig

since we only support ZCU102/ZC706/ZC702. Furthermore, we only support
parts of features in ZCU102/ZC706/ZC702.

As for these features (mostly FPGA-related) which we don't support, I
just keep them as they are in the patches.

I really appreciate your effort on making these trees.
But isn't from your point of view better to just focus on
drivers/components which target just these 3 boards?

For now we only support 3 boards, but more features on these 3 boards
and more other

boards will be added into the support list sometime in the future, so I
need to port all

SDK patches to deal with this situation. Just picking parts of patches
will make it sticky when

we want to enable new features and new boards.

I understand it but not sure what to do with this series. If make sense
to let this go it and then replace it by Xilinx version. Or try to fix
this series directly.
What's your preference?


I prefer to merge this series then replace it by Xilinx version. I will send

a V3 patch series which based on the newest kernel.

Thanks,

Quanyang



Thanks,
Michal


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9266): 
https://lists.yoctoproject.org/g/linux-yocto/message/9266
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-15 Thread Michal Simek
Hi,

On 14. 12. 20 12:59, quanyang.wang wrote:
> Hi Michal,
> 
> On 12/14/20 7:22 PM, Michal Simek wrote:
>> Hi,
>>
>> On 14. 12. 20 10:48, quanyang.wang wrote:
>>> Hi Michal,
>>>
>>> On 12/14/20 5:25 PM, Michal Simek wrote:
 Hi Quanyang,

 On 08. 12. 20 10:55, quanyang.wang wrote:
> Hi Bruce & Michal,
>
> Would you please help review patches and  remove the obsolete branch
> standard/xlnx-soc in linux-yocto-dev
>
> and apply them to the new branch standard/xlnx-soc?
>
> There are 1447 patches in this pull request, and it contains three
> parts:
>
> 1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
> Michal's git tree
>
> git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
> are used to enable mainline
>
> psgtr driver and sata.
>
> 2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
> There is one mainline-reverted patch
>
> which is used to revert mainlne DP driver (I still use SDK DP driver
> this time because the DP driver in mainline lacks
>
> some features). The four patches left are to fix issues in mainline
> gqspi drivers and they have been reviewed by Amit.
>
> 3. The 1438 patches are picked from SDK
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
> xlnx_rebase_v5.4_2020.2).
>
> There are some modifications in them since I am using mainline
> psgtr/dpdma drivers instead of SDK's.
>
>
> And the features as below are tested roughly:
>
> On zcu102:
>
> SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort
> (display)
> / MMC
>
 I have started to do v5.10 xilinx rebase tree (not done yet) and I see
 when I compare it with mine that a lot of things are not fully correct.
 I see several drivers which are using eemi ops not being fixed.
>>> Thanks for the updating.  I only build it pass by using config file
>>> xilinx_zynqmp_defconfig (disable RSA) and xilinx_zynq_defconfig
>>>
>>> since we only support ZCU102/ZC706/ZC702. Furthermore, we only support
>>> parts of features in ZCU102/ZC706/ZC702.
>>>
>>> As for these features (mostly FPGA-related) which we don't support, I
>>> just keep them as they are in the patches.
>> I really appreciate your effort on making these trees.
>> But isn't from your point of view better to just focus on
>> drivers/components which target just these 3 boards?
> 
> For now we only support 3 boards, but more features on these 3 boards
> and more other
> 
> boards will be added into the support list sometime in the future, so I
> need to port all
> 
> SDK patches to deal with this situation. Just picking parts of patches
> will make it sticky when
> 
> we want to enable new features and new boards.

I understand it but not sure what to do with this series. If make sense
to let this go it and then replace it by Xilinx version. Or try to fix
this series directly.
What's your preference?

Thanks,
Michal


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9264): 
https://lists.yoctoproject.org/g/linux-yocto/message/9264
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-14 Thread quanyang.wang

Hi Michal,

On 12/14/20 7:22 PM, Michal Simek wrote:

Hi,

On 14. 12. 20 10:48, quanyang.wang wrote:

Hi Michal,

On 12/14/20 5:25 PM, Michal Simek wrote:

Hi Quanyang,

On 08. 12. 20 10:55, quanyang.wang wrote:

Hi Bruce & Michal,

Would you please help review patches and  remove the obsolete branch
standard/xlnx-soc in linux-yocto-dev

and apply them to the new branch standard/xlnx-soc?

There are 1447 patches in this pull request, and it contains three
parts:

1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
Michal's git tree

git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
are used to enable mainline

psgtr driver and sata.

2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
There is one mainline-reverted patch

which is used to revert mainlne DP driver (I still use SDK DP driver
this time because the DP driver in mainline lacks

some features). The four patches left are to fix issues in mainline
gqspi drivers and they have been reviewed by Amit.

3. The 1438 patches are picked from SDK
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).

There are some modifications in them since I am using mainline
psgtr/dpdma drivers instead of SDK's.


And the features as below are tested roughly:

On zcu102:

SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort (display)
/ MMC


I have started to do v5.10 xilinx rebase tree (not done yet) and I see
when I compare it with mine that a lot of things are not fully correct.
I see several drivers which are using eemi ops not being fixed.

Thanks for the updating.  I only build it pass by using config file
xilinx_zynqmp_defconfig (disable RSA) and xilinx_zynq_defconfig

since we only support ZCU102/ZC706/ZC702. Furthermore, we only support
parts of features in ZCU102/ZC706/ZC702.

As for these features (mostly FPGA-related) which we don't support, I
just keep them as they are in the patches.

I really appreciate your effort on making these trees.
But isn't from your point of view better to just focus on
drivers/components which target just these 3 boards?


For now we only support 3 boards, but more features on these 3 boards 
and more other


boards will be added into the support list sometime in the future, so I 
need to port all


SDK patches to deal with this situation. Just picking parts of patches 
will make it sticky when


we want to enable new features and new boards.

Thanks,

Quanyang



Our goal is definitely upstream everything to get rid of these painful
part but it takes a lot of times and not all the time properly aligned
with other planning.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9256): 
https://lists.yoctoproject.org/g/linux-yocto/message/9256
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-14 Thread Michal Simek
Hi,

On 14. 12. 20 10:48, quanyang.wang wrote:
> Hi Michal,
> 
> On 12/14/20 5:25 PM, Michal Simek wrote:
>> Hi Quanyang,
>>
>> On 08. 12. 20 10:55, quanyang.wang wrote:
>>> Hi Bruce & Michal,
>>>
>>> Would you please help review patches and  remove the obsolete branch
>>> standard/xlnx-soc in linux-yocto-dev
>>>
>>> and apply them to the new branch standard/xlnx-soc?
>>>
>>> There are 1447 patches in this pull request, and it contains three
>>> parts:
>>>
>>> 1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
>>> Michal's git tree
>>>
>>> git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
>>> are used to enable mainline
>>>
>>> psgtr driver and sata.
>>>
>>> 2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
>>> There is one mainline-reverted patch
>>>
>>> which is used to revert mainlne DP driver (I still use SDK DP driver
>>> this time because the DP driver in mainline lacks
>>>
>>> some features). The four patches left are to fix issues in mainline
>>> gqspi drivers and they have been reviewed by Amit.
>>>
>>> 3. The 1438 patches are picked from SDK
>>> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
>>> xlnx_rebase_v5.4_2020.2).
>>>
>>> There are some modifications in them since I am using mainline
>>> psgtr/dpdma drivers instead of SDK's.
>>>
>>>
>>> And the features as below are tested roughly:
>>>
>>> On zcu102:
>>>
>>> SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort (display)
>>> / MMC
>>>
>> I have started to do v5.10 xilinx rebase tree (not done yet) and I see
>> when I compare it with mine that a lot of things are not fully correct.
>> I see several drivers which are using eemi ops not being fixed.
> 
> Thanks for the updating.  I only build it pass by using config file
> xilinx_zynqmp_defconfig (disable RSA) and xilinx_zynq_defconfig
> 
> since we only support ZCU102/ZC706/ZC702. Furthermore, we only support
> parts of features in ZCU102/ZC706/ZC702.
> 
> As for these features (mostly FPGA-related) which we don't support, I
> just keep them as they are in the patches.

I really appreciate your effort on making these trees.
But isn't from your point of view better to just focus on
drivers/components which target just these 3 boards?

Our goal is definitely upstream everything to get rid of these painful
part but it takes a lot of times and not all the time properly aligned
with other planning.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9255): 
https://lists.yoctoproject.org/g/linux-yocto/message/9255
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-14 Thread quanyang.wang

Hi Michal,

On 12/14/20 5:25 PM, Michal Simek wrote:

Hi Quanyang,

On 08. 12. 20 10:55, quanyang.wang wrote:

Hi Bruce & Michal,

Would you please help review patches and  remove the obsolete branch
standard/xlnx-soc in linux-yocto-dev

and apply them to the new branch standard/xlnx-soc?

There are 1447 patches in this pull request, and it contains three parts:

1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
Michal's git tree

git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
are used to enable mainline

psgtr driver and sata.

2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
There is one mainline-reverted patch

which is used to revert mainlne DP driver (I still use SDK DP driver
this time because the DP driver in mainline lacks

some features). The four patches left are to fix issues in mainline
gqspi drivers and they have been reviewed by Amit.

3. The 1438 patches are picked from SDK
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).

There are some modifications in them since I am using mainline
psgtr/dpdma drivers instead of SDK's.


And the features as below are tested roughly:

On zcu102:

SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort (display)
/ MMC


I have started to do v5.10 xilinx rebase tree (not done yet) and I see
when I compare it with mine that a lot of things are not fully correct.
I see several drivers which are using eemi ops not being fixed.


Thanks for the updating.  I only build it pass by using config file 
xilinx_zynqmp_defconfig (disable RSA) and xilinx_zynq_defconfig


since we only support ZCU102/ZC706/ZC702. Furthermore, we only support 
parts of features in ZCU102/ZC706/ZC702.


As for these features (mostly FPGA-related) which we don't support, I 
just keep them as they are in the patches.


Thanks,

Quanyang



I just wanted to let you know about it to know that it is in progress now.

Thanks,
Michal


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9253): 
https://lists.yoctoproject.org/g/linux-yocto/message/9253
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [V2] [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-14 Thread Michal Simek
Hi Quanyang,

On 08. 12. 20 10:55, quanyang.wang wrote:
> Hi Bruce & Michal,
> 
> Would you please help review patches and  remove the obsolete branch
> standard/xlnx-soc in linux-yocto-dev
> 
> and apply them to the new branch standard/xlnx-soc?
> 
> There are 1447 patches in this pull request, and it contains three parts:
> 
> 1.  The commits 3012dfac7ac7..8858495ac334 (4 patches) are picked from
> Michal's git tree
> 
> git://git.monstr.eu/linux-2.6-microblaze.git zynqmp/dt. These commits
> are used to enable mainline
> 
> psgtr driver and sata.
> 
> 2. The commits 6a27662e42ee..9a6229a7fd81 (5 patches) are made by me.
> There is one mainline-reverted patch
> 
> which is used to revert mainlne DP driver (I still use SDK DP driver
> this time because the DP driver in mainline lacks
> 
> some features). The four patches left are to fix issues in mainline
> gqspi drivers and they have been reviewed by Amit.
> 
> 3. The 1438 patches are picked from SDK
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
> xlnx_rebase_v5.4_2020.2).
> 
> There are some modifications in them since I am using mainline
> psgtr/dpdma drivers instead of SDK's.
> 
> 
> And the features as below are tested roughly:
> 
> On zcu102:
> 
> SATA / USB / Ethernet / PCIe / GQSPI (dual mode) / DisplayPort (display)
> / MMC
> 

I have started to do v5.10 xilinx rebase tree (not done yet) and I see
when I compare it with mine that a lot of things are not fully correct.
I see several drivers which are using eemi ops not being fixed.

I just wanted to let you know about it to know that it is in progress now.

Thanks,
Michal


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9252): 
https://lists.yoctoproject.org/g/linux-yocto/message/9252
Mute This Topic: https://lists.yoctoproject.org/mt/78800150/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-12-03 Thread quanyang.wang
3.084566]  rest_init+0xd8/0xe8
[   53.087802]  arch_call_rest_init+0x10/0x1c
[   53.091905]  start_kernel+0x4b4/0x4ec
[   53.095589] Code: d1000443 ea03003f 8a230021 5440 (d50b7e21)
[   53.101691] ---[ end trace f1f0dc492a03b9d5 ]---
[   53.106314] Kernel panic - not syncing: Oops: Fatal exception in 
interrupt

[   53.113193] SMP: stopping secondary CPUs
[   53.117209] Kernel Offset: disabled
[   53.120705] CPU features: 0x0240002,20002004
[   53.124971] Memory Limit: none
[   53.128051] ---[ end Kernel panic - not syncing: Oops: Fatal 
exception in interrupt ]---





Regards,
Amit



-Original Message-
From: Michal Simek 
Sent: Thursday, November 26, 2020 5:31 PM
To: quanyang.w...@windriver.com; Bruce ;
Michal Simek 
Cc: linux-yocto@lists.yoctoproject.org; Amit Kumar Mahapatra

Subject: Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc:
porting SDK patches to kernel v5.10

Hi,


On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in
linux-yocto-dev and apply these patches for v5.10 as below to the new

branch standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from

https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).

and some of them are modified to adapt to the v5.10. And there are 4 new

patches.

Hi Michal,
Would you please help review these 4 patches as below?
The new 4 patches are made to fix issues in mainline zynqmp gqspi
driver in v5.10 since the driver has changed the framework from spi master

to spi mem.

0001-spi-spi-zynqmp-gqspi-transmit-dummy-circles-by-using.patch
0002-spi-spi-zynqmp-gqspi-add-mutex-locking-for-exec_op.patch
0003-spi-spi-zynqmp-gqspi-use-wait_for_completion_timeout.patch
0004-spi-spi-zynqmp-gqspi-fix-zynqmp_qspi_read_op-assign-.patch


Amit: Can you please take a look at them?

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9217): 
https://lists.yoctoproject.org/g/linux-yocto/message/9217
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-29 Thread quanyang.wang

Hi Michal,

On 11/27/20 6:38 PM, Michal Simek wrote:

Hi,

On 27. 11. 20 11:31, quanyang.wang wrote:

Hi Michal,

On 11/27/20 6:28 PM, Michal Simek wrote:

Hi,

On 27. 11. 20 11:22, quanyang.wang wrote:

Hi Michal,

On 11/26/20 8:20 PM, Michal Simek wrote:

Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in
linux-yocto-dev
and apply these patches for v5.10 as below to the new branch
standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).
and some of them are modified to adapt to the v5.10. And there are 4
new patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?

Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested

Did you test sata by using v5.10 kernel? Do I need modify dts file

to enable  psgtr for sata?


Yes. Here is for example setting for zcu102. I need to take a look at
others boards too.

http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=shortlog;h=refs/heads/zynqmp/dt

Thank you very much.  This helps me a lot.

you can normally used fixed-clock node for that. But one thing what I am
not sure with mainline psgtr driver is when you cat clk_summary you
can't really see ref count because none is calling clk_enable. That's
why I think when you have gt clock source provided from external device
you really should enable that clock before use it.


Thanks for the reminding. It gave me a great inspiration. I cat 
clk_summary and


found that "dp_video_ref" is not enabled.  This is an issue in dp driver 
of mainline.


The clk "disp->pclk" in dp driver should be enabled then disabled in the 
probe function, then


enable it again in zynqmp_disp_crtc_atomic_enable (This is what SDK DP 
driver does) .


Mainline dp driver only enables it in zynqmp_disp_crtc_atomic_enable, so 
the dp


subsystem don't send signal to the DP monitor.

And now the DP monitor can receive signals from the board but the screen 
is black.


I will do more debug on it.


Thanks,

Quanyang




Some boards have si5341 chips that's why can be directly use. Some of
them should be done via fixed clocks.

And I didn't try anything else yet.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9201): 
https://lists.yoctoproject.org/g/linux-yocto/message/9201
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-27 Thread Michal Simek
Hi,

On 27. 11. 20 11:31, quanyang.wang wrote:
> Hi Michal,
> 
> On 11/27/20 6:28 PM, Michal Simek wrote:
>> Hi,
>>
>> On 27. 11. 20 11:22, quanyang.wang wrote:
>>> Hi Michal,
>>>
>>> On 11/26/20 8:20 PM, Michal Simek wrote:
 Hi,

 On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:
> From: Quanyang Wang 
>
> Hi Bruce,
>
> Would you please help remove the obsolete branch standard/xlnx-soc in
> linux-yocto-dev
> and apply these patches for v5.10 as below to the new branch
> standard/xlnx-soc?
>
> There are 1451 patches in this pull request.
>
> Among them, 1443 patches are picked from
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
> xlnx_rebase_v5.4_2020.2).
> and some of them are modified to adapt to the v5.10. And there are 4
> new patches.
 I took at look at your branch and there are some interesting things.
 First of all thanks for your work.

 Do you use any script of it because I see you keep references to origin
 sha1 which is quite nice?

 Then obviously we need to switch to psgtr mainline driver and add
 missing features because that's the only way to go in long run. I tested
>>> Did you test sata by using v5.10 kernel? Do I need modify dts file
>>>
>>> to enable  psgtr for sata?
>>>
>> Yes. Here is for example setting for zcu102. I need to take a look at
>> others boards too.
>>
>> http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=shortlog;h=refs/heads/zynqmp/dt
> 
> Thank you very much.  This helps me a lot.

you can normally used fixed-clock node for that. But one thing what I am
not sure with mainline psgtr driver is when you cat clk_summary you
can't really see ref count because none is calling clk_enable. That's
why I think when you have gt clock source provided from external device
you really should enable that clock before use it.

Some boards have si5341 chips that's why can be directly use. Some of
them should be done via fixed clocks.

And I didn't try anything else yet.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9200): 
https://lists.yoctoproject.org/g/linux-yocto/message/9200
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-27 Thread quanyang.wang

Hi Michal,

On 11/27/20 6:28 PM, Michal Simek wrote:

Hi,

On 27. 11. 20 11:22, quanyang.wang wrote:

Hi Michal,

On 11/26/20 8:20 PM, Michal Simek wrote:

Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in
linux-yocto-dev
and apply these patches for v5.10 as below to the new branch
standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).
and some of them are modified to adapt to the v5.10. And there are 4
new patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?

Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested

Did you test sata by using v5.10 kernel? Do I need modify dts file

to enable  psgtr for sata?


Yes. Here is for example setting for zcu102. I need to take a look at
others boards too.

http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=shortlog;h=refs/heads/zynqmp/dt


Thank you very much.  This helps me a lot.

Thanks,

Quanyang



Thanks,
Michal




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9199): 
https://lists.yoctoproject.org/g/linux-yocto/message/9199
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-27 Thread Michal Simek
Hi,

On 27. 11. 20 11:22, quanyang.wang wrote:
> Hi Michal,
> 
> On 11/26/20 8:20 PM, Michal Simek wrote:
>> Hi,
>>
>> On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:
>>> From: Quanyang Wang 
>>>
>>> Hi Bruce,
>>>
>>> Would you please help remove the obsolete branch standard/xlnx-soc in
>>> linux-yocto-dev
>>> and apply these patches for v5.10 as below to the new branch
>>> standard/xlnx-soc?
>>>
>>> There are 1451 patches in this pull request.
>>>
>>> Among them, 1443 patches are picked from
>>> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
>>> xlnx_rebase_v5.4_2020.2).
>>> and some of them are modified to adapt to the v5.10. And there are 4
>>> new patches.
>> I took at look at your branch and there are some interesting things.
>> First of all thanks for your work.
>>
>> Do you use any script of it because I see you keep references to origin
>> sha1 which is quite nice?
>>
>> Then obviously we need to switch to psgtr mainline driver and add
>> missing features because that's the only way to go in long run. I tested
> 
> Did you test sata by using v5.10 kernel? Do I need modify dts file
> 
> to enable  psgtr for sata?
> 

Yes. Here is for example setting for zcu102. I need to take a look at
others boards too.

http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=shortlog;h=refs/heads/zynqmp/dt

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9198): 
https://lists.yoctoproject.org/g/linux-yocto/message/9198
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-27 Thread quanyang.wang

Hi Michal,

On 11/26/20 8:20 PM, Michal Simek wrote:

Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in 
linux-yocto-dev
and apply these patches for v5.10 as below to the new branch standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from 
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag 
xlnx_rebase_v5.4_2020.2).
and some of them are modified to adapt to the v5.10. And there are 4 new 
patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?

Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested


Did you test sata by using v5.10 kernel? Do I need modify dts file

to enable  psgtr for sata?

Thanks,

Quanyang


yesterday sata and it worked. I expect DP should be also fine and others
needs to be checked. Yesterday I have sent email to Laurent to check
some details about it.
Xilinx is going to prepare v5.10 rebase tree with fixing these problems.
It should be available in Q1/2021.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9197): 
https://lists.yoctoproject.org/g/linux-yocto/message/9197
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread quanyang.wang

Hi Michal,

On 11/26/20 9:10 PM, Michal Simek wrote:


On 26. 11. 20 14:06, quanyang.wang wrote:

Hi Michal,

On 11/26/20 8:20 PM, Michal Simek wrote:

Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in
linux-yocto-dev
and apply these patches for v5.10 as below to the new branch
standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
xlnx_rebase_v5.4_2020.2).
and some of them are modified to adapt to the v5.10. And there are 4
new patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?

yes, the script is as below:

---

#!/bin/sh
add_sdk_commit ()
{
for each in `ls *.patch`; do title=`grep -m 1 -n "From " $each`;
     echo $title
     num=`grep -m 1 -n ^$ $each | awk -F : '{print$1}'`;
     commit=`echo $title | cut -c 7-47`;
     echo $commit
     echo $num
     sed "$num a\https://github.com/Xilinx/linux-xlnx.git
xlnx_rebase_v5.4\n" -i $each;
     sed "$num a\commit $commit from" -i $each;
done
}
add_sdk_commit

---


Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested
yesterday sata and it worked. I expect DP should be also fine and others
needs to be checked. Yesterday I have sent email to Laurent to check
some details about it.

The DP driver can't work in mainline v5.9 and v5.10 now. I tried to make
it work

but failed. I modified the dts (xilinx_dpsub.patch in attachment) to
make the DP driver get through

the initialization but the DP monitor has no signal.  I don't know if
this is a DP issue or psgtr phy issue.

So for v5.10 yocto kernel,  I gave up using mainline DP driver and
reverted  DP/psgtr/dpdma mainline

drivers to use SDK drivers instead.

If the DP driver can work in the near future, I would like switch to
mainline DP/psgtr/dpdma driver.


Xilinx is going to prepare v5.10 rebase tree with fixing these problems.

Is there any developing version based on v5.10 at Xilinx now? Wish for
some reference.

I am just starting to work on that. And checking these stuff one by one
to address them properly ahead.


Got it. Thanks for the info.

Thanks,

Quanyang



Thanks,
Michal




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9196): 
https://lists.yoctoproject.org/g/linux-yocto/message/9196
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek


On 26. 11. 20 14:06, quanyang.wang wrote:
> Hi Michal,
> 
> On 11/26/20 8:20 PM, Michal Simek wrote:
>> Hi,
>>
>> On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:
>>> From: Quanyang Wang 
>>>
>>> Hi Bruce,
>>>
>>> Would you please help remove the obsolete branch standard/xlnx-soc in
>>> linux-yocto-dev
>>> and apply these patches for v5.10 as below to the new branch
>>> standard/xlnx-soc?
>>>
>>> There are 1451 patches in this pull request.
>>>
>>> Among them, 1443 patches are picked from
>>> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag
>>> xlnx_rebase_v5.4_2020.2).
>>> and some of them are modified to adapt to the v5.10. And there are 4
>>> new patches.
>> I took at look at your branch and there are some interesting things.
>> First of all thanks for your work.
>>
>> Do you use any script of it because I see you keep references to origin
>> sha1 which is quite nice?
> 
> yes, the script is as below:
> 
> ---
> 
> #!/bin/sh
> add_sdk_commit ()
> {
> for each in `ls *.patch`; do title=`grep -m 1 -n "From " $each`;
>     echo $title
>     num=`grep -m 1 -n ^$ $each | awk -F : '{print$1}'`;
>     commit=`echo $title | cut -c 7-47`;
>     echo $commit
>     echo $num
>     sed "$num a\https://github.com/Xilinx/linux-xlnx.git
> xlnx_rebase_v5.4\n" -i $each;
>     sed "$num a\commit $commit from" -i $each;
> done
> }
> add_sdk_commit
> 
> ---
> 
>>
>> Then obviously we need to switch to psgtr mainline driver and add
>> missing features because that's the only way to go in long run. I tested
>> yesterday sata and it worked. I expect DP should be also fine and others
>> needs to be checked. Yesterday I have sent email to Laurent to check
>> some details about it.
> 
> The DP driver can't work in mainline v5.9 and v5.10 now. I tried to make
> it work
> 
> but failed. I modified the dts (xilinx_dpsub.patch in attachment) to
> make the DP driver get through
> 
> the initialization but the DP monitor has no signal.  I don't know if
> this is a DP issue or psgtr phy issue.
> 
> So for v5.10 yocto kernel,  I gave up using mainline DP driver and
> reverted  DP/psgtr/dpdma mainline
> 
> drivers to use SDK drivers instead.
> 
> If the DP driver can work in the near future, I would like switch to
> mainline DP/psgtr/dpdma driver.
> 
>> Xilinx is going to prepare v5.10 rebase tree with fixing these problems.
> 
> Is there any developing version based on v5.10 at Xilinx now? Wish for
> some reference.

I am just starting to work on that. And checking these stuff one by one
to address them properly ahead.

Thanks,
Michal




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9194): 
https://lists.yoctoproject.org/g/linux-yocto/message/9194
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread quanyang.wang

Hi Michal,

On 11/26/20 8:20 PM, Michal Simek wrote:

Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:

From: Quanyang Wang 

Hi Bruce,

Would you please help remove the obsolete branch standard/xlnx-soc in 
linux-yocto-dev
and apply these patches for v5.10 as below to the new branch standard/xlnx-soc?

There are 1451 patches in this pull request.

Among them, 1443 patches are picked from 
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag 
xlnx_rebase_v5.4_2020.2).
and some of them are modified to adapt to the v5.10. And there are 4 new 
patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?


yes, the script is as below:

---

#!/bin/sh
add_sdk_commit ()
{
for each in `ls *.patch`; do title=`grep -m 1 -n "From " $each`;
    echo $title
    num=`grep -m 1 -n ^$ $each | awk -F : '{print$1}'`;
    commit=`echo $title | cut -c 7-47`;
    echo $commit
    echo $num
    sed "$num a\https://github.com/Xilinx/linux-xlnx.git 
xlnx_rebase_v5.4\n" -i $each;

    sed "$num a\commit $commit from" -i $each;
done
}
add_sdk_commit

---



Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested
yesterday sata and it worked. I expect DP should be also fine and others
needs to be checked. Yesterday I have sent email to Laurent to check
some details about it.


The DP driver can't work in mainline v5.9 and v5.10 now. I tried to make 
it work


but failed. I modified the dts (xilinx_dpsub.patch in attachment) to 
make the DP driver get through


the initialization but the DP monitor has no signal.  I don't know if 
this is a DP issue or psgtr phy issue.


So for v5.10 yocto kernel,  I gave up using mainline DP driver and 
reverted  DP/psgtr/dpdma mainline


drivers to use SDK drivers instead.

If the DP driver can work in the near future, I would like switch to 
mainline DP/psgtr/dpdma driver.



Xilinx is going to prepare v5.10 rebase tree with fixing these problems.


Is there any developing version based on v5.10 at Xilinx now? Wish for 
some reference.


Thanks,

Quanyang


It should be available in Q1/2021.

Thanks,
Michal
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
index 9868ca15dfc5..50d027d20239 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-clk-ccf.dtsi
@@ -43,6 +43,34 @@
 		#clock-cells = <0>;
 		clock-frequency = <2700>;
 	};
+
+	dp_aclk: dp_aclk {
+		compatible = "fixed-clock";
+		#clock-cells = <0>;
+		clock-frequency = <1>;
+		clock-accuracy = <100>;
+	};
+
+};
+
+_firmware {
+zynqmp_clk: clock-controller {
+u-boot,dm-pre-reloc;
+#clock-cells = <1>;
+compatible = "xlnx,zynqmp-clk";
+clocks = <_ref_clk>, <_clk>, <_alt_ref_clk>,
+ <_ref_clk>, <_crx_ref_clk>;
+clock-names = "pss_ref_clk", "video_clk", "pss_alt_ref_clk",
+  "aux_ref_clk", "gt_crx_ref_clk";
+};
+};
+
+_dpdma {
+	clocks = <_clk DPDMA_REF>;
+};
+
+ {
+	clocks = <_clk>, <_clk>, <_clk>, <_clk>;
 };
 
  {
@@ -220,3 +248,7 @@
  {
 	clocks = <_clk WDT>;
 };
+
+_dpsub {
+clocks = <_aclk>, <_clk DP_AUDIO_REF>, <_clk DP_VIDEO_REF>;
+};
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
index 4f801721564f..7f0f5a698fe2 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
+++ b/arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revA.dts
@@ -13,6 +13,7 @@
 #include "zynqmp-clk-ccf.dtsi"
 #include 
 #include 
+#include 
 
 / {
 	model = "ZynqMP ZCU102 RevA";
@@ -138,6 +139,14 @@
 	status = "okay";
 };
 
+ {
+	status = "okay";
+};
+
+_dpdma {
+	status = "okay";
+};
+
  {
 	status = "okay";
 };
@@ -619,6 +628,12 @@
 	status = "okay";
 };
 
+_dpsub {
+status = "okay";
+phy-names = "dp-phy0";
+	phys = < 1 PHY_TYPE_DP 0 3>;
+};
+
  {
 	status = "okay";
 };
diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 3ec99f13c259..fe88a22baeb8 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -146,6 +146,11 @@
 	  "gt_crx_ref_clk";
 			};
 
+			zynqmp_reset: reset-controller {
+compatible = "xlnx,zynqmp-reset";
+#reset-cells = <1>;
+			};
+
 			nvmem_firmware {
 compatible = "xlnx,zynqmp-nvmem-fw";
 #address-cells = <1>;
@@ -566,6 +571,21 @@
 			  <0x0 0xfd3d 0x0 0x1000>;
 			reg-names = "serdes", "siou";
 			#phy-cells = <4>;
+
+			clock-names = "ref0", "ref1", "ref2", "ref3";
+
+			lane0: lane0 {
+#phy-cells = <4>;
+};
+lane1: lane1 {
+#phy-cells = <4>;
+};
+lane2: lane2 {
+#phy-cells = 

Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek
Hi,

On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:
> From: Quanyang Wang 
> 
> Hi Bruce,
> 
> Would you please help remove the obsolete branch standard/xlnx-soc in 
> linux-yocto-dev
> and apply these patches for v5.10 as below to the new branch 
> standard/xlnx-soc?
> 
> There are 1451 patches in this pull request.
> 
> Among them, 1443 patches are picked from 
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag 
> xlnx_rebase_v5.4_2020.2).
> and some of them are modified to adapt to the v5.10. And there are 4 new 
> patches.

I took at look at your branch and there are some interesting things.
First of all thanks for your work.

Do you use any script of it because I see you keep references to origin
sha1 which is quite nice?

Then obviously we need to switch to psgtr mainline driver and add
missing features because that's the only way to go in long run. I tested
yesterday sata and it worked. I expect DP should be also fine and others
needs to be checked. Yesterday I have sent email to Laurent to check
some details about it.
Xilinx is going to prepare v5.10 rebase tree with fixing these problems.
It should be available in Q1/2021.

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9192): 
https://lists.yoctoproject.org/g/linux-yocto/message/9192
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [linux-yocto] [linux-yocto-dev standard/xlnx-soc] xlnx-soc: porting SDK patches to kernel v5.10

2020-11-26 Thread Michal Simek
Hi,


On 26. 11. 20 11:19, quanyang.w...@windriver.com wrote:
> From: Quanyang Wang 
> 
> Hi Bruce,
> 
> Would you please help remove the obsolete branch standard/xlnx-soc in 
> linux-yocto-dev
> and apply these patches for v5.10 as below to the new branch 
> standard/xlnx-soc?
> 
> There are 1451 patches in this pull request.
> 
> Among them, 1443 patches are picked from 
> https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v5.4 (tag 
> xlnx_rebase_v5.4_2020.2).
> and some of them are modified to adapt to the v5.10. And there are 4 new 
> patches.
> 
> Hi Michal,
> Would you please help review these 4 patches as below?
> The new 4 patches are made to fix issues in mainline zynqmp gqspi driver in 
> v5.10 since
> the driver has changed the framework from spi master to spi mem.
> 
> 0001-spi-spi-zynqmp-gqspi-transmit-dummy-circles-by-using.patch
> 0002-spi-spi-zynqmp-gqspi-add-mutex-locking-for-exec_op.patch
> 0003-spi-spi-zynqmp-gqspi-use-wait_for_completion_timeout.patch
> 0004-spi-spi-zynqmp-gqspi-fix-zynqmp_qspi_read_op-assign-.patch


Amit: Can you please take a look at them?

Thanks,
Michal

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9191): 
https://lists.yoctoproject.org/g/linux-yocto/message/9191
Mute This Topic: https://lists.yoctoproject.org/mt/78526815/21656
Group Owner: linux-yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-