| #
2108666d |
| 27-Apr-2023 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Support new devices
HYF2GQ4IAACAE, HYF1GQ4IDACAE
Change-Id: Ie2e09682cd2c0aee3d11a03867e6a5495ce42f19 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
ac39ced8 |
| 15-Nov-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Fix hyf devices read id information
Change to SPINAND_READID_METHOD_OPCODE_ADDR
Change-Id: I338fe794013d47f51b4456ebb8e6bccd6b2bf03d Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
81afcfe1 |
| 15-Oct-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: rework detect procedure for different READ_ID operation
Currently there are 3 different variants of read_id implementation: 1. opcode only. Found in GD5FxGQ4xF. 2. opcode + 1 addr byte
mtd: spinand: rework detect procedure for different READ_ID operation
Currently there are 3 different variants of read_id implementation: 1. opcode only. Found in GD5FxGQ4xF. 2. opcode + 1 addr byte. Found in GD5GxGQ4xA/E 3. opcode + 1 dummy byte. Found in other currently supported chips.
Original implementation was for variant 1 and let detect function of chips with variant 2 and 3 to ignore the first byte. This isn't robust:
1. For chips of variant 2, if SPI master doesn't keep MOSI low during read, chip will get a random id offset, and the entire id buffer will shift by that offset, causing detect failure.
2. For chips of variant 1, if it happens to get a devid that equals to manufacture id of variant 2 or 3 chips, it'll get incorrectly detected.
This patch reworks detect procedure to address problems above. New logic do detection for all variants separatedly, in 1-2-3 order. Since all current detect methods do exactly the same id matching procedure, unify them into core.c and remove detect method from manufacture_ops.
Link: https://lore.kernel.org/linux-mtd/20200208074439.146296-1-gch981213@gmail.com
Change-Id: Ib06417c8e8c7e9d58be1eb3549468bfcbd74350d Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| #
d3fa6ff3 |
| 28-May-2021 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Change to correct copyright
Change-Id: I6ec3f54e30d1bbb12253c4eab9510bf5df9424e6 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
a792c7e0 |
| 09-Dec-2020 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Support new devices
HYF1GQ4UDACAE, HYF4GQ4UAACBE
Change-Id: I7abcc925ccdf8be5507a8b584b58c6b03a78962c Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
5fe488ff |
| 08-Dec-2020 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Support new devices
HYF2GQ4UAACAE, HYF2GQ4UHCCAE
Change-Id: I1b36ca507984d2794375a6c1bce409d749495c62 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|
| #
b66d41c2 |
| 14-Sep-2020 |
Jon Lin <jon.lin@rock-chips.com> |
mtd: spinand: Support hyf devices
Support HYF1GQ4UPACAE, HYF1GQ4UDACAE
Change-Id: I9b8022d9320150d587b443cfa4cdc7495267795e Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
|