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

SAMA7G5 family

modulename: sama7g5.ko

configname: CONFIG_SOC_SAMA7G5

Linux Kernel Configuration
└─>AT91/Microchip SoCs
└─>SAMA7G5 family
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Select this if you are using one of Microchip's SAMA7G5 family SoC.

source code: