mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>,
	devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Nikunj Kela <quic_nkela@quicinc.com>,
	Shazad Hussain <shazad.hussain@oss.qualcomm.com>,
	Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: Re: [PATCH v2 7/7] arm64: dts: qcom: lemans: Enable lemans-sa8255p-ride board support
Date: Sat, 31 Oct 2026 20:20:16 +0800	[thread overview]
Message-ID: <auXdADNJMS2mMsuh@QCOM-aGQu4IUr3Y> (raw)
In-Reply-To: <45b54ff8-a2a6-4eaf-9d5b-cfd9bb40c459@oss.qualcomm.com>

On Tue, Oct 20, 2026 at 02:16:27PM +0200, Konrad Dybcio wrote:
> On 10/15/26 4:37 AM, Shawn Guo wrote:
> > From: Nikunj Kela <quic_nkela@quicinc.com>
> > 
> > Add initial device tree support for the Lemans SA8255P Ride board. Enable
> > UFS storage, UART10 as the serial console, PCIe EP interfaces, thermal
> > zones for PMM8654AU sensors, and SCMI protocol nodes.
> > 
> > Co-developed-by: Shazad Hussain <shazad.hussain@oss.qualcomm.com>
> > Signed-off-by: Shazad Hussain <shazad.hussain@oss.qualcomm.com>
> > Signed-off-by: Nikunj Kela <quic_nkela@quicinc.com>
> > Co-developed-by: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
> > Signed-off-by: Deepti Jaggi <deepti.jaggi@oss.qualcomm.com>
> > Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
> > Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
> > ---
> 
> [...]
> 
> > +	thermal-zones {
> > +		pmm8654au_0_thermal: pm8255-0-thermal {
> > +			polling-delay-passive = <100>;
> 
> Do we need the polling, is there no interrupt?

Yes, we need polling. The sensors are exposed via the SCMI sensor
protocol, and the SCMI server on SA8255P doesn't seem to support trip
points. Also on the kernel side, scmi-hwmon driver implements only
.get_temp for the thermal zone and doesn't handle trip-point events
either. So polling is the only way to evaluate the trips.

> 
> [...]
> 
> 
> > +&pcie0_ep {
> > +	pinctrl-names = "default";
> > +	pinctrl-0 = <&pcie0_ep_clkreq_default &pcie0_ep_perst_default
> > +		    &pcie0_ep_wake_default>;
> > +	reset-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
> > +	wake-gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
> 
> This GPIO reference feels like a layering violation - the previous
> commit promised TLMM is abstracted away

I will reword commit message of patch 5 to clarify that kernel-controlled
TLMM GPIOs are not abstracted by firmware.

Shawn

  parent reply	other threads:[~2026-10-31 12:20 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-15  2:37 [PATCH v2 0/7] arm64: dts: qcom: Introduce SA8255P as Lemans family SoC Shawn Guo
2026-10-15  2:37 ` [PATCH v2 1/7] arm64: dts: qcom: Introduce lemans-embedded.dtsi as a placeholder Shawn Guo
2026-10-20 12:01   ` Konrad Dybcio
2026-10-20 12:14   ` Abel Vesa
2026-10-15  2:37 ` [PATCH v2 2/7] arm64: dts: qcom: lemans: Move pinctrl states into lemans-embedded.dtsi Shawn Guo
2026-10-20 12:02   ` Konrad Dybcio
2026-10-20 12:13   ` Abel Vesa
2026-10-15  2:37 ` [PATCH v2 3/7] arm64: dts: qcom: lemans: Move platform resources " Shawn Guo
2026-10-20 12:12   ` Konrad Dybcio
2026-10-22 13:15   ` Bartosz Golaszewski
2026-10-15  2:37 ` [PATCH v2 4/7] arm64: dts: qcom: lemans: Add label for firmware and reserved-memory Shawn Guo
2026-10-20 12:12   ` Abel Vesa
2026-10-31  8:58     ` Shawn Guo
2026-10-20 12:12   ` Konrad Dybcio
2026-10-15  2:37 ` [PATCH v2 5/7] arm64: dts: qcom: Add device tree for Lemans GearVM variant Shawn Guo
2026-10-16  3:15   ` Deepti Jaggi
2026-10-31  9:06     ` Shawn Guo
2026-10-20 12:14   ` Konrad Dybcio
2026-10-31  9:00     ` Shawn Guo
2026-10-21  8:47   ` Shazad Hussain
2026-10-31  9:02     ` Shawn Guo
2026-10-15  2:37 ` [PATCH v2 6/7] dt-bindings: arm: qcom: add SA8255p Ride board Shawn Guo
2026-10-15  2:37 ` [PATCH v2 7/7] arm64: dts: qcom: lemans: Enable lemans-sa8255p-ride board support Shawn Guo
2026-10-20 12:16   ` Konrad Dybcio
2026-10-21  9:03     ` Shazad Hussain
2026-10-31 12:20     ` Shawn Guo [this message]
2026-10-22 12:58 ` [PATCH v2 0/7] arm64: dts: qcom: Introduce SA8255P as Lemans family SoC Bartosz Golaszewski

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=auXdADNJMS2mMsuh@QCOM-aGQu4IUr3Y \
    --to=shengchao.guo@oss.qualcomm.com \
    --cc=andersson@kernel.org \
    --cc=bartosz.golaszewski@oss.qualcomm.com \
    --cc=conor+dt@kernel.org \
    --cc=deepti.jaggi@oss.qualcomm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_nkela@quicinc.com \
    --cc=robh@kernel.org \
    --cc=shazad.hussain@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®