diff options
| author | David Lechner <[email protected]> | 2026-03-30 11:00:34 -0500 |
|---|---|---|
| committer | David Lechner <[email protected]> | 2026-04-07 10:47:04 -0500 |
| commit | 108e752b2aff29fa4f3fd141045a6cbaab389373 (patch) | |
| tree | 5c2c62e8a689b299712cad2dad4bf57cfe922cca /scripts/cleanpatch | |
| parent | 937884083ea8be579ac910cd9b9c69d15741aa12 (diff) | |
pinctrl: mediatek: mt8189: fix pinconf bias
Fix setting pinconf bias for MT8189.
Using mtk_pinconf_bias_set_v1() was wrong because MT8189 does not have
PULLEN/PULLSEL registers. It has PU and PD registers for most pins.
MSDC pins need special handling since they have PUPD/R1/R0 registers.
I2C pins need special handling since they have PU/PD/RSEL registers.
New groups are added for MSDC and I2C pins and the bias_set callback
is now set appropriately for all groups.
A new table is needed for the RSEL registers since those were missing.
Some new macros are introduced to avoid repeating the same info many
times in MTK_TYPED_PIN(). This also fixes the semantically incorrect
use of DRV_GRPX for the IO_TYPE_GRPX field.
Reviewed-by: Macpaul Lin <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: David Lechner <[email protected]>
Diffstat (limited to 'scripts/cleanpatch')
0 files changed, 0 insertions, 0 deletions
