mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Shawn Guo <shengchao.guo@oss.qualcomm.com>,
	Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
	Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>,
	Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>,
	Bartosz Golaszewski <brgl@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: Re: [PATCH v3 3/5] arm64: dts: qcom: nord-embedded: Raise i2c18 pad drive strength
Date: Mon, 30 Nov 2026 13:14:06 +0100	[thread overview]
Message-ID: <01b99f4a-9629-4ae4-8b07-43ef7dd36e66@oss.qualcomm.com> (raw)
In-Reply-To: <20261111073121.3707030-4-shengchao.guo@oss.qualcomm.com>

On 11/11/26 8:31 AM, Shawn Guo wrote:
> The i2c18 pins (gpio154/155) are configured for 2 mA. That is not
> enough on nord-ride-embedded, where i2c18 is the audio control bus
> carrying the TCA6408 expander, ADAU1979 ADC and PCM1681 DAC behind
> TXS0102 level shifters. Transfers intermittently fail with arbitration
> loss and unexpected start/stop conditions:
> 
>   geni_i2c 890000.i2c: Bus arbitration lost, clock line undriveable
>   geni_i2c 890000.i2c: Bus proto err, noisy/unexpected start/stop
>   adau1977 0-0031: probe with driver adau1977 failed with error -11
>   reg-fixed-voltage regulator-5p0-dac: setup of GPIO (default) failed: -11
> 
> The failure became much more frequent with commit 8cb5c17be3a2
> ("i2c: qcom-geni: Restore the source-clock selection policy"), which
> moves the i2c18 serial engine clock from 32 MHz to 19.2 MHz. That
> commit only changes how often the marginal signalling shows up:
> reverting it, or lowering the bus to 100 kHz, still leaves occasional
> failures in a codec unbind/bind loop. With 4 mA the loop passes
> reliably at either source clock rate.
> 
> nord-rrd uses the same level shifters and has not shown the failure
> at 2 mA, but that appears to be margin rather than a guarantee. Since
> this audio I2C arrangement is the reference design that customer
> boards will likely follow, raise the default in the shared dtsi
> instead of overriding it per board.
> 
> Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> ---

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

  parent reply	other threads:[~2026-11-30 12:14 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  7:31 [PATCH v3 0/5] arm64: dts: qcom: Add audio support for Nord platform Shawn Guo
2026-11-11  7:31 ` [PATCH v3 1/5] soc: qcom: pd-mapper: Add support for Nord Shawn Guo
2026-11-27 12:28   ` Konrad Dybcio
2026-11-11  7:31 ` [PATCH v3 2/5] arm64: dts: qcom: nord: Add gpr node Shawn Guo
2026-11-30 12:14   ` Konrad Dybcio
2026-11-11  7:31 ` [PATCH v3 3/5] arm64: dts: qcom: nord-embedded: Raise i2c18 pad drive strength Shawn Guo
2026-11-11 14:38   ` Abel Vesa
2026-11-30 12:14   ` Konrad Dybcio [this message]
2026-11-11  7:31 ` [PATCH v3 4/5] arm64: dts: qcom: nord-ride-embedded: Add sound support Shawn Guo
2026-11-11  7:31 ` [PATCH v3 5/5] arm64: dts: qcom: nord-rrd: " Shawn Guo

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=01b99f4a-9629-4ae4-8b07-43ef7dd36e66@oss.qualcomm.com \
    --to=konrad.dybcio@oss.qualcomm.com \
    --cc=abelvesa@kernel.org \
    --cc=andersson@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=brgl@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mohammad.rafi.shaik@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=shengchao.guo@oss.qualcomm.com \
    --cc=zhangfei.gao@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®