Skip to contentSkip to conversation

Add reset controller to mt7988 infracfg

PATCH Superseded Frank Wunderlich 1 participant 1 message Jan 17, 2024

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

v3 cover Add reset controller to mt7988 infracfg

From: Frank Wunderlich <[email protected]>

Infracfg on mt7988 supports reset controller function which is needed to get lvts thermal working.

Patches are based on clk-next due to recently added mt7988 clock driver:
https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git

changes:
v3:
- start resets on RST0 offset (LVTS is RST1)
- rename offset constants with MT7988 prefix (else collision with reset.h)
v2:
- change value of constant to 0 from 9
- add missing SoB and commit-message for binding-patch

Frank Wunderlich (2):
dt-bindings: reset: mediatek: add MT7988 reset IDs
clk: mediatek: add infracfg reset controller for mt7988

 drivers/clk/mediatek/clk-mt7988-infracfg.c    | 23 +++++++++++++++++++
 .../reset/mediatek,mt7988-resets.h            |  6 +++++
 2 files changed, 29 insertions(+)
Signature · 1 line
2.34.1