diff --git a/src/libcamera/control_ids_core.yaml b/src/libcamera/control_ids_core.yaml
index 6504f983faa6..394447b31d3e 100644
--- a/src/libcamera/control_ids_core.yaml
+++ b/src/libcamera/control_ids_core.yaml
@@ -1380,4 +1380,48 @@ controls:
         The nominal range is [-180, 180], where 0° leaves hues unchanged and the
         range wraps around continuously, with 180° == -180°.
 
+  - DigitalGainMode:
+      type: int32_t
+      direction: inout
+      description: |
+        Controls the source of the digital gain that is applied during processing.
+
+        When set to Auto, the AEGC algorithm computes the digital gain and
+        configures the ISP accordingly. When set to Manual, the value
+        of the DigitalGain control is used.
+
+        When transitioning from Auto to Manual mode and no DigitalGain control
+        is provided by the application, the last value computed by the AEGC
+        algorithm when the mode was Auto will be used. If the DigitalGainMode
+        was never set to Auto (either because the camera started in Manual mode,
+        or Auto is not supported by the camera), the camera should 1.0 as value.
+
+        If Manual is supported, the DigitalGain control must
+        also be supported.
+
+        \sa ExposureTimeMode
+        \sa AnalogueGain
+      enum:
+        - name: Auto
+          value: 0
+          description: |
+            The digital gain will be calculated automatically and set by the
+            AEGC algorithm.
+
+            If DigitalGain is set while this mode is active, it will be
+            ignored, and it will also not be retained.
+
+            When transitioning from Manual to Auto mode, the AEGC should start
+            its adjustments based on the last set manual DigitalGain value.
+        - name: Manual
+          value: 1
+          description: |
+            The digital gain will not be updated by the AEGC algorithm.
+
+            When transitioning from Auto to Manual mode, the last computed
+            gain value is used until a new value is specified through the
+            DigitalGain control. If an DigitalGain value is specified in the
+            same request where the DigitalGainMode is changed from Auto to
+            Manual, the provided DigitalGain is applied immediately.
+
 ...
