Skip to content

linux-omarchy-dtbs (7.3-106): bring up the HP OmniBook 3 16-ct0 - #4503

Open
vineethrp wants to merge 1 commit into
omacom:masterfrom
omarchy-sc:hp-omnibook-3-16-ct0-dtbs
Open

vineethrp wants to merge 1 commit into
omacom:masterfrom
omarchy-sc:hp-omnibook-3-16-ct0-dtbs

Conversation

@vineethrp

@vineethrp vineethrp commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Bring-up fixes for the HP OmniBook 3 16-ct0 (sc7280-hp-omnibook-3-16-ct0, tree 0056), from running it on a 16-ct0 (SKU DZ3U1UA#ABA, board 8FD0). Without 0103 the laptop resets two seconds into the boot.

  • 0103 makes it boot. It reserves TLMM GPIOs 32-33 and 48-50, which the firmware keeps from the OS: pinctrl reading them resets the machine. It drops regulator-boot-on from the NVMe 3.3 V rail, since the Longsys/Maxio SSD never reports ready after the PCIe controller reset unless its rail is cycled. And it keeps the eDP backlight regulator on, since the late regulator cleanup otherwise switches the backlight off 30 s in.
  • 0104 adds the headphones and the two DMICs: a WCD937x on SoundWire, as on the QCM6490 IDP. The card loads its topology from hp-omnibook-3-16-ct0-audio (hp-omnibook-3-16-ct0-audio (1-1): add the HP OmniBook 3 16-ct0 sound topology and UCM profile #4517). Until then the card can't load its topology and doesn't register, with one error in the kernel log; nothing else is affected. Headphones, jack detection and both DMICs work. The headset mic is routed and powers up but records silence (it works in Windows), which I haven't solved.
  • 0105 adds the embedded controller at 0x76 on i2c10, for the hp-omnibook-3-ec driver in linux-omarchy-aarch64 (7.3.6-30): add the HP OmniBook 3 16-ct0 embedded controller driver #4502, which is why _kernel_min moves to 7.3.6-30.
  • 0106 makes the ADSP remote heap no-map. Since 7.3.4 fastrpc assigns the whole region to the ADSP when it probes, while kodiak.dtsi leaves it reusable, and the laptop froze within minutes of boot. Hamoa, lemans and monaco already have it no-map.
  • 0107 adds the speakers: an I2S amplifier on MI2S1, enabled by GPIO 136 as in HP's power sequence. The part isn't known and is described as a MAX98360A, which only has an enable pin.

The unit reports the product HP OmniBook 3 Laptop AI 16-ct0xxx, not the HP OmniBook 3 Laptop 16-ct0xxx the CHID file was written from, so it only matched on the manufacturer/family/board CHID. sc7280-hp-omnibook-3-16-ct0.json now also has its CHIDs 0-9 from systemd-analyze chid.

All device tree changes are in the ct0's own .dts. Checked against the 7.3.6-26 headers: every patch applies with --fuzz=0, and the ct0 dtb is identical to the one tested on the laptop.

🤖 Generated with Claude Code

@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge with its documented audio limits and separate driver prerequisite.

Summary

This PR brings up the HP OmniBook 3 16-ct0 with five board-only device-tree patches.

  • The OmniBook 3 16-ct0 reaches the desktop without power glitches.
  • The OmniBook 3 16-ct0 exposes headphone playback and its two digital microphones.
  • The OmniBook 3 16-ct0 reports battery and charger changes through its embedded controller.
  • Linux no longer lends the OmniBook’s ADSP heap pages to programs.
  • The OmniBook 3 16-ct0 plays audio through its built-in speakers.
  • The OmniBook 3 16-ct0 device tree matches ten more hardware IDs.

No actionable defect was established. vineethrp explicitly documents that audio needs the separate topology package, the headset microphone still records silence, and the speaker amplifier is described using a simple enable-pin driver without speaker protection. These known limits were not reported again.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Headers[Kernel headers] --> Patches[Apply board patches]
  Patches --> DTB[Compile ct0 device tree]
  IDs[ct0 hardware IDs] --> UKI[Build boot image]
  DTB --> UKI
  UKI --> Stub[systemd-stub selects ct0 tree]
  Stub --> Kernel[Kernel drivers start hardware]
Loading

Reviews (3) · Last reviewed commit: "linux-omarchy-dtbs (7.3-106): bring up t..." · Reviewed by Greptile

@vineethrp
vineethrp force-pushed the hp-omnibook-3-16-ct0-dtbs branch from 5fe0b2b to 2a9ffa5 Compare December 2, 2026 21:23
@vineethrp vineethrp changed the title linux-omarchy-dtbs (7.3-99): bring up the HP OmniBook 3 16-ct0 linux-omarchy-dtbs (7.3-102): bring up the HP OmniBook 3 16-ct0 Dec 2, 2026
@birkskyum

Copy link
Copy Markdown
Contributor

Heads up on ordering @vineethrp: we're rebasing and landing #4490 at linux-omarchy-dtbs 7.3-102 (0101) first, and landing #4501 and #4502 in linux-omarchy-aarch64 ahead of this DT bring-up.

Once #4490, #4501, and #4502 are in, please rebase this onto 7.3-102 as 7.3-103 (renumbering patches 0102-0106, and bumping _kernel_min if needed for the EC driver from #4502) and we'll get it built and merged right away.

@vineethrp

Copy link
Copy Markdown
Contributor Author

Sounds good. Once #4490, #4501 and #4502 are in, I'll rebase this onto 7.3-102 as 7.3-103, renumber the patches to 0102–0106 and set _kernel_min to 7.3.6-29 for the EC driver.

From running 0056 on a 16-ct0 (board 8FD0):

- 0103 makes it boot: reserve the TLMM pins the firmware keeps, cycle
  the NVMe rail, keep the eDP backlight regulator on.
- 0104 adds the headphones and the two DMICs (WCD937x codec).
- 0105 adds the embedded controller that reports the battery and the
  AC adapter.
- 0106 makes the ADSP remote heap no-map, which stops the freeze within
  minutes of boot since fastrpc's 7.3.4 change.
- 0107 adds the speakers, an I2S amplifier on MI2S1.

Also add the unit's CHIDs to sc7280-hp-omnibook-3-16-ct0.json, as it
reports another product name than the one the file was written from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vineethrp
vineethrp force-pushed the hp-omnibook-3-16-ct0-dtbs branch from 2a9ffa5 to ae1ff50 Compare December 3, 2026 17:16
@vineethrp vineethrp changed the title linux-omarchy-dtbs (7.3-102): bring up the HP OmniBook 3 16-ct0 linux-omarchy-dtbs (7.3-106): bring up the HP OmniBook 3 16-ct0 Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants