]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mfd: atmel-hlcdc: Fetch LVDS PLL clock for LVDS display
authorManikandan Muralidharan <manikandan.m@microchip.com>
Mon, 23 Feb 2026 10:19:17 +0000 (15:49 +0530)
committerLee Jones <lee@kernel.org>
Wed, 25 Mar 2026 12:44:57 +0000 (12:44 +0000)
commit239cd6a417b989708da4b39a71f925897ec87287
treef5f25dbbc3f5f6cadf8b437ce819b42c7f482d62
parentc2b06b133c667f46cc7fe81c7df2b6650c74f9c0
mfd: atmel-hlcdc: Fetch LVDS PLL clock for LVDS display

The XLCDC IP supports parallel RGB, MIPI DSI and LVDS Display.
The LCD Generic clock (sys_clk) is used for Parallel RGB and MIPI
displays, while the LVDS PLL clock (lvds_pll_clk) is used for LVDS
displays.Since both the clocks cannot co-exist together in the DT
for a given display, this patch tries sys_clk first (RGB/MIPI),
fallback to lvds_pll_clk (LVDS).

Signed-off-by: Manikandan Muralidharan <manikandan.m@microchip.com>
Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com>
Link: https://patch.msgid.link/20260223101920.284697-2-manikandan.m@microchip.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/atmel-hlcdc.c
include/linux/mfd/atmel-hlcdc.h