Line Out implementation

Hello! I need to get both left and right channels to external stereo class d amplifier. What should i do in linux driver to make a sound path working only to HP_L and HP_R outputs?

which module do you use in this question?
thanks

Hello! Im using SC20ESA module.