Skip to content

omamobile.config: the Pixel 7's power meters and memory interface scaling - #938

Open
angelrenefm wants to merge 1 commit into
derekross:mainfrom
angelrenefm:omamobile-config-power
Open

angelrenefm wants to merge 1 commit into
derekross:mainfrom
angelrenefm:omamobile-config-power

Conversation

@angelrenefm

Copy link
Copy Markdown
Contributor

The release kernel config for two kernel PRs on the Pixel 7: linux-omarchy-mobile#278 (the S2MPG12/S2MPG13 power meters as hwmon) and #279 (the gs201 memory interface scaled with the load). It adds CONFIG_SENSORS_S2MPG12_METER=m and CONFIG_ARM_GS201_MIF_DEVFREQ=m to kernel/configs/omamobile.config, with a comment saying where they come from.

Until those PRs land the symbols don't exist, and olddefconfig drops them, as with #885. Both are modules that bind by their DT nodes; the MIF node is enabled for panther only.

Checked:

  • arm64 defconfig plus this fragment, merged with merge_config.sh and olddefconfig, on a kernel tree with both series: the two come out =m, and their dependencies (HWMON, PM_DEVFREQ, MFD_SEC_ACPM) were already set.
  • tools/pr-check passes.

Not checked: a build through bin/omamobile kernel with this fragment. The phone results are in #278 and #279 (a kernel with both built in, booted by kexec).

I used AI help (Claude) to work on this.

…ling

The release kernel needs CONFIG_SENSORS_S2MPG12_METER=m and
CONFIG_ARM_GS201_MIF_DEVFREQ=m for linux-omarchy-mobile#278 (the S2MPG12/
S2MPG13 power meters as hwmon) and derekross#279 (the gs201 MIF scaled with the load
instead of held at 2028 MHz). Until those land the symbols don't exist and
olddefconfig drops them. Both are modules that bind by their DT nodes.

Checked on arm64 defconfig plus this fragment, on a tree with both series:
the two come out =m, their dependencies (HWMON, PM_DEVFREQ, MFD_SEC_ACPM)
already set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant