summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index cb2dc59f81..fb3b9bd54a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -189,13 +189,22 @@
/* Allow proprietary communication protocols' extensions. */
#undef CONFIG_EXTENSION_COMMAND
+
/*
* Support controlling the display backlight based on the state of the lid
* switch. The EC will disable the backlight when the lid is closed.
+ *
+ * The GPIO should be named GPIO_BACKLIGHT_ENABLED if active high, or
+ * GPIO_BACKLIGHT_ENABLED_L if active low. See CONFIG_BACKLIGHT_LID_ACTIVE_LOW.
*/
#undef CONFIG_BACKLIGHT_LID
/*
+ * The backlight GPIO pin is active low and named GPIO_BACKLIGHT_ENABLED_L
+ */
+#undef CONFIG_BACKLIGHT_LID_ACTIVE_LOW
+
+/*
* If defined, EC will enable the backlight signal only if this GPIO is
* asserted AND the lid is open. This supports passing the backlight-enable
* signal from the AP through EC.