From: Quanyang Wang
Hi Bruce & Michal,
There is a fix for erasesize in dual mode in xilinx v4.19 kernel, but the
spi-nor framework
has changed in new version kernel, so I make this patch to fix it in new kernel.
Would you please help review and merge these patches to linux-yocto-dev
standard/
From: Quanyang Wang
The zcu102 and zc706 boards support qspi dual mode, and in
the dual mode, the erasesize for mtd device should be twice
as much as the erasesize for each nor flash chip.
Signed-off-by: Quanyang Wang
---
drivers/mtd/spi-nor/spi-nor.c | 6 +-
1 file changed, 5 insertions(+
Hi Naga,
On 12/16/19 7:40 PM, Naga Sureshkumar Relli wrote:
Hi Quanyang,
These patches are ok. but I didn't see any spi-nor.c or other frame work
related patches to support dual parallel and stacked modes. Or am I missing
something?
These patches are in the git tree:
git://git.yoctoproject
On 12/16/19 4:55 PM, Michal Simek wrote:
On 16. 12. 19 9:53, Quanyang Wang wrote:
On 12/16/19 4:46 PM, Michal Simek wrote:
Hi,
Naga: Can you please take a look at these spi patches?
On 16. 12. 19 9:36, quanyang.w...@windriver.com wrote:
From: Quanyang Wang
Hi Bruce & Michal,
Would you pl
On 12/16/19 4:46 PM, Michal Simek wrote:
Hi,
Naga: Can you please take a look at these spi patches?
On 16. 12. 19 9:36, quanyang.w...@windriver.com wrote:
From: Quanyang Wang
Hi Bruce & Michal,
Would you please help review and merge these patches to linux-yocto-dev
standard/xlnx-soc branc
From: Quanyang Wang
This reverts commit 67dca5e580f1e93a66177389981541cac208c817.
Revert all mainline commits for spi-zynq-qspi.c and apply SDK patches
to make sure that spi-zynq-qspi.c works in spi-master frame work.
Signed-off-by: Quanyang Wang
---
drivers/spi/Kconfig | 15 -
drive
From: Michal Simek
The driver supports single, dual parallel and dual stacked
configurations.
Signed-off-by: Naga Sureshkumar Relli
Signed-off-by: Michal Simek
[Quanyang: original patch taken from
https://github.com/Xilinx/linux-xlnx.git xlnx_rebase_v4.19]
Signed-off-by: Quanyang Wang
---
dr
From: Quanyang Wang
This reverts commit 8eb2fd00f65a96143ed1535bdbf4ca4e129d30d1.
Revert all mainline commits for spi-zynq-qspi.c and apply SDK patches
to make sure that spi-zynq-qspi.c works in spi-master frame work.
Signed-off-by: Quanyang Wang
---
drivers/spi/spi-zynq-qspi.c | 2 +-
1 file
From: Quanyang Wang
This reverts commit 6b8ac10e0dd4b49eda513c1aa5045b3b1660d350
Revert all mainline commits for spi-zynq-qspi.c and apply SDK patches
to make sure that spi-zynq-qspi.c works in spi-master frame work.
Signed-off-by: Quanyang Wang
---
drivers/spi/spi-zynq-qspi.c | 1 +
1 file c
From: Hyun Kwon
Signed-off-by: Hyun Kwon
Signed-off-by: Quanyang Wang
---
drivers/gpu/drm/xlnx/xlnx_fb.c | 56 --
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/xlnx/xlnx_fb.c b/drivers/gpu/drm/xlnx/xlnx_fb.c
index dfe769d4788c..5
From: Quanyang Wang
This reverts commit ae91a439ac7ec8e1e925621293f45794de6366f2.
Revert all mainline commits for spi-zynq-qspi.c and apply SDK patches
to make sure that spi-zynq-qspi.c works in spi-master frame work.
Signed-off-by: Quanyang Wang
---
drivers/spi/spi-zynq-qspi.c | 4 +++-
1 fi
From: Amit Kumar Mahapatra
There are failures in Zynq and ZynqMP qspi drivers due to
framework change in Linux version 4.19 for SPI-NOR and MTD.
This patch fixes the below mentioned issues in Zynq and ZynqMP
respectively
- Dummy was not getting set properly
- Stripe was not getting enabled prope
From: Quanyang Wang
Hi Bruce & Michal,
Would you please help review and merge these patches to linux-yocto-dev
standard/xlnx-soc branch?
There are 9 patches in this V2 pull request. I drop all V1 patches
and will use the patches as below:
The patches:
0001-Revert-spi-zynq-qspi-use-devm_platfo
From: Brandon Maier
The spi-framework's cs-gpios property can support 3+ chip selects.
For gpio chip selects to work with the zynq-qspi controller,
we must notify the controller that a chip select event has occurred.
This can be done by poking the controller's first chip select
whenever a gpio ch
From: Quanyang Wang
This reverts commit ba3ce8cb3808cad0f9b8303fad4bd1c887834c82.
Revert all mainline commits for spi-zynq-qspi.c and apply SDK patches
to make sure that spi-zynq-qspi.c works in spi-master frame work.
Signed-off-by: Quanyang Wang
---
drivers/spi/spi-zynq-qspi.c | 8
Hi Naga,
I get it. Will send a new patch to do this.
Thanks,
Quanyang
On 12/16/19 2:00 PM, Naga Sureshkumar Relli wrote:
Hi Quanyang,
You can use the same driver which is there in xlnx_rebase_v4.19.
Thanks,
Naga Sureshkumar Relli
-Original Message-
From: Quanyang Wang
Sent: Monda
Hi Naga,
On 12/16/19 12:43 PM, Naga Sureshkumar Relli wrote:
Hi Quanyang,
Ok. The changes looks good. If your target is for Zynq board,
Then no issues.
But for 5.4 Xilinx tree, we will use older driver, which is not a spi-mem
driver.
Because in 5.4 kernel spi-zynq-qspi.c driver is under spi-me
Hi Naga,
On 12/13/19 6:29 PM, Naga Sureshkumar Relli wrote:
Hi Quanyang,
The driver zynq-qspi.c which was written under spi-mem framework supports only
single CS.
The changes you are done to support dual-parallel, inside the driver are fine
from controller side but there
Is no support yet in
Hi Hyun,
On 12/13/19 2:10 AM, Hyun Kwon wrote:
Hi Quanyang,
Thanks for the patch.
-Original Message-
From: Michal Simek
Sent: Thursday, December 12, 2019 5:13 AM
To: quanyang.w...@windriver.com; Bruce ;
Michal Simek ; Hyun Kwon
Cc: linux-yo...@yoctoproject.org
Subject: Re: [linux-yo
Hi Michal,
Any comment?
Thanks,
Quanyang
On 12/3/19 6:11 PM, quanyang.w...@windriver.com wrote:
From: Quanyang Wang
Hi Bruce & Michal,
There are 3 patches in this pull-request.
1) The patch "0001-spi-zynq-qspi-use-wait_for_completion_timeout-instea.patch"
fixes
a bug which occurs in zc70
From: Quanyang Wang
This add cfg&scc files to support xilinx zc702 and zc706 boards.
Signed-off-by: Quanyang Wang
Signed-off-by: Bruce Ashfield
---
bsp/xilinx-zynq/xilinx-zynq-standard.scc | 7 +
bsp/xilinx-zynq/xilinx-zynq.cfg | 199 +++
bsp/xilinx-zynq/xilinx-
From: Quanyang Wang
Hi Bruce,
These patches are picked up from kernel-cache v5.2 branch, and no modification.
Would you please help merge the patches to yocto-kernel-cache master branch?
Quanyang Wang (2):
xilinx-zynq: add the support for xlinx-zynq bsp
xilinx-zynq: enable coresight and xad
From: Quanyang Wang
Signed-off-by: Quanyang Wang
Signed-off-by: Bruce Ashfield
---
bsp/xilinx-zynq/xilinx-zynq.cfg | 9 +
1 file changed, 9 insertions(+)
diff --git a/bsp/xilinx-zynq/xilinx-zynq.cfg b/bsp/xilinx-zynq/xilinx-zynq.cfg
index 3b4cc64de..5cb532949 100644
--- a/bsp/xilinx-z
From: Quanyang Wang
There are 2 SPI flash memories in zc706 board and it use the
configuration "Dual SS, 8-bit Parallel" which means separate
Slave-Select lines and separate 4 data lines. So add the is-dual
support for zc706 board according to the spi driver in SDK.
Refer to bd2c1810ae87 ("spi:
From: Quanyang Wang
Since the function drm_gem_fbdev_fb_create has been removed in
commit 73415b4ea5b5 ("drm/fb: remove unused function:
drm_gem_fbdev_fb_create()"),
add a new function xlnx_drm_framebuffer_init to create a drm_framebuffer
structure.
Signed-off-by: Quanyang Wang
---
drivers/g
From: Quanyang Wang
Hi Bruce & Michal,
There are 3 patches in this pull-request.
1) The patch "0001-spi-zynq-qspi-use-wait_for_completion_timeout-instea.patch"
fixes
a bug which occurs in zc706 and zc702 boards using mainline and linux-yocto
kernel.
Using the command as below can reproduce it
From: Quanyang Wang
When umount jffs2 filesystem on mtdblock device, the process "jffs2_gcd_mtdX"
which
calls zynq_qspi_exec_mem_op to read/write flash will receive signal "SIGKILL"
from thread "jffs2_stop_garbage_collect_thread". This means that at this moment
the function "wait_for_completion_
From: Quanyang Wang
If .stream_name is NULL, when calling "aplay -l", it will show:
card 0: monitor [DisplayPort monitor], device 0: (null)
xilinx-dp-snd-codec-dai-0 [(null) xilinx-dp-snd-codec-dai-0]
Adding .stream_name can eliminate the "(null)" in the output.
Signed-off-by: Quanyang Wang
From: Quanyang Wang
When using i2c_smbus_read_byte_data to read one byte from a
slave device, because of the commit d358def70688
("i2c: cadence: Fix the hold bit setting"), the transaction becomes:
S Addr Wr [A] Comm [A] P S Addr Rd [A] [Data] NA P
^
CR_HOL
From: Quanyang Wang
When kernel booting, it will create a cpuid map between the logical cpus
and physical cpus. In a normal boot, the cpuid map is as below:
Physical Logical
0==> 0
1==> 1
But in kdump, there is a condition that the crash happens at the
p
From: Quanyang Wang
This reverts commit 5d1a5900882ceb86cddf36c258bd5bda498c8da8.
Since the commit ("ARM: zynq: use physical cpuid in zynq_slcr_cpu_stop/start")
has fixed the hang issue in kdump, this patch can be reverted.
Signed-off-by: Quanyang Wang
Acked-by: Michal Simek
Signed-off-by: Br
From: Quanyang Wang
Hi Bruce & Michal,
There are 9 patches in this pull request.
The patch "0001-ARM-dts-zynq-enablement-of-coresight-topology.patch" is picked
from
the upstream commit from Michal and delete ITM compatible string from it.
The patch "0008-sound-soc-xilinx-give-a-name-to-stream_n
From: Quanyang Wang
This is detected by kmemleak running on zcu102 board:
unreferenced object 0xffc877e48180 (size 128):
comm "swapper/0", pid 1, jiffies 4294892909 (age 315.436s)
hex dump (first 32 bytes):
64 70 5f 76 69 64 65 6f 5f 72 65 66 5f 64 69 76 dp_video_ref_div
31 00 00 00 00 00 00
From: Quanyang Wang
The function xilinx_dpdma_chan_alloc_tx_desc can be called
from atomic context, hence use GFP_ATOMIC instead of GFP_KERNEL,
or else it will cause the calltrace as below:
BUG: sleeping function called from invalid context at mm/slab.h:418
in_atomic(): 1, irqs_disabled(): 128,
From: Quanyang Wang
When using arm-linux-gnueabihf-gcc v9.2.0 to compile kernel, there will be
warning info as below:
cc1: warning: switch '-mcpu=cortex-a9' conflicts with '-march=armv7-a' switch
This is because that if "-march" and "-mcpu" options are passed to gcc together,
gcc will check if
From: Quanyang Wang
In zynqmp-ipi-mailbox.c and zynqmp_r5_remoteproc.c, the variables of
zynqmp_ipi_message structures are all using 32 as the maximum size of
data length. So move IPI_BUF_LEN_MAX to zynqmp-ipi-message.h to share with
zynqmp_power.c.
Signed-off-by: Quanyang Wang
Acked-by: Michal
From: Zumeng Chen
This patch is to build the coresight topology structure of zynq-7000
series according to the docs of coresight and userguide of zynq-7000.
Signed-off-by: Zumeng Chen
Link: https://patchwork.kernel.org/patch/11181257/
[Quanyang: delete compatible string for itm node]
Signed-off
From: Quanyang Wang
When kernel booting, mount_block_root will be called to judge
the filesystem type of root device. Then .mount function in file_system_type
structure will do the check operation. But yaffs filesystem has a
relaxed examination because as a filesystem for NAND Flash, it doesn't
e
From: Quanyang Wang
The function yaffs_get_mtd_device use wrong function to retrieve
mtd_info structure (using yaffs_get_mtd_device itself will cause
dead loop).
Use get_mtd_device to do this.
Signed-off-by: Quanyang Wang
---
fs/yaffs2/yaffs_mtdif.c | 12 ++--
1 file changed, 10 inser
From: Quanyang Wang
Hi Bruce,
V1 ---> V2:
1. split into 2 patches to make the fix more reasonable.
2. add crash info to the patch.
Would you please help merge this patch to the branches for:
linux-yocto v5.2/standard/base
linux-yocto-dev standard/base
Quanyang Wang (2):
yaffs: repair yaffs_
On 12/3/19 4:38 PM, Kevin Hao wrote:
On Tue, Dec 03, 2019 at 04:27:15PM +0800, quanyang.wang wrote:
From: Quanyang Wang
When kernel booting, mount_block_root will be called to judge
the filesystem type of root device. Then .mount function in file_system_type
structure will do the check
From: Quanyang Wang
Hi Bruce,
Would you please help merge this patch to the branches for:
linux-yocto v5.2/standard/base
linux-yocto-dev standard/base
This patch fixes a bug:
when using MMC card with btrfs filesystem to be root device, kernel will crash
and the log as below:
mmc0: new high sp
From: Quanyang Wang
When kernel booting, mount_block_root will be called to judge
the filesystem type of root device. Then .mount function in file_system_type
structure will do the check operation. But yaffs filesystem has a
relaxed examination because as a filesystem for NAND Flash, it doesn't
e
401 - 443 of 443 matches
Mail list logo