Commit Graph

19 Commits

Author SHA1 Message Date
Dong Aisheng
4ee7464398 Merge branch 'mxc/next' into next
* mxc/next: (519 commits)
  MGS-7343 [#nxp] fix the compile warning
  LF-10253: arm64: vpu : h1: solve encode hang
  MGS-7413 [#nxp] reorder the directory
  LF-10543-8: mxc: vpu: wave6: make sequence of decoder capture buffer monotonically increasing
  LF-10543-7: mxc: vpu: wave6: init seq in a separate task
  ...
2023-11-22 17:04:52 +08:00
Dong Aisheng
9261a8220a Merge remote-tracking branch 'origin/mxc/vpu' into mxc/next
* origin/mxc/vpu: (159 commits)
  LF-10253: arm64: vpu : h1: solve encode hang
  LF-10543-8: mxc: vpu: wave6: make sequence of decoder capture buffer monotonically increasing
  LF-10543-7: mxc: vpu: wave6: init seq in a separate task
  LF-10543-6: mxc: vpu: wave6: make reserved memory optional
  LF-10543-5: mxc: vpu: wave6: avoid firmware alloc fb fail
  ...
2023-11-22 17:04:26 +08:00
Dong Aisheng
bfd36599d5 Merge remote-tracking branch 'origin/mxc/sim' into mxc/next
* origin/mxc/sim:
  MLK-17319-1 imx8: sim: add driver to support EMVSIM module
  MLK-10600-1: mxc: sim: Add SIM IP driver support
2023-11-22 17:04:26 +08:00
Dong Aisheng
5f25e5c8da Merge remote-tracking branch 'origin/mxc/mlb' into mxc/next
* origin/mxc/mlb:
  MLK-11442 mlb: imx: add mlb support on imx_4.1.y
2023-11-22 17:04:25 +08:00
Dong Aisheng
7361c0ea5b Merge remote-tracking branch 'origin/mxc/ipu' into mxc/next
* origin/mxc/ipu: (7 commits)
  LF-9723 mxc: ipu3: ipu_common: Check source channel id against {proc,disp}_src_sel array sizes
  LF-9707 mxc: ipu3: prg: Check return value of regmap_field_read()
  LF-9705 mxc: ipu3: ipu_pixel_clk: Replace kzalloc() with devm_kzalloc()
  LF-9704 mxc: ipu3: ipu_common: Get channel ID properly by get_chan_id()
  mxc: ipu3: Add a determine_rate hook
  ...
2023-11-22 17:04:24 +08:00
Dong Aisheng
0476c39a98 Merge remote-tracking branch 'origin/mxc/hdmi' into mxc/next
* origin/mxc/hdmi:
  driver: mfd: hdmi: Add hdmi core and cec driver
2023-11-22 17:04:24 +08:00
Ming Qian
3da7830fca LF-10543-1: mxc: vpu: wave6: initialize v4l2 driver
move imx95 vpu code to the directory mxc/vpu, it's based on the
following commit of linux-2.6-testbuild:
commit bf91eb171538 ("media: wave6: vpu: initialize v4l2 driver")
driver version is 1.3.6

change the config to CONFIG_MXC_VIDEO_WAVE6
change the compatible to fsl,cnm633c-vpu

to be removed from path mxc/vpu after the wave6 vpu driver upstreamed.

Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: TaoJiang <tao.jiang_2@nxp.com>
2023-11-15 15:14:34 +09:00
Zhou Peng
f1fcb1c8a2 arm64: imx8mx: vpu: add vsi v4l2 decoder and encoder
add vsi v4l2 vpu decoder and encoder drivers for imx8m platforms.
exist hantro drivers are still required,
and one additonal daemon application in user space will be required
to do some protocol translation between v4l2 drivers and hantro drivers

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:58:00 +08:00
Zhou Peng
bc323c7897 MLK-23211-1: arm64: imx8mp: vpu: add vc8000e driver
Add vc8000e driver source code

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:57:59 +08:00
Zhou Peng
f040b49b6a vpu: imx6: add decoder/encoder
add vpu source and enable it in makefile/kconfig

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
2023-10-30 15:57:58 +08:00
Zhou Peng
6d5d6de13a vpu: hantro: add encoder for imx845 h1
add hantro 845 source code, include h1

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
[ Aisheng: merge Kconfig&Makefile changes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:57:58 +08:00
Zhou Peng
8479fceca4 vpu: hantro: add decoder for imx845
add hantro 845 source code, include g1/g2

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
[ Aisheng: merge Kconfig&Makefile changes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:57:58 +08:00
Zhou Peng
71baec81f3 arm64: vpu: m850d: hantro
Add hantro decoder driver:
drivers/mxc/hantro
include/linux/hantrodec.h
include/uapi/linux/hantrodec.h

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
[ Aisheng: squash a few small fixes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:57:58 +08:00
Dong Aisheng
7307631183 MLK-10600-1: mxc: sim: Add SIM IP driver support
This driver is based on the current code which runs the the EMV test on the i.MX258 platform.
Since there are still many cases that can't pass on the i.MX258 and i.MX7d platform. The
driver will need to be improved after per-test work. Just check in as a base code. There
would be definitly some timing improvement work to do in the future.

Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Gao Pan <b45643@freescale.com>
(cherry picked from 3ac1ad5b2a)
[ Aisheng: squash legacy patches ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:57:28 +08:00
Dong Aisheng
3ad9b23018 MLK-11442 mlb: imx: add mlb support on imx_4.1.y
Add mlb support on imx_4.1.y. The files are copied from imx_3.14.y.

Signed-off-by: Gao Pan <b54642@freescale.com>
(Vipul: Fixed merge conflicts)
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
[ Aisheng: squashed ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:57:00 +08:00
Liu Ying
430015db3d mxc: IPU3: Forward IPUv3 common driver from imx_4.19.y kernel
This patch forwards IPUv3 common driver from imx_4.19.y kernel.
This includs IPUv3 common, IPUv3 prefetch engine and VDOA support.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Aisheng: squash legacy patches ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
[ Liu Ying: Use platform_get_irq() to get vdoa irq, not platform_get_resource() ]
[ Liu Ying: Check bypass_reset to do internal reset in ipu_probe() ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: Set ipu->online to false if device_reset() fails ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Liu Ying: Call dev_err_probe() if device_reset() fails in ipu_probe() ]
Signed-off-by: Liu Ying <victor.liu@nxp.com>
[ Robby Cai: Update class_create() api ]
Signed-off-by: Robby Cai <robby.cai@nxp.com>
2023-10-30 15:56:26 +08:00
Sandor Yu
7d05b46147 driver: mfd: hdmi: Add hdmi core and cec driver
Add imx6 hdmi code and cec driver.
This patch forwards imx6 HDMI code driver from imx_4.19.y kernel.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
[ Robby Cai: Update class_create() api ]
Signed-off-by: Robby Cai <robby.cai@nxp.com>
2023-10-30 15:56:00 +08:00
Xianzhong
a0029f0b90 MGS-4530-1 add 6.2.4.p4 gpu driver for L4.19
add mxc config to include drivers/mxc/gpu-viv

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
2023-10-30 15:55:00 +08:00
Robby Cai
236d24081f media: mipi csi: add IPU CSI driver
add IPU MIPI CSI driver, used by imx6qdl

Signed-off-by: Robby Cai <robby.cai@nxp.com>
[ Aisheng: squash fixes ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
2023-10-30 15:28:18 +08:00