diff options
author | T Karthik Reddy <t.karthik.reddy@xilinx.com> | 2022-07-16 12:28:47 +0530 |
---|---|---|
committer | Michal Simek <michal.simek@amd.com> | 2022-07-26 09:34:21 +0200 |
commit | 557832bd88351ffc0b8e43720b98700fe74f68b2 (patch) | |
tree | 036746d268118f05a1e209388c6ccf6eb5fa18c2 /drivers/ddr/imx/imx8m/ddrphy_train.c | |
parent | f2dd6599df65dd307d7170f1b2fc0d38eb44ad75 (diff) |
spi: xilinx_spi: Add support ops to axi qspi driver
Add support_ops function to check controller supported operations by
spi-mem framework. Current default support ops function does not allow
dummy buswidth no more than 1, unless we are using buswidth is 4 for TX.
In order to support dummy buswidth > 1 by spi-nor framework we are adding
explicit support_ops to check controller supported operations.
Fix dummy bytes calculation incase of valid dummy bytes when dummy
buswidth is > 1. Current dummy bytes calculation does not provide
correct dummy values for dummy buswidth > 1.
Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Link: https://lore.kernel.org/r/1657954727-31972-3-git-send-email-ashok.reddy.soma@xilinx.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddrphy_train.c')
0 files changed, 0 insertions, 0 deletions