History log of /src/sys/arch/macppc/dev/smusat.c |
Revision | | Date | Author | Comments |
1.11 |
| 17-Sep-2025 |
thorpej | Don't get the OF phandle from i2c_attach_args::ia_cookie; get it from self's devhandle.
|
1.10 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.9 |
| 27-Jan-2021 |
thorpej | branches: 1.9.4; 1.9.14; 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 |
| 26-Jun-2018 |
thorpej | branches: 1.6.14; 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.5 |
| 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.4 |
| 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.3 |
| 20-Apr-2018 |
macallan | 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.
|
1.2 |
| 05-Oct-2017 |
macallan | branches: 1.2.2; 1.2.4; 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
|
1.1 |
| 06-Jun-2017 |
macallan | branches: 1.1.4; SMU support, from Phileas Fogg
|
1.1.4.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.1.4.1 |
| 06-Jun-2017 |
skrll | file smusat.c was added on branch nick-nhusb on 2017-08-28 17:51:44 +0000
|
1.2.4.3 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.2.4.2 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.2.4.1 |
| 22-Apr-2018 |
pgoyette | Sync with HEAD
|
1.2.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.2.1 |
| 05-Oct-2017 |
jdolecek | file smusat.c was added on branch tls-maxphys on 2017-12-03 11:36:25 +0000
|
1.6.14.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.9.14.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.9.4.2 |
| 09-May-2021 |
thorpej | ia->ia_cookie -> devhandle_to_of(device_handle(self))
|
1.9.4.1 |
| 09-May-2021 |
thorpej | No need to include smuiicvar.h.
|