From: Guoniu.Zhou Date: Mon, 5 Feb 2018 07:17:23 +0000 (+0800) Subject: MLK-17230-3: CI_PI: add device nodes for CI_PI SS X-Git-Tag: C0P2-H0.0--20200415~209 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=4931b8bcf04367e14aaad7001695bd8e92cfc2e3;p=linux.git MLK-17230-3: CI_PI: add device nodes for CI_PI SS Add clock and power domain device nodes for CI_PI subsystem. Reviewed-by: Sandor.Yu Signed-off-by: Guoniu.Zhou (cherry picked from commit 825392c25d2f3d430a877fc34e5268a4bd0324f0) --- diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi index a492f140e740..840540ee28e3 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi @@ -834,6 +834,35 @@ }; }; + pd_parallel_csi: PD_PARALLEL_CSI { + reg = ; + #power-domain-cells = <0>; + #address-cells = <1>; + #size-cells = <0>; + power-domains =<&pd_isi_ch0>; + + pd_parallel_csi_i2c0: PD_PARALLEL_CSI_I2C { + name = "parallel_csi_i2c"; + reg = ; + #power-domain-cells = <0>; + power-domains =<&pd_parallel_csi>; + }; + + pd_parallel_csi_pwm0: PD_PARALLEL_CSI_PWM { + name = "parallel_csi_pwm"; + reg = ; + #power-domain-cells = <0>; + power-domains =<&pd_parallel_csi>; + }; + + pd_parallel_csi_pll: PD_PARALLEL_CSI_PLL { + name = "parallel_csi_pll"; + reg = ; + #power-domain-cells = <0>; + power-domains =<&pd_parallel_csi>; + }; + }; + pd_isi_ch1: PD_IMAGING_PDMA1 { reg = ; #power-domain-cells = <0>; @@ -1561,7 +1590,7 @@ }; }; - camera { + cameradev: camera { compatible = "fsl,mxc-md", "simple-bus"; #address-cells = <2>; #size-cells = <2>; @@ -1692,6 +1721,20 @@ status = "disabled"; }; + parallel_csi: pcsi@58261000 { + compatible = "fsl,mxc-parallel-csi"; + reg = <0x0 0x58261000 0x0 0x1000>; + clocks = <&clk IMX8QXP_PARALLEL_CSI_PIXEL_CLK>, + <&clk IMX8QXP_PARALLEL_CSI_IPG_CLK>; + clock-names = "pixel", "ipg"; + assigned-clocks = <&clk IMX8QXP_PARALLEL_CSI_CLK_SEL>, + <&clk IMX8QXP_PARALLEL_CSI_PER_CLK_DIV>; + assigned-clock-parents = <&clk IMX8QXP_PARALLEL_CSI_CLK_DPLL>; + assigned-clock-rates = <0>, <160000000>; /* 160MHz */ + power-domains = <&pd_parallel_csi>; + status = "disabled"; + }; + jpegdec: jpegdec@58400000 { compatible = "fsl,imx8-jpgdec"; reg = <0x0 0x58400000 0x0 0x00040020 >;