Files
kernel-agent/patches/board/coolpi-cm5-genbook
claude-noether 91617fae14 patches: migrate remaining misc_patches/genbook into scope-tagged tree (closes #1)
Closes the migration started in #8. The 6 active ampere patches (pwm15,
pwm-fan, RK806 power-controller, speaker, USB-C PD, lid switch) landed
in #8 under soc/rockchip/rk3588/, module/coolpi-cm5/, and
board/coolpi-cm5-genbook/. This commit migrates the remaining 3:

* `0006 arm64 Kconfig: do not select HAVE_GCC_PLUGINS`
  → patches/arch/arm64/. NOT for upstream — local build workaround;
  README explains the proper fix is gcc-plugin-devel install.

* `0009 Bluetooth: btrtl: make RTL_SEC_PROJ read non-fatal`
  → patches/driver/bluetooth/btrtl/. Benefits ampere (RTL8852BE) and
  boltzmann (same M.2 family). Cross-host driver/ scope.

* `0010 gpio/drm/mfd/input/dts: fix suspend/resume and wakeup on RK3588`
  → SPLIT into 5 scope-tagged sub-patches as the issue required
  ("0010 split into ≥2 patches by scope"):
    - patches/driver/gpio/rockchip/0010a-gpio-rockchip-propagate-irq_set_wake-to-parent-GIC.patch
    - patches/driver/gpu/drm/bridge/analogix/0010b-drm-bridge-analogix-dp-disable-IRQ-before-clock-gating-in-suspend.patch
    - patches/driver/mfd/rk8xx/0010c-mfd-rk8xx-spi-add-PM-ops-and-shutdown-callback.patch
    - patches/driver/input/misc/0010d-input-rk805-pwrkey-register-wake-IRQ-via-dev_pm_set_wake_irq.patch
    - patches/board/coolpi-cm5-genbook/0010e-arm64-dts-rockchip-rk3588-coolpi-cm5-genbook-add-NPU-power-domain-and-touchpad-wakeup.patch

  The split is byte-identical to the original 0010 (verified on
  decompose-0010 branch in marfrit/linux-rk3588-marfrit — sha256 of
  the combined diff matches the monolithic 0010 commit).

  All 0010 sub-patches marked WIP in their README and explicitly NOT
  added to fleet/ampere.yaml includes — suspend/resume thread is still
  open and Markus hasn't decided the upstream-targeting shape.

READMEs added at each new directory documenting per-patch context.

Acceptance criteria from #1:
  [x] Each patch lives at narrowest correct scope
  [x] 0010 split into ≥2 patches by scope (5 sub-patches)
  [x] Per-host manifest for ampere references the right scopes + explicit includes (already #8)
  [ ] github.com/marfrit/misc_patches retained as historical mirror — Markus to decide
  [x] working-tree dirty state on boltzmann reconciled (decompose-0010 + ampere-minimal-devices branches captured)

Generated-by: Claude Opus 4.7 <claude@reauktion.de>
2026-05-16 16:41:24 +00:00
..

board/coolpi-cm5-genbook

Patches specific to the CoolPi GenBook laptop carrier (RK3588 + CoolPi-CM5 SoM, ARM laptop form factor). The board adds an ES8316-routed audio path, FUSB302 USB-C-PD controller, lid switch, USB3 phy-lane config, and a pwm-controlled fan — none of which are in mainline upstream because the board ships outside Rockchip's official reference designs.

Patches

File Adds
0002-...Add-pwm-fan.patch pwm15-driven thermal cooling fan node (depends on soc/rockchip/rk3588/0001-...pwm15-pinctrl-entries.patch)
0004-...Enable-speaker-output-via-audio-graph-card.patch rewires the ES8316 sound graph so HPOL/HPOR also drive the laptop speakers
0005-...Enable-USB-C-PD-charging-via-FUSB302.patch FUSB302 controller binding for USB-C PD charging
0008-...Add-lid-switch-and-USB3-PHY-lane-config.patch lid GPIO + USB3 phy-lane config

Numbered 2/4/5/8 to match the upstream-series numbering Markus uses in misc_patches/genbook/kernel/ — gap at 0006 (an SoC-wide arm64/Kconfig build-flag patch tracked elsewhere) and 0007 (skipped in the upstream series). 0009 (Bluetooth btrtl) and 0010 (multi-driver suspend/wakeup fix) are tracked in other scopes (driver/bluetooth, soc/rockchip/rk3588) and will be promoted as their respective campaigns demand.

Fleet eligibility

  • ampere (CoolPi CM5 GenBook): primary target, all 4 patches included in fleet/ampere.yaml.

No other current fleet host uses the CoolPi CM5 GenBook carrier, so no second consumer yet.