controlling volume through ALSA device

HI

We are trying to test Kodi playback on our own i2s-codec interface to Raspberry Pi Model 3. I am using standard raspbian image and running kodi over it. We developed an ALSA driver for our device and have been successful in doing a Kodi playback through our codec speaker output by making it as ALSA default device.

Now I further want to control volume (up/down/mute) through kodi on our device during playback. Could you tell me if kodi provide support to do such control on ALSA device ? and if yes, how? Do we need any support in our ALSA codec driver to enable these controls.

I know that every ALSA codec device has to implement mixer controls for such functionalities so I can add such controls in my driver. However, what I dont know how Kodi invokes them ? what should be mixer control name for playback volume up / down / mute

Could anyone please help me here?

Thanks