I’ve trying to enable the driver for the LVDS monitor on the tk1.
After reading a post called “[issue] LVDS panel enabled effect HDMI out image pull down menu items” at https://devtalk.nvidia.com/default/topic/822612/?comment=4499132, I downloaded the latest version 3 kernel source and followed the instructions found here http://jetson.co/doc/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide/l4t_developers_guide.html#wwpID0E0NC0HA to build it.
Before I run “make … zImage” I opened the .config file and enabled LVDS as the above post suggests (set CONFIG_TEGRA_LVDS=y and comment out CONFIG_TEGRA_DP). But I got an error in the build process.
The error is the following:
In file included from /home/filippos/Downloads/kernel/drivers/video/tegra/dc/dc_priv_defs.h:26:0, from /home/filippos/Downloads/kernel/drivers/video/tegra/dc/dc_priv.h:23, from /home/filippos/Downloads/kernel/drivers/video/tegra/dc/lvds.c:23: /home/filippos/Downloads/kernel/include/linux/clk.h:345:20: warning: conflicting types for ‘clk_disable_unprepare’ [enabled by default] static inline void clk_disable_unprepare(struct clk *clk) ^ /home/filippos/Downloads/kernel/include/linux/clk.h:345:20: error: static declaration of ‘clk_disable_unprepare’ follows non-static declaration In file included from /home/filippos/Downloads/kernel/drivers/video/tegra/dc/lvds.h:20:0, from /home/filippos/Downloads/kernel/drivers/video/tegra/dc/lvds.c:22: /home/filippos/Downloads/kernel/drivers/video/tegra/dc/sor.h:185:2: note: previous implicit declaration of ‘clk_disable_unprepare’ was here clk_disable_unprepare(sor->sor_clk);
I am guessing I am missing some other option I need to enable in the config file??? I really don’t know…
By the way I have gone through all the Makefiles in the kernel src directory and removed the -Werror option so its not those warnings that cause the error.
Any help would be greatly appreciated. If needed I can post the config file too.
Thanks in advance,