#
f18cbf47 |
| 27-Jan-2021 |
thorpej <thorpej@NetBSD.org> |
Use DEVICE_COMPAT_EOL.
|
#
42ef9f60 |
| 25-Jan-2021 |
thorpej <thorpej@NetBSD.org> |
Since we're using designated initialisers for compat data, we should use a completely empty initializer for the sentinel.
|
#
5f5e448f |
| 17-Jan-2021 |
thorpej <thorpej@NetBSD.org> |
Use designated initializers and a consistent termination style in compat_data[].
|
#
0089a6b2 |
| 26-Jun-2018 |
thorpej <thorpej@NetBSD.org> |
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 cour
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.
show more ...
|
#
b3c1046b |
| 18-Jun-2018 |
thorpej <thorpej@NetBSD.org> |
- 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
- 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...)
show more ...
|
#
22de7409 |
| 16-Jun-2018 |
thorpej <thorpej@NetBSD.org> |
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 direc
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.
show more ...
|
#
9ff3cafe |
| 20-Apr-2018 |
macallan <macallan@NetBSD.org> |
overhaul SMU i2c handling: - get rid of the special smuiicbus, use generic i2cbus - use shifted i2c addresses like everyone else - use direct config with this generic i2c drivers should work on the s
overhaul SMU i2c handling: - get rid of the special smuiicbus, use generic i2cbus - use shifted i2c addresses like everyone else - use direct config with this generic i2c drivers should work on the smu's i2c bus.
show more ...
|
#
441e345c |
| 05-Oct-2017 |
macallan <macallan@NetBSD.org> |
do what linux and freebsd do here: - ignore the raw 'adc' sensors - update all sensors in a single transaction instead of one by one now we're getting relatively sane readings
|
#
816fd894 |
| 06-Jun-2017 |
macallan <macallan@NetBSD.org> |
SMU support, from Phileas Fogg
|