diff --git a/include/libcamera/controls.h b/include/libcamera/controls.h
index 1e24ae30ab36..2102d5711384 100644
--- a/include/libcamera/controls.h
+++ b/include/libcamera/controls.h
@@ -335,6 +335,16 @@ public:
 		val->set<T>(value);
 	}
 
+	template<typename T, typename V>
+	void set(const Control<T> &ctrl, const std::initializer_list<V> &value)
+	{
+		ControlValue *val = find(ctrl.id());
+		if (!val)
+			return;
+
+		val->set<T>(Span<const typename std::remove_cv_t<V>>{ value.begin(), value.size() });
+	}
+
 	const ControlValue &get(unsigned int id) const;
 	void set(unsigned int id, const ControlValue &value);
 
diff --git a/src/libcamera/controls.cpp b/src/libcamera/controls.cpp
index a1eca992884c..3dd740e5f17e 100644
--- a/src/libcamera/controls.cpp
+++ b/src/libcamera/controls.cpp
@@ -802,6 +802,12 @@ bool ControlList::contains(unsigned int id) const
  * object that the list refers to.
  */
 
+/**
+ * \fn template<typename T, typename V> \
+ * void ControlList::set(const Control<T> &ctrl, const std::initializer_list<V> &value)
+ * \copydoc ControlList::set(const Control<T> &ctrl, const V &value)
+ */
+
 /**
  * \brief Get the value of control \a id
  * \param[in] id The control numerical ID
