summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/rockchip/inno_hdmi.h
diff options
context:
space:
mode:
authorAlex Bee <knaerzche@gmail.com>2023-12-22 20:42:13 +0300
committerHeiko Stuebner <heiko@sntech.de>2023-12-30 02:38:31 +0300
commitf01e33cb586b5fd354cba73052f82c3b4246109d (patch)
tree138fe2fa786e22b525ef0840b78143859220bbff /drivers/gpu/drm/rockchip/inno_hdmi.h
parent71892cee6ceb3e1b88e0bb44b05c8397d8261a85 (diff)
downloadlinux-f01e33cb586b5fd354cba73052f82c3b4246109d.tar.xz
drm/rockchip: inno_hdmi: Split power mode setting
This splits setting the power mode of the controller / phy in two functions. It's done in preparation of setting up the phy based on the pixelclock. No functional changes intended. Signed-off-by: Alex Bee <knaerzche@gmail.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Link: https://patchwork.freedesktop.org/patch/msgid/20231222174220.55249-23-knaerzche@gmail.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/inno_hdmi.h')
-rw-r--r--drivers/gpu/drm/rockchip/inno_hdmi.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/rockchip/inno_hdmi.h b/drivers/gpu/drm/rockchip/inno_hdmi.h
index 93245b55f967..a7edf3559e60 100644
--- a/drivers/gpu/drm/rockchip/inno_hdmi.h
+++ b/drivers/gpu/drm/rockchip/inno_hdmi.h
@@ -10,11 +10,6 @@
#define DDC_SEGMENT_ADDR 0x30
-enum PWR_MODE {
- NORMAL,
- LOWER_PWR,
-};
-
#define HDMI_SCL_RATE (100*1000)
#define DDC_BUS_FREQ_L 0x4b
#define DDC_BUS_FREQ_H 0x4c