23 Feb, 2017
40 commits
-
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
(cherry picked from commit 74e71dd0aebb9e931f02aefa3dd1990cbe642ae4)
Signed-off-by: Haibo ChenConflicts:
Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt -
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
(cherry picked from commit 24b44a415df9a27036b843284a179448dcc5fe20)
Signed-off-by: Haibo ChenConflicts:
arch/arm/boot/dts/imx7d-sdb.dts -
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
(cherry picked from commit 6218cbcf34f5fb7910a824a8d31cc58819d0bd00) -
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
(cherry picked from commit bd9c14e24aaf67926dfd31bd819ab0c87129fe4b) -
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
(cherry picked from commit cf7df46e3b1d2142ff354498982194247bf07fea) -
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
(cherry picked from commit e64bbcd9243a17f9eba9cb3abb6f2c1939eae110) -
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
(cherry picked from commit d0126e42f46f6dad9ae8c6aa390b0e1bea76492e) -
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
-
Add pinctrl sleep mode support for usdhc, and enable usdhc in lpsr mode.
Signed-off-by: Haibo Chen
(cherry picked from commit 75b33d1a578abaed44b11a05187c19dedb25aad2)Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts -
For LPSR mode, usdhc iomux settings will be lost after resume,
so add pinctrl sleep mode support.Signed-off-by: Haibo Chen
(cherry picked from commit 983a7a174ed20d34a170a6aba70ff9d5bb2c9973) -
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
(cherry picked from commit 05f72329a3c288e15c2f187305a21815d6bffc6d)Conflicts:
drivers/mmc/host/sdhci-esdhc-imx.c -
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
(cherry picked from commit ebd90ea123d493935b559c05db0cd5b5db9d3c73) -
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 notThis 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.htmlThe 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
Signed-off-by: Dong Aisheng
(cherry picked from commit 35928d6c6a76a24a16edfa636f4c08293614a1e0) -
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
(cherry picked from commit 5ce2ad39b36fd48b9f77249198655da7cbcc7ee5)Conflicts:
include/linux/of.h -
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
Signed-off-by: Bai Ping -
i.MX6SX has MLB150, add support for it.
Signed-off-by: Anson Huang
(cherry picked from commit 99d374da7d49d45800821b28d55e032387f1cc67) -
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
(cherry picked from commit 5a2537095621da25c8967a0ccdbb8b0029e14c94) -
GPU is NOT just depending on i.MX6Q, enable it for all i.MX6 SOCs.
Signed-off-by: Anson Huang
(cherry picked from commit 06b8da5c28dc2fec0160bc60cc846d4910a05b41) -
i.MX6UL has SNVS power key, add support for it.
Signed-off-by: Anson Huang
(cherry picked from commit 095c876a12e27220cb91cb9dc376a20b6bf259e4) -
MIPI_CSI2 is necessary for modules build, enable it for all
i.MX6 and i.MX7 SOC.Signed-off-by: Anson Huang
(cherry picked from commit 2e2025df741a79620be9b96fa6fb0f2e2e40fdea) -
Enable MSX_DMA for all i.MX6 SOCs.
Signed-off-by: Anson Huang
(cherry picked from commit 70e7d05ca89fff0d4c8515cd3933b23082bb2eaf) -
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
-
4.1 kernel apply the followed patch:
commit 73e0e496afdac9a5190eb3b9c51fdfebcc14ebd4
clkdev: Always allocate a struct clk and call __clk_get() w/ CCFclock_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
-
Correct the parent clock for EPDC pixel clock to get desired clock rate.
Signed-off-by: Robby Cai
-
Add epdc support on i.MX6SoloLite EVK board.
Add 'compatible', 'clocks' property in common imx6sl.dtsi
enable pxp, pmic, epdc in imx6sl-evk.dtsSigned-off-by: Robby Cai
-
Add epdc support on i.MX6DL SabreSD board.
Add 'compatible', 'clocks' property in common imx6dl.dtsi
enable pxp, pmic, epdc in imx6dl-sabresd.dtsSigned-off-by: Robby Cai
-
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
-
Add epdc support on i.MX7D 12x12 LPDDR3 ARM2 board
Signed-off-by: Robby Cai
-
Enable epdc driver of both version
Signed-off-by: Robby Cai
-
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
-
Enable hwmon, mfd, regulator function
Signed-off-by: Robby Cai
-
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
-
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
(cherry picked from commit b436254cd55dc0d2ebb6d2ca7ce5f58520ea5dbc) -
After playback audio with saiwm8960 sound card, is_slave_mode
will be set, but it will not be cleared. So playback audio with
saisii902x sound card will have no voice.Signed-off-by: Zidan Wang
-
add saisii902x sound card support for imx7d-sdb board
Signed-off-by: Zidan Wang
-
Add 96k and 192k sample rate support for hdmi audio.
Signed-off-by: Zidan Wang
(cherry picked from commit fa94b89ab94ce78800d112d0a013d0c0901d9b78) -
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
(cherry picked from commit bac15c28c3b8a57fbe04ea80b8fb5eb47a0211f1) -
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
(cherry picked from commit 8dc359b46c81105efcd13007325d9cadc9a6214d) -
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
-
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
Conflicts:
arch/arm/mach-imx/busfreq_ddr3.c
arch/arm/mach-imx/pm-imx7.c