Skip to contentSkip to conversation

Add HP OmniBook X Laptop

PATCH In review Manivannan Sadhasivam 4 participants 6 messages Dec 1

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover Add HP OmniBook X Laptop

This series adds devicetree support for the HP OmniBook X Laptop 14-kr1xxx, a laptop based on the Snapdragon X2 Plus SoC (X2P-42-100) codenamed Kalambo, which is the 6-core variant of the Mahua SoC.

Product info:
https://support.hp.com/us-en/document/ish_14274700-14274744-16

Dependency
==========

The internal eDP panel stays dark without the eDP fixes below. Nothing else in this series depends on them.

Posted:

phy: qcom: edp: split power-on sequencing by PHY version
phy: qcom: edp: update v8 power-on programming sequence
https://lore.kernel.org/r/[email protected]

drm/msm/dp: clear force_link_train flag when link training succeeds
https://lore.kernel.org/r/20260824-qcom-dp-typec-reconnect-fixes-v1-2-2825e5bf8a96@oss.qualcomm.com

Not posted yet:

drm/msm/dp: make the eDP 1.4 LINK_RATE_SET path actually reachable drm/msm/dp: keep eDP at its native lane count after an EQ failure

---
Manivannan Sadhasivam (2):
dt-bindings: arm: qcom: Add HP OmniBook X Laptop
arm64: dts: qcom: Add HP OmniBook X Laptop

 Documentation/devicetree/bindings/arm/qcom.yaml    |   1 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts   | 658 +++++++++++++++++++++
 3 files changed, 660 insertions(+)

---
base-commit: 6a53a618c8f193eb5d8cc30c03565f9190f34e9d
change-id: 20261130-omnibook-bb5a68770094

Best regards,

Signature · 1 line
மணிவண்ணன் சதாசிவம்
#1 lore raw

PATCH 1/2 dt-bindings: arm: qcom: Add HP OmniBook X Laptop

From: Manivannan Sadhasivam <[email protected]>

The HP OmniBook X Laptop 14-kr1xxx, is a laptop based on the Snapdragon X2 Plus SoC (X2P-42-100) codenamed Kalambo, which is the 6-core variant of the Mahua SoC.

Add a compatible for the device.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index a7157795870c..798bfc3557be 100644
@@ -203,6 +203,7 @@ properties:
 
       - items:
           - enum:
+              - hp,omnibook-x-14-kr1xxx
               - qcom,kalambo-crd
           - const: qcom,kalambo
 
Signature · 1 line
2.43.0
#2 lore raw

PATCH 2/2 arm64: dts: qcom: Add HP OmniBook X Laptop

In reply to Manivannan Sadhasivam

From: Manivannan Sadhasivam <[email protected]>

Add a device tree for the HP OmniBook X Laptop 14-kr1xxx, a laptop based on the Snapdragon X2 Plus SoC (X2P-42-100) codenamed Kalambo, which is the 6-core variant of the Mahua SoC.

Features enabled:

- Internal eDP panel (samsung,atna33xc20)
- 2x USB Type-C ports (SS) on the left side and 1x USB Type-A port (HS) on the right side
- Internal USB2 camera (HS)
- Wi-Fi and Bluetooth on the M.2 Key E connector, through PCIe4 and

    UART14

- NVMe SSD on the M.2 Key M connector through PCIe5
- Keyboard on I2C0, Touchpad on I2C4 and Touchscreen on I2C8
- GPU
- aDSP and cDSP
- RTC

Features missing:

- Audio

---
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts   | 658 +++++++++++++++++++++
 2 files changed, 659 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 19310879349d..d61e5dd3b96b 100644
@@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-mtp.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-qrd.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-xiaomi-nezha-cn.dtb kaanapali-xiaomi-nezha-eea.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= kalambo-crd.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= kalambo-hp-omnibook-x-14-kr1xxx.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= lemans-evk.dtb
 
 lemans-evk-camera-csi1-imx577-dtbs	:= lemans-evk.dtb lemans-evk-camera-csi1-imx577.dtbo
arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +658 -0

658 lines not on this page · raw message

Signature · 1 line
2.43.0
#3 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: Add HP OmniBook X Laptop

Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [High] arm64: dts: qcom: vreg_l8b0 min microvolt set to 1.504V on 3.3V PTN3222 rail - [High] arm64: dts…

Thank you for your contribution! Sashiko AI review found 2 potential issues to consider:
- [High] arm64: dts: qcom: vreg_l8b0 min microvolt set to 1.504V on 3.3V PTN3222 rail
- [High] arm64: dts: qcom: usb_2 missing qcom,select-utmi-as-pipe-clk and maximum-speed
--

commit 07bdf051a17d311984556a8e341883b05a76c374
Author: Manivannan Sadhasivam <[email protected]>

arm64: dts: qcom: Add HP OmniBook X Laptop

This commit adds the device tree for the HP OmniBook X Laptop 14-kr1xxx, based on the Snapdragon X2 Plus (Kalambo) SoC.

Quoted 5 lines
arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +0 -0
new file mode 100644
index 0000000000000..7ed0c42c5ea34

[ ... ]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 228

Quoted 8 lines

+&rpmh_vregs_b_e0 {

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +7 -0
+	vreg_l8b0: ldo8 {
+		regulator-name = "vreg_l8b0";
+		regulator-min-microvolt = <1504000>;
+		regulator-max-microvolt = <3304000>;
+		regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+	};
+};

[Severity: High]
Should regulator-min-microvolt on vreg_l8b0 be <3304000> instead of <1504000>?

vreg_l8b0 supplies vdd3v3-supply on the two NXP PTN3222 eUSB2 repeaters (eusb2_rpt_cam and eusb2_rpt_typea). Because phy-nxp-ptn3222 only calls regulator_bulk_enable() and never calls regulator_set_voltage(), a minimum constraint of 1.504 V allows the regulator core to leave or program LDO8 at 1.504 V instead of 3.3 V, under-volting both repeaters, as fixed for glymur-crd in 663f5e10dd2f ("arm64: dts: qcom: glymur-crd: Fix L8B0 voltage").

[ ... ]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 639

Quoted 8 lines

+&usb_2 {

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +7 -0
+	dr_mode = "host";
+
+	phys = <&usb_2_hsphy>;
+	phy-names = "usb2-phy";
+
+	status = "okay";
+};

[Severity: High]
Does usb_2 need qcom,select-utmi-as-pipe-clk and maximum-speed = "high-speed" when operated without usb_2_qmpphy?

usb_2 is wired to a High-Speed-only Type-A port and drops the SuperSpeed QMP PHY. Without qcom,select-utmi-as-pipe-clk, dwc3_qcom_probe() resets the controller via GCC_USB30_TERT_BCR and does not call dwc3_qcom_select_utmi_clk() to switch the controller clock from the disabled SSPHY pipe clock to the UTMI clock. Omitting maximum-speed = "high-speed" also leaves the DWC3 core configured for SuperSpeed and causes dwc3_qcom_interconnect_init() to vote for SuperSpeed DDR bandwidth.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
#4 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: Add HP OmniBook X Laptop

In reply to Manivannan Sadhasivam
Quoted 62 lines · Manivannan Sadhasivam

From: Manivannan Sadhasivam <[email protected]>

Add a device tree for the HP OmniBook X Laptop 14-kr1xxx, a laptop based on the Snapdragon X2 Plus SoC (X2P-42-100) codenamed Kalambo, which is the 6-core variant of the Mahua SoC.

Features enabled:

- Internal eDP panel (samsung,atna33xc20)
- 2x USB Type-C ports (SS) on the left side and 1x USB Type-A port (HS) on the right side
- Internal USB2 camera (HS)
- Wi-Fi and Bluetooth on the M.2 Key E connector, through PCIe4 and

     UART14

- NVMe SSD on the M.2 Key M connector through PCIe5
- Keyboard on I2C0, Touchpad on I2C4 and Touchscreen on I2C8
- GPU
- aDSP and cDSP
- RTC

Features missing:

- Audio

---
  arch/arm64/boot/dts/qcom/Makefile                  |   1 +
  .../dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts   | 658 +++++++++++++++++++++
  2 files changed, 659 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 19310879349d..d61e5dd3b96b 100644
@@ -65,6 +65,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-mtp.dtb
  dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-qrd.dtb
  dtb-$(CONFIG_ARCH_QCOM)	+= kaanapali-xiaomi-nezha-cn.dtb kaanapali-xiaomi-nezha-eea.dtb
  dtb-$(CONFIG_ARCH_QCOM)	+= kalambo-crd.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= kalambo-hp-omnibook-x-14-kr1xxx.dtb
  dtb-$(CONFIG_ARCH_QCOM)	+= lemans-evk.dtb
 
  lemans-evk-camera-csi1-imx577-dtbs	:= lemans-evk.dtb lemans-evk-camera-csi1-imx577.dtbo
arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +14 -0
new file mode 100644
index 000000000000..7ed0c42c5ea3
@@ -0,0 +1,658 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+/dts-v1/;
+
+#include "kalambo.dtsi"
+
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
+
+/ {
+	model = "HP OmniBook X Laptop 14-kr1xxx";
+	compatible = "hp,omnibook-x-14-kr1xxx", "qcom,kalambo";
+

[...]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 237

Quoted 9 lines
arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +9 -0
+
+&gmu {
+	status = "okay";
+};
+
+&gpu {
+	status = "okay";
+};
+

The gmu and gpu nodes are already enabled by default in glymur.dtsi, so these two status = "okay" blocks aren't needed.

Thanks,
Gopikrishna

#5 lore raw

Re: [PATCH 2/2] arm64: dts: qcom: Add HP OmniBook X Laptop

In reply to Manivannan Sadhasivam
Quoted 5 lines · Manivannan Sadhasivam

From: Manivannan Sadhasivam <[email protected]>

Add a device tree for the HP OmniBook X Laptop 14-kr1xxx, a laptop based on the Snapdragon X2 Plus SoC (X2P-42-100) codenamed Kalambo, which is the 6-core variant of the Mahua SoC.

[...]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 224

Quoted 3 lines
arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +3 -0
+	vreg_l8b0: ldo8 {
+		regulator-name = "vreg_l8b0";
+		regulator-min-microvolt = <1504000>;

This is designated as vdd3v3-supply for the repeaters

[...]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 484

Quoted 13 lines

+&tlmm {

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +12 -0
+	gpio-reserved-ranges = <4 4>,   /* EC TZ Secure I3C */
+			       <10 2>,  /* OOB UART */
+			       <27 1>,  /* TZ trigger  */
+			       <44 4>,  /* TPM */
+			       <139 1>; /* TZ trigger */
+
+	edp_bl_en: edp-bl-en-state {
+		pins = "gpio18";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+	};

Please re-sort the tlmm children by gpio idx

[...]

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts line 638

Quoted 7 lines

+&usb_2 {

arch/arm64/boot/dts/qcom/kalambo-hp-omnibook-x-14-kr1xxx.dts new file +6 -0
+	dr_mode = "host";
+
+	phys = <&usb_2_hsphy>;
+	phy-names = "usb2-phy";
+
+	status = "okay";

I think you should be able to skip this dance altogether, both mode autodetection and HS fallback should work nicely without this

Konrad