From: Raag Jadav <raag.jadav@intel.com>
To: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
Mika Westerberg <mika.westerberg@linux.intel.com>,
Andy Shevchenko <andy@kernel.org>,
Linus Walleij <linus.walleij@linaro.org>
Subject: Re: [PATCH v1 1/1] pinctrl: tangier: Enable 910 Ohm bias
Date: Tue, 31 Oct 2023 15:59:25 +0200 [thread overview]
Message-ID: <ZUEIGOTWADFdebM7@black.fi.intel.com> (raw)
In-Reply-To: <ZUAhqX-3O6QcoWMZ@black.fi.intel.com>
On Mon, Oct 30, 2023 at 11:35:42PM +0200, Raag Jadav wrote:
> On Mon, Oct 30, 2023 at 04:14:04PM +0200, Andy Shevchenko wrote:
> > Family 7 (I2C) supports special bias value, i.e. 910 Ohm.
> >
> > Enable it for configuring pin.
> >
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> > drivers/pinctrl/intel/pinctrl-tangier.c | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/drivers/pinctrl/intel/pinctrl-tangier.c b/drivers/pinctrl/intel/pinctrl-tangier.c
> > index 40dd60c9e526..007bca1cf224 100644
> > --- a/drivers/pinctrl/intel/pinctrl-tangier.c
> > +++ b/drivers/pinctrl/intel/pinctrl-tangier.c
> > @@ -382,6 +382,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
> > case 2000:
> > term = BUFCFG_PUPD_VAL_2K;
> > break;
> > + case 910:
> > + term = BUFCFG_PUPD_VAL_910;
> > + break;
> > default:
> > return -EINVAL;
> > }
> > @@ -405,6 +408,9 @@ static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin,
> > case 2000:
> > term = BUFCFG_PUPD_VAL_2K;
> > break;
> > + case 910:
> > + term = BUFCFG_PUPD_VAL_910;
> > + break;
> > default:
> > return -EINVAL;
> > }
>
> Ah, I failed to notice this was already present in the getter.
>
> Looks good,
Reviewed-by: Raag Jadav <raag.jadav@intel.com>
next prev parent reply other threads:[~2023-10-31 13:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 14:14 [PATCH v1 1/1] pinctrl: tangier: Enable 910 Ohm bias Andy Shevchenko
2023-10-30 21:35 ` Raag Jadav
2023-10-31 13:59 ` Raag Jadav [this message]
2023-11-01 6:33 ` Mika Westerberg
2023-11-02 7:31 ` Linus Walleij
2023-11-13 11:51 ` Andy Shevchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZUEIGOTWADFdebM7@black.fi.intel.com \
--to=raag.jadav@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=andy@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.