From 9c6f80d9fef39dae01c4d2049e6b543d1d541bda Mon Sep 17 00:00:00 2001 From: Bruce Levy Date: Fri, 18 Nov 2022 16:24:39 -0800 Subject: [PATCH] soc: qcom: panel_event_notifier: Add support for driver Add Config and make rules for panel_event_notifier driver. Change-Id: Id8975ac19e3201a1ac7396821c1be0288bfa8617 Signed-off-by: Bruce Levy --- drivers/soc/qcom/Kconfig | 10 ++++++++++ drivers/soc/qcom/Makefile | 1 + 2 files changed, 11 insertions(+) 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