Rename functions that are used by multiple devices. New devices
have been added and the function names and driver name are no longer
general enough for the functionality they provide.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: GUAN Xuetao <gxt@mprc.pku.edu.cn>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
The 'otm8018b' is the Source Driver IC which is used
by 'TFT3P5079E' panel. This patch is adding the build
support for the 'otm8018b' kernel driver.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
enable debugfs in mfg_defconfig for mfgtool to read bch layout setting
from debugfs.
Signed-off-by: Han Xu <b45815@freescale.com>
(cherry picked from commit a4a31e73897b51b73b1be994d36759584407914f)
Enable the interactive governor in defconfig to be compiled into the kernel.
The default cpufreq governor is still ondemand governor.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
For the i.MX6UL EVK board, according to the latest schematic, use a GPIO pin along with
the 'PMIC_STBY_REQ' pin to control the DC-DC voltage output. the possible voltage output
as below:
PMIC_STBY_REQ = 0, GPIO_DVFS = 0, output is 1.4V (1.375V + 25mV) <Default>
PMIC_STBY_REQ = 0, GPIO_DVFS = 1, output is 1.3V (1.275V + 25mV)
PMIC_STBY_REQ = 1, GPIO_DVFS = 0, output is 0.925V (0.9V + 25mV)
In normal run mode, the voltage output should be changed using the 'GPIO_DVFS' pin,
so add gpio regulator to control it.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit 4517cf404b4e0cfb805a9d0c412b2f2839400d9b)
Currently 128M reserved for GPU in all the i.MX6 boards that is
requiring kernel to allocate CMA 320M. For the low end devices like 6SX
and 6SL, the 320M is huge. Sometimes customer board may have very less
RAM.
With Kernel 4.1, there is a new feature CMA can be calculated at DTS
level based on the amount queried from different module drivers.So
moving the GPU memory to DTS is valid and can be configured for each
board.
And at the same time, also keep the option for user to configure the
parameters "contiguousBase and contiguousSize" in u-boot.
Signed-off-by: Shawn Xiao <b49994@freescale.com>
We don't need btsdio driver support and enable it will cause
Broadcom WiFi driver suspend/resume unwork due to it does not
implement suspend/resume callback.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit ebd90ea123d493935b559c05db0cd5b5db9d3c73)
Add Broadcom bcmdhd driver support.
BTW, the in kernel upstream brcmfmac driver is removed to avoid confusion.
And Atheros driver is also removed which is not supported anymore.
Signed-off-by: Dong Aisheng <aisheng.dong@freescale.com>
According to the help text in the config SWP_EMULATE in arch/arm/mm/Kconfig:
"In some older versions of glibc [<=2.8] SWP is used during futex trylock()
operations with the assumption that the code will not be preempted. This
invalid assumption may be more likely to fail with SWP emulation enabled,
leading to deadlock of the user application."
The audio codec toolchain version is gcc-4.1.1-glibc-2.4, we need turn off
the CONFIG_SWP_EMULATE in the imx_v7_defconfig.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Add machine driver for sii902x hdmi audio. Restricting by SAI master clock,
the hdmi audio just support 16bit 24bit sample width and 32k 48k sample rate.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit 8dc359b46c81105efcd13007325d9cadc9a6214d)
arch/arm/mach-imx/built-in.o: In function `clk_pllv3_do_shared_clks':
:(.text+0xed8): undefined reference to `imx_sema4_mutex_lock'
:(.text+0xf04): undefined reference to `imx_sema4_mutex_unlock'
arch/arm/mach-imx/built-in.o: In function `clk_gate2_do_shared_clks':
:(.text+0x1208): undefined reference to `imx_sema4_mutex_lock'
:(.text+0x1234): undefined reference to `imx_sema4_mutex_unlock'
arch/arm/mach-imx/built-in.o: In function `clk_pfd_do_shared_clks':
:(.text+0x15f4): undefined reference to `imx_sema4_mutex_lock'
:(.text+0x1620): undefined reference to `imx_sema4_mutex_unlock'
arch/arm/mach-imx/built-in.o: In function `imx_amp_power_init':
:(.init.text+0x10d50): undefined reference to `imx_sema4_mutex_create'
drivers/built-in.o: In function `mxcfb_unregister':
:(.text+0x20e70): undefined reference to `ipu_free_irq'
:(.text+0x20e94): undefined reference to `ipu_free_irq'
:(.text+0x20eac): undefined reference to `ipu_free_irq'
drivers/built-in.o: In function `fbi_to_pixfmt':
Signed-off-by: Frank Li <Frank.Li@freescale.com>
1. Upstream 5.0.11p7 driver to kernel
2. Add the GPU configuration to imx6q.dtsi
3. Remove IRQF_DISABLED in GPU driver
The IRQF_DISABLED has been removed from 4.1.0 kernel. To accomodate with
the change, add version check logic and use 0x0 instead of IRQF_DISABLED
from 4.1.0 kernel on.
4. Convert file->f_dentry->d_inode to file_inode() in GPU driver
The file struct has changed since 3.19. Changed the usage in GPU driver
too.
5. Add version check for CONFIG_PM_RUNTIME
The CONFIG_PM_RUNTIME will never be used in 4.1.0 kernel. Add version
check to avoid calling it in GPU driver.
Signed-off-by: Shawn Xiao <b49994@freescale.com>