CONFIG_DEBUG_IMX6Q_UART2 is not available for thedefaultarchitecture x86.
Result is shown for architecture arm
default or selected kernelversion does not have config value CONFIG_DEBUG_IMX6Q_UART2.
Result is shown for kernelversion 5.15.31

i.MX6Q Debug UART2

configname: CONFIG_DEBUG_IMX6Q_UART2

Kernel low-level debugging port
└─>i.MX6Q Debug UART2
In linux kernel since version 3.5 (release Date: 2012-07-21)  
Say Y here if you want kernel low-level debugging support
on i.MX6Q UART2. This is correct for e.g. the SabreLite
board.