Skip to content

[AS9947-36XKB] Upgrade kernel drivers to 6.12 LTS#124

Merged
akenliu merged 2 commits intoaccton:support_linux_6.12from
vincentchiang-ec:as9947-36xkb/upgrade-kernel-6.12
Apr 10, 2026
Merged

[AS9947-36XKB] Upgrade kernel drivers to 6.12 LTS#124
akenliu merged 2 commits intoaccton:support_linux_6.12from
vincentchiang-ec:as9947-36xkb/upgrade-kernel-6.12

Conversation

@vincentchiang-ec
Copy link
Copy Markdown

Port AS9947-36XKB platform to kernel 6.12 LTS:

  • modules/PKG.yml, modules/builds/Makefile: Use onl-kernel-6.12-lts-x86-64-all
  • platform-config: Switch to *kernel-6-12
  • psu.c, fan.c, thermal.c: i2c_driver.probe drops 2nd arg (i2c_client_get_device_id); platform_driver.remove returns void; hwmon_device_register_with_groups instead of hwmon_device_register_with_info (avoids -EINVAL with empty chip_info in 6.12)
  • fpga.c, i2c-ocores.c: Rename platform driver to "ocores-as9947-36xkb" to avoid name conflict with AS9947-72XKB (same MODULE_ALIAS caused "already registered" error at boot when both platforms share an installer)

vincentchiang-ec and others added 2 commits April 5, 2026 01:35
Port AS9947-36XKB platform to kernel 6.12 LTS:

- modules/PKG.yml, modules/builds/Makefile: Use onl-kernel-6.12-lts-x86-64-all
- platform-config: Switch to *kernel-6-12
- psu.c, fan.c, thermal.c: i2c_driver.probe drops 2nd arg (i2c_client_get_device_id);
  platform_driver.remove returns void; hwmon_device_register_with_groups instead
  of hwmon_device_register_with_info (avoids -EINVAL with empty chip_info in 6.12)
- fpga.c, i2c-ocores.c: Rename platform driver to "ocores-as9947-36xkb" to avoid
  name conflict with AS9947-72XKB (same MODULE_ALIAS caused "already registered"
  error at boot when both platforms share an installer)

Verified on DUT (192.168.6.78): kernel 6.12.73-OpenNetworkLinux, onlpdump exit 0,
no driver conflicts in dmesg, all thermals and chassis fans reporting correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
at24 is auto-loaded via device tree / module alias on kernel 6.12,
so explicit modprobe in baseconfig() is no longer needed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@akenliu akenliu merged commit 869ccbd into accton:support_linux_6.12 Apr 10, 2026
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