Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Birk Skyum" <birk.skyum@pm.me>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/2] arm64: dts: qcom: Add the ASUS ProArt PZ14 (HT7407NA)
Date: Tue, 01 Dec 2026 11:50:38 +0000	[thread overview]
Message-ID: <sashiko-outbox-243218@kernel.org> (raw)
In-Reply-To: <20261201-qcom-asus-proart-pz14-v1-2-84d98e88d8d2@pm.me>

Thank you for your contribution! Sashiko AI review found 3 potential
issues to consider:
- [High] arm64: dts: qcom: unmatched pci17cb,1112 compatible on wifi@0
  defers pcie4 probe
- [Medium] arm64: dts: qcom: duplicated Glymur CoB power grid instead of
  glymur-cob.dtsi
- [Low] arm64: dts: qcom: obsolete 256 MiB linux,cma reserved-memory
  node retained
--

commit 31c9ee1e3820a93811d516e3faa81ca5119f6aa4
Author: Birk Skyum <birk.skyum@pm.me>

arm64: dts: qcom: Add the ASUS ProArt PZ14 (HT7407NA)

This commit adds the devicetree for the ASUS ProArt PZ14 (HT7407NA) tablet
based on the Qualcomm Snapdragon X2 Elite (Glymur) platform.

> diff --git a/arch/arm64/boot/dts/qcom/glymur-asus-proart-pz14-ht7407na.dts b/arch/arm64/boot/dts/qcom/glymur-asus-proart-pz14-ht7407na.dts
> new file mode 100644
> index 0000000000000..f7bbc0fb9264a
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/glymur-asus-proart-pz14-ht7407na.dts
> @@ -0,0 +1,1017 @@
> +// SPDX-License-Identifier: BSD-3-Clause
> +/*
> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
> + * Copyright (c) 2026, Birk Skyum <birk.skyum@pm.me>
> + */
> +/dts-v1/;
> +
> +#include "glymur.dtsi"
> +
> +#include "pmcx0102.dtsi"
> +#include "pmh0101.dtsi"
> +#include "pmh0110-glymur.dtsi"
> +#include "pmh0104-glymur.dtsi"
> +#include "pmk8850.dtsi"
> +#include "smb2370.dtsi"

[Severity: Medium]
Should this board include glymur-cob.dtsi instead of open-coding the PMIC
includes, the apps_rsc regulators, and the on-SoC peripheral supplies?

Commit 6fdce1f4a17b ("arm64: dts: qcom: Consolidate Glymur CoB power grid")
factored out the common Chip-on-Board power grid into glymur-cob.dtsi and
converted glymur-asus-zenbook-a14-ux3407na.dts to use it.  Open-coding an
older snapshot here omits regulator-boot-on from vreg_l4c1 (from commit
09096b4ea1bd ("arm64: dts: qcom: glymur-crd: Mark L4C regulator as boot-on
to save power")), leaving L4C1 enabled when usb_2 is disabled, and retains
pre-consolidation voltages on vreg_l2c1, vreg_l3c1, and vreg_l2f0.

[ ... ]

> +	reserved-memory {
> +		linux,cma {
> +			compatible = "shared-dma-pool";
> +			size = <0x0 0x10000000>;
> +			reusable;
> +			linux,cma-default;
> +		};
> +	};

[Severity: Low]
Can this linux,cma reserved-memory block be dropped?  Commit b7306b1cea38
("arm64: dts: qcom: glymur-asus-zenbook: Drop the CMA region") removed it
from the other Glymur ASUS boards because the PCIe SMMU is owned by Linux
and PCIe devices use translated IOMMU domains.

[ ... ]

> +&pcie4_port0 {
> +	reset-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
> +	wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
> +
> +	wifi@0 {
> +		compatible = "pci17cb,1112";
> +		reg = <0x10000 0 0 0 0>;
> +
> +		vddaon-supply = <&vreg_pmu_aon_0p59>;
> +		vddwlcx-supply = <&vreg_pmu_wlcx_0p8>;
> +		vddwlmx-supply = <&vreg_pmu_wlmx_0p85>;
> +		vddrfacmn-supply = <&vreg_pmu_rfa_cmn>;
> +		vddrfa0p8-supply = <&vreg_pmu_rfa_0p8>;
> +		vddrfa1p2-supply = <&vreg_pmu_rfa_1p2>;
> +		vddrfa1p8-supply = <&vreg_pmu_rfa_1p8>;
> +		vddpcie0p9-supply = <&vreg_pmu_pcie_0p9>;
> +		vddpcie1p8-supply = <&vreg_pmu_pcie_1p8>;
> +	};
> +};

[Severity: High]
Will compatible = "pci17cb,1112" on wifi@0 cause pcie4 probe to defer
indefinitely?

Because wifi@0 has a "pci..." compatible and vdd*-supply properties,
qcom_pcie_host_init() -> pci_pwrctrl_create_devices() creates a pwrctrl
platform device for it, and pci_pwrctrl_power_on_device() returns
-EPROBE_DEFER until a pwrctrl driver binds:

drivers/pci/pwrctrl/pci-pwrctrl-pwrseq.c:
static const struct of_device_id pwrseq_pwrctrl_of_match[] = {
	{
		/* ATH11K in QCA6390 package. */
		.compatible = "pci17cb,1101",
		.data = &pwrseq_pwrctrl_qcom_wcn_pdata,
	},
	{
		/* ATH11K in WCN6855 package. */
		.compatible = "pci17cb,1103",
		.data = &pwrseq_pwrctrl_qcom_wcn_pdata,
	},
	{
		/* ATH12K in WCN7850 package. */
		.compatible = "pci17cb,1107",
		.data = &pwrseq_pwrctrl_qcom_wcn_pdata,
	},
	{ }
};

No driver (or DT binding schema) matches "pci17cb,1112", so pcie4 never
completes probing and the Wi-Fi card is never powered on or enumerated.
Both glymur-asus-zenbook-a16-ux3607oa.dts and
glymur-asus-zenbook-a14-ux3407na.dts instead model this card through a
wlan-connector node with compatible = "pcie-m2-e-connector" linked via OF
graph endpoints to pcie4_port0 (which binds to pci-pwrctrl-slot) and
uart14.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261201-qcom-asus-proart-pz14-v1-0-84d98e88d8d2@pm.me?part=2

      reply	other threads:[~2026-12-01 11:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 11:36 [PATCH 0/2] arm64: dts: qcom: Add the ASUS ProArt PZ14 (HT7407NA) Birk Skyum via B4 Relay
2026-12-01 11:36 ` [PATCH 1/2] dt-bindings: arm: " Birk Skyum via B4 Relay
2026-12-01 11:36 ` [PATCH 2/2] arm64: dts: " Birk Skyum via B4 Relay
2026-12-01 11:50   ` sashiko-bot [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=sashiko-outbox-243218@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=birk.skyum@pm.me \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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