Ryan QIAN [Wed, 16 Jan 2013 02:23:28 +0000 (10:23 +0800)]
MLK-11685-1 mmc: add delay after CMD6 befoer sending CMD13 for sandisk
- Some sandisk emmc cards need certain delay befor sending cmd13 after cmd6.
Original CR: ENGR174296 (commit:
fd031f9)
Acked-by: Aisheng Dong <b29396@freescale.com>
Signed-off-by: Ryan QIAN <b32804@freescale.com>
(cherry picked from commit
f942bf1db36355d46f38792601594949f3f2c71b)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Conflicts:
drivers/mmc/core/mmc_ops.c
Shengjiu Wang [Fri, 9 Oct 2015 08:56:41 +0000 (16:56 +0800)]
MLK-11676 ARM: imx_v7_defconfig: disable CONFIG_SWP_EMULATE
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>
Dong Aisheng [Thu, 9 Apr 2015 09:05:24 +0000 (17:05 +0800)]
MLK-10629-6 dts: imx7d-sdb: do not enable wlreg_on always
Broadcom WiFi requires reset by operating wlreg_on regulator
when doing insmod/rmmod.
Keep wlreg_on will cause card state wrong and unable to re-insmod.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
d65683e1d0717fa039ebd4c55562e6ee745354b7)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Dong Aisheng [Thu, 9 Apr 2015 08:25:48 +0000 (16:25 +0800)]
MLK-10629-5 dts: imx7d-sdb: remove non-removable property of wifi host
The card detect of Broadcom WiFi on uSDHC2 port can not function
well with a non-removalbe card. Because MMC core only enumerate
one time for non-removable card which is not work for Broadcom WiFI.
So remove it.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
ed4c1c749c755839775ff4ad2078e659fec18650)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Conflicts:
arch/arm/boot/dts/imx7d-sdb.dts
Dong Aisheng [Thu, 9 Apr 2015 08:19:35 +0000 (16:19 +0800)]
MLK-10629-3 dts: imx7d-sdb: add wifi-host property for usdhc2
There's a Broadcom WiFi on usdhc2.
Add this property due to Broadcom WiFi driver needs call wifi_card_detect
function.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
72015985537b5bd14ac7b0c97860ab26309ad1a1)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Dong Aisheng [Thu, 9 Apr 2015 08:16:09 +0000 (16:16 +0800)]
MLK-10629-2 mmc: sdhci-esdhc-imx: implement wifi_card_detect function
WiFi driver could call wifi_card_detect function to re-detect card,
this is required by some special WiFi cards like broadcom WiFi.
To use this function, a new property is introduced to indicate a wifi host.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
74e71dd0aebb9e931f02aefa3dd1990cbe642ae4)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Conflicts:
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt
Dong Aisheng [Wed, 11 Mar 2015 11:01:53 +0000 (19:01 +0800)]
MLK-10629-1 dts: imx7d-sdb: add the integrated Broadcom WiFi chip support
Add Broadcom WiFi chip BCM4339 on board support.
Need adds a bcmdhd_wlan@0 node for WiFi driver to probe properly.
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
24b44a415df9a27036b843284a179448dcc5fe20)
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Conflicts:
arch/arm/boot/dts/imx7d-sdb.dts
Liu Ying [Fri, 11 Sep 2015 09:36:39 +0000 (17:36 +0800)]
MLK-11316-4 video: mxc ipuv3 fb: Change on-the-fly switch mechanism for PRE workaround
In order to workaround the PRE SoC bug recorded by errata ERR009624, the
software cannot write the PRE_CTRL register when the PRE writes the PRE_CTRL
register automatically to set the ENABLE bit(bit0) to 1 in the PRE repeat mode.
Instead of setting the PRE_CTRL register any time we want to do on-the-fly
switch(PRE keeps working before and after the switch), we change to set the
register in the on-the-fly configuration interrupt(EOF) handler. This way,
we may avoid encountering the problematic PRE automatic writing cycle for sure.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit
6218cbcf34f5fb7910a824a8d31cc58819d0bd00)
Liu Ying [Fri, 11 Sep 2015 08:03:06 +0000 (16:03 +0800)]
MLK-11316-3 video: mxc ipuv3 fb: Change pan display mechanism for PRE workaround
In order to workaround the PRE SoC bug recorded by errata ERR009624, the
software cannot write the PRE_CTRL register when the PRE writes the PRE_CTRL
register automatically to set the ENABLE bit(bit0) to 1 in the PRE repeat mode.
The software mechanism to set the PRE_CTRL register is different for PRE Y
resolution higher than 9 lines and lower than or equal to 9 lines.
For cases in which Y resolution is higher than 9 lines, before we update PRE
shadow, we just need to wait until the PRE store engine status runs out of
the problematic PRE automatic writing window.
While for cases in which Y resolutin is lower than or equal to 9 lines, we
have to update PRE shadow in the buffer flip interrupt handler.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit
bd9c14e24aaf67926dfd31bd819ab0c87129fe4b)
Liu Ying [Fri, 11 Sep 2015 08:09:57 +0000 (16:09 +0800)]
MLK-11316-2 mxc IPUv3: PRE: Define small Y resolution
In order to workaround the PRE SoC bug recorded by errata ERR009624, the
software cannot write the PRE_CTRL register when the PRE writes the PRE_CTRL
register automatically to set the ENABLE bit(bit0) to 1 in the PRE repeat mode.
The software mechanism to set the PRE_CTRL register is different for PRE Y
resolution higher than 9 lines and lower than or equal to 9 lines. So,
this patch defines the small Y resolution and adds a helper to check the
Y resolution.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit
cf7df46e3b1d2142ff354498982194247bf07fea)
Liu Ying [Fri, 11 Sep 2015 06:58:02 +0000 (14:58 +0800)]
MLK-11316-1 mxc IPUv3: PRE: Export a function to set PRE_CTRL register
In order to workaround the PRE SoC bug recorded by errata ERR009624, the
software cannot write the PRE_CTRL register when the PRE writes the PRE_CTRL
register automatically to set the ENABLE bit(bit0) to 1 in the PRE repeat mode.
This patch exports a function to set the PRE_CTRL register so that it could be
used by the software when the PRE automatic writing doesn't happen for sure.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit
e64bbcd9243a17f9eba9cb3abb6f2c1939eae110)
Liu Ying [Mon, 14 Sep 2015 05:26:29 +0000 (13:26 +0800)]
MLK-11536 video: mxc ipuv3 fb: Fix pan-disp frame drop issue when PRE is enabled
There could be frame drop issue when we do pan display if we update PRE next
buffer address before waiting for the flip completion, because we may hold
the flip completion already and then two continuous pan display operations may
happen quickly within one active period of frame scanning - the first PRE next
buffer address is overriden. To fix this issue, this patch updates the buffer
address after the flip completion.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit
d0126e42f46f6dad9ae8c6aa390b0e1bea76492e)
Sandor Yu [Fri, 9 Oct 2015 09:25:17 +0000 (17:25 +0800)]
MLK-11679: IPU: Fix ldb0 can not work issue
LVDS0 can not work on imx6q auto and SDB board,
it is caused by ldb0 clock setting is missed in ipu driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Haibo Chen [Tue, 8 Sep 2015 06:21:04 +0000 (14:21 +0800)]
MLK-11503-2 ARM: dts: imx7d-12x12-lpddr3-arm2: enable usdhc in lpsr mode
Add pinctrl sleep mode support for usdhc, and enable usdhc in lpsr mode.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit
75b33d1a578abaed44b11a05187c19dedb25aad2)
Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts
Haibo Chen [Tue, 8 Sep 2015 06:17:23 +0000 (14:17 +0800)]
MLK-11503-1 mmc: sdhci-pltfm: add pinctrl sleep mode support
For LPSR mode, usdhc iomux settings will be lost after resume,
so add pinctrl sleep mode support.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit
983a7a174ed20d34a170a6aba70ff9d5bb2c9973)
Haibo Chen [Thu, 25 Jun 2015 02:08:46 +0000 (10:08 +0800)]
MLK-11397 mmc: sdhci-esdhc-imx: move the setting of watermark level out of probe
Currently, we config the watermark_level register only in probe.
This will cause the mmc write operation timeout issue after system
resume back in LPSR mode. Because in LPSR mode, after system resume
back, the watermark_level register(0x44) changes to 0x08000880, which
set the write watermark level as 0, and set the read watermark level
as 128. This value is incorrect.
This patch move the setting of watermark level register out of probe,
so after system resume back, mmc driver will set back this watermark
level register back to 0x10401040.
Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit
05f72329a3c288e15c2f187305a21815d6bffc6d)
Conflicts:
drivers/mmc/host/sdhci-esdhc-imx.c
Dong Aisheng [Fri, 15 May 2015 06:29:50 +0000 (14:29 +0800)]
MLK-10837 dts: imx_v7_defconfig: remove CONFIG_BT_HCIBTSDIO support
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)
Sascha Hauer [Fri, 20 Jun 2014 07:08:16 +0000 (15:08 +0800)]
mmc: Allow setting slot index via devicetree alias
As with gpio, uart and others, allow specifying the name_idx via the
aliases-node in the devicetree.
On embedded devices, there is often a combination of removable (e.g.
SD card) and non-removable mmc devices (e.g. eMMC).
Therefore the name_idx might change depending on
- host of removable device
- removable card present or not
This makes it difficult to hard code the root device, if it is on the
non-removable device. E.g. if SD card is present eMMC will be mmcblk1,
if SD card is not present at boot, eMMC will be mmcblk0.
If the aliases-node is not found, the driver will act as before.
The original patch is from here:
https://www.mail-archive.com/linux-mmc@vger.kernel.org/msg26472.html
The patch requires additional alias_id fix or it won't work.
Because according to function definition the max_idx parameter of idx_alloc
is exclusive, so need add 1 or it will be unable to find the proper idx
within an invalid range.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit
35928d6c6a76a24a16edfa636f4c08293614a1e0)
Sascha Hauer [Thu, 22 May 2014 15:30:22 +0000 (17:30 +0200)]
of: Add helper for getting the maximum alias index for a stem
of_alias_max_index will return the maximum number for which an
alias of a given stem exists. This is useful for frameworks
whishing to reserve a number of device slots from dynamic
allocation.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
(cherry picked from commit
5ce2ad39b36fd48b9f77249198655da7cbcc7ee5)
Conflicts:
include/linux/of.h
Bai Ping [Thu, 24 Sep 2015 16:49:13 +0000 (00:49 +0800)]
MLK-11620 ARM: imx: single SOC config/compile support
Currently, all i.MX6 config (CONFIG_SOC_IMX6XXX) are enabled, so
build and function are OK for every i.MX6 SOC, however, when only
one SOC config is selected in menu config, for example, users only
needs i.MX6SL, they might deselect all reset SOC configs, then the
build will fail, this is unacceptable.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Bai Ping <b51503@freescale.com>
Anson Huang [Mon, 21 Sep 2015 10:51:21 +0000 (18:51 +0800)]
MLK-11566-6 mlb: add i.mx6sx support
i.MX6SX has MLB150, add support for it.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
99d374da7d49d45800821b28d55e032387f1cc67)
Anson Huang [Fri, 18 Sep 2015 15:55:00 +0000 (23:55 +0800)]
MLK-11566-5 drvier: imx_sema4: add dummy function
When CONFIG_IMX_SEMA4 is NOT set, some modules may
still call SEMA4 APIs, need to add dummy function
to make sure build pass.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
5a2537095621da25c8967a0ccdbb8b0029e14c94)
Anson Huang [Fri, 18 Sep 2015 15:54:02 +0000 (23:54 +0800)]
MLK-11566-4 mxc: gpu: enable gpu for all i.mx6 SOC
GPU is NOT just depending on i.MX6Q, enable it for all i.MX6 SOCs.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
06b8da5c28dc2fec0160bc60cc846d4910a05b41)
Anson Huang [Fri, 18 Sep 2015 15:53:03 +0000 (23:53 +0800)]
MLK-11566-3 input: keyboard: add i.mx6ul support for snvs power key
i.MX6UL has SNVS power key, add support for it.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
095c876a12e27220cb91cb9dc376a20b6bf259e4)
Anson Huang [Fri, 18 Sep 2015 15:52:21 +0000 (23:52 +0800)]
MLK-11566-2 mxc: mipi: make mipi csi2 common for SOC_IMX6 and SOC_IMX7
MIPI_CSI2 is necessary for modules build, enable it for all
i.MX6 and i.MX7 SOC.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
2e2025df741a79620be9b96fa6fb0f2e2e40fdea)
Anson Huang [Fri, 18 Sep 2015 15:51:15 +0000 (23:51 +0800)]
MLK-11566-1 dma: add MXS_DMA for all i.mx6 SOC
Enable MSX_DMA for all i.MX6 SOCs.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
70e7d05ca89fff0d4c8515cd3933b23082bb2eaf)
Sandor Yu [Wed, 30 Sep 2015 08:55:01 +0000 (16:55 +0800)]
MLK-11661: ipuv3: Fix build warning
Fix buiulding warning:
drivers/mxc/ipu3/ipu_disp.c:435:29: warning: initialization discards
'const' qualifier from pointer target type
[-Wdiscarded-array-qualifiers]
{{DP_COM_CONF_CSC_DEF_BOTH, &rgb2ycbcr_coeff}, {0, 0}, {0, 0},
{DP_COM_CONF_CSC_DEF_BG, &rgb2ycbcr_coeff}, {DP_COM_CONF_CSC_DEF_BG,
&rgb2ycbcr_coeff} },
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Wed, 30 Sep 2015 08:15:00 +0000 (16:15 +0800)]
MLK-11657: IPU: check ldb clock with clk name
4.1 kernel apply the followed patch:
commit
73e0e496afdac9a5190eb3b9c51fdfebcc14ebd4
clkdev: Always allocate a struct clk and call __clk_get() w/ CCF
clock_get will return a new struct clk, so we can't use the pointer
of clk struct to compare clk whether is equal, replace with clk name.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Robby Cai [Tue, 22 Sep 2015 14:21:57 +0000 (22:21 +0800)]
MLK-11556-9 clock: correct the parent clock for EPDC pix clock
Correct the parent clock for EPDC pixel clock to get desired clock rate.
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Thu, 17 Sep 2015 01:41:18 +0000 (09:41 +0800)]
MLK-11556-8 ARM: dts: imx6sl-evk: add epdc support
Add epdc support on i.MX6SoloLite EVK board.
Add 'compatible', 'clocks' property in common imx6sl.dtsi
enable pxp, pmic, epdc in imx6sl-evk.dts
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Thu, 17 Sep 2015 01:25:53 +0000 (09:25 +0800)]
MLK-11556-7 ARM: dts: imx6dl-sabresd: add epdc support
Add epdc support on i.MX6DL SabreSD board.
Add 'compatible', 'clocks' property in common imx6dl.dtsi
enable pxp, pmic, epdc in imx6dl-sabresd.dts
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 08:00:45 +0000 (16:00 +0800)]
MLK-11556-6 ARM: dts: imx7d-sdb: add epdc support
Add epdc support on i.MX7D SDB board
Since EPDC has pin conflict with ENET1/2, a new DTS file is added.
And EPDC has pin conflict with SIM, so disable SIM by default.
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 07:36:22 +0000 (15:36 +0800)]
MLK-11556-5 ARM: dts: imx7d-12x12-arm2: add epdc support
Add epdc support on i.MX7D 12x12 LPDDR3 ARM2 board
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 08:03:48 +0000 (16:03 +0800)]
MLK-11556-4 defconfig: enable epdc driver
Enable epdc driver of both version
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 01:45:04 +0000 (09:45 +0800)]
MLK-11556-3 epdc: add EPDC driver
mxc_epdc_fb.c for i.MX6SoloLite, and i.MX6DualLite (and i.MX50 as well),
mxc_epdc_v2_fb.c for i.MX7D.
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 06:46:28 +0000 (14:46 +0800)]
MLK-11556-2 defconfig: enable pmic max17135 hwmon, mfd, regulator function
Enable hwmon, mfd, regulator function
Signed-off-by: Robby Cai <r63905@freescale.com>
Robby Cai [Wed, 16 Sep 2015 06:39:16 +0000 (14:39 +0800)]
MLK-11556-1 pmic: max17135: add hwmon, mfd and regulator drivers for this pmic
Add PMIC 'MAX17135' module drivers to 4.1.y kernel. These are necessary
to supply power for E-ink panel display functions.
Signed-off-by: Robby Cai <r63905@freescale.com>
Zidan Wang [Thu, 24 Sep 2015 10:59:14 +0000 (18:59 +0800)]
MLK-11623 ASoC: imx-cs42888: add 32k and 64k sample rate support
When codec sysclk is
24576000, the sample rate ratio can be 128, 192,
256, 384, 512, 768, 1024. So 32k, 48k, 64k, 96k, 192k can be support.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
b436254cd55dc0d2ebb6d2ca7ce5f58520ea5dbc)
Zidan Wang [Fri, 25 Sep 2015 06:27:00 +0000 (14:27 +0800)]
MLK-11628 ASoC: fsl_sai: add initial value for is_slave_mode
After playback audio with sai<->wm8960 sound card, is_slave_mode
will be set, but it will not be cleared. So playback audio with
sai<->sii902x sound card will have no voice.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Fri, 25 Sep 2015 02:20:32 +0000 (10:20 +0800)]
MLK-11629 ARM: dts: imx7d-sdb: add sai<->sii902x sound card support
add sai<->sii902x sound card support for imx7d-sdb board
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Wed, 22 Apr 2015 05:01:34 +0000 (13:01 +0800)]
MLK-10713-2 ASoC: imx-sii902x: Add 96k and 192k sample rate support
Add 96k and 192k sample rate support for hdmi audio.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
fa94b89ab94ce78800d112d0a013d0c0901d9b78)
Zidan Wang [Fri, 10 Apr 2015 02:27:37 +0000 (10:27 +0800)]
MLK-10611-2 ASoC: imx-sii902x: forbid using SAI when SAI is being used by other device
imx7d-sdb board using one SAI for wm8960 and sii902x hdmi audio, wm8960
using SAI as slave mode and sii902x hdmi audio using SAI as master mode,
so SAI can't be used at the same time.
Forbid palyback(capture) when SAI is being used capture(playback) by other
device.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
bac15c28c3b8a57fbe04ea80b8fb5eb47a0211f1)
Zidan Wang [Tue, 31 Mar 2015 13:05:51 +0000 (21:05 +0800)]
MLK-10518-1 ASoC: imx-sii902x: add machine driver for sii902x hdmi audio
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)
Anson Huang [Thu, 20 Aug 2015 12:25:28 +0000 (20:25 +0800)]
MLK-11387-3 ARM: imx: update ddr freq scale setting on imx7d
To pass stress test in high temperature environment,
according to design team's suggestion, need to adjust
ddr phy setting for LPDDR3.
Signed-off-by: Anson Huang <b20788@freescale.com>
Anson Huang [Thu, 20 Aug 2015 10:27:56 +0000 (18:27 +0800)]
MLK-11387-2 ARM: imx: add imx7d lpddr2 support
i.MX7D LPDDR2 board has same flow of suspend/resume
and busfreq with LPDDR3, the only difference is the
DRAM init script which is done in u-boot.
This patch adds suspend/resume and busfreq support
for i.MX7D LPDDR2, tested on i.MX7D 19x19 LPDDR2 board.
Signed-off-by: Anson Huang <b20788@freescale.com>
Conflicts:
arch/arm/mach-imx/busfreq_ddr3.c
arch/arm/mach-imx/pm-imx7.c
Anson Huang [Thu, 20 Aug 2015 10:25:14 +0000 (18:25 +0800)]
MLK-11387-1 ARM: dts: add imx7d 19x19 lpddr2 board support
Add i.MX7D 19x19 LPDDR2 board dtb.
Signed-off-by: Anson Huang <b20788@freescale.com>
Conflicts:
arch/arm/boot/dts/Makefile
Peng Fan [Tue, 15 Sep 2015 05:34:33 +0000 (13:34 +0800)]
MLK-11371-3 imx_v7_defconfig enable OTP driver
Default enable OTP driver. File generated using 'make savedefconfig'.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Peng Fan [Tue, 18 Aug 2015 01:25:10 +0000 (09:25 +0800)]
MLK-11371-2 imx: fix ocotp dts node
Fix imx6/7 ocotp dts node.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Peng Fan [Tue, 18 Aug 2015 01:46:40 +0000 (09:46 +0800)]
MLK-11371-1 char: add fsl_otp device driver
This is porting of fsl_otp driver from imx_3.14.y to imx_4.1.y.
This patch mainly from the following:
commit:
292eff6d2c9064ecf15ed457140c1d743c2ead67
"ENGR00269945: char: add fsl_otp deivce driver"
This is a porting of fsl_otp driver from 3.0.35 kernel to 3.10. It
cleans up the driver a little bit and adds device tree probe support.
shawn.guo: cherry-pick commit
850237dccde7 from imx_3.10.y.
commit:
057a50039fac872fd19fe6c129a94face4231ae8
"MLK-10979-4 imx: ocotp add i.MX7D support and fix hole"
1. Add i.MX7D support
2. Fix hole addressing.
There is a hole in shadow registers address map of size 0x100
between bank 5 and bank 6 on iMX6QP, iMX6DQ, iMX6SDL, iMX6SX and
iMX6UL. Bank 5 ends at 0x6F0 and Bank 6 starts at 0x800. When reading
the fuses, should account for this hole in address space.
Similar hole exists between bank 14 and bank 15 of size 0x80 on
iMX6QP, iMX6DQ, iMX6SDL and iMX6SX.
Note: iMX6SL has only 0-7 banks and there is no hole.
Note: iMX6UL doesn't have this one.
When reading, the hole need to be considered to calculated the physical
address offset.
When writing, since only word index for i.MX6 and bank
index for i.MX7, there is no need to take the hole into consideration,
still use the bank/word index from fuse map.
3. Add i.MX6SL i.MX6UL fuse map table.
4. Tested read/write on mx6ul-14x14-ddr3-arm2 and mx7d-12x12-lpddr3-arm2 board.
Tested read on mx6sxsabresd board.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Bai Ping [Tue, 14 Oct 2014 02:17:16 +0000 (10:17 +0800)]
MLK-9678 arm: imx6: switch to analog bypass before entering DSM
this patch implements the workaround for ERR005852:
ERR005852 Analog: Transition from Deep Sleep Mode to LDO Bypass
Mode may cause the slow response of the VDDARM_CAP output.
Normally, the VDDARM_CAP supply takes only approximately 40 us
to raise to the correct voltage when exiting from Deep Sleep(DSM)
mode, if the LDO is enabled. If the LDO bypass mode is selected,
the VDDARM_CAP supply voltage will drop to approximately 0V when
entering and when exiting from DSM,even though the VDDARM_IN
supply is already stable, the VDDARM_CAP supply will take about
2 ms to rise to the correct voltage.
software workaround:
if internal LDO bypass, switch to analog bypass mode(0x1E), prior
to entering DSM, and then, revert to the normal bypass mode, when
exiting from DSM.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
e43b7ad7c9b8fa987daa539543c5060c97922eb2)
Sandor Yu [Wed, 23 Sep 2015 09:18:18 +0000 (17:18 +0800)]
MLK-11603-3: dts: Enable sii902x hdmi driver on 4.1.y branch
Add sii902x hdmi driver to imx6sl, imx6sx and imx7d boards.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Wed, 23 Sep 2015 09:16:44 +0000 (17:16 +0800)]
MLK-11603-2: video: forward mxc video drivers to 4.1 kernel
Forward imx_3.14.y mxc video drivers to 4.1 kernel.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Fri, 25 Sep 2015 01:52:09 +0000 (09:52 +0800)]
MLK-11603-1: clk: Add CLK_SET_RATE_PARENT flag for lcdif_pix clk
lcdif_pix clk may been change to different clock rate,
so add CLK_SET_RATE_PARENT flag and make sure lcdif_pix
clock can get correct clock rate.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Thu, 24 Sep 2015 06:52:02 +0000 (14:52 +0800)]
MLK-11618: pxp output: Fix warning message
Fill device_caps in pxp output driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Wed, 23 Sep 2015 13:41:19 +0000 (21:41 +0800)]
MLK-11610: ov5640: Remove comment out code
Remove comment out code.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Robin Gong [Tue, 10 Feb 2015 01:43:25 +0000 (09:43 +0800)]
MLK-10238-4: power: domain: add suspend_noirq/resume_noirq in power domain
Since some driver which use power domain may use suspend_noirq/resume_noirq
we need implement it in power domain framework.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
f797469507178ddf7f41de913c79f3b709c72872)
Robin Gong [Thu, 24 Sep 2015 08:10:42 +0000 (16:10 +0800)]
MLK-11619 : ARM: imx: gpc: fix system boot crash on i.mx6sx-sdb board
need add pu_reg check for bypass since there is no VDDPU on i.mx6sx, otherwise,
below crash happen:
Unable to handle kernel NULL pointer dereference at virtual address
00000030
pgd =
80004000
[
00000030] *pgd=
00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted
4.1.4-00811-g61e6dcd-dirty #519
Hardware name: Freescale i.MX6 SoloX (Device Tree)
task:
ab068000 ti:
ab06c000 task.ti:
ab06c000
PC is at regulator_allow_bypass+0x4/0x11c
LR is at imx_gpc_probe+0x284/0x310
pc : [<
80313ef0>] lr : [<
80025a50>] psr:
20000113
sp :
ab06de38 ip :
00000001 fp :
00000000
r10:
80a8d42c r9 :
0000010b r8 :
ab106010
r7 :
fffffdfb r6 :
00000000 r5 :
ab106000 r4 :
00000000
r3 :
00000001 r2 :
ab06de54 r1 :
00000001 r0 :
00000000
Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control:
10c5387d Table:
8000404a DAC:
00000015
Process swapper/0 (pid: 1, stack limit = 0xab06c210)
Stack: (0xab06de38 to 0xab06e000)
de20:
00000000 ab106000
de40:
00000000 fffffdfb ab106010 80025a50 ab103d70 00000001 ab129000 80b5e2fc
de60:
ab106010 80aa8e84 fffffdfb 00000000 0000010b 80a8d42c 00000000 803677ac
de80:
80367768 80b5e2fc ab106010 00000000 80aa8e84 80366040 ab106010 80aa8e84
dea0:
ab106044 80aca820 00000000 80366250 00000000 80aa8e84 803661c4 80364584
dec0:
ab03695c ab104234 80aa8e84 ab122580 00000000 803657dc 80921954 80aa8e84
dee0:
80aa5720 80aa8e84 80aa5720 ab126fc0 80a44b54 80366854 00000000 80aa5720
df00:
80aa5720 800097d0 ab0b8380 80760508 00000010 00000000 00000000 00000001
df20:
00000000 80aacea8 60000113 00000000 80a37598 809fdb04 abfff947 8004a0b0
df40:
8091bfa4 abfff97f 00000004 00000004 80aace90 80a9952c 80a99534 00000004
df60:
80a8d41c 80b07000 80b07000 80a8d42c 00000000 80a37dac 00000004 00000004
df80:
80a37598 8004e698 00000000 80752480 00000000 00000000 00000000 00000000
dfa0:
00000000 80752488 00000000 8000f628 00000000 00000000 00000000 00000000
dfc0:
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0:
00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<
80313ef0>] (regulator_allow_bypass) from [<
80025a50>] (imx_gpc_probe+0x284/0x310)
[<
80025a50>] (imx_gpc_probe) from [<
803677ac>] (platform_drv_probe+0x44/0xa4)
[<
803677ac>] (platform_drv_probe) from [<
80366040>] (driver_probe_device+0x174/0x2b4)
[<
80366040>] (driver_probe_device) from [<
80366250>] (__driver_attach+0x8c/0x90)
[<
80366250>] (__driver_attach) from [<
80364584>] (bus_for_each_dev+0x6c/0xa0)
[<
80364584>] (bus_for_each_dev) from [<
803657dc>] (bus_add_driver+0x148/0x1f0)
[<
803657dc>] (bus_add_driver) from [<
80366854>] (driver_register+0x78/0xf8)
[<
80366854>] (driver_register) from [<
800097d0>] (do_one_initcall+0x8c/0x1d4)
[<
800097d0>] (do_one_initcall) from [<
80a37dac>] (kernel_init_freeable+0x144/0x1e4)
[<
80a37dac>] (kernel_init_freeable) from [<
80752488>] (kernel_init+0x8/0xe8)
[<
80752488>] (kernel_init) from [<
8000f628>] (ret_from_fork+0x14/0x2c)
Code:
eb111a0a e1a00005 e8bd80f8 e92d41f0 (
e5906030)
Signed-off-by: Robin Gong <b38343@freescale.com>
Zidan Wang [Wed, 23 Sep 2015 08:58:54 +0000 (16:58 +0800)]
MLK-11612-03 ARM: dts: imx6sx-sabreauto: add ssi<->si476x sound card support
add ssi<->si476x sound card support for imx6sx-sabreauto board
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Wed, 23 Sep 2015 02:24:51 +0000 (10:24 +0800)]
MLK-11612-02 ARM: dts: imx6sx-sabreauto: add spidf sound card support
add spidf sound card support for imx6sx-sabreauto board
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Tue, 22 Sep 2015 06:31:32 +0000 (14:31 +0800)]
MLK-11612-01 ARM: dts: imx6sx-sabreauto: add esai<->cs42888 sound card support
add esai<->cs42888 sound card support for imx6sx-sabreauto board.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Shengjiu Wang [Mon, 13 Oct 2014 03:47:32 +0000 (11:47 +0800)]
MLK-9684-6: ARM: clk-imx6sx: add missing lvds2 clock to the clock tree
We actually have lvds2 (analog clock2), an I/O clock like lvds1, in the SoC.
And this lvds2, along with lvds1, can be used to provide external clock source
to the internal pll, such as pll4_audio and pll5_video.
So This patch mainly adds the lvds2 to the clock tree and fix its relationship
with pll4 accordingly.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
f9cfc11cf8628bd01efda611074131bfa323a120)
Anson Huang [Tue, 7 Apr 2015 06:32:09 +0000 (14:32 +0800)]
MLK-10591-2 ARM: imx: add necessary delay for gpc power switch
Per design team's requirement, when GPC switch power req is
assert and self-clear, need to add delay to make sure power
switch is actually up, the delay value can be got from below:
delay = 2us * 66MHz / IPG_RATE,
here we add 2us margin to make it more reliable, currently only
display mix and pu mix are a power switch.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
39601d70efcf49a91da01be7dff6e8c0d4b061ad)
Robin Gong [Wed, 23 Sep 2015 08:43:29 +0000 (16:43 +0800)]
MLK-11607: ARM: imx: gpc: keep PU always on i.mx6qp
Keep PU always on i.mx6qp, this patch is mostly like the below patch on v3.14
with slight difference on v4.1:
"MLK-10465: ARM: imx6qp: keep PU always on for TKT259465"
Signed-off-by: Robin Gong <b38343@freescale.com>
Sandor Yu [Wed, 11 Feb 2015 08:17:59 +0000 (16:17 +0800)]
MLK-10232-2 gpc: change the number of disply clks
Add vadc clock to dispmix power management.
Signed-off-by: Sandor Yu <R01008@freescale.com>
(cherry picked from commit
a87d7106a9b7cdd52d09dc0b8449979a502fa4c2)
Sandor Yu [Tue, 20 Jan 2015 08:00:37 +0000 (16:00 +0800)]
MLK-10117-1: gpc: add dispmix power save feature
Add dispmix power save feature to generic power domain.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
2794e34cfb03b40e0e0f63f1f5eda347e137a41f)
Richard Zhu [Tue, 15 Sep 2015 07:43:19 +0000 (15:43 +0800)]
MLK-11561-4 PCI: imx: enable imx6qp pcie support
enable imx6qp pcie support
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Richard Zhu [Mon, 14 Sep 2015 23:41:33 +0000 (07:41 +0800)]
MLK-11561-3 PCI: imx: enable imx6sx pcie support
enable imx6sx pci support
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Richard Zhu [Tue, 15 Sep 2015 06:27:00 +0000 (14:27 +0800)]
MLK-11561-2 regulator: anatop: set default voltage selector for pcie
The code reads the default voltage selector from its register.
If the default voltage selector is 0 which results in faulty
behaviour of this regulator driver.
This patch sets a default voltage selector for vddpcie-phy if
it is not set in the register.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Richard Zhu [Mon, 14 Sep 2015 07:47:23 +0000 (15:47 +0800)]
MLK-11561-1 ARM: imx: enable pcie on imx6sx platforms
enable pcie support on imx6sx platforms.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
Richard Zhu [Fri, 13 Mar 2015 08:24:11 +0000 (16:24 +0800)]
MLK-10466-2 ARM: imx: add the pcie related macros definitions
add the pcie related macros definitions into gpr.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
(cherry picked from commit
b4a5b2e53b2e743824d0af7428f7d9d406bec8bd)
Richard Zhu [Thu, 25 Dec 2014 06:30:38 +0000 (14:30 +0800)]
MLK-10058-3 arm: gpc: add pcie phy power gpc operations
For PCIe module on i.mx6sx, some GPC operations would
be mandatory required when PCIe PHY is powered on/off.
So we need update gpc driver for the new requirements.
We implement it by regulator notify framwork in gpc driver.
NOTE:
make sure gpc driver is ready before PCIe driver is probed.
Otherwise, cause system hang during PCIe driver probe,
because the notify NOT installed ready and the gpc will
NOT power on PCIe.
Signed-off-by: Richard Zhu <Richard.Zhu@freescale.com>
(cherry picked from commit
2a7df81caf4c63044739f974e5ce3766412dccb2)
Richard Zhu [Thu, 16 Oct 2014 06:54:40 +0000 (14:54 +0800)]
MLK-10009-2 ARM: imx6sx: Add imx6sx pcie related gpr bits definitions
Add imx6sx pcie related gpr bits definitions.
Signed-off-by: Richard Zhu <richard.zhu@freescale.com>
(cherry picked from commit
991fb25d62e3e2f550f98732f5bc00eeb98f78e3)
Bai Ping [Tue, 22 Sep 2015 13:46:59 +0000 (21:46 +0800)]
MLK-11600 thermal: imx: notify thermal driver in low_bus_freq_mode
As thermal sensor alarm function needs PLL3 to be always on, but low power
idle needs all PLLs to be off, they are exclusive. Low power idle is only enabled
when system staying at low bus mode which means the overall system power consumption
is NOT high, thermal alarm function can be disabled in this mode to allow low power
idle to be entered, and thermal sensor will still use polling mechanism to monitor
the system temperature. Add busfreq notify to achieve this goal.
(this patch is copied from commit
dd3d1e6c6ff0)
Signed-off-by: Bai Ping <b51503@freescale.com>
Bai Ping [Wed, 15 Oct 2014 01:04:02 +0000 (09:04 +0800)]
MLK-9693 cpufreq: imx: increase cpufreq during suspend/resume
During suspend/ressume, when cpufreq driver try to increase
Voltage/freq, it needs to control I2C/SPI to communicate with
external PMIC to adjust voltage, but these I2C/SPI devices may
be already suspended, to avoid such scenario, we adjust increase
cpufreq to highest setpoint before suspend.
As this pm notification's updating cpu policy may work together
with cpufreq governor, both of them may call set_target at same
time, so we need to add mutex lock to prevent this scenario,
otherwise, the clock use count will be wrong.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Robin Gong <b38343@freescale.com>
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
9f5158fd0fd6e11e2f69cf975d3843cf6cc84048)
Bai Ping [Sat, 28 Feb 2015 11:19:56 +0000 (19:19 +0800)]
MLK-10271 cpufreq: imx6: improve busfreq operation when wehn setpoint lower than 396MHz
for i.MX6SX, according to the latest datasheet, added a 198MHz setpoint in cpufreq driver.
The 198MHz setpoint is NOT enough to support playing mp3,the system will stay at a higher
setpoint and high_bus_mode. So when having a setpoint lower than 396MHz, make sure when
the cpufreq is at 396MHz or lower, the busfreq is always in low_bus_mode to save more power.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
3ba9548200ffb2c85111dd84946046ae0c7b09c4)
Bai Ping [Fri, 31 Oct 2014 08:28:03 +0000 (16:28 +0800)]
MLK-9777 cpufreq: imx6: fix the high bus count mismatch
Normally, the system is booting up with higher cpufreq. In the
cpufreq set_target_index we will release the high bus mode if
the target cpu frequency is the lowest. It will release the high
bus mode and dcrease the high_bus_count.This will lead to a wrong
release of high bus mode. So, in the cpufreq_init function, if the
original frequency is not the lowest, we need request high busfreq.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
7df8887a6ddac148d33cd583da31ec72d0ba07da)
Bai Ping [Fri, 24 Oct 2014 08:13:51 +0000 (16:13 +0800)]
MLK-9739 cpufreq: imx: add request busfreq support for cpufreq
Request high bus frequency before scaling up the CPU frequency
and release high bus frequency after scaling down the CPU frequency
Doing so makes a balance between high performance and lower power
consumption.
Signed-off-by: Bai Ping <b51503@freescale.com>
(cherry picked from commit
35c91da2591a70858d5eec184c662851e39082d2)
Sandor Yu [Mon, 21 Sep 2015 09:34:34 +0000 (17:34 +0800)]
MLK-11508-5: dts: Add imx v4l2 capture driver
Add imx v4l2 capture driver.
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Mon, 31 Aug 2015 10:15:43 +0000 (18:15 +0800)]
MLK-11508-4: V4L2 Capture: Porting MXC V4L2 Capture from 3.14.y
Initial port of the mxc V4L2 capture driver.
Baseline copied from imx_3.14.y branch:
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Tue, 22 Sep 2015 10:10:32 +0000 (18:10 +0800)]
MLK-11508-3: imx6qdl: add csi mux setting
Add CSI mux setting
Signed-off-by: Sandor Yu <R01008@freescale.com>
Sandor Yu [Fri, 29 May 2015 09:07:04 +0000 (17:07 +0800)]
MLK-11508-2 v4l2: Add v4l2_async_notifier_unregister recursively call
If anyone calls v4l2_async_notifier_unregister() recursively from
device_release_driver(), code will deadlock at list_lock, so unlock
list_lock when device_release_driver() called.
Signed-off-by: Sandor Yu <R01008@freescale.com>
(cherry picked from commit
f0b54df4d1b58f8f6608e1b08a80a5acb8cc12ea)
Sandor Yu [Tue, 1 Sep 2015 07:15:48 +0000 (15:15 +0800)]
MLK-11508-1: Revert "[media] v4l2-core: remove the old .ioctl BKL replacement"
This reverts commit
5cf6f7f327c95f09be859889be39e78950516556.
Fancy Fang [Wed, 23 Sep 2015 08:49:12 +0000 (16:49 +0800)]
MLK-11608 video: mxsfb: add parameter equal bypass count
This parameter bypass count is used to make sure the mipi
dsi be initialized correctly without any display error.
In the mipi dsi initialization, it requires the first
two parameter setting operations should be done really.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit
969122c2f4363dee4cf489b87984c4d85dcd89ce)
Conflicts:
drivers/video/mxsfb.c
Robin Gong [Tue, 22 Sep 2015 08:24:13 +0000 (16:24 +0800)]
MLK-11407-9: ARM: dts: imx6: add ldo-enable dts files
add ldo-enable dts files.
Signed-off-by: Robin Gong <b38343@freescale.com>
Robin Gong [Tue, 22 Sep 2015 07:48:26 +0000 (15:48 +0800)]
MLK-11407-8: ARM: dts: i.mx6sx/i.mx6ul: add ldo-bypass support
add ldo-bypass support for i.mx6sx/i.mx6ul boards, remove deprecated wdog reset
way, such as 'fsl,wdog-reset = <1>', and implement it in wdog driver.
Signed-off-by: Robin Gong <b38343@freescale.com>
Robin Gong [Wed, 21 Jan 2015 04:57:47 +0000 (12:57 +0800)]
MLK-10123: cpufreq: imx6q-cpufreq: initialize local variable 'i'
Initialize local variable 'i' to 0, otherwise may fall into wrong
code path. The issue come with commit
757ff4b89.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
186f722c260279e21e05e4b13c9cc4d8348ae370)
Robin Gong [Sun, 4 Jan 2015 08:56:11 +0000 (16:56 +0800)]
MLK-10073-3 cpufreq: imx6q-cpufreq: add arm-soc-shared property
Pfuze200 only provide one power supply for VDDARM_IN and VDDSOC_IN,
for ldo-bypass mode, we have to pretend they are different regulators
otherwise regulator famework will refuse update voltage.
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
1b41ab90288b2accd710f8852c11753007749e4a)
Robin Gong [Tue, 22 Sep 2015 07:11:56 +0000 (15:11 +0800)]
MLK-11407-7: ARM: dts: imx7d-sdb: move WDOG_B setting into wdog drivr
enable 'fsl,wdog_b' and move pinctrl setting from hog into watchdog driver
device node.
Signed-off-by: Robin Gong <b38343@freescale.com>
Robin Gong [Tue, 22 Sep 2015 06:36:51 +0000 (14:36 +0800)]
MLK-11407-5: ARM: dts: imx6qdl-sabresd: add WDOG_B reset
On imx6qdl-sabresd board we use WDOG2 as WDOG_B reset source. So use WDOG2
instead of WDOG1.
Signed-off-by: Robin Gong <b38343@freescale.com>
Robin Gong [Tue, 22 Sep 2015 06:31:59 +0000 (14:31 +0800)]
MLK-11407-4: watchdog: imx2_wdt: add WDOG_B reboot trigger
Most of i.mx6 and i.mx7 board need to support WDOG_B reboot to workaroud some
issues such as ldo-bypass, QSPI-NOR boot issue. Please enable 'fsl,wdog_b'
property if you want to use WDOG_B reboot(trigger PMIC reboot).
Signed-off-by: Robin Gong <b38343@freescale.com>
Shawn Guo [Mon, 16 Jun 2014 06:11:51 +0000 (14:11 +0800)]
MLK-11407-3: regulator: anatop: force vddpu to use same voltage level as vddsoc
This patch cherry-pick from below:
"ENGR00317981: regulator: anatop: force vddpu to use same voltage level as vddsoc"
The anatop on i.MX6 requires that vddpu use the same voltage level as
vddsoc. It's a quick hacking to force the check whenever vddpu is
about to be enabled.
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Robin Gong <b38343@freescale.com>
(cherry picked from commit
ab0c52e019cacc89aec3dbb104360b4715d49796)
Conflicts:
drivers/regulator/anatop-regulator.c
Robin Gong [Tue, 25 Aug 2015 05:56:28 +0000 (13:56 +0800)]
MLK-11407-2: ARM: dts: imx6qdl/sl: add ldo bypass support
add ldo bypass support on i.mx6q/dl and i.mx6sl.
Signed-off-by: Robin Gong <b38343@freescale.com>
Robin Gong [Tue, 25 Aug 2015 05:16:13 +0000 (13:16 +0800)]
MLK-11407-1 ARM: imx: gpc: enable PU bypass
enable PU bypass support on i.mx6 family.
Signed-off-by: Robin Gong <b38343@freescale.com>
Anson Huang [Mon, 31 Aug 2015 17:13:59 +0000 (01:13 +0800)]
MLK-11461-2 ARM: dts: imx6ul: add LDO enable dtb for 9x9 evk board
Add LDO enable dtb for i.MX66UL-9x9-EVK board for those customers
who want to use ldo enable mode.
Conflicts:
arch/arm/boot/dts/Makefile
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
7e6c509e6ca1c4e83f72339f5bfb1ebb410d77ef)
Anson Huang [Mon, 31 Aug 2015 17:04:14 +0000 (01:04 +0800)]
MLK-11461-1 ARM: dts: imx6ul: add LDO bypass support for 9x9 EVK
i.MX6UL-9x9-EVK board has PFUZE3000, enable LDO bypass support.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
5118bf0b755a0b4fbd1f2999f3aa023208c8de82)
Anson Huang [Mon, 17 Aug 2015 12:53:38 +0000 (20:53 +0800)]
MLK-11366-2 ARM: imx: add suspend/resume support for imx6ul lpddr2
This patch adds suspend/resume with Mega/Fast mix off
support for i.MX6UL-9x9-LPDDR2-EVK board, LPDDR2 has
different MMDC restore flow compared to DDR3.
Conflicts:
arch/arm/mach-imx/pm-imx6.c
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
d5d3915aac04c2a80827d215d703e0f46309ed14)
Anson Huang [Mon, 17 Aug 2015 14:09:16 +0000 (22:09 +0800)]
MLK-11366-1 ARM: dts: imx6ul: add 9x9-lpddr2-evk board
Add i.MX6UL-9x9-LPDDR2-EVK board support.
Conflicts:
arch/arm/boot/dts/Makefile
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
d68759b1d9d769c83816d327fbeb1d85762a8e79)
Shawn Xiao [Tue, 22 Sep 2015 08:41:11 +0000 (16:41 +0800)]
MGS-955-3 GPU module integration
Fixed wrong symbols of GPU in mxc/Makefile.
Date Sep 22, 2015
Signed-off-by: Shawn Xiao <b49994@freescale.com>
Fancy Fang [Mon, 21 Sep 2015 07:37:08 +0000 (15:37 +0800)]
MLK-11594 video: mxsfb: correct the pm runtime logic
The pm power's usage_count should be first added by
one before putting it into suspend state. Otherwise
the usage_count will be negative and the power cannot
be put into suspend state correctly.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit
a48460b41399112f5d3ae03b30e3f9e885346ff7)
Conflicts:
drivers/video/mxsfb.c
Bai Ping [Mon, 14 Sep 2015 10:30:43 +0000 (18:30 +0800)]
MLK-11537 ARM: dts: add setpoint setting for imx6ul-14x14-lpddr2-arm board
On i.MX6UL, the VDD_ARM_IN and VDD_SOC_IN use the same power rail
VDD_ARM_SOC_IN. For imx6ul-14x14-lpddr2-arm2 board, default, we use
ldo-bypass mode and use the external PMIC regulator for cpufreq.so
on this board, should use the setpoint of ldo-bypass mode.
Signed-off-by: Bai Ping <b51503@freescale.com>
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
(cherry picked from commit
d924e23fa60023bdbc601797ccda30c2c341a34a)