Home | History | Annotate | Download | only in spi
History log of /src/sys/dev/spi/mcp3k.c
RevisionDateAuthorComments
 1.10  13-Sep-2025  thorpej Define and use spi_handle_t to drive home the point that it's an opaque
type.
 1.9  13-Sep-2025  thorpej Simplify mcp3kadc_lookup().
 1.8  11-Sep-2025  thorpej If using FDT, get Vref from the device tree per the documented bindings
for this device.
 1.7  11-Sep-2025  thorpej Support direct configuration.
 1.6  11-Sep-2025  thorpej - Better validation of user-specified model via config file flags.
- Store a pointer to the model data, not an index into the model data table.

NFC.
 1.5  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.4  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.3  19-Jan-2022  thorpej Probe / match routines should not have side-effects: do the spi_configure()
calls in the attach routines.
 1.2  20-Nov-2016  phx branches: 1.2.14; 1.2.36; 1.2.46;
Fixed typo in name for MCP3304.
 1.1  18-Aug-2015  phx branches: 1.1.2; 1.1.4;
MI driver for the Microchip 3x0x series of SAR analog to digital converters.
 1.1.4.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.1.2.3  05-Dec-2016  skrll Sync with HEAD
 1.1.2.2  22-Sep-2015  skrll Sync with HEAD
 1.1.2.1  18-Aug-2015  skrll file mcp3k.c was added on branch nick-nhusb on 2015-09-22 12:06:00 +0000
 1.2.46.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.
 1.2.36.3  19-May-2021  thorpej If we were directly configured using the platform device tree, consult
the device tree for our reference voltage and make the vref sysctl read-only
in that case. Implement this for the Device Tree bindings for this device
(the "vref-supply" property points to the regulator providing the reference
voltage).
 1.2.36.2  19-May-2021  thorpej match/probe routines should not have side-effects; call spi_configure()
from the attach routine.
 1.2.36.1  19-May-2021  thorpej Use spi_compatible_match().

XXX More work to do for proper FDT integration.
 1.2.14.2  03-Dec-2017  jdolecek update from HEAD
 1.2.14.1  20-Nov-2016  jdolecek file mcp3k.c was added on branch tls-maxphys on 2017-12-03 11:37:32 +0000

RSS XML Feed