Home | History | Annotate | Download | only in i2c
History log of /src/sys/dev/i2c/dstemp.c
RevisionDateAuthorComments
 1.15  21-Sep-2025  thorpej Get the sensor descriptive information from our device properties
dictionary, rather than from a secondary dictionary passed in the
i2c_attach_args (this secondary dictionary is deprecated and going
away).
 1.14  21-Jun-2021  christos branches: 1.14.6;
fix proplib deprecation
 1.13  15-Jun-2021  mlelstv iic_acquire_bus may fail.
 1.12  01-Mar-2021  rin branches: 1.12.4;
Use dstemp(4) as entropy source.
 1.11  30-Jan-2021  thorpej Add the standard compat string from the Device Tree bindings.
 1.10  30-Jan-2021  thorpej If we're going to keep a reference on the "props" dictionary from
the i2c_attach_args, we should retain it.
 1.9  27-Jan-2021  thorpej Use DEVICE_COMPAT_EOL.
 1.8  25-Jan-2021  thorpej Since we're using designated initialisers for compat data, we should
use a completely empty initializer for the sentinel.
 1.7  17-Jan-2021  thorpej Use designated initializers and a consistent termination style in
compat_data[].
 1.6  21-Aug-2020  macallan branches: 1.6.2;
more OF -> properties for sensor names, this should be the last one
 1.5  28-Feb-2020  macallan - document the config register
- do some setup and send a start command
- mark the sensor as invalid if readings are out of range
now this works properly on my PCI-X G5
 1.4  26-Jun-2018  thorpej branches: 1.4.2; 1.4.10;
In my quest to make device_compatible_entry (and associated goo)
super-general, it turns out I also made it a little to cumbersome
to use (if my tired fingers are any indication). So, this is a
course-correction -- one string per entry (like of_compat_data,
which it will soon replace), and remove the over-verbose macros.
 1.3  18-Jun-2018  thorpej - Rename iic_compat_match() to iic_compatible_match() and change it
to use the new device_compatible_match() routine. A pointer to
the matching device_compatible_entry is returned if a match is
found.
- Adjust iic_use_direct_match() accordingly.
- i2c drivers now provide device_compatible_entry tables when performing
direct-config matching.
- In the dsrtc driver, take advantage of this new capability to greatly
simplify model selection.

(I'm coming for you next, of_compat_data...)
 1.2  16-Jun-2018  thorpej More cleanup to i2c autoconfiguration:

- Get all of the drivers onto the new match quality constants.
- Introduce a new helper function, iic_use_direct_match(), that has
all of the logic for direct-config matching. If it returns true,
the driver returns the match result (which may be 0). If it returns
false, the driver does indirect-config matching.
- iic_compat_match() now returns a weighted match quality; matches to
lower-indexed "compatible" device property are more-specific matches,
and return a better match quality accordingly.
 1.1  01-Feb-2018  macallan branches: 1.1.2;
add driver for Maxim DS1631 High-Precision Digital Thermometer and Thermostat
temperature reading only for now
 1.1.2.2  28-Jul-2018  pgoyette Sync with HEAD
 1.1.2.1  25-Jun-2018  pgoyette Sync with HEAD
 1.4.10.1  29-Feb-2020  ad Sync with head.
 1.4.2.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.6.2.1  03-Apr-2021  thorpej Sync with HEAD.
 1.12.4.2  01-Aug-2021  thorpej Sync with HEAD.
 1.12.4.1  17-Jun-2021  thorpej Sync w/ HEAD.
 1.14.6.1  10-Sep-2021  thorpej Remove unnecessary references to i2c_attach_args::ia_prop and mark the ones
that remain as XXX.

RSS XML Feed