/* hmatrix_write_reg - write HMATRIX configuration register @offset: register offset @value: value to be written to the register at @offset  */
void hmatrix_write_reg(unsigned long offset, u32 value)
/* hmatrix_write_reg - write HMATRIX configuration register @offset: register offset @value: value to be written to the register at @offset  */
void hmatrix_write_reg(unsigned long offset, u32 value)
{
	clk_enable(&at32_hmatrix_clk);
	__hmatrix_write_reg(offset, value);
	__hmatrix_read_reg(offset);
	clk_disable(&at32_hmatrix_clk);
}