Skip to content

[Nexthop][m4062nhp] Enable REGMAP_IRQ for interrupt-driven FPGA I2C - #1411

Open
siddarth-nexthop wants to merge 1 commit into
meta:mainfrom
nexthop-ai:siddarth.enable-xiic-i2c-config
Open

siddarth-nexthop wants to merge 1 commit into
meta:mainfrom
nexthop-ai:siddarth.enable-xiic-i2c-config

Conversation

@siddarth-nexthop

@siddarth-nexthop siddarth-nexthop commented Jul 23, 2026 •

Copy link
Copy Markdown
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Enable the kernel config needed for interrupt-driven FPGA I2C support.

  • CONFIG_GPIO_PCI_IDIO_16=m: pulls in REGMAP_IRQ transitively, which is used by the parent PCI driver to demultiplex MSI vectors into per-controller Linux IRQs.

Test Plan

  • Built an image with this config change.

  • Verified on test hardware that the running kernel has the expected config and exports the required REGMAP_IRQ symbols.

Kernel config check:

grep -E "CONFIG_REGMAP_IRQ|CONFIG_GPIO_PCI_IDIO_16" /boot/config-$(uname -r)

Output:

CONFIG_REGMAP_IRQ=y
CONFIG_GPIO_PCI_IDIO_16=m

Exported symbols check:

grep -E " __ksymtab_(regmap_irq_get_virq|devm_regmap_add_irq_chip)$" /proc/kallsyms

Output:

__ksymtab_devm_regmap_add_irq_chip
__ksymtab_regmap_irq_get_virq

Hardware-tested with the built image on four platforms. The systems imaged successfully, booted into FBOSS, and platform bring-up completed successfully. Every FPGA I2C controller came up interrupt-driven, and BSP and platform hw tests passed.

@siddarth-nexthop
siddarth-nexthop requested a review from a team as a code owner July 23, 2026 18:13
@meta-cla meta-cla Bot added the CLA Signed label Jul 23, 2026
@siddarth-nexthop siddarth-nexthop changed the title Enable kernel config for interrupt-driven Xilinx I2C support [Nexthop] Enable kernel config for interrupt-driven Xilinx I2C support Jul 23, 2026
@siddarth-nexthop siddarth-nexthop changed the title [Nexthop] Enable kernel config for interrupt-driven Xilinx I2C support [Nexthop] [m4062nhp] Enable kernel config for interrupt-driven Xilinx I2C support Oct 7, 2026
@github-actions github-actions Bot removed the nexthop label Oct 7, 2026
@siddarth-nexthop
siddarth-nexthop force-pushed the siddarth.enable-xiic-i2c-config branch from 136db4d to 884c40c Compare October 9, 2026 21:22
@siddarth-nexthop siddarth-nexthop changed the title [Nexthop] [m4062nhp] Enable kernel config for interrupt-driven Xilinx I2C support [Nexthop][m4062nhp] Enable kernel config for interrupt-driven Xilinx I2C support Oct 14, 2026
@github-actions github-actions Bot added nexthop project:m4062nhp FBOSS project: m4062nhp labels Oct 14, 2026
@siddarth-nexthop
siddarth-nexthop force-pushed the siddarth.enable-xiic-i2c-config branch from 884c40c to 323a7a6 Compare October 31, 2026 01:40
@siddarth-nexthop siddarth-nexthop changed the title [Nexthop][m4062nhp] Enable kernel config for interrupt-driven Xilinx I2C support [Nexthop][m4062nhp] Enable REGMAP_IRQ for interrupt-driven FPGA I2C Oct 31, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant