From: Frank Li Date: Fri, 20 Oct 2017 17:56:06 +0000 (-0500) Subject: MLK-16645-2: dts: qxp: Enable JPEG encode/decode IP X-Git-Tag: C0P2-H0.0--20200415~1268 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=3c4c51c9427032f7a3bcee48c1e138d66f93fbb6;p=linux.git MLK-16645-2: dts: qxp: Enable JPEG encode/decode IP Signed-off-by: Frank Li Acked-by: Sandor Yu --- diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi index 6b2fc19cb1b7..a33cd3297cb0 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qxp.dtsi @@ -814,6 +814,18 @@ #power-domain-cells = <0>; power-domains =<&pd_isi_ch0>; }; + + pd_jpgdec: PD_IMAGING_JPEG_DEC { + reg = ; + #power-domain-cells = <0>; + power-domains =<&pd_isi_ch0>; + }; + + pd_jpgenc: PD_IMAGING_JPEG_ENC { + reg = ; + #power-domain-cells = <0>; + power-domains =<&pd_isi_ch0>; + }; }; }; @@ -1269,6 +1281,32 @@ power-domains = <&pd_mipi_csi>; status = "disabled"; }; + + jpegdec: jpegdec@58400000 { + compatible = "fsl,imx8-jpgdec"; + reg = <0x0 0x58400000 0x0 0x00040020 >; + interrupts = ; + clocks = <&clk IMX8QXP_IMG_JPEG_DEC_IPG_CLK >, + <&clk IMX8QXP_IMG_JPEG_DEC_CLK >; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX8QXP_IMG_JPEG_DEC_IPG_CLK >, + <&clk IMX8QXP_IMG_JPEG_DEC_CLK >; + assigned-clock-rates = <200000000>; + power-domains =<&pd_jpgdec>; + }; + + jpegenc: jpegenc@58450000 { + compatible = "fsl,imx8-jpgenc"; + reg = <0x0 0x58450000 0x0 0x00240020 >; + interrupts = ; + clocks = <&clk IMX8QXP_IMG_JPEG_ENC_IPG_CLK >, + <&clk IMX8QXP_IMG_JPEG_ENC_CLK >; + clock-names = "ipg", "per"; + assigned-clocks = <&clk IMX8QXP_IMG_JPEG_ENC_IPG_CLK >, + <&clk IMX8QXP_IMG_JPEG_ENC_CLK >; + assigned-clock-rates = <200000000>; + power-domains =<&pd_jpgenc>; + }; }; i2c0_mipi_lvds1: i2c@56246000 {