Home | History | Annotate | Download | only in spi
History log of /src/sys/dev/spi/m25p.c
RevisionDateAuthorComments
 1.24  13-Sep-2025  thorpej Define and use spi_handle_t to drive home the point that it's an opaque
type.
 1.23  13-Sep-2025  thorpej Don't report spi_configure() errors here.
 1.22  11-Sep-2025  thorpej Use spi_use_direct_match().
 1.21  10-Sep-2025  thorpej Use speed calculation helper macros. This actally fixes tmp121, where
comment did not match code (comment was correct, confirmed against
data sheet).
 1.20  19-Jan-2022  thorpej Pass the device_t into spi_configure(), and make the API contract that
spi_configure() will print errors if they occur; the driver is off the
hook.
 1.19  19-Jan-2022  thorpej Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.
 1.18  14-May-2021  jmcneill branches: 1.18.8;
Replace aprint_error with aprint_error_dev in config_interrupts callback.
 1.17  27-Jan-2021  thorpej branches: 1.17.4; 1.17.6;
Use DEVICE_COMPAT_EOL.
 1.16  17-Jan-2021  thorpej Use designated initializers and a consistent termination style in
compat_data[].
 1.15  26-Nov-2019  hkenken branches: 1.15.8;
Change manufacturer to Micron from Numonyx.

N25Q -> MT25Q
 1.14  14-Sep-2019  tnn On second thought revert that. Let's open this can of worms some other day.
 1.13  14-Sep-2019  tnn KB -> kB
 1.12  05-Sep-2019  bouyer Add support for Winbond W25Q128.V (128mb) chips, as found on newer lime2-emmc
boards.
While there fix a missing \n in dmesg.
 1.11  13-Aug-2019  tnn m25p: add compatible entry for "jedec,spi-nor" and match on it
 1.10  04-Aug-2019  tnn m25p: change devices recently added from 4kB "sector size" to 64kB ...

... even though it is wrong and these devices really use 4kB sector size.
Despite the struct member being named sector size it is actually used as
block size. Our spiflash driver doesn't issue sector erase commands.
Stopgap measure to fix data corruption until the driver is fixed.
 1.9  04-Aug-2019  tnn m25p: add GigaDevice 25Q127CSIG

(This is the boot ROM found on ROCKPro64.)
 1.8  03-Aug-2019  tnn m25p: add some ~2010 vintage parts found in junk drawer
 1.7  03-Aug-2019  tnn m25p: print vendor & device id before bailing out on unknown devices
 1.6  31-Jan-2018  jakllsch branches: 1.6.4;
Add four Winbond devices.
 1.5  07-Aug-2017  hkenken Add support Microchip SST25VF016B.
- Fixed imxspi send and receive bugs.
 1.4  26-Oct-2013  rkujawa branches: 1.4.6;
Add support for M25P16, tested on Raspberry PI with Digilent PmodSF.
 1.3  21-Apr-2013  rkujawa branches: 1.3.4;
Add support for STMicro M25PX64 and Numonyx N25Q128.

Obtained from Marvell, Semihalf.
 1.2  04-May-2008  xtraeme branches: 1.2.34; 1.2.44;
device_t/softc split.
 1.1  07-Oct-2006  gdamore branches: 1.1.2; 1.1.4; 1.1.8; 1.1.54; 1.1.56; 1.1.58;
Add spiflash driver, and M25P instance, used for STMicro flash devices
found on Meraki Mini (for example).
 1.1.58.1  16-May-2008  yamt sync with head.
 1.1.56.1  18-May-2008  yamt sync with head.
 1.1.54.1  02-Jun-2008  mjf Sync with HEAD.
 1.1.8.2  30-Dec-2006  yamt sync with head.
 1.1.8.1  07-Oct-2006  yamt file m25p.c was added on branch yamt-lazymbuf on 2006-12-30 20:49:37 +0000
 1.1.4.2  18-Nov-2006  ad Sync with head.
 1.1.4.1  07-Oct-2006  ad file m25p.c was added on branch newlock2 on 2006-11-18 21:34:49 +0000
 1.1.2.2  22-Oct-2006  yamt sync with head
 1.1.2.1  07-Oct-2006  yamt file m25p.c was added on branch yamt-splraiseipl on 2006-10-22 06:06:48 +0000
 1.2.44.3  03-Dec-2017  jdolecek update from HEAD
 1.2.44.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.44.1  23-Jun-2013  tls resync from head
 1.2.34.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.4.1  18-May-2014  rmind sync with head
 1.4.6.1  28-Aug-2017  skrll Sync with HEAD
 1.6.4.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.6.4.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.15.8.1  03-Apr-2021  thorpej Sync with HEAD.
 1.17.6.1  31-May-2021  cjep sync with head
 1.17.4.2  17-Jun-2021  thorpej Sync w/ HEAD.
 1.17.4.1  19-May-2021  thorpej match/probe routines should not have side-effects; call spi_configure()
from the attach routine.
 1.18.8.1  09-Aug-2021  thorpej Port over the changes from thorpej-i2c-spi-conf to thorpej-i2c-spi-conf2,
which is based on a newer HEAD revision.

RSS XML Feed