History log of /src/sys/dev/i2c/max77620.c |
Revision | | Date | Author | Comments |
1.12 |
| 17-Sep-2025 |
thorpej | These drivers blindly assume that i2c_attach_args::ia_cookie is an FDT / OF phandle. Instead, extract the phandle from self's devhandle, both eliminating the reference to ia_cookie and providing an assertion that it is, in fact, an FDT / OF phandle.
|
1.11 |
| 27-Jan-2021 |
thorpej | branches: 1.11.4; 1.11.14; Use DEVICE_COMPAT_EOL.
|
1.10 |
| 25-Jan-2021 |
thorpej | Since we're using designated initialisers for compat data, we should use a completely empty initializer for the sentinel.
|
1.9 |
| 17-Jan-2021 |
thorpej | Use designated initializers and a consistent termination style in compat_data[].
|
1.8 |
| 23-Dec-2019 |
thorpej | branches: 1.8.8; Actually, the local mutex is unnecesary; the i2c bus lock is held across all register r/m/w cycles, so we can just piggy back on that. (I misread the code previously.)
|
1.7 |
| 23-Dec-2019 |
thorpej | - No need to use I2C_F_POLL here. - Use a local mutex to protect register read-modify-write cycles.
|
1.6 |
| 26-Jun-2018 |
thorpej | branches: 1.6.2; 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 |
| 17-Jun-2018 |
thorpej | Fix compilation error pointed out by nishimura@.
|
1.3 |
| 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.2 |
| 28-Sep-2017 |
jmcneill | branches: 1.2.2; 1.2.4; Fix register write location
|
1.1 |
| 22-Sep-2017 |
jmcneill | Add GPIO drivers for MAX77620 and TCA9539 as found in Jetson TX1
|
1.2.4.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.2.4.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.2.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.2.2.1 |
| 28-Sep-2017 |
jdolecek | file max77620.c was added on branch tls-maxphys on 2017-12-03 11:37:02 +0000
|
1.6.2.1 |
| 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
1.8.8.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.11.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.11.4.1 |
| 08-May-2021 |
thorpej | ia->ia_cookie -> devhandle_to_of(device_handle(self))
|