diff options
author | Abel Vesa <abel.vesa@nxp.com> | 2019-09-30 12:50:59 +0300 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 16:08:25 +0800 |
commit | 81990ba6e8499c49997582b0beb18f4440874012 (patch) | |
tree | 3a492d495e10309b01a2df4a1a330b02739ab727 /arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi | |
parent | adc12461787893d874c05b708cb2e39725b85cee (diff) |
clk: imx8qxp: Add JPEG encode/decode clocks
Clocks needed by JPEG Encoder/Decoder Linux V4L2 driver.
These additions are based on linux-imx/imx_4.19.y.
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Mirela Rabulea <mirela.rabulea@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
(cherry picked from commit 7ac4b9c761b133cfb364d269d7e64db57c4863d8)
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi index 25a4f8a68447..4e0b6ec1f958 100644 --- a/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8-ss-img.dtsi @@ -200,6 +200,28 @@ img_subsys: bus@58000000 { power-domains = <&pd IMX_SC_R_CSI_1>; }; + img_jpeg_dec_clk: clock-controller@585d0000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x585d0000 0x10000>; + #clock-cells = <1>; + clocks = <&img_ipg_clk>, <&img_ipg_clk>; + bit-offset = <0 16>; + clock-output-names = "img_jpeg_dec_clk", + "img_jpeg_dec_ipg_clk"; + power-domains = <&pd IMX_SC_R_MJPEG_DEC_MP>; + }; + + img_jpeg_enc_clk: clock-controller@585f0000 { + compatible = "fsl,imx8qxp-lpcg"; + reg = <0x585f0000 0x10000>; + #clock-cells = <1>; + clocks = <&img_ipg_clk>, <&img_ipg_clk>; + bit-offset = <0 16>; + clock-output-names = "img_jpeg_enc_clk", + "img_jpeg_enc_ipg_clk"; + power-domains = <&pd IMX_SC_R_MJPEG_ENC_MP>; + }; + irqsteer_csi0: irqsteer@58220000 { compatible = "fsl,imx-irqsteer"; reg = <0x58220000 0x1000>; |