Skip to content

Commit 2b9282a

Browse files
committed
pinctrl: tangier: Enable 910 Ohm bias
Family 7 (I2C) supports special bias value, i.e. 910 Ohm. Enable it for configuring pin. Reviewed-by: Linus Walleij <[email protected]> Acked-by: Mika Westerberg <[email protected]> Reviewed-by: Raag Jadav <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
1 parent 113adaf commit 2b9282a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/pinctrl/intel/pinctrl-tangier.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
382382
case 2000:
383383
term = BUFCFG_PUPD_VAL_2K;
384384
break;
385+
case 910:
386+
term = BUFCFG_PUPD_VAL_910;
387+
break;
385388
default:
386389
return -EINVAL;
387390
}
@@ -405,6 +408,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
405408
case 2000:
406409
term = BUFCFG_PUPD_VAL_2K;
407410
break;
411+
case 910:
412+
term = BUFCFG_PUPD_VAL_910;
413+
break;
408414
default:
409415
return -EINVAL;
410416
}

0 commit comments

Comments
 (0)