Commit 2b9282af authored by Andy Shevchenko's avatar Andy Shevchenko

pinctrl: tangier: Enable 910 Ohm bias

Family 7 (I2C) supports special bias value, i.e. 910 Ohm.

Enable it for configuring pin.
Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: default avatarRaag Jadav <raag.jadav@intel.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent 113adaf8
...@@ -382,6 +382,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin, ...@@ -382,6 +382,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
case 2000: case 2000:
term = BUFCFG_PUPD_VAL_2K; term = BUFCFG_PUPD_VAL_2K;
break; break;
case 910:
term = BUFCFG_PUPD_VAL_910;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
...@@ -405,6 +408,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin, ...@@ -405,6 +408,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
case 2000: case 2000:
term = BUFCFG_PUPD_VAL_2K; term = BUFCFG_PUPD_VAL_2K;
break; break;
case 910:
term = BUFCFG_PUPD_VAL_910;
break;
default: default:
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment