/* Set the Frequency Selection value of a specific channel.  */
static int fdc2x1x_set_fin_sel(const struct device *dev, uint8_t chx, uint8_t fin_sel)
/* Set the Frequency Selection value of a specific channel.  */
static int fdc2x1x_set_fin_sel(const struct device *dev, uint8_t chx, uint8_t fin_sel)
{
	return fdc2x1x_reg_write_mask(dev,
				      FDC2X1X_CLOCK_DIVIDERS_CH0 + chx,
				      FDC2X1X_CLK_DIV_CHX_FIN_SEL_MSK,
				      FDC2X1X_CLK_DIV_CHX_FIN_SEL_SET(fin_sel));
}