| #
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.
|
|
Revision tags: perseant-exfatfs-base-20250801 netbsd-11-base
|
| #
1.11 |
|
30-Jun-2025 |
macallan |
find sensor names etc. on older G5 like PowerMac7,2
|
|
Revision tags: netbsd-10-1-RELEASE perseant-exfatfs-base-20240630 perseant-exfatfs-base netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base
|
| #
1.10 |
|
27-Jan-2021 |
thorpej |
branches: 1.10.4; 1.10.14; 1.10.24; Use DEVICE_COMPAT_EOL.
|
| #
1.9 |
|
25-Jan-2021 |
thorpej |
Since we're using designated initialisers for compat data, we should use a completely empty initializer for the sentinel.
|
| #
1.8 |
|
17-Jan-2021 |
thorpej |
Use designated initializers and a consistent termination style in compat_data[].
|
|
Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base
|
| #
1.7 |
|
15-Jun-2019 |
macallan |
branches: 1.7.10; explicitly initialize sensor->state
|
|
Revision tags: phil-wifi-20190609 isaki-audio2-base pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base
|
| #
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.
|
|
Revision tags: pgoyette-compat-0625
|
| #
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.
|
|
Revision tags: pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322
|
| #
1.3 |
|
16-Mar-2018 |
macallan |
get EEPROM data from uni_n instead of poking around in OF
|
|
Revision tags: pgoyette-compat-0315
|
| #
1.2 |
|
09-Mar-2018 |
macallan |
branches: 1.2.2; remove some unused code, add comments for credits & explanations
|
| #
1.1 |
|
09-Mar-2018 |
macallan |
yet another temperature sensor / ADC this one supports Analog Devices AD7417, found in some G5 macs depends on OpenFirmware for calibration data
|