Adrian Alonso [Wed, 3 Aug 2016 15:55:41 +0000 (10:55 -0500)]
MLK-13182-3: ARM: dts: imx enable egalax_ts support for imx6q pop arm2
Enable egalax_ts touch screen support for imx6q pop arm2
target platform.
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Adrian Alonso [Mon, 11 Jan 2016 16:39:20 +0000 (10:39 -0600)]
MLK-13182-2: ARM: dts: imx: enable lvds support for imx6q pop arm2
Enable lvds channel 0 display support for imx6q pop arm2
validation target board.
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Adrian Alonso [Thu, 7 Jan 2016 16:16:53 +0000 (10:16 -0600)]
MLK-13182-1: ARM: dts: imx: enable hdmi support for imx6q pop arm2
Enable hdmi display support for imx6q pop arm2 validation
target board.
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Adrian Alonso [Wed, 31 Aug 2016 18:48:00 +0000 (13:48 -0500)]
MLK-13147: arm: imx6q: lpddr2 freq simplify system clock sources
Simplify system root clock sources, only use pll2_pfd2 and osc
for system clocks, when busfreq request high bus mode or audio bus
mode only update dividers to achieve operating frequencies from
same source (pll2_pfd2).
Bus freq mode (400M) (100M) (24Mhz)
mmdc_ch0_clk_root @396MHz @99MHz @24Mhz
axi_clk_root @198MHz @49.5MHz @24Mhz
ahb_clk_root @132MHz @49.5Mhz @24Mhz
ipg_clk_root @66MHz @24.75Mhz @12Mhz
Signed-off-by: Adrian Alonso <adrian.alonso@nxp.com>
Richard Zhu [Fri, 2 Sep 2016 08:42:26 +0000 (16:42 +0800)]
MLK-13178-2 pci: imx6: add one regulator for ext osc
On imx6qp sabresd rev b board, there is a standalone
external oscilator, used to provided the clks for
imx6qp pcie.
Add one regulator into pcie node, let the ext osc work.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Richard Zhu [Fri, 2 Sep 2016 05:02:01 +0000 (13:02 +0800)]
MLK-13178-1 arm: imx6qp: turn on vgen3 power up pcie ext osc
On imx6qp sabresd rev b board, there is a standalone
external oscilator, used to provided the clks for
imx6qp pcie.
Add one regulator into pcie node, let the ext osc work.
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Dong Aisheng [Thu, 1 Sep 2016 12:49:45 +0000 (20:49 +0800)]
MLK-13179-3 bcmdhd: add OOB support for all IMX6 and IMX7 platforms
Enable OOB feature for MX6Q/DL SDB, MX6SL EVK, MX6SX SDB, MX7D SDB boards.
NOTE: The performance optimization option CONFIG_BCM4339 is disabled
by default due to a WiFi driver issue that it breaks MX6SL EVK.
If user want to test performance on the above platforms (except MX6SL EVK),
CONFIG_BCM4339 has to be enabled manually.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Dong Aisheng [Wed, 31 Aug 2016 13:07:21 +0000 (21:07 +0800)]
MLK-13179-2 bcmdhd: add OOB feature switch function and P2P stability fix
The patch is delivered by Cypress to add OOB switch interface
and a P2P stability fix.
Whether to enable OOB is controlled by the gpios property under
bcmdhd_wlan_0 node.
e.g.
bcmdhd_wlan_0: bcmdhd_wlan@0 {
compatible = "android,bcmdhd_wlan";
gpios = <&gpio5 20 0>; /* WL_HOST_WAKE */
wlreg_on-supply = <&wlreg_on>;
};
If valid gpios property found, then driver will consider to use
OOB feature.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Dong Aisheng [Wed, 17 Aug 2016 13:20:38 +0000 (21:20 +0800)]
MLK-13179-1 mmc: sdhci-esdhci-imx: retune needed for Mega/Mix enabled SoCs
For Mega/Mix enabled SoCs like MX7D and MX6SX, uSDHC will lost power in
LP mode no matter whether the MMC_KEEP_POWER flag is set or not.
This may cause state misalign between kernel and HW, especially for
SDIO3.0 WiFi cards.
e.g. SDIO WiFi driver usually will keep power during system suspend.
And after resume, no card re-enumeration called.
But the tuning state is lost due to Mega/Mix.
Then CRC error may happen during next data transfer.
So we should always fire a mmc_retune_needed() for such type SoC
to tell MMC core retuning is needed for next data transfer.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Robby Cai [Tue, 30 Aug 2016 10:06:46 +0000 (18:06 +0800)]
MLK-13142 media: capture: correct the AVDD supply for camera
On i.MX6QP SabreSD board, AVDD supply is changed to VGEN6.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Bai Ping [Tue, 30 Aug 2016 05:01:29 +0000 (13:01 +0800)]
MLK-13133-02 cpufreq: imx: Fix system hang when entring low bus mode on imx6ull
On i.MX6ULL, when the CPU freq is running at 198MHz or 396MHz, the system will
enter low bus mode if no device need high bus mode. The first time the system
entering low bus mode, CPU freq will be set to 24MHz, if cpufreq change the CPU
freq from 198MHz(396MHz) to 396MHz(198MHz), the CPU freq will be set to 198MHz or
396 MHz. At this time, if the CPU enter low power idle, system will hang.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Bai Ping [Tue, 30 Aug 2016 05:03:08 +0000 (13:03 +0800)]
MLK-13133-01 ARM: dts: imx: add a 'fsl,low-power-run' property on imx6ull
On i.MX6ULL, it has a low power run mode support, so we add this porperty
for this mode.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Robby Cai [Mon, 29 Aug 2016 09:22:18 +0000 (17:22 +0800)]
MLK-13134 video: epdc: retain working buffer content when enter/exit dsm
Since the eink panel will not be re-initialized after exit DSM(deep sleep mode),
it will depend on the last update content so we need keep the associated working
buffer content during DSM. The patch moves the initialization of working buffer
to probe() function and ensure it's just be initialized once and thus its
content will be kept.
The patch shall fix the following issue:
The codes as follows in unit test for clearing screen does not take effect
when enter/exit DSM.
---
printf("Blank screen\n");
memset(fb, 0xFE, screen_info.xres_virtual*screen_info.yres*screen_info.bits_per_pixel/8);
update_to_display(0, 0, screen_info.xres, screen_info.yres,
wave_mode, TRUE, 0);
---
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Anson Huang [Tue, 30 Aug 2016 10:30:33 +0000 (18:30 +0800)]
MLK-13138 ARM: dts: imx6ul: iomuxc gpr syscon is compatible to imx6q
The imx6ul/imx6ull iomuxc syscon is compatible to imx6q,
so let's add compatible string 'fsl,imx6q-iomuxc-gpr'
for imx6ul/imx6ull iomuxc syscon node.
Without this compatible string, GINT bit will NOT be
set and workaround for ERR007265 is NOT reliable.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Anson Huang [Thu, 25 Aug 2016 12:50:07 +0000 (20:50 +0800)]
MLK-13119-3 cpufreq: imx6q: support VPU 396MHz
When VPU runs at 396MHz, VDDSOC_CAP's voltage
should be set to 1.275V for all set-points,
add VPU clock rate check to support this case.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Anson Huang [Thu, 25 Aug 2016 12:46:08 +0000 (20:46 +0800)]
MLK-13119-2 ARM: imx: support VPU 396MHz for i.MX6QP 1.2GHz
When i.MX6QP with speed grading fuse blown to 1.2GHz,
VPU should run at 396MHz, add this support.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Anson Huang [Thu, 25 Aug 2016 12:43:33 +0000 (20:43 +0800)]
MLK-13119-1 ARM: dts: imx6q: add vpu clock for cpu frequency
When VPU is running at 396MHz, need to increase
VDDSOC_CAP voltage for all cpu set-points, so add
vpu clock node for cpufreq driver.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Bai Ping [Wed, 24 Aug 2016 02:27:58 +0000 (10:27 +0800)]
MLK-13101 ARM: imx: correct the pll2's clock type on imx6sl
On i,MX6SL, no NUM and DENUM register, so this PLL should not
be registered as IMX_PLLV3_GENERIC type PLL, it should be
registered as IMX_PLLV3_SYSV2.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Dan Douglass [Wed, 24 Aug 2016 03:52:01 +0000 (22:52 -0500)]
MLK-13095 DCP driver doesn't initialize the DCP clock
Added clock enable and disable to the probe and remove functions
where appropriate.
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Bai Ping [Fri, 19 Aug 2016 10:00:28 +0000 (18:00 +0800)]
MLK-13096-02 cpufreq: imx: update the cpufeq for imx6ll
According the the latest datasheet, we updated the lowest
OPP to 198MHz. So we need to update the cpufreq code to fix
the syttem hang issue when run 'cpufreq-info' in low bus mode
on i.MX6ULL.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Bai Ping [Fri, 19 Aug 2016 09:53:32 +0000 (17:53 +0800)]
MLK-13096-01 ARM: dts: imx: Update OPP table of imx6ull
According to the latest datasheet(Rev. 0,09/2016), update the
setpoints of i.MX6ULL. we add 25mV margin to cover IR drop
and board tolerance.
LDO enable:
Freq VDD_SOC VDD_ARM
528MHz 1.175V 1.175V
396MHz 1.175V 1.025V
198MHz 1.175V 0.95V
LDO bypass
Freq VDD_SOC VDD_ARM
528MHz 1.175V 1.175V
396Mhz 1.175V 1.175V
198MHz 1.175V 1.175V
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Shengjiu Wang [Fri, 12 Aug 2016 07:20:06 +0000 (15:20 +0800)]
MLK-13050: ASoC: cs42xx8: remove S32_LE format
cs42xx8 is a 24 bit device, the maximum supported bit is 24bit.
So remove the S32_LE from the supported list.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Dan Douglass [Mon, 15 Aug 2016 03:18:08 +0000 (22:18 -0500)]
MLK-13073 dts: mx6ull: enable DCP driver for i.mx6ull
Enable DCP in imx6ull.dtsi
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Dan Douglass [Mon, 15 Aug 2016 03:16:10 +0000 (22:16 -0500)]
MLK-13073 ARM: config: Enable DCP driver for imx6
Enable DCP driver in imx_v7_defconfig
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Dan Douglass [Mon, 15 Aug 2016 03:12:07 +0000 (22:12 -0500)]
MLK-13073 crypto: dcp: Add DCP support for i.mx6
Enable DCP support for imx6 series.
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Dan Douglass [Mon, 15 Aug 2016 02:04:21 +0000 (21:04 -0500)]
MLK-13074 dts: mx6ull: enable hardware RNG for i.mx6ull
Enable hardware RNG in imx6ull.dtsi
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Dan Douglass [Mon, 15 Aug 2016 01:59:14 +0000 (20:59 -0500)]
MLK-13074 ARM: config: Enable hardware RNG for i.mx6ull
Enable the RNG driver in imx_v7_defconfig
Signed-off-by: Dan Douglass <dan.douglass@nxp.com>
Dong Aisheng [Fri, 12 Aug 2016 09:29:08 +0000 (17:29 +0800)]
MLK-13072 dts: mx6ull: add 9x9 evk btwifi support
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Ye Li [Fri, 12 Aug 2016 01:17:17 +0000 (09:17 +0800)]
MLK-13071 ARM: dts: imx6ullevk: Add support for imx6ull 9x9 EVK board
Add DTS file imx6ull-9x9-evk.dts which is originated from i.MX6UL EVK with
some changes:
1. Include imx6ull.dtsi as base
2. sim2 is removed.
3. Move GPIO5 pins setting to iomuxc-snvs
4. Enable CSI and ov5640
Signed-off-by: Ye Li <ye.li@nxp.com>
Robby Cai [Thu, 11 Aug 2016 13:04:59 +0000 (21:04 +0800)]
MLK-12881 media: camera: add error handing for BIT_RFF_OR_INT
running following vte stress test will meet "mx6s-csi
21c4000.csi: mx6s_csi_irq_handler Rx fifo overflow"
and cannot be stopped to capture again.
i=0; while [ $i -lt 3000 ];do v4l2_capture_emma -D /dev/video1 -C 2 -M 0 -J 30,4 -W 640 -H 480;i=`expr $i + 1`;done
This patch adds the same handling as BIT_HRESP_ERR_INT for BIT_RFF_OR_INT
(RxFiFo OverFlow) to reset CSI as a recovery.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Anson Huang [Wed, 10 Aug 2016 13:56:44 +0000 (21:56 +0800)]
MLK-13062 arm: imx: correct PLL2 rate calculation
As i.MX6's PLL2 also support a fractional-N
synthesizer, so we need to consider the NUM
and DENOM's value to get a correct rate, as
fraction may be used in some cases.
Remove round_rate and set_rate for PLL2, as
it is NOT allowed to be changed in kernel
dynamically, otherwise, PFDs and DDR may NOT
work normally, it normally should be changed
in u-boot before DDR is enabled.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Haibo Chen [Tue, 9 Aug 2016 09:51:04 +0000 (17:51 +0800)]
MLK-13022-3 arm: dts: imx6ull-14x14-evk-emmc.dts: set usdhc2 per clock to 132MHz
For imx6ull-14x14-evk emmc rework board, usdhc2 HS200 I/O timing is
not stable @176MHz, for write operation, crc error shows up. So this
patch change the frequence to 132MHz.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Haibo Chen [Tue, 2 Aug 2016 07:48:04 +0000 (15:48 +0800)]
MLK-13022-2 arm: dts: new dts for eMMC support on i.MX6UL EVK reworked board
Enable eMMC for i.MX6UL EVK rework board due to the pad conflict with NAND
and Micro-SD.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Haibo Chen [Mon, 1 Aug 2016 07:22:59 +0000 (15:22 +0800)]
MLK-13022-1 arm: dts: new dts for eMMC support on i.MX6ULL EVK reworked board
Enable eMMC for i.MX6ULL EVK rework board due to the pad conflict with NAND
and Micro-SD.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Sandor Yu [Mon, 8 Aug 2016 03:58:01 +0000 (11:58 +0800)]
MLK-12932-02: dts: imx6sx: Add lcdif alias name
Add lcdif alias name.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor Yu [Mon, 8 Aug 2016 03:54:03 +0000 (11:54 +0800)]
MLK-12932-01: pwm backlight: Add fb name check feature
Add fb name check function pwm_backlight_check_fb_name(),
pwm driver can banding to fb with fb name when driver working
in device tree architecture.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor Yu [Wed, 3 Aug 2016 07:06:57 +0000 (15:06 +0800)]
MLK-12997: dts: hdmicec: Fix hdmicec pinctrl setting error
Fix hdmicec pinctrl setting error.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Sandor Yu [Thu, 21 Jul 2016 09:44:51 +0000 (17:44 +0800)]
MLK-12978: arm: clk: i.MX6SX set lcdif2 pixel clk parent to ldb_di0
i.MX6SX LDB will connect to LCDIF2.
And LCDIF2 pixel clock can not re-parent when it's on.
So default setting clock parent to ldb_di0.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Peter Chen [Mon, 1 Aug 2016 08:55:19 +0000 (16:55 +0800)]
MLK-13023 ARM: dts: imx6ull-14x14-evk-usb-certi: add dts for USB certification
Add dts for imx6ull 14x14 evk board's USB certification test
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Bai Ping [Fri, 29 Jul 2016 07:25:26 +0000 (15:25 +0800)]
MLK-13014 ARM: imx: fix system hang when run cpufreq-info in low bus mode
On i.MX6ULL, when the system entering the low bus mode, system will enter
low power run mode in which the cpufreq is at 24MHz. If we run
'cpufreq-info' until, the cpu frequency will be change from 24MHz to 99MHz,
this will lead to system enter low power idle wrong, and system will hang
in low power idle.
Add the ARM core clock handling code to fix this issue.
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Han Xu [Thu, 28 Jul 2016 15:54:37 +0000 (10:54 -0500)]
MLK-13013: arm: dts: new dts for gpmi nand support on i.MX6ULL EVK reworked board
Enable NAND for i.MX6ULL EVK board which need to be reworked due to the
pin conflict with QSPI and SD2.
Signed-off-by: Han Xu <han.xu@nxp.com>
Andy Duan [Tue, 26 Jul 2016 09:17:25 +0000 (17:17 +0800)]
MLK-13008 dts: imx6ll-evk: add Murata BT/WiFi module support
Add Murata Type ZP (BCM4339) module support on i.MX6ULL platforms:
- i.MX6ULL EVK (SD1 slot) + Murata adapter V2.0
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Xianzhong [Tue, 26 Jul 2016 07:58:43 +0000 (15:58 +0800)]
MGS-2027 [#ccc] integrate 6.1.1 gpu kernel driver
Integrate gpu kernel driver part for 6.1.1 release
Date: Jul 26, 2016
Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
Robby Cai [Mon, 18 Jul 2016 09:30:16 +0000 (17:30 +0800)]
MLK-12994 ARM: dts: imx6ull-evk: enable csi and camera ov564x
enable csi and ov564x
Signed-off-by: Robby Cai <robby.cai@gmail.com>
Robby Cai [Wed, 29 Jun 2016 06:27:44 +0000 (14:27 +0800)]
MLK-12931 lcdif: fix "lcd-3v3: Failed to request enable GPIO91: -16"
The PIN is conflicted with CSI camera. Need to disable CSI to make lcdif work.
Signed-off-by: Robby Cai <robby.cai@gmail.com>
ye li [Fri, 1 Jul 2016 03:41:53 +0000 (11:41 +0800)]
MLK-12989 ARM: dts: imx6ullevk: Add support for imx6ull 14x14 EVK board
Add DTS file imx6ull-14x14-evk.dts which is originated from i.MX6UL EVK with
some changes:
1. sim2 is removed.
2. Move GPIO5 pins setting to iomuxc-snvs
Signed-off-by: ye li <ye.li@nxp.com>
Fancy Fang [Wed, 13 Jul 2016 01:40:54 +0000 (09:40 +0800)]
MLK-12983 dma: pxp: add sanity check in pxp_set_scaling()
Add the sanity check for drect's width and height in
pxp_set_scaling() to avoid div0 exception.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Tue, 12 Jul 2016 06:48:40 +0000 (14:48 +0800)]
MLK-12980-3 video: mxsfb: free 'pseudo_palette' to avoid memory leak
The dynamicly allocated 'pseudo_palette' area should be
freed when unused to avoid memory leak.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Tue, 12 Jul 2016 06:25:10 +0000 (14:25 +0800)]
MLK-12980-2 video: mxsfb: change the 'fb_info' field of 'mxsfb_info' structure
Refine the 'fb_info' field in 'mxsfb_info' that change this
field to be a pointer which can reduce the 'mxsfb_info' size.
Besides, store the 'host' data to fb_info->par to replace the
unnecessary 'to_imxfb_host' macro.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 11 Jul 2016 09:14:22 +0000 (17:14 +0800)]
MLK-12980-1 video: mxsfb: refine the driver data usage logic
The function 'platform_set_drvdata' will be called twice
during the probing stage. And the second calling is not
good and not necessary.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Han Xu [Mon, 11 Jul 2016 22:27:50 +0000 (17:27 -0500)]
MLK-12981: mtd: fsl-quadspi: QSPI support dynamic LUT change
QSPI only support upto 16 LUT slots while the QSPI commands are more
than this number, reserve the last two slots for dynamic change (most
commands used in pairs). Later all extra supported commands will be add
in dynamic lut table.
Signed-off-by: Han Xu <han.xu@nxp.com>
Fancy Fang [Fri, 8 Jul 2016 07:30:33 +0000 (15:30 +0800)]
MLK-12975-2 video: mxsfb: missing a 'break' in the case statement.
Missing the 'break' will cause the function return failure
when the 'bits_per_pixel' is 32 which should be supported.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Fri, 8 Jul 2016 07:20:16 +0000 (15:20 +0800)]
MLK-12975-1 video: mipi_dsi_samsung: set default bpp to 32 if not set
The default bpp should be set to a proper value if it is
not set yet during mipi panel display initialization.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Thu, 7 Jul 2016 02:09:25 +0000 (10:09 +0800)]
MLK-12972 dma: pxp-v3: add asynchronous multi-task support
Using a dedicated kernel thread to dispatch all the client
requests which can support asynchronous multi-task.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Shengjiu Wang [Thu, 30 Jun 2016 09:45:05 +0000 (17:45 +0800)]
MLK-12771: ASoC: fsl_asrc: fix dma task timeout issue
The test case is one p2p playback + two m2m converter running
simultaneously. There are three root cause for this issue:
1. hw_free() of p2p may be called twice in the end, which cause
release twice of one pair, if another pair request is called between
this two release, there will be issue.
2. In m2m close(), the asrc_priv->pair[i] will be set NULL twice,
which is same issue as 1.
3. when output rate is more than eight multiple of input rate for m2m,
the last_period_size should be larger.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Richard Zhu [Fri, 8 Jul 2016 02:48:13 +0000 (10:48 +0800)]
MLK-12974 ARM: dts: imx7d: corret the pcie legacy interrupters
Correct the imx7d pcie legacy interrupters.
INTA <---> 157
INTB <---> 156
INTC <---> 155
INTD <---> 154
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Fancy Fang [Thu, 30 Jun 2016 05:38:39 +0000 (13:38 +0800)]
MLK-12948 ARM: dts: imx7d-sdb: change the hardware reset gpio for mipi dsi
Change the hardware reset gpio to 'GPIO6_IO15' for mipi dsi to
allow fec2 and mipi dsi can run at the same time. This needs
some hardware rework as follows:
"
1. Replace R631 with 100K resistor;
2. Remove D14, D24;
3. Solder the Cathode of the diode to R471,
you can use BAT54HT1(ONSEMI) or NSR0320MW2T1G(ONSEMI);
4. Solder the wire to the Anode end of the diode;
5. Scrape the solder mask(Green oil) of the MIPI Reset via,
then solder the end of the wire to the via.
"
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Tue, 28 Jun 2016 09:18:17 +0000 (17:18 +0800)]
MLK-12946 media: pxp-v4l2: correct the 32 bpp pixel format passed to pxp
The 32 bpp pixel format which is passed to pxp should be
'PXP_PIX_FMT_RGB32' instead of 'PXP_PIX_FMT_RGB24', since
only 'PXP_PIX_FMT_RGB32' can be recognized by lcdif.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Frank Li [Wed, 22 Jun 2016 15:48:41 +0000 (10:48 -0500)]
MLK-12944 fix makefile miss imx7d-12x12-lpddr3-arm2-pcie.dtb
Added imx7d-12x12-lpddr3-arm2-pcie.dtb to makefile
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Anson Huang [Wed, 22 Jun 2016 15:11:04 +0000 (23:11 +0800)]
MLK-12935 ARM: imx: switch system counter clock to 32K in suspend
During suspend, as 24MHz will be disabled, but system counter
needs to be running in order to maintain accurate clock source,
so we need to switch system counter's clock from base clock(24MHz)
to alternate clock(32K) before system enter STOP mode, otherwise,
the suspend time will NOT be counted into system time when issue
a "date" command.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit
470f930321d7633ea9844a1ebf6784cafd8b7372)
Robby Cai [Tue, 21 Jun 2016 08:14:02 +0000 (16:14 +0800)]
MLK-12758 ARM: dts: imx6sx-sdb: fix brightness can't be adjusted
set PWM4 pin correctly for the LVDS backlight.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Robby Cai [Wed, 15 Jun 2016 15:36:59 +0000 (23:36 +0800)]
MLK-12908-2 damengine: pxp: fix the histogram setting for i.mx7d
the commit
1b98a9be39a37c2d3ad239c3a1a3a1af1d4ac637 breaks the setting for mx7d.
the patch fixes it.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Robby Cai [Wed, 15 Jun 2016 15:17:35 +0000 (23:17 +0800)]
MLK-12908-1 damengine: pxp: correct dithering setting
dithering test will met timeout issue on i.MX6ULL platform.
to reproduce, run ' /unit_tests/mxc_epdc_v2_fb_test.out -n 17 -d 1 -q 1'
Ginger dithering mode "Floyd-Steinberg" and quant_bit 1
imx_epdc_v2_fb
228c000.epdc: PxP operation failed due to timeout
imx_epdc_v2_fb
228c000.epdc: Unable to complete PxP update task: dithering process
imx_epdc_v2_fb
228c000.epdc: Timed out waiting for update completion
This patch corrects the setting (different from V3 on i.MX7D).
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Shengjiu Wang [Thu, 16 Jun 2016 06:35:52 +0000 (14:35 +0800)]
MLK-12907: ASoC: imx_mqs: mqs can't be recorder
mqs can't be used as recorder, the capture property need to be zero.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Haibo Chen [Tue, 14 Jun 2016 05:52:16 +0000 (13:52 +0800)]
MLK-12902: usdhc: Revert "MLK-11685-5 mmc: sdhci-esdhc-imx: no need busfreq for imx6qdl"
This reverts commit
312979d1fcbd068d4ba0f461e974e7cbcc889548.
When busfreq is at low bus mode, which is 24MHz, it means DDR/AHB/AXI
will drop to 24MHz. At the same time, when in low busfreq mode, cpuidle
can be in low power idle, DRAM will be put into self-refresh and DRAM IO
will in low power mode to save power, so DMA will NOT work.
So all peripherals that needs DMA, need to request bus freq to high
setpoint when it is active.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Fancy Fang [Mon, 23 May 2016 06:12:59 +0000 (14:12 +0800)]
MLK-12899-2 video: mipi_dsi_samsung: add panel 'TFT3P5581' driver.
Add the mipi panel 'TFT3P5581' driver.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Thu, 26 May 2016 02:28:57 +0000 (10:28 +0800)]
MLK-12899-1 ARM: dts: imx7d-sdb: add dts support for panel 'TFT3P5581'.
Add the dts support for the new mipi panel 'TFT3P5581'.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 13 Jun 2016 09:38:47 +0000 (17:38 +0800)]
MLK-12901-3 video: mipi_dsi_samsung: alwasy use video mode to transfer data and cmds.
Since the lcdif uses RGB interface to transfer image data to
mipi dsi, video mode should be used to transfer the image data.
So, the commands transfer should also use video mode to avoid
unnecessary mode switches.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 13 Jun 2016 06:16:19 +0000 (14:16 +0800)]
MLK-12901-2 video: mipi_dsi_samsung: add 10msec delay after all the pkt write operation.
Add 10msec delay after all the pkt write operations to let
the data to take effect on the panel's side.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 13 Jun 2016 06:08:46 +0000 (14:08 +0800)]
MLK-12901-1 video: mipi_dsi_samsung: correct the hardware reset calling position.
The hardware reset should be done on LP-11 mode which
is the data/clk stop state.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 6 Jun 2016 06:07:54 +0000 (14:07 +0800)]
MLK_12886-2 video: mxsfb: handle the assert gpio in driver to support deferred probe
The assert gpio comes from 'gpio_spi' module, so the framebuffer
depends on the 'gpio_spi' driver loading. And in the case that
the framebuffer driver is loaded earlier than the 'gpio_spi'
driver, the gpio asserting will fail. So handle this gpio in
the framebuffer driver and add deferred probed support.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Fancy Fang [Mon, 6 Jun 2016 05:49:22 +0000 (13:49 +0800)]
MLK-12886-1 ARM: dts: imx7d-sdb: the assert gpio for lcdif should be active low
According to the 7d sdb schematic, only when the 'LCD_PWR_EN' is
low voltage, the 'LCD_3V3' can has the 3.3V voltage. And 'LCD_3V3'
is used to provide 3.3V power for lcd peripherals.
Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Sandor Yu [Mon, 13 Jun 2016 06:36:08 +0000 (14:36 +0800)]
MLK-12898: ov5640 mipi: Add more delay to wait sensor stable
Add more delay to wait sensor stable.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
(cherry picked from commit
c1d7c35b6d2c8b6ec69b90bac6febf673d04acc5)
Shengjiu Wang [Mon, 13 Jun 2016 04:06:19 +0000 (12:06 +0800)]
MLK-12900-2: ARM: dts: fix asrc mqs noise issue
Change the spdif's clock frequency for the frequency is too high
for asrc, which will cause the asrc p2p + mqs noise.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
e623ad471a46cbe7d12f1ae8a58d5ea53129db22)
Shengjiu Wang [Mon, 13 Jun 2016 04:05:10 +0000 (12:05 +0800)]
MLK-12900-1: ARM: dts: pin confict for spdif and wdog
Disable wdog in wm8958.dts for conflict with spdif
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
71863bcd34420384f5ef5eeecc2c8ca45389db24)
Han Xu [Fri, 10 Jun 2016 16:04:59 +0000 (11:04 -0500)]
MLK-12897: ARM: dts: add one more dts for all qspi chip support on i.MX6ULL
change the qspi dts for default one qspi scenario and add one more for
all four qspi chip support.
Signed-off-by: Han Xu <han.xu@nxp.com>
Robby Cai [Wed, 8 Jun 2016 06:22:12 +0000 (14:22 +0800)]
MLK-12893 dma-engine: pxp: correct histogram setting
- HIST_A as collision, need set to 1 for wfb_store
- WFE-A flag0~3 changed to WFE-B flag4~7 on i.MX6ULL
This patch fixes the collision issue and some part of
updated region can not display with auto waveform mode.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Anson Huang [Wed, 8 Jun 2016 10:52:38 +0000 (18:52 +0800)]
MLK-12890 rtc: snvs: update time read function
When CPU/AXI/AHB are running at 24MHz, IPG at
12MHz, two consecutive reads of RTC timer registers
never get same value, so we need to skip the low
15 bits, only make sure the second value are same
during two consecutive reads.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Peng Fan [Fri, 3 Jun 2016 01:30:04 +0000 (09:30 +0800)]
MLK-12740 cpuidle: imx6q: configure CCM to RUN mode when CPU is active
There are two states in i.MX6Q cpuidle driver.
state[1]: ARM WFI mode
state[2]: i.MX6Q WAIT mode
Take i.MX6DL as example, think out such a case:
1. CPU0/1 both run at normal mode
2. On CPU0, `sleep 1` is executed. And there are no workload on CPU1.
3. CPU0 first runs into state[2] and 'wfi' instruction. Switched to use
GPT broadcast.
4. CPU1 runs into state[2] and configure CCM to WAIT MODE,
then 'wfi' instruction. Now arm_clk and local timer clock are
shutdown. Switched to use GPT broadcast
5. GPT broadcast timer interrupt comes to GPC/GIC, then CPU0 wakes up.
CPU0 switched to use arm local timer. CPU1 is still sleeping.
6. No workload on CPU0, CPU0 runs into state[1]. But CCM register
is still not restored to Normal RUN mode. 'wfi' + CCM WAIT will
cause arm_clk and arm core clk.
Now CPU0 stops, which is not correct.
So, need to make sure CCM configured to RUN mode when any cpu exit
state[2].
In this patch,
When CPU exits state[2], it configures CCM to RUN mode.
When all CPUs enters state[2], the last CPU needs to check
whether it's ok to configure CCM to WAIT mode or not.
In imx6q_set_lpm, we only need to unmask GINT when not WAIT_CLOCKED,
so add a check condition.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Shengjiu Wang [Mon, 6 Jun 2016 08:52:52 +0000 (16:52 +0800)]
MLK-12887: ARM: dts: fix noise issue for mono playback
Using pull-up or pull down will cause that codec can get
big data in right channel. using keeper to fix this issue.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Peng Fan [Fri, 3 Jun 2016 03:15:48 +0000 (11:15 +0800)]
MLK-12879 char: otp: support i.MX6ULL
Add ocotp support for i.MX6ULL.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Andy Duan [Fri, 3 Jun 2016 03:18:02 +0000 (11:18 +0800)]
MLK-12880 arm: dts: imx7d: correct the PAD_GPIO1_IO01 pin ctrl setting
PAD_GPIO1_IO01 bit[31:7] are reserved, remove the setting mapping to
this reserved field.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Robin Gong [Wed, 1 Jun 2016 09:35:25 +0000 (17:35 +0800)]
MLK-12864: ARM: dts: imx6ull-14x14-ddr3-arm2: enable WDOG_B reset
enable WDOG_B reset pin on i.mx6ull-14x14-ddr3-arm2 board
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Sandor Yu [Thu, 2 Jun 2016 07:30:26 +0000 (15:30 +0800)]
MLK-12876: mipi csi: Remove regulator enable code when driver probe
Mipi CSI PHY regulator will enabled in function of s_power.
So remove regulator enable code when driver probe.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
(cherry picked from commit
c29dda8f4092cdeff7f7661f8ac2a05f98a71296)
Peter Chen [Fri, 10 Jul 2015 07:46:04 +0000 (15:46 +0800)]
MLK-12860-4 usb: chipidea: imx: add HSIC support for imx7d
Add HSIC support for imx7d. We have not supported HSIC as system
wakeup as well as HSIC remote wakeup function at DSM mode, since
the 24M OSC can't be off and the SoC internal regulators can't be
off at this mode, that will keep power consumption much higher.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Peter Chen [Fri, 10 Jul 2015 07:41:30 +0000 (15:41 +0800)]
MLK-12860-3 ARM: imx: gpcv2: add reg_1p2's notifier
In this notifier, we can power on/off the two LDO's which are needed
for USB HSIC.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Peter Chen [Wed, 25 May 2016 08:46:27 +0000 (16:46 +0800)]
MLK-12860-2 ARM: dts: add imx7d 12x12 ARM2 ddr3 board dts
Add imx7d 12x12 ARM2 ddr3 board dts
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Peter Chen [Thu, 26 May 2016 08:56:01 +0000 (16:56 +0800)]
MLK-12860-1 ARM: dts: imx7d: add vcc-supply at gpc node
It is missing at imx7d.dtsi, but used at source code.
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Shengjiu Wang [Tue, 31 May 2016 01:33:39 +0000 (09:33 +0800)]
MLK-12862: ARM: dts: fix mqs no sound issue
The MQS can only work when the mclk1 is selected as the mclk
of sai. On other hand, the mclk0 use same clock root
(sai_clk_root) as mclk1. so removing mclk0 won't impact the sai
features.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Richard Liu [Tue, 31 May 2016 10:08:39 +0000 (18:08 +0800)]
MA-8225 [#2406] add feature table for gc355_v121_rc5
There is below log when use gpu 6.1 driver on android, root
cause is feature table is missing for VG core.
error log:
Galcore version 6.1.0.60705
[galcore]: Feature database is not found,chipModel=0x355,
chipRevision=0x1215, productID=0x0, ecoID=0x0
Date: May 30, 2016
Signed-off-by: Richard Liu <xuegang.liu@nxp.com>
Anson Huang [Mon, 30 May 2016 19:18:52 +0000 (03:18 +0800)]
MLK-12861-2 ARM: imx: enable necessary clock for RDC resume on i.mx7d
When Mega/Fast Mix off in DSM mode, RDC recovery needs PCIe/PXP/EIM
clock to be enabled, otherwise, with M4 enabled, DSM resume will fail.
We only enable them before entering DSM and hardware will disable
them when DSM is entered and they will be re-enabled after resume,
then in low level resume phase, we will disable them again.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit
e28ae270b6e23a6b5ba86112592bc2b767c68f8d)
Anson Huang [Mon, 30 May 2016 16:34:55 +0000 (00:34 +0800)]
MLK-12861-1 ARM: imx: support runtime clock management on i.mx7d when M4 is enabled
For i.MX7D, current runtime clock management code will skip all
PLL/PFD/GATE enable/disable when M4 is enabled, this is NOT good
for power number in low power idle and audio playback, as M4 only
uses one high speed PFD which is from system PLL, it is never
disabled runtimely, so we can just enable the hardware operation of
PLL/PFD/GATE for A7.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
(cherry picked from commit
02a2e8d73bcb8d2b8362b4328976dfcdc502a19c)
Andy Duan [Wed, 25 May 2016 08:32:22 +0000 (16:32 +0800)]
MLK-12851 ARM: dts: imx6ull: add uart1 as Mega/Fast mix wakeup source
Add uart1 as Mega/Fast mix wakeup source for i.MX6ull.
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Robby Cai [Tue, 24 May 2016 09:29:48 +0000 (17:29 +0800)]
MLK-12849 ARM: dts: imx6ull-ddr3-arm2: add a new dts file for TSC
Since TSC has pin conflict with I2C1 which is used by PMIC and Camera,
we need to move TSC setting from LCDIF dts file into a separated one to
achieve the LCDIF and Camera feature in one DTS file. After the change,
we can get the supported features as follows.
-lcdif.dtb: lcd and camera, but no tsc
-tsc.dtb: lcd and tsc, but no camera
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Li Jun [Tue, 17 May 2016 02:45:08 +0000 (10:45 +0800)]
MLK-12781 ARM: dts: imx7d-12x12-lpddr3-arm2: add pinctrl for usb vbus
Add pinctrls for usbotg1 and usbotg2 vbus control. This missing keeps
the vbus enable pin is high after power up, so vbus is on and otg port
will not enter suspend in device mode, as active usb port has high
bus freq requested, this prevents system enter low bus freq.
Signed-off-by: Li Jun <jun.li@nxp.com>
Shengjiu Wang [Thu, 19 May 2016 10:24:06 +0000 (18:24 +0800)]
MLK-12836: ARM: dts: support display in audio dts on imx6ull
support display in audio dts imx6ull-14x14-ddr3-arm2-cs42888.dts
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Robin Gong [Wed, 18 May 2016 07:22:09 +0000 (15:22 +0800)]
MLK-1277: ARM: dts: imx6sx-sabreauto: enable WDOG_B on i.mx6sx-auto board
The same issue: "MLK-9773: warm reset fail in kernel when booting from QSPI
NOR Flash", thus enable WDOG_B on the reworked board to make sure power off
the QSPI-NOR Flash.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Han Xu [Wed, 18 May 2016 20:03:43 +0000 (15:03 -0500)]
MLK-12814: ARM: dts: support NAND on i.MX6UL EVK board
add new dts to support NAND on i.MX6UL 14x14 EVK board.
Signed-off-by: Han Xu <han.xu@nxp.com>
Robby Cai [Wed, 18 May 2016 10:37:38 +0000 (18:37 +0800)]
MLK-12811-4 ARM: dts: fix EPDC register region
privious size is overlapped with iomux_snvs. decrease it to fix it.
Signed-off-by: Robby Cai <robby.cai@nxp.com>
Robby Cai [Fri, 13 May 2016 02:03:35 +0000 (10:03 +0800)]
MLK-12811-3 ARM: dts: add new dts file for EPDC on i.MX6ULL DDR3 VAL board
EPDC has pin conflict with FEC2, LCDIF.
Signed-off-by: Robby Cai <robby.cai@nxp.com>