From: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
To: Gopikrishna Garmidi <gopikrishna.garmidi@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
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>,
Sibi Sankar <sibi.sankar@oss.qualcomm.com>,
Pankaj Patil <pankaj.patil@oss.qualcomm.com>
Cc: Rajendra Nayak <rajendra.nayak@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4] arm64: dts: qcom: Add Microsoft Surface Laptop 8th Edition
Date: Wed, 2 Dec 2026 11:42:57 +0100 [thread overview]
Message-ID: <42a4b218-f55b-4e36-8ca5-efe534f4eba4@oss.qualcomm.com> (raw)
In-Reply-To: <20261129-mahua-surface-laptop-v4-1-b6ceb31303fd@oss.qualcomm.com>
On 11/30/26 7:58 AM, Gopikrishna Garmidi wrote:
> Add support for the Microsoft Surface Laptop 13.8" 8th Edition, which is
> built on the Mahua SoC. Most of the board follows the Qualcomm reference
> design. The keyboard, fan and platform profile sit behind the Surface
> Aggregator Module on uart22, same as on the Surface Laptop 7.
>
> What works:
> - internal eDP panel (link capped at HBR, see below)
> - both USB-C ports, data and charging
> - USB multiport controller behind the two PTN3222 eUSB2 redrivers
> - Wi-Fi and Bluetooth (WCN7850)
> - speakers (2x WSA8845) and the two DMICs
> - NVMe
> - keyboard, fan and platform profile via SAM
> - touchpad and touchscreen (HID over I2C)
> - lid switch
> - GPU and GMU
[...]
> + model = "Microsoft Surface Laptop 8th Edition (13.8 inch)";
> + compatible = "microsoft,surface-laptop-8-13p8", "qcom,mahua";
An LLM flagged this discrepancy in the SSAM driver:
drivers/platform/surface/surface_aggregator_registry.c
521: { .compatible = "microsoft,surface-laptop-8-13in", (void *)ssam_node_group_sl7 },
[...]
> + sound {
> + compatible = "qcom,glymur-sndcard";
> + model = "Microsoft-Surface-Laptop-8-13p8";
> + audio-routing = "SpkrLeft IN", "WSA WSA_SPK1 OUT",
> + "SpkrRight IN", "WSA WSA_SPK2 OUT",
> + "VA DMIC0", "vdd-micb",
> + "VA DMIC1", "vdd-micb";
> +
> + wsa-dai-link {
> + link-name = "WSA Playback";
> +
> + cpu {
> + sound-dai = <&q6apmbedai WSA_CODEC_DMA_RX_0>;
> + };
> +
> + codec {
'co'dec < 'cp'u
and the link nodes should be sorted too
[...]
> +&rpmh_vregs_b_e0 {
> + vreg_bob1_e0: bob1 {
Some of these regulators are needlessly redefined vs glymur-cob
+ the label diverges from there
[...]
> +&vreg_l7b0 {
> + regulator-min-microvolt = <2790000>;
> + regulator-max-microvolt = <2792000>;
> +};
> +
> +&vreg_l1c1 {
> + regulator-min-microvolt = <832000>;
> + regulator-max-microvolt = <832000>;
> +};
And most of these overrides are probably invalid (or neutered by
something else in the chain, as PHY voltages are preset for a SoC)
- see the consolidation commit
[...]
> +&tlmm {
> + gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */
> + <10 2>, /* OOB UART */
> + <44 4>; /* Security SPI (TPM) */
> +
> + edp_bl_en: edp-bl-en-state {
> + pins = "gpio18";
> + function = "gpio";
> + drive-strength = <2>;
> + bias-disable;
> + };
> +
> + edp_reg_en: edp-reg-en-state {
> + pins = "gpio70";
Please keep the TLMM subnodes sorted by pin idx
Konrad
prev parent reply other threads:[~2026-12-02 10:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 6:58 Gopikrishna Garmidi
2026-12-02 10:42 ` Konrad Dybcio [this message]
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=42a4b218-f55b-4e36-8ca5-efe534f4eba4@oss.qualcomm.com \
--to=konrad.dybcio@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gopikrishna.garmidi@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=pankaj.patil@oss.qualcomm.com \
--cc=rajendra.nayak@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=sibi.sankar@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®