Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Jeff Roach" <jeff.roach0@gmail.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v6 2/2] arm64: dts: qcom: Add HP OmniBook X 16-cp1
Date: Thu, 03 Dec 2026 19:39:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-248530@kernel.org> (raw)
In-Reply-To: <20261203192550.1426401-3-jeff.roach0@gmail.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] arm64: dts: qcom: usb_2_qmpphy keeps Type-C switches on fixed
  USB-A port
- [Medium] arm64: dts: qcom: mdss_dp3 omits edp0_hot HPD pinctrl
  configuration
--

commit 60ec9c8ab01bda19760cc99d7cb96cd8f28a5acc
Author: Jeff Roach <jeff.roach0@gmail.com>

arm64: dts: qcom: Add HP OmniBook X 16-cp1

This commit adds the device tree for the HP OmniBook X 16-cp1 laptop
based on the Qualcomm Mahua SoC and adds it to the qcom DTS Makefile.

> diff --git a/arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts b/arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts
> new file mode 100644
> index 0000000000000..57a9e7f278b7f
> --- /dev/null
> +++ b/arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts

[ ... ]

> +&mdss_dp3 {
> +	/delete-property/ #sound-dai-cells;
> +
> +	status = "okay";
> +
> +	aux-bus {
> +		panel {
> +			compatible = "samsung,atna33xc20";
> +			enable-gpios = <&tlmm 18 GPIO_ACTIVE_HIGH>;
> +			power-supply = <&vreg_edp_3p3>;
> +
> +			pinctrl-0 = <&edp_bl_en>;
> +			pinctrl-names = "default";
> +
> +			port {
> +				edp_panel_in: endpoint {
> +					remote-endpoint = <&mdss_dp3_out>;
> +				};
> +			};
> +		};
> +	};
> +};

[Severity: Medium]
Does &mdss_dp3 need pinctrl configuration for the edp0_hot HPD pin on
gpio119?

Neither glymur.dtsi nor mahua.dtsi sets a default pinctrl state for
mdss_dp3, and the panel node has neither no-hpd nor hpd-gpios.  If
firmware does not leave gpio119 muxed to edp0_hot, atana33xc20_resume()
times out in wait_hpd_asserted() and aborts panel power-on.

Adding an edp0_hot pinctrl state for gpio119 and referencing it in
pinctrl-0 here would avoid relying on firmware pinmux state.

[ ... ]

> +/* USB-A port on the right side */
> +&usb_2 {
> +	dr_mode = "host";
> +
> +	/delete-property/ usb-role-switch;
> +
> +	status = "okay";
> +};
> +
> +&usb_2_hsphy {
> +	status = "okay";
> +};
> +
> +&usb_2_qmpphy {
> +	status = "okay";
> +};

[Severity: Medium]
Should &usb_2_qmpphy delete the Type-C mode-switch and
orientation-switch properties inherited from glymur.dtsi?

Because usb_2 is a fixed host-only USB-A port and those properties
remain present, qmp_combo_probe() registers unused Type-C switch and
mux devices and skips the static data-lanes path that selects
QMPPHY_MODE_USB3_ONLY.

As a result, qmp_combo_com_init() leaves the PHY in QMPPHY_MODE_USB3DP,
enabling DP_MODE and releasing reset on the unused DP PHY PCS block.
Deleting mode-switch, orientation-switch, and port@0/endpoint, then
adding static data-lanes under port@0/endpoint@1, would fix this.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261203192550.1426401-1-jeff.roach0@gmail.com?part=2

      reply	other threads:[~2026-12-03 19:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 19:25 [PATCH v6 0/2] arm64: dts: qcom: Add HP OmniBook X 16-cp1 Jeff Roach
2026-12-03 19:25 ` [PATCH v6 1/2] dt-bindings: arm: " Jeff Roach
2026-12-03 19:25 ` [PATCH v6 2/2] arm64: dts: " Jeff Roach
2026-12-03 19:39   ` 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-248530@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jeff.roach0@gmail.com \
    --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