History log of /src/sys/dev/i2c/axp22x.c |
Revision | | Date | Author | Comments |
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 |
| 26-Jun-2018 |
thorpej | branches: 1.6.16; 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 |
| 07-Oct-2017 |
jmcneill | branches: 1.3.2; 1.3.4; add direct config support
|
1.2 |
| 21-Nov-2014 |
jmcneill | Change internal temperature base from -267.7C to -243.7C. The AXP223 datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C, but this doesn't make sense for a 12-bit field. If we take the maximum value and subtract 4095 we get -243.7C, effectively adding +24C to the reported temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.
|
1.1 |
| 12-Oct-2014 |
jmcneill | branches: 1.1.2; add AXP22x Power Management Unit driver
|
1.1.2.3 |
| 23-Nov-2014 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #255): sys/dev/i2c/axp22x.c: revision 1.2 Change internal temperature base from -267.7C to -243.7C. The AXP223 datasheet says that the value is between -267.7C and 165.8C in steps of 0.1C, but this doesn't make sense for a 12-bit field. If we take the maximum value and subtract 4095 we get -243.7C, effectively adding +24C to the reported temp. On my A31 board, this changes a chilly 15.3C to a more reasonable 39.3C.
|
1.1.2.2 |
| 14-Nov-2014 |
martin | Pull up following revision(s) (requested by skrll in ticket #230): sys/dev/i2c/axp22x.c: revision 1.1 etc/etc.evbarm/Makefile.inc: revisions 1.65-1.66 sys/arch/evbarm/conf/HUMMINGBIRD_A31: revisions 1.1-1.15 sys/arch/evbarm/conf/HUMMINGBIRD_A31_INSTALL: revisions 1.1-1.3 sys/dev/i2c/axp22x.c: revision 1.1 sys/dev/i2c/files.i2c: revision 1.57
Add Merrii Hummingbird A31 board kernels. Add AXP22x Power Management Unit driver.
|
1.1.2.1 |
| 12-Oct-2014 |
martin | file axp22x.c was added on branch netbsd-7 on 2014-11-14 10:04:40 +0000
|
1.3.4.2 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|
1.3.4.1 |
| 25-Jun-2018 |
pgoyette | Sync with HEAD
|
1.3.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.3.2.1 |
| 07-Oct-2017 |
jdolecek | file axp22x.c was added on branch tls-maxphys on 2017-12-03 11:37:02 +0000
|
1.6.16.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|