Skip to content

Commit 15429a8

Browse files
committed
soc: imx93: enable imx93 video pll
Added video_pll instance to soc dtsi. Signed-off-by: Ruoshan Shi <[email protected]>
1 parent 035fd5a commit 15429a8

File tree

7 files changed

+23
-60
lines changed

7 files changed

+23
-60
lines changed

boards/shields/waveshare_dsi_lcd/boards/frdm_imx93_mimx9352_a55.overlay

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,14 @@
5959
&dsi_panel {
6060
mipi-dsi = <&mipi_dsi>;
6161
};
62+
63+
&video_pll {
64+
compatible = "nxp,imx93-video-pll";
65+
rdiv = <1>;
66+
mfi = <200>;
67+
mfn = <0>;
68+
mfd = <1>;
69+
odiv = <12>;
70+
pll-frequency = <400000000>;
71+
status = "okay";
72+
};

drivers/display/Kconfig.mcux_lcdifv3

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ menuconfig DISPLAY_MCUX_LCDIFV3
77
default y
88
depends on DT_HAS_NXP_IMX_LCDIFV3_ENABLED
99
depends on CLOCK_CONTROL
10-
select INIT_VIDEO_PLL
1110
help
1211
Enable support for mcux LCDIFV3 driver.
1312

dts/arm/nxp/nxp_imx93_m33.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,12 @@
175175
#io-channel-cells = <1>;
176176
clocks = <&ccm IMX_CCM_SAR_ADC1_CLK 0x0 0>;
177177
};
178+
179+
video_pll: videopll@44481400 {
180+
compatible = "nxp,imx93-video-pll";
181+
reg = <0x44481400 0x1000>;
182+
status = "disabled";
183+
};
178184
};
179185
};
180186

dts/arm64/nxp/nxp_mimx93_a55.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@
116116
status = "disabled";
117117
};
118118

119+
video_pll: videopll@44481400 {
120+
compatible = "nxp,imx93-video-pll";
121+
reg = <0x44481400 0x1000>;
122+
status = "disabled";
123+
};
124+
119125
wdog3: watchdog@42490000 {
120126
compatible = "nxp,wdog32";
121127
reg = <0x42490000 0x1000>;

soc/nxp/imx/imx9/imx93/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ if(CONFIG_SOC_MIMX9352_A55)
77
zephyr_sources_ifdef(CONFIG_ARM_MMU a55/mmu_regions.c)
88

99
zephyr_sources(common_clock_set.c)
10-
zephyr_sources(a55/soc.c)
1110
set(SOC_LINKER_SCRIPT ${ZEPHYR_BASE}/include/zephyr/arch/arm64/scripts/linker.ld CACHE INTERNAL "")
1211
elseif(CONFIG_SOC_MIMX9352_M33)
1312
zephyr_include_directories(.)

soc/nxp/imx/imx9/imx93/Kconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ config MCUX_CORE_SUFFIX
2626
default "_ca55" if SOC_MIMX9352_A55
2727
default "_cm33" if SOC_MIMX9352_M33
2828

29-
config INIT_VIDEO_PLL
30-
bool "Init Video PLL"
31-
3229
if SOC_MIMX9352_M33
3330

3431
config TRDC_MCUX_TRDC_1

soc/nxp/imx/imx9/imx93/a55/soc.c

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)