default or selected kernelversion does not have config value CONFIG_APDS9306.
Result is shown for kernelversion 6.9.8

Avago APDS9306 Ambient Light Sensor

modulename: apds9306.ko

configname: CONFIG_APDS9306

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Light sensors
└─>Avago APDS9306 Ambient Light Sensor
In linux kernel since version 4.19.318 (release Date: 2024-07-18)  
If you say Y or M here, you get support for Avago APDS9306
Ambient Light Sensor.

If built as a dynamically linked module, it will be called
apds9306.

source code: