public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Luca Weiss <luca.weiss@fairphone.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Conor Dooley <conor+dt@kernel.org>,
	~postmarketos/upstreaming@lists.sr.ht,
	phone-devel@vger.kernel.org, netdev@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org
Subject: Re: [PATCH v2 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Add Bluetooth
Date: Wed, 11 Mar 2026 18:01:33 +0000	[thread overview]
Message-ID: <20260311-come-olive-7bbc8f6536e1@spud> (raw)
In-Reply-To: <DGZSPC64B8K5.3HBPHWMWXR482@fairphone.com>

[-- Attachment #1: Type: text/plain, Size: 1811 bytes --]

On Wed, Mar 11, 2026 at 09:04:20AM +0100, Luca Weiss wrote:
> On Tue Mar 10, 2026 at 7:02 PM CET, Conor Dooley wrote:
> > On Fri, May 12, 2023 at 03:58:26PM +0200, Luca Weiss wrote:
> >
> >> +&qup_uart1_cts {
> >> +	/*
> >> +	 * Configure a bias-bus-hold on CTS to lower power
> >> +	 * usage when Bluetooth is turned off. Bus hold will
> >> +	 * maintain a low power state regardless of whether
> >> +	 * the Bluetooth module drives the pin in either
> >> +	 * direction or leaves the pin fully unpowered.
> >> +	 */
> >> +	bias-bus-hold;
> >> +};
> >> +
> >> +&qup_uart1_rts {
> >> +	/* We'll drive RTS, so no pull */
> >> +	drive-strength = <2>;
> >> +	bias-disable;
> >> +};
> >> +
> >> +&qup_uart1_rx {
> >> +	/*
> >> +	 * Configure a pull-up on RX. This is needed to avoid
> >> +	 * garbage data when the TX pin of the Bluetooth module is
> >> +	 * in tri-state (module powered off or not driving the
> >> +	 * signal yet).
> >> +	 */
> >> +	bias-pull-up;
> >> +};
> >> +
> >> +&qup_uart1_tx {
> >> +	/* We'll drive TX, so no pull */
> >> +	drive-strength = <2>;
> >> +	bias-disable;
> >> +};
> >
> > I recently made some changes to pincfg-node.yaml to detect if there's
> > conflicting properties used, and these got detected. Should these not
> > do what has been done on the msm8998-xiaomi-sagit, and delete the
> > inherited bias-foo from the dtsi?
> > &blsp1_i2c5_sleep {
> > 	/delete-property/ bias-pull-up;
> > 	bias-disable;
> > };
> 
> Yes, you're completely right.
> 
> In the final dtb qup-uart1-{cts,rts,rx,tx}-default-state contain two
> bias-* properties, this must be wrong.
> 
> Thanks for pointing this out, I'll prepare a patch soon!


Cool, guess it just worked for you because of either property ordering
or how linux parsed it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-03-11 18:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 13:58 [PATCH v2 0/4] Add WCN3988 Bluetooth support for Fairphone 4 Luca Weiss
2023-05-12 13:58 ` [PATCH v2 1/4] dt-bindings: net: qualcomm: Add WCN3988 Luca Weiss
2023-05-12 13:58 ` [PATCH v2 2/4] Bluetooth: btqca: Add WCN3988 support Luca Weiss
2023-05-12 13:58 ` [PATCH v2 3/4] arm64: dts: qcom: sm6350: add uart1 node Luca Weiss
2023-05-12 13:58 ` [PATCH v2 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Add Bluetooth Luca Weiss
2026-03-10 18:02   ` Conor Dooley
2026-03-11  8:04     ` Luca Weiss
2026-03-11 18:01       ` Conor Dooley [this message]
2023-05-12 20:53 ` [PATCH v2 0/4] Add WCN3988 Bluetooth support for Fairphone 4 Luiz Augusto von Dentz
2023-05-15  6:12   ` Luca Weiss
2023-08-01 10:07     ` Luca Weiss
2023-08-01 18:08       ` Luiz Augusto von Dentz
2023-06-13 22:30 ` (subset) " Bjorn Andersson

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=20260311-come-olive-7bbc8f6536e1@spud \
    --to=conor@kernel.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=edumazet@google.com \
    --cc=johan.hedberg@gmail.com \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luca.weiss@fairphone.com \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /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