CONFIG_SOC_SAM9X7 is not available for thedefaultarchitecture x86.
Result is shown for architecture arm

SAM9X7

modulename: sam9x7.ko

configname: CONFIG_SOC_SAM9X7

Linux Kernel Configuration
└─>AT91/Microchip SoCs
└─>SAM9X7
In linux kernel since version 4.19.325 (release Date: 2024-12-05)  
Select this if you are using Microchip's SAM9X7 SoC

source code: