Skip to content

Add SoC support for configurable fan tachs#565

Open
crawfxrd wants to merge 3 commits intomasterfrom
dev/tach2
Open

Add SoC support for configurable fan tachs#565
crawfxrd wants to merge 3 commits intomasterfrom
dev/tach2

Conversation

@crawfxrd
Copy link
Member

@crawfxrd crawfxrd commented Mar 6, 2026

  • Add registers and defines related to fan control and TACH2
  • Add function for reading TACH2
  • Return error if TACH data is not valid
  • Add function to configure tachs before PWM init

TODO

  • Declare tach config per-board
    • Move board.h per-board for board-specific declarations?
  • Support switching tach channel at run-time in case board uses both A/B channels
    • addw4 schematics show a scrapped third fan that uses T1B

Ref: #453

@crawfxrd crawfxrd force-pushed the dev/tach2 branch 3 times, most recently from f3b524c to a42ed59 Compare March 6, 2026 22:35
@crawfxrd crawfxrd changed the title Add support for ITE TACH2 Add support for configurable fan tachs Mar 6, 2026
@crawfxrd crawfxrd force-pushed the dev/tach2 branch 4 times, most recently from 4205631 to 8d9504a Compare March 8, 2026 19:31
@crawfxrd crawfxrd changed the title Add support for configurable fan tachs Add SoC support for configurable fan tachs Mar 8, 2026
@crawfxrd crawfxrd marked this pull request as ready for review March 8, 2026 19:33
@crawfxrd crawfxrd requested review from a team March 8, 2026 19:34
- Add registers and defines related to fan control and TACH2
- Add function for reading TACH2

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd crawfxrd force-pushed the dev/tach2 branch 2 times, most recently from e741ebc to 2fddf03 Compare March 10, 2026 21:00
Add initial SoC support for boards to configure tachs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant