diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 4e67d7a64b63..069d4272d88f 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -845,4 +845,14 @@ config MSM_PERFORMANCE fmin and fmax. The user space can request the cpu freq change by writing cpu#:freq values +config QCOM_PANEL_EVENT_NOTIFIER + tristate "panel event notifier" + depends on DRM + help + Enabling this option adds panel event notifier driver. + This driver is responsible for notifying clients interested in display + panel events such as panel on , panel off, fps change etc. Clients + can use these notifications for power saving or align its operations + with display panel power state. + endmenu diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile index 53d161e75c09..267df035ba26 100644 --- a/drivers/soc/qcom/Makefile +++ b/drivers/soc/qcom/Makefile @@ -80,3 +80,4 @@ wcd_usbss_i2c-y += wcd-usbss-regmap.o wcd_usbss_i2c-y += wcd-usbss-tables.o wcd_usbss_i2c-y += wcd-usbss-utils.o wcd_usbss_i2c-y += wcd939x-i2c.o +obj-$(CONFIG_QCOM_PANEL_EVENT_NOTIFIER) += panel_event_notifier.o