Skip to content

[AS9947-72XKB] Upgrade kernel drivers to 6.12 LTS#122

Open
vincentchiang-ec wants to merge 1 commit intoaccton:support_linux_6.12from
vincentchiang-ec:as9947-72xkb/upgrade-kernel-6.12
Open

[AS9947-72XKB] Upgrade kernel drivers to 6.12 LTS#122
vincentchiang-ec wants to merge 1 commit intoaccton:support_linux_6.12from
vincentchiang-ec:as9947-72xkb/upgrade-kernel-6.12

Conversation

@vincentchiang-ec
Copy link
Copy Markdown

Port AS9947-72XKB 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-72xkb" to avoid name conflict with AS9947-36XKB (same MODULE_ALIAS caused "already registered")

Port AS9947-72XKB 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-72xkb" to avoid
  name conflict with AS9947-36XKB (same MODULE_ALIAS caused "already registered")

Verified on DUT (192.168.6.89): kernel 6.12.73-OpenNetworkLinux, onlpdump exit 0,
all fans/thermals/PSUs reporting correctly.

Co-Authored-By: Claude Sonnet 4.6 <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