Repository navigation
Conversation
Confidence Score: 5/5
[Medium impact] The PR appears safe to merge; no actionable defects remain from this review. SummaryAdds battery and AC support for the HP OmniBook 3 16-ct0 through its embedded controller.
No new actionable issues were found. The current code addresses all four earlier findings: failed detail reads remain eligible for retry, polling notifies AC listeners, property reads cannot overwrite the announced baseline, and IRQ or resume notifications force the next successful poll to announce both supplies. The device-tree node remains intentionally separate in #4503. This review checked code paths and related consumers; it did not run a kernel build or hardware test. Reviews (8) · Last reviewed commit: "linux-omarchy-aarch64 (7.3.6-30): add th..." · Reviewed by Greptile |
134aa1f to
fca7023
Compare
fca7023 to
87ae0bf
Compare
87ae0bf to
e27e4d3
Compare
|
Thanks for the clean stack @vineethrp! We're building and landing #4501 at Once #4501 merges, could you please address Greptile's P2 review comment on |
|
Thanks @birkskyum! Will do: once #4501 lands I'll fix the Sorry about the maintainer edits. I opened these PRs from an organization I created to keep this work separate, and GitHub doesn't offer "Allow edits by maintainers" for forks owned by an organization. I'll open future PRs from my personal fork so you can push to them directly. |
|
@vineethrp #4501 ( |
e27e4d3 to
0f749e0
Compare
|
@birkskyum pushed: rebased onto |
0f749e0 to
9d4bdbb
Compare
…ed controller driver The HP OmniBook 3 16-ct0 (SC7280) has no pmic_glink battery. HP's ACPI reads the battery and the AC adapter from an embedded controller at 0x76 on i2c10. Add a driver for it (2915, 2916) that reports both through power_supply, and build it as EC_HP_OMNIBOOK3=m. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9d4bdbb to
117e6ee
Compare
The HP OmniBook 3 16-ct0 (SC7280) has no pmic_glink battery, so Omarchy shows no battery and no AC adapter on it. HP's ACPI reads both from an embedded controller at I2C 0x76 on
i2c10, with events on TLMM GPIO 18.2915(binding) and2916(driver) addhp-omnibook-3-ec. It reports the battery and the AC adapter through power_supply, using the same commands and layouts as HP's_BIX,_BSTand_PSR. It refreshes on the EC's events and every 30 s, since the EC sends no event when the charge moves by itself, and it sends HP's modern standby notification on suspend and resume. Built asCONFIG_EC_HP_OMNIBOOK3=m; it binds only tohp,omnibook-3-16-ct0-ec.The node is in #4503 (
0105). Without it, the module never loads.Since the first review, following Greptile:
omarchy-battery-statusevery 5 s) can no longer swallow a level change.Rebased onto 7.3.6-29 as 7.3.6-30: every patch applies with
--fuzz=0with the new config line, and the driver builds without warnings (W=1). Tested on a 16-ct0 (board 8FD0): the battery and the AC adapter follow the charger through suspend and resume, unplugging and replugging notifies both supplies, and with the capacity read every 2 s, a drop from 100 % to 94 % was still announced by the next poll (23 s later).🤖 Generated with Claude Code