Skip to content

Add Kconfig option for IRM module compilation.#49

Open
quic-aditrath wants to merge 3 commits intoAudioReach:masterfrom
quic-aditrath:irm_kconfig
Open

Add Kconfig option for IRM module compilation.#49
quic-aditrath wants to merge 3 commits intoAudioReach:masterfrom
quic-aditrath:irm_kconfig

Conversation

@quic-aditrath
Copy link
Contributor

Add Kconfig option for IRM module to enable conditional compilation of source and stub implementation.

Stub compilation is used for platform where IRM platform specific driver is not implemented e.g. Zephyr.

@quic-aditrath quic-aditrath requested review from a team January 29, 2026 10:36
quic-plai
quic-plai previously approved these changes Feb 1, 2026
qti-sbojja
qti-sbojja previously approved these changes Feb 3, 2026
Add configuration option to enable/disable the Integrated Resource
Monitor (IRM) module, with default configuration set to enable.

When disabled, a stub implementation is compiled.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
Implement conditional source file selection for the IRM module based
on the CONFIG_IRM Kconfig option to support both full and stub builds.

Stub compilation is used for platform where IRM platform specific driver
is not implemented e.g. Zephyr.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
Enable the IRM (Integrated Resource Manager) configuration option in
the Linux architecture default configuration. This adds CONFIG_IRM=y
to the defconfig, allowing IRM functionality to be built and used by
default in Linux builds.

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.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.

3 participants