From: Bjorn Andersson <quic_bjorande@quicinc.com>
To: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Linus Walleij <linus.walleij@linaro.org>,
Abel Vesa <abel.vesa@linaro.org>, Andy Gross <agross@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-arm-msm@vger.kernel.org>,
"linux-gpio@vger.kernel.org" <linux-gpio@vger.kernel.org>
Subject: Re: [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property
Date: Thu, 15 Dec 2022 12:49:18 -0800 [thread overview]
Message-ID: <20221215204615.GA19388@core-thresher1.qualcomm.com> (raw)
In-Reply-To: <f6ffd433-1652-fb4f-8657-928e7407ba5f@linaro.org>
On Tue, Nov 29, 2022 at 09:15:02AM +0100, Neil Armstrong wrote:
> Hi Linus,
>
> On 26/11/2022 22:53, Linus Walleij wrote:
> > On Fri, Nov 25, 2022 at 1:40 PM <neil.armstrong@linaro.org> wrote:
> >
> > > As I understood, it enables an "I2C resistor" on the pin, removing the need
> > > of an external pull-up resistor on the line.
> > >
> > > I assume the classical pull-up bias is not strong enough to replace an actual
> > > resistor on the PCB.
That is correct.
> >
> > In that case I think this should be an argument to bias-pull-up like:
> >
> > bias-pull-up = <360000>;
> >
> > Nominally the pull up is in ohms:
> >
> > bias-pull-up:
> > oneOf:
> > - type: boolean
> > - $ref: /schemas/types.yaml#/definitions/uint32
> > description: pull up the pin. Takes as optional argument on hardware
> > supporting it the pull strength in Ohm.
> >
> > Then the driver can choose to shunt in this extra I2C resistance
> > from the resistance passed as argument. So no special property
> > is needed, provided you can get an idea about the resistance
> > provided here.
>
> I like this alternative, I'll try to figure out if we can find a value
> to match against.
>
The typical value for this resistor is 2.2kOhm.
Regards,
Bjorn
next prev parent reply other threads:[~2022-12-15 20:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-23 15:19 [PATCH v2 0/4] pinctrl: qcom: Add support for SM8550 Abel Vesa
2022-11-23 15:19 ` [PATCH v2 1/4] dt-bindings: pinctrl: qcom: Add SM8550 pinctrl Abel Vesa
2022-11-24 9:57 ` Krzysztof Kozlowski
2022-11-23 15:19 ` [PATCH v2 2/4] dt-bindings: pinctrl: qcom,tlmm-common: document i2c pull property Abel Vesa
2022-11-24 9:58 ` Krzysztof Kozlowski
2022-11-24 13:11 ` Linus Walleij
2022-11-24 13:24 ` Neil Armstrong
2022-11-25 9:47 ` Linus Walleij
2022-11-25 12:40 ` neil.armstrong
2022-11-26 21:53 ` Linus Walleij
2022-11-29 8:15 ` Neil Armstrong
2022-12-15 20:49 ` Bjorn Andersson [this message]
2022-11-23 15:20 ` [PATCH v2 3/4] pinctrl: qcom: add support for i2c specific pull feature Abel Vesa
2022-11-23 15:20 ` [PATCH v2 4/4] pinctrl: qcom: Add SM8550 pinctrl driver Abel Vesa
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=20221215204615.GA19388@core-thresher1.qualcomm.com \
--to=quic_bjorande@quicinc.com \
--cc=abel.vesa@linaro.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh+dt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).