G12 and SM1 SoC clock controllers support

modulename: g12a.ko

configname: CONFIG_COMMON_CLK_G12A

Linux Kernel Configuration
└─>Device Drivers
└─>Common Clock Framework
└─>Clock support for Amlogic platforms
└─>G12 and SM1 SoC clock controllers support
In linux kernel since version 4.14.326 (release Date: 2023-09-23)  
Support for the clock controller on Amlogic S905D2, S905X2 and S905Y2
devices, aka g12a. Say Y if you want peripherals to work.

source code: