]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00274761-3 Upgrade VPU driver for Linux 3.10 kernel
authorHongzhang Yang <Hongzhang.Yang@freescale.com>
Mon, 12 Aug 2013 07:38:07 +0000 (15:38 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 20 Aug 2014 08:06:13 +0000 (10:06 +0200)
commit10bc762628429e4259fa9338ef40bfdcfa1eb2c4
treeedde911de3ba604b1df67d2f4d8d29250e8746c6
parent4fec9f178c3b027a791df723faafebac75dd318f
ENGR00274761-3 Upgrade VPU driver for Linux 3.10 kernel

Modify mxc_vpu.c to adapt to kernel 3.10 change
- Remove all references to header files in mach folder
- Include linux/clk.h instead of mach/clock.h
- Call device_reset instead of imx_src_reset_vpu
- Dummy PU and PM api callings before they are ready
- Dummy cpu_is_mx5? api callings
- Remove VM_RESERVED flags
- Call gen_pool instead of iram_alloc

Modify mxc_vpu.h
- Change CONFIG_ARCH_MX6 to CONFIG_SOC_IMX6Q

Modify Kconfig:
- Change ARCH_MX? to SOC_IMX?, remove ARCH_MX3/ARCH_MX37
  because for MX3 series only SOC_IMX31 and SOC_IMX35 are
  defined in Linux 3.10, and these chips don't have VPU.
  Need to add SOC_IMX37 to VPU Kconfig if MX37 could be
  supported later.

Add VPU to config and build path
- mxc/Kconfig
- mxc/Makefile

Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
drivers/mxc/Kconfig
drivers/mxc/Makefile
drivers/mxc/vpu/Kconfig
drivers/mxc/vpu/mxc_vpu.c
include/linux/mxc_vpu.h