/* Setup the channel. As the SAM0 has one fixed width channel, this validates the input and does nothing else.  */
static int dac_sam0_channel_setup(const struct device *dev, const struct dac_channel_cfg *channel_cfg)
/* Setup the channel. As the SAM0 has one fixed width channel, this validates the input and does nothing else.  */
static int dac_sam0_channel_setup(const struct device *dev, const struct dac_channel_cfg *channel_cfg)
{
	if (channel_cfg->channel_id != 0) {
		return -EINVAL;
	}
	if (channel_cfg->resolution != 10) {
		return -ENOTSUP;
	}
	return 0;
}