drivers/sensors: add Microchip TC74 temperature sensor driver - #20171
Merged
xiaoxiang781216 merged 1 commit intoSep 18, 2026
Merged
Conversation
daniel-p-carvalho
requested review from
acassis,
linguini1 and
raiden00pl
as code owners
September 17, 2026 10:03
Contributor
|
@raiden00pl what is this issue:
|
linguini1
previously requested changes
Sep 17, 2026
linguini1
left a comment
Contributor
There was a problem hiding this comment.
Can you please use the sensor driver framework? That is what NuttX is moving to for sensor drivers.
Contributor
Ok, found apache/nuttx-apps#3790 |
daniel-p-carvalho
force-pushed
the
feat/drivers-tc74
branch
from
September 17, 2026 13:45
098c942 to
161777a
Compare
Contributor
Author
|
Updated the PR addressing all review feedback:
|
Contributor
|
Please include the 'Assisted-by' field in your commit to indicate AI usage, as per the contribution guide. |
xiaoxiang781216
approved these changes
Sep 18, 2026
Add support for the Microchip TC74 digital temperature sensor using the Sensor Driver Framework (uORB). The TC74 is an 8-bit I2C temperature sensor with a measurement range from -40C to +125C and a resolution of 1C. The driver registers as a uORB topic (/dev/uorb/sensor_temp<n>) and polls on the low-priority work queue. It supports dynamic interval configuration and automatically enters low-power standby mode when the topic is deactivated. Validated against a real TC74A5-3.3 on a custom STM32H743BI board. Assisted-by: Gemini:gemini-3.8-pro Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com>
daniel-p-carvalho
force-pushed
the
feat/drivers-tc74
branch
from
September 18, 2026 01:57
161777a to
895067a
Compare
Contributor
Author
|
Added |
xiaoxiang781216
approved these changes
Sep 18, 2026
jerpelea
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
/dev/uorb/sensor_temp<n>) viatc74_register(devno, i2c, addr).set_interval).Documentation/components/drivers/special/sensors/tc74.rst.Impact
Testing
tools/checkpatch.sh -g HEADclean (all checks pass).sensortest: