arm64: dts: qcom: Add HP OmniBook X 16-cp1
v2 cover arm64: dts: qcom: Add HP OmniBook X 16-cp1
This adds a device tree for the HP OmniBook X 16-cp1 (board 8F46), a 16" laptop with the 12-core Snapdragon X2 Elite (Mahua).
Tested with Ubuntu's 7.3-based linux-qcom-x1e kernel. Everything listed in patch 2 works there, including suspend (s2idle).
Notes:
- DisplayPort at HBR2 needs "phy: qualcomm: qmp-combo: update DP PHY PLL programming on Glymur" v5 [1]. Without it the stream runs at half rate and the monitor shows no picture. With it, about 1 in 4 plug-ins still gives no picture; replugging fixes it.
- The GPU is disabled. It works with "drm/msm: Mahua GPU support" [2] applied; I'll send a follow-up to enable it once that lands.
- Audio needs a topology and UCM config for the "HP-OmniBook-X16" model, which are not upstream yet. The headphone jack (SDCA) is not described.
- I hit one hard lockup while plugging USB-C devices during testing and could not reproduce it in later plug/unplug cycles.
This series was written with the help of an AI coding assistant (Claude): the device tree started from glymur-hp-elitebook-x-g2q.dts and the laptop's ACPI tables. I reviewed it and tested it on the laptop.
Earlier bring-up report: [3]
Changes in v2:
- Add static data-lanes to usb_2_qmpphy so the PHY uses USB3-only mode (reported by Sashiko)
- Drop the Assisted-by tag, describe the tool use in the changelog instead (Krzysztof)
- Link to v1: https://lore.kernel.org/r/[email protected]
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
[3] https://lore.kernel.org/all/CAAnD8Rb4ZZrHFWMJayabioB_8bOHh1mqZ5LCXZz0jTNGMA7UZQ@mail.gmail.com/
Jeff Roach (2):
dt-bindings: arm: qcom: Add HP OmniBook X 16-cp1
arm64: dts: qcom: Add HP OmniBook X 16-cp1
.../devicetree/bindings/arm/qcom.yaml | 1 + arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/mahua-hp-omnibook-x16.dts | 855 ++++++++++++++++++ 3 files changed, 857 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts
base-commit: f5672a3dff0291d6a45eb0c258b9d2baeb4dc577
Signature · 1 line
2.55.0
PATCH v2 1/2 dt-bindings: arm: qcom: Add HP OmniBook X 16-cp1
Document the HP OmniBook X 16-cp1 laptop, based on the Qualcomm Mahua (Snapdragon X2 Elite, 12 cores) SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -191,6 +191,7 @@ properties: - items: - enum: + - hp,omnibook-x16-cp1 - qcom,mahua-crd - const: qcom,mahua
Signature · 1 line
2.55.0
Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add HP OmniBook X 16-cp1
Quoted 7 lines · Jeff Roach
Document the HP OmniBook X 16-cp1 laptop, based on the Qualcomm Mahua (Snapdragon X2 Elite, 12 cores) SoC.
Signed-off-by Jeff Roach <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof
PATCH v2 2/2 arm64: dts: qcom: Add HP OmniBook X 16-cp1
In reply to Jeff RoachAdd a device tree for the HP OmniBook X 16-cp1 laptop, based on the Qualcomm Mahua (Snapdragon X2 Elite, 12 cores) SoC.
Supported and tested:
- Keyboard, touchpad and touchscreen over I2C HID
- Lid switch
- NVMe SSD (PCIe 5)
- Qualcomm QCC2072 Wi-Fi (PCIe 4, M.2 key E slot)
- Two USB-C ports with orientation switching, USB PD and battery reporting through pmic-glink
- USB-A port (usb_2)
- Webcam on the internal USB 2.0 host
- eDP OLED panel with DP AUX backlight
- DisplayPort alt mode on both USB-C ports
- ADSP and CDSP remoteprocs
- Two speakers (WSA8845) and two digital microphones
The GPU is left disabled until Mahua's Adreno X2-85 is supported.
This device tree was written with the help of an AI coding assistant (Claude), starting from glymur-hp-elitebook-x-g2q.dts and the laptop's ACPI tables. I reviewed it and tested every feature listed above on the laptop.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + .../boot/dts/qcom/mahua-hp-omnibook-x16.dts | 855 ++++++++++++++++++ 2 files changed, 856 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -64,6 +64,7 @@ dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-el2.dtb lemans-evk-ifp-mezzanine-dtbs := lemans-evk.dtb lemans-evk-ifp-mezzanine.dtbo dtb-$(CONFIG_ARCH_QCOM) += lemans-evk-ifp-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) += mahua-crd.dtb +dtb-$(CONFIG_ARCH_QCOM) += mahua-hp-omnibook-x16.dtb dtb-$(CONFIG_ARCH_QCOM) += mahua-lenovo-thinkpad-t14s-gen7-lcd.dtb dtb-$(CONFIG_ARCH_QCOM) += milos-fairphone-fp6.dtb dtb-$(CONFIG_ARCH_QCOM) += milos-nothing-asteroids.dtb
arch/arm64/boot/dts/qcom/mahua-hp-omnibook-x16.dts new file +855 -0
855 lines not on this page · raw message
Signature · 1 line
2.55.0
Quoted 17 lines · Jeff Roach
Add a device tree for the HP OmniBook X 16-cp1 laptop, based on the Qualcomm Mahua (Snapdragon X2 Elite, 12 cores) SoC.
Supported and tested:
- Keyboard, touchpad and touchscreen over I2C HID
- Lid switch
- NVMe SSD (PCIe 5)
- Qualcomm QCC2072 Wi-Fi (PCIe 4, M.2 key E slot)
- Two USB-C ports with orientation switching, USB PD and battery reporting through pmic-glink
- USB-A port (usb_2)
- Webcam on the internal USB 2.0 host
- eDP OLED panel with DP AUX backlight
- DisplayPort alt mode on both USB-C ports
- ADSP and CDSP remoteprocs
- Two speakers (WSA8845) and two digital microphones
Quoted 6 lines
The GPU is left disabled until Mahua's Adreno X2-85 is supported.
This device tree was written with the help of an AI coding assistant (Claude), starting from
glymur-hp-elitebook-x-g2q.dtsand the laptop's ACPI tables. I reviewed it and tested every feature listed above on the laptop.
I hope you asked the agent to go through the regulator settings!
Konrad
Quoted 4 lines · Konrad Dybcio
I hope you asked the agent to go through the regulator settings!
Konrad
I went through them against the PMIC votes in the laptop's ACPI tables. All match except vreg_l1f_e1, which I had copied from the EliteBook at 880 mV; ACPI votes 904 mV for it on this board. I'll fix that in v3. vreg_l1b_e0 (DMIC bias) isn't in the ACPI tables, so it stays at 1.8 V like the other Glymur boards.
Jeff