Luwei Zhou [Thu, 18 Sep 2014 05:15:43 +0000 (13:15 +0800)]
MLK-11474 ARM: dts: i.mx6sl-evk: Add mma8450 sensor dts support on i.MX6SL-EVK platform.
Support MMA8450 sensor on i.MX6SL-EVK
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Fugang Duan [Tue, 1 Sep 2015 05:31:31 +0000 (13:31 +0800)]
MLK-11471-03 imx_v7_defconfig: enable isl29023 by default
Enable isl29023 driver in default config.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Tue, 1 Sep 2015 05:29:18 +0000 (13:29 +0800)]
MLK-11471-02 ARM: dts: i.mx6q/dl/sx: Add isl29023 device tree support.
Add isl29023 sensor device tree support on i.MX6Q/DL/SX platform.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Luwei Zhou [Wed, 17 Sep 2014 02:50:08 +0000 (10:50 +0800)]
MLK-11471-01 input: misc: isl29023: Add isl29023 driver support on i.MX6Q/DL/SX platform.
Add isl29023 driver support for i.MX6Q/DL/SX platform. The code derives from 3.10.y branch.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit:
b0134420bba0022151499f1bb15e0d5daba970fa)
Luwei Zhou [Thu, 6 Mar 2014 07:47:47 +0000 (15:47 +0800)]
MLK-11476 iio: adc: Enable i.MX6SX adc driver.
Enable i.MX6SX adc driver. ADC driver will try getting ADC controller
channel number via device tree, because i.MX chip enable 4 channels
on each controller.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit
14a6a98f64e26702b1c0ecfc7d58a45ee5752d54)
Fugang Duan [Tue, 1 Sep 2015 05:02:49 +0000 (13:02 +0800)]
MLK-11470 ARM: dts: i.mx6q/dl/sx: Add mag3110 device tree support.
Add mag3110 sensor device tree support on i.MX6Q/DL/SX platform.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Tue, 1 Sep 2015 03:31:14 +0000 (11:31 +0800)]
MLK-11469-02 ARM: dts: i.mx6q/dl/sx: Add mma8451 device tree support.
Add mma8451 sensor device tree support on i.MX6Q/DL/SX platform.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
luweizhou [Mon, 15 Sep 2014 08:20:10 +0000 (16:20 +0800)]
MLK-11469-01 hwmon: mma8451: Add mma8451 driver support on i.MX6Q/DL/SX platform.
Add mma8451 driver support for i.MX6Q/DL/SX platform. The code derives from 3.10.y branch.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit:
69e1811b92ed7b3dc2f1db0a9447a8570dd16231)
Fugang Duan [Tue, 1 Sep 2015 03:11:27 +0000 (11:11 +0800)]
MLK-11468 input: mma8450: evbug module will keep print message.
evbug will open the mma8450 on i.MX6SL_EVK and mma8450 will work in 2G mode by default.
That is the reason why mma8450 logs will be printed out. The main changes is below:
* Remove the open(), close() hook out of the drivers. The open() and close()
hook in input framwork is defined as void type. It isn't strictly safe in
logic when some error happends. So remove them out.
* Modify the mma8450 to standby mode by default. It will be more power saving
and there would be no log printing out after booting up.
* Provide the sys interface to modify the mma8450 work modes. Then the higher
layer can modify the the mma8450 work mode via the interface. It would be
much safer.There would be a sclaemode interface in the folder of
/sys/devices/soc0/soc.1/
2100000.aips-bus/
21a0000.i2c/i2c-0/0-001c/scalemode
User can use cat to read the current scalemode and echo to write. The mode
is defined as: MODE_STANDBY: 0 MODE_2G:1 MODE_4G:2 MODE_8G:3
* Add mutex to protect and some error handling.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit
c51a786078fd569ce95eb6dcf09c76d1b3c0f172)
Luwei Zhou [Tue, 3 Sep 2013 09:32:55 +0000 (17:32 +0800)]
MLK-11467 input: mma8450: Add chip id check in probe
Add chip ID check in probe function. The mma8450 is
on the E-INK daughter board. When the daughter board
is not pluged, there would be polling error log
continuously. Add the check to avoid this.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit
e9f2c4cf673dee1527925f30a9f3fd137d9799ad)
Fugang Duan [Tue, 1 Sep 2015 02:42:17 +0000 (10:42 +0800)]
MLK-11466 ARM: imx_v7_defconfig: Compile MLB to module
Modify the compile MLB driver as a module.
Signed-off-by: Luwei Zhou <b45643@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit:
9fc5d78ac840d585ccea7cd5f6970aee8cc6e954)
Fugang Duan [Tue, 1 Sep 2015 02:31:35 +0000 (10:31 +0800)]
MLK-11456-02 ARM: dts: imx7d-12x12-lpddr3-arm2: enable uart3 for bt in lpsr mode
Enable uart3 for bt in lpsr mode.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 03:39:15 +0000 (11:39 +0800)]
MLK-11456-01 tty: serial: imx: add pinctrl sleep mode support
For LPSR mode, UART iomux settings will be lost after resume,
so add pinctrl sleep mode support.
Signed-off-by: Anson Huang <b20788@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 10:32:00 +0000 (18:32 +0800)]
MLK-10096 ARM: dts: imx6qdl: add enet ENET_REF_CLK pin set for sabreauto board
Add enet RGMII ENET_REF_CLK pin set for sabreauto board.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit:
3e4c0a2aec2473f577f807786f21e7641df16d61)
Fugang Duan [Wed, 14 Jan 2015 07:10:56 +0000 (15:10 +0800)]
MLK-10094 ARM: dts: imx6sx: correct the uart compatible string
Correct the uart compatible string.
Signed-off-by: Fugang Duan <B38611@freescale.com>
(cherry picked from commit:
1fc2d4c41ffbd00ba3d10038a321983879741df3)
Fugang Duan [Mon, 31 Aug 2015 10:24:55 +0000 (18:24 +0800)]
MLK-10072 ARM: dts: imx6sx: add uart2/5 support for imx6sx-sabreauto board
Add uart2 and uart5 support for imx6sx-sabreauto board.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 10:01:54 +0000 (18:01 +0800)]
MLK-11462 ARM: dts: imx6sx: add fec support for i.MX6SX arm2 and auto boards
Add fec support for i.MX6SX arm2 and auto boards.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 08:22:19 +0000 (16:22 +0800)]
MLK-11460 ARM: dts: imx6sx: enet RGMII TXCLK output drive strength is weak
The current enet RGMII TXCLK rise/fall time which could be observed(~0.85ns)
is longer than requirement (<=0.75ns).
The current setting, SPEED/DSE/SRE=10/110/1 is used, and then it needs to
increase DSE to 111 "37 Ohm @ 3.3V, 21 Ohm@1.8V, 34 Ohm for DDR". After the
change RGMII TXCLK match the spec requirement.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 08:10:48 +0000 (16:10 +0800)]
MLK-11459 ARM: imx: add uart clk parent from OSC support
when kernel command line has "uart_from_osc" defined, set uart1
parent clock to OSC for low power case.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 07:37:36 +0000 (15:37 +0800)]
MLK-11458 ARM: dts: imx6sx: enable fec2 MAC multiqueue
Enable fec2 MAC multiqueue.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Tue, 9 Sep 2014 06:53:13 +0000 (14:53 +0800)]
MLK-11457-04 ARM: dts: imx6qdl: add uart3 pad set for sabreauto board
Add imx6qdl-sabreauto board uart3 DTE pad set. To avoid a flood of
dts files, there comment out DTE pinctrl set. If user want to test
DTE mode, it needs to rebuild the DTB file.
(cherry picked from commit
dc6028b08c6bd718d57866a1714f3977ba7820d3)
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Tue, 9 Sep 2014 06:43:21 +0000 (14:43 +0800)]
MLK-11457-03 ARM: dts: imx6sl-evk: add uart4 support
Add uart4 DCE and DTE pinctrl set. Since there have pin confliction,
so add new dts file. To avoid a flood of dts files, there comment out
DTE pinctrl set. If user want to test DTE mode, it needs to rebuild
the DTB file.
(cherry picked from commit
a3602fa5796bb86ba432474220389ec712bde92a)
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Tue, 9 Sep 2014 06:36:12 +0000 (14:36 +0800)]
MLK-11457-02 ARM: dts: imx6q: add uart5 dte set for sabresd board
Add uart5 DTE mode pinctrl set for imx6q-sabresd board. Since there
have pin confliction, so add new dts file.
(cherry picked from commit
d63b40d5b1b05992d2328ef0bdc80ec5d96f2dce)
Signed-off-by: Fugang Duan <B38611@freescale.com>
Fugang Duan [Mon, 31 Aug 2015 06:51:03 +0000 (14:51 +0800)]
MLK-11457-01 ARM: dts: imx6sx: add uart5 dte pad set for imx6sx-sdb board
Add imx6sx-sdb baord uart5 DTE pad set. To avoid a flood of dts files,
there only comment out DTE pinctrl set. If user want to test DTE mode,
it needs to rebuild the DTB file.
Signed-off-by: Fugang Duan <B38611@freescale.com>
Gao Pan [Thu, 13 Aug 2015 09:32:47 +0000 (17:32 +0800)]
MLK-11442 mlb: imx: add mlb support on imx_4.1.y
Add mlb support on imx_4.1.y. The files are copied from imx_3.14.y.
Signed-off-by: Gao Pan <b54642@freescale.com>
Gao Pan [Fri, 14 Aug 2015 06:06:52 +0000 (14:06 +0800)]
MLK-11441 ARM: dts: add mlb support
Add mlb in imx6qdl-sabreauto.dtsi and imx6qdl.dtsi
on branch imx_4.1.y
Signed-off-by: Gao Pan <b54642@freescale.com>
Hongzhang Yang [Tue, 25 Aug 2015 09:10:03 +0000 (17:10 +0800)]
MLK-11440-2 Integrate VPU driver to kernel 4.1
Include 3.14 VPU driver with no change
Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
Hongzhang Yang [Tue, 25 Aug 2015 09:10:42 +0000 (17:10 +0800)]
MLK-11440-1 Integrate VPU driver to kernel 4.1
- Include 3.14 VPU node with no change
- Disable coda960 VPU node to avoid conflict
Signed-off-by: Hongzhang Yang <Hongzhang.Yang@freescale.com>
Zidan Wang [Thu, 27 Aug 2015 08:49:07 +0000 (16:49 +0800)]
MLK-11435 ASoC: fsl_mqs: add snd_soc_pm_ops for mqs machine driver
add snd_soc_pm_ops for mqs machine driver to make the trigger
suspend/resume be called in suspend/resume.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
7887d4d9ab461f8d1d67f62c6cbc032e082193c2)
Shengjiu Wang [Thu, 27 Aug 2015 03:32:58 +0000 (11:32 +0800)]
MLK-11429-28: ARM: imx_v7_defconfig: build in cs42888 and si476x
enable cs42888 and si476x sound card
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Thu, 27 Aug 2015 05:59:10 +0000 (13:59 +0800)]
MLK-11429-26: ASoC: fsl: imx-si476x: tdm_slot is changed in fsl_ssi
The fsl_ssi revert the mask in tdm_slot, so machine use 1 present enable
not 0.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Thu, 11 Sep 2014 02:57:18 +0000 (10:57 +0800)]
MLK-11429-25: ARM: dts: enable fm for imx6qdl-sabreauto
enable fm for imx6qdl-sabreauto
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Wed, 26 Aug 2015 10:47:42 +0000 (18:47 +0800)]
MLK-11429-24: ARM: dts: use imx-cs42888 to enable cs42888-audio
enable cs42888-audio for imx6qdl-sabreauto
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Thu, 5 Mar 2015 08:52:41 +0000 (16:52 +0800)]
MLK-10375: ARM: dts: Enable dual fifo for ssi in imx6
There is a specific DMATYPE (IMX_DMATYPE_SSI_DUAL) for ssi
dual fifo mode.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
26fbde0839ec018d02fdb9c5b7c10808a583596a)
Zidan Wang [Fri, 31 Jul 2015 09:02:48 +0000 (17:02 +0800)]
MLK-11305 radio-si476x: support set V4L2_CID_AUDIO_MUTE CTRL
By using gstreamer plugin v4l2radio, it will call VIDIOC_S_CTRL with
V4L2_CID_AUDIO_MUTE, but return failed.
So add V4L2_CID_AUDIO_MUTE CTRL support for radio-si476x.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
c18520adfd6de40dcc0659ddd778b0a2bd383cd4)
Zidan Wang [Tue, 28 Jul 2015 01:48:43 +0000 (09:48 +0800)]
MLK-11291 radio-si476x: initialize local variable rangelow and rangehigh before using them
When transfer rangelow and rangehigh from user space, the local variable
rangelow and rangehigh will not be initialized before using them.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
c326f56005f0ee3d0c1fd6ebdebabda919c278dd)
Shengjiu Wang [Thu, 28 May 2015 06:57:33 +0000 (14:57 +0800)]
MLK-10899: ASoC: si476x: add startup/shutdown to powerup/down FM
The hw parameter is set failed for si476x if si476x is not powerup,
the codec use the default value of this module. So add startup/shutdown
to powerup/powerdown FM, then we can set parameter successfully.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
796665760605e020e6835f13db6ce49e0a0e03f5)
Shengjiu Wang [Wed, 24 Dec 2014 08:51:22 +0000 (16:51 +0800)]
MLK-10055-2: mfd: si476x-i2c: sound is registered when no FM module attached
The si476x_core_get_revision_info will send i2c command to FM module, if it
return error, there is no FM modules attached, so we need't to register the
sound card. otherwise, the pulseaudio will access this sound card, but return
a lot of i2c error.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
4c8e9916128f05f9b4115e1ee1af4a1e7d800c4a)
Shengjiu Wang [Wed, 24 Dec 2014 08:08:45 +0000 (16:08 +0800)]
MLK-10055-1: ASoC: imx-cs42888: when codec probe failed, alsa return RETRY error.
If there is no codec device, the machine driver will not register the
card. then alsa will not return RETRY error. update the error handling
for machine driver.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
01ffd8e5e828d20214a196e64b981c9fd94c913e)
Zidan Wang [Fri, 19 Dec 2014 03:13:01 +0000 (11:13 +0800)]
MLK-10038-1: mfd: si476x-i2c: Add support of si476x-rev4.0 board
Currently, si476x-rev1.0 and si476x-rev4.0 board just support A10 compatible
command set. For si476x-rev1.0 board, its firmware revision is unsupported and
will revert to A10 compatible function. For si476x-rev4.0 board, its firmware
revision is two and will use A30 function, but A30 command set function can't
work for the rev4.0 board.
So make the command set configurable in dts. If "revision-a10" is present,
set the revision to SI476X_REVISION_A10 to use A10 compatible commit set.
Otherwise, get the revision from si476x register.
Signed-off-by: Zidan Wang <b50113@freescale.com>
(cherry picked from commit
b648714c3b71ee084188ae04b1e6a6f2554fe2cb)
Shengjiu Wang [Mon, 13 Oct 2014 03:27:12 +0000 (11:27 +0800)]
MLK-9684-3: ASoC: imx-si476x: SRCK and SRFS is used for fm in imx6sx
Configure the aumux port to output SRCK and SRFS from STCK and STFS
of internal port when use the SYN mode.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
f4428f5617916863b5410afea5614cc52190f1a8)
(cherry picked from commit
5335e2a2d5f0f2e1b96aa920425203912b1e34d9)
Shengjiu Wang [Mon, 13 Oct 2014 03:26:02 +0000 (11:26 +0800)]
MLK-9684-2: ASoC: imx-si476x: remove the codec_name, use the codec_of_node
As the codec_name has a suffix, which is a index and is different
for different platform or different kernel. So here change machine driver
to use codec_of_node, which can be same for different platform/kernel,
then we can maintain a same machine driver for fm.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
e87b135f34cba5cfcd0614b045d4035118fb6d77)
(cherry picked from commit
b1dc86a327d96e431c2a55cc6744c6c3bc6b84af)
Shengjiu Wang [Mon, 13 Oct 2014 03:10:27 +0000 (11:10 +0800)]
MLK-9684-1: mfd: si476x-i2c: add of_compatible for si476x-codec
Add of_compatible for si476x-codec, then si476x-codec driver will have
codec_of_node, So machine driver can use the codec_of_node.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
e2ec44f91a21b127e155e8317d06e8ead7fd2678)
(cherry picked from commit
ac6decaf5414e784ae81a524edc2f32060061b59)
Shengjiu Wang [Tue, 18 Nov 2014 06:20:55 +0000 (14:20 +0800)]
MLK-9866: mfd: si476x: FM will fail to open sometimes.
In commit
e856a0ebc23dcd2c933e3f902317652cc50f0067, we disabled
wait_event_timeout for CMD_POWER_DOWN, which will cause power down
failed sometimes, then FM will fail to reopen.
In this patch enable the wait_event_timeout for power down.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
30aa7f1a3580d0a5bc866c624d1da441fd5502c1)
(cherry picked from commit
2b1990fee264d805fcdc0005dcf8b5b63b261d51)
Nicolin Chen [Thu, 29 Aug 2013 06:35:44 +0000 (14:35 +0800)]
MLK-11429-23: mfd: si476x: Use default configuration when no platform data
cherry-pick below patch from imx_3.14.y
ENGR00276567-6 mfd: si476x: Use default configuration when no platform data
This would allow the driver to work normally without specific platform data,
when using devicetree for example.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit
23e369b88b546d7b699ca9ec46e195a05c61b717)
(cherry picked from commit
a2449e1d303e341f32556fb7f4ebc7dcbdd9ead1)
Nicolin Chen [Thu, 29 Aug 2013 06:25:22 +0000 (14:25 +0800)]
MLK-11429-22: mfd: si476x: Fix power up failure
cherry-pick below patch from imx_3.14.y
ENGR00276567-4 mfd: si476x: Fix power up failure
This's some logical error in power-up code, thus fix it.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit
77d97ad1bb77c0e3c60b9781a06b61d4b4667de1)
(cherry picked from commit
b656522da2685ef9a4da2229b6786d5cd0c12189)
Shengjiu Wang [Fri, 5 Sep 2014 06:55:04 +0000 (14:55 +0800)]
MLK-11429-21: ASoC: fsl: port si476x machine driver from imx_3.10.y
cherry-pick below patch from imx_3.14.y
ENGR00330403-3: ASoC: fsl: port si476x machine driver from imx_3.10.y
Port si476x machine dirver for i.MX series SoC and binding doc from imx_3.10.y
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
05a68db09806fe5b0aa927dd94cf69b1b0c0fa5a)
Shengjiu Wang [Tue, 27 Jan 2015 08:44:34 +0000 (16:44 +0800)]
MLK-10161-3: ARM: imx6sx: Add SPDIF_GCLK clock in clock tree
As spdif driver will register SPDIF clock to regmap, regmap will do
clk_prepare in init function, so SPDIF clock is prepared in probe, then its
root clock (pll clock) is prepared also, which cause the arm can't enter
low power mode.
Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF clock.
Its root clock is ipg clock, and register it to regmap, then the issue can be
fixed.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
3f8999cdb4fabed4f720c6ee23947e19c8fff83f)
Shengjiu Wang [Tue, 27 Jan 2015 08:24:53 +0000 (16:24 +0800)]
MLK-10161-1: ARM: imx6q: Add SPDIF_GCLK clock in clock tree
As spdif driver will register SPDIF clock to regmap, regmap will do
clk_prepare in init function, so SPDIF clock is prepared in probe, then its
root clock (pll clock) is prepared also, which cause the arm can't enter
low power mode.
Add SPDIF_GCLK in clock tree which share same gate bits with SPDIF clock.
Its root clock is ipg clock, and register it to regmap, then the issue can be
fixed.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
90d3a7c5da7b17f5bd88a906b54473468fa08991)
Shengjiu Wang [Mon, 4 Aug 2014 08:46:01 +0000 (16:46 +0800)]
MLK-11429-21: ASoC: imx-cs42888: port cs42888 machine driver from imx_3.10.y
cherry-pick below patch from imx_3.14.y
ENGR00330403-1: ASoC: imx-cs42888: port cs42888 machine driver from imx_3.10.y
Port the cs42888 machine driver from imx_3.10.y and do update according to
new esai driver and asrc driver.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
7ed3aac83630a38eb397ed92f815a28e07198748)
Shengjiu Wang [Fri, 31 Jul 2015 09:48:53 +0000 (17:48 +0800)]
MLK-11301: ASoC: cs42xx8: can't set volume 255 in idle mode
Volume 255 corresponding to register value 0, the value 0 is default
value. In regcache_sync(), when the cache value is equal to default
value, this register will be skipped. So volume 255 isn't set to
register successfully.
The correct fix is to add software reset in runtime_resume, but cs42xx8
has no software reset, the hardware reset gpio pin is used by all the
perpherial device in ARD base board. So need to use another method.
In order to fix it, need to cherry-pick two patch from master branch.
Which will sync all the registers include the register which cache value
equal the default value, And remove regcache_mark_dirty().
Add update value of one register to make the cache_dirty if user press
the hardware reset pin on the board, then need to regcache_sync.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
5c0cae19928f99ebc8adf0013df850ba5b41d6a8)
Shengjiu Wang [Wed, 27 May 2015 09:13:54 +0000 (17:13 +0800)]
MLK-11004-3: ASoC: cs42888: enable PWR in probe for fix pop noise
Delete PWR widget, enable it in probe to fix pop noise
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
4fdb40165706bba3de6aa47e6328136d1eb597fc)
Shengjiu Wang [Wed, 20 May 2015 10:01:00 +0000 (18:01 +0800)]
MLK-11004-1: ASoC: cs42888: Add regcache mask dirty in suspend
Add regcache mask dirty in suspend, otherwise the register is not
synced with cache in resume.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
9687aa5bbf5dd91b57f6e8b4b8ce69bf20e29c43)
Shengjiu Wang [Wed, 2 Jul 2014 09:24:45 +0000 (17:24 +0800)]
MLK-11429-20: ASoC: cs4xx8: fix the setting of Functional mode
cherry-pick below patch from imx_3.14.y
ENGR00320849-1 ASoC: cs4xx8: fix the setting of Functional mode
Failed case:
arecord -Dhw:0,1 -f S16_LE -r 96000 -c 2 -traw | aplay -Dhw:0,0 -f
S16_LE -r 96000 -c 2 -traw.
There is no sound when use this case.The reason is that the setting
of Functional mode is not correct.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
be1ef3bb8da5c263345ebdad4a7c218a095d0f48)
(cherry picked from commit
c2dfac6c09bc1fcb044022bcdaea450707feda4c)
Shengjiu Wang [Mon, 22 Sep 2014 08:54:45 +0000 (16:54 +0800)]
MLK-11429-19: ARM: dts: imx6qdl: refine spdif support in devicetree
cherry-pick below patch from imx_3.14.y
ENGR00332688: ARM: dts: imx6qdl: refine spdif support in devicetree
Add sysclk and spba clock, and assigned-clocks
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Tue, 19 May 2015 05:34:51 +0000 (13:34 +0800)]
MLK-10903-2: ASoC: imx_spdif: add snd_soc_pm_ops
Add snd_soc_pm_ops in machine driver to make the trigger suspend/resume
be called in suspend/resume. Remove platform_set_drvdata for redundance,
When register card, it has been called.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
fe21119eed18804b2bc7c47216b6f4478de0268d)
Shengjiu Wang [Tue, 19 May 2015 05:34:32 +0000 (13:34 +0800)]
MLK-10903-1: ASoC: fsl_spdif: remove cache only in suspend/resume
In imx6qp, there is no mega fast. After suspend, but before resume,
there will be spdif interrupt, if set cache only in suspend, then we
can't clear the interrupt, because regmap_write only write to cache.
So the system will hang for the interrupt can't be cleared.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
2a6a522c86d6c0fe80023c4327ca7ce4792035c8)
Shengjiu Wang [Mon, 8 Dec 2014 07:20:41 +0000 (15:20 +0800)]
MLK-10048-5: ASoC: fsl_asrc: underrun for playback 192k, 6ch p2p case.
For p2p output, the output divider should align with the output sample
rate, if use the Ideal sample rate, there will be a lot of overload, which
will cause underrun.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
5ab043f1a020ae8c3aeb3d91f6894bbd6a6ec147)
Shengjiu Wang [Mon, 8 Dec 2014 05:03:17 +0000 (13:03 +0800)]
MLK-10048-1: ASoC: fsl_asrc: add protection the old version asrc
The latest asrc's channel bits is 4, bit the old asrc's channel bits is 3.
So here add protection for when using the old version asrc.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
e282d8825217c6f4ece4f9dcc2efa3421ea22b4b)
Nicolin Chen [Wed, 9 Apr 2014 03:24:51 +0000 (11:24 +0800)]
MLK-11429-16: ASoC: fsl_asrc: Add delay after enabling ASRC p2p
cherry-pick below patch from imx_3.14.y
ENGR00307592 ASoC: fsl_asrc: Add delay after enabling ASRC p2p
When using ASRC p2p as a for-end with other back-end modules like ESAI,
it'd be safer to add 1ms delay, less might be futile for extreme cases,
after enabling ASRC so as to keep ASRC output FIFO with enough data to
content the DMA burstsize of back-ends and accordingly prevent underrun
that might happen to them.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
(cherry picked from commit
c68c1874c07c30a3483eed70fb2abe82e19d1d20)
Shengjiu Wang [Mon, 3 Nov 2014 08:47:17 +0000 (16:47 +0800)]
MLK-9782: ASoC: fsl_esai: fix the channel swap issue in low possibility
There is very low possibility that channel swap happened in beginning when
multi output/input pin is enabled. The issue is that hardware can't send data
to correct pin in the begginning with the normal enable flow.
Here use TSMA/TSMB as the trigger for sending data to workaround this issue.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
859b0fc4544bef30e269b4f6a81999db1d07a42d)
(cherry picked from commit
576df2aafc1b5a5b9c596a54bb276b2472e72ff5)
Shengjiu Wang [Wed, 29 Oct 2014 07:47:35 +0000 (15:47 +0800)]
MLK-9760: ASoC: fsl_esai: fix NULL pointer issue in reset handler
When test with case arecord -Dhw:0,1 | aplay -Dhw:0,0, xrun happened,
the reset handler will be called, but for BE(backend) stream, the
substream->ops is null.
This patch is to fix this null pointer issue.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
4db112a8cd3caf5a553afea88cf7fe8d9781f459)
(cherry picked from commit
cf060b0f735d0fadadda2dc03d0b38e96ca7ffe2)
Nicolin Chen [Thu, 15 May 2014 10:53:25 +0000 (18:53 +0800)]
MLK-11429-15: ASoC: imx-audmux: Add driver suspend and resume to support MEGA Fast
cherry-pick below patch from imx_3.14.y
ENGR00318773-10 ASoC: imx-audmux: Add driver suspend and resume to support MEGA Fast
For i.MX6 SoloX, there is a mode of the SoC to shutdown all power source of
modules during system suspend and resume procedure. Thus, AUDMUX needs to
save all the values of registers before the system suspend and restore them
after the system resume.
Acked-by: Wang Shengjiu <b02247@freescale.com>
Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
(cherry picked from commit
3f3781143ba2800f7e3e46dbecc0c7a76d22a146)
Shengjiu Wang [Fri, 9 Aug 2013 06:45:51 +0000 (14:45 +0800)]
MLK-11429-11: ASoC: change error message to debug message
cherry-pick below patch from imx_3.14.y
ENGR00274585-9 ASoC: change error message to debug message
This error message is not actual error, which is a warning. When using
FE/BE, if there is widget which is used by playback and capture route, then
this message will be printed.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
ad60b0e03d058b57f2fd9538e1158da8eefcea1f)
Shengjiu Wang [Thu, 10 Apr 2014 02:11:00 +0000 (10:11 +0800)]
MLK-11429-10: ASoC: fsl: implement ASRC P2P xrun handler
cherry-pick below patch from imx_3.14.y
ENGR00307835-4 ASoC: fsl: implement ASRC P2P xrun handler
When ASRC P2P is working, it will check the xrun status of cpu dai
in the back end bistream. then will do Whole route stop and restart.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
28d18f23fe7577f613ad8cfb4699bba26178304b)
Shengjiu Wang [Mon, 14 Apr 2014 07:19:54 +0000 (15:19 +0800)]
MLK-11429-9: ASoC: fsl: implement the ESAI xrun handler.
cherry-pick below patch from imx_3.14.y
ENGR00307835-3 ASoC: fsl: implement the ESAI xrun handler.
When esai xrun happened, there is possibility of channel swap. So ESAI
need to be reset.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
440fbeee5bba4d4356a392ff35fe262774c48ea1)
Shengjiu Wang [Mon, 14 Apr 2014 06:58:05 +0000 (14:58 +0800)]
MLK-11429-8: ASoC: dmaengine: Add two function for dmaengine_pcm
cherry-pick below patch from imx_3.14.y
ENGR00307835-2 ASoC: dmaengine: Add two function for dmaengine_pcm
Add check_xrun and device_reset for dmaengine_pcm
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
405588f31e432e5c6634a0817e4d804ead87882b)
Shengjiu Wang [Tue, 3 Sep 2013 10:01:52 +0000 (18:01 +0800)]
MLK-11429-7: ASoC: fsl_spdif: add pm runtime for spdif
cherry-pick below patch from imx_3.14.y
ENGR00331799-8: ASoC: fsl_spdif: add pm runtime for spdif
Add pm runtime for spdif.
Signed-off-by: Shengjiu Wang <b02247@freescale.com>
(cherry picked from commit
91136d03edf45355b6b0075a486f78f573c97c52)
Shengjiu Wang [Fri, 19 Sep 2014 06:09:46 +0000 (14:09 +0800)]
MLK-11429-6: ASoC: fsl_ssi: pm_runtime for ssi
cherry-pick below patch from imx_3.14.y
ENGR00331799-7: ASoC: fsl_ssi: pm_runtime for ssi
ADD pm runtime for ssi.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
09f7a8aa7e417aaf837a4b9b8b15874ad95765c2)
Shengjiu Wang [Wed, 17 Sep 2014 08:41:39 +0000 (16:41 +0800)]
MLK-11429-2: ARM: dts: imx6sx: update dts for asrc
cherry-pick below patch from imx_3.14.y
ENGR00331799-3: ARM: dts: imx6sx: update dts for asrc
As we use the upstreamed asrc driver in imx_3.14, the device tree need
to be updated.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
cb4b6694dfd9c6ad996fba09c2250b11cf46c555)
Shengjiu Wang [Tue, 16 Sep 2014 11:18:49 +0000 (19:18 +0800)]
MLK-11429-1: ASoC: fsl_spdif: don't change the root clock rate of spdif in driver
cherry-pick below patch from imx_3.14.y
ENGR00331799-2 ASoC: fsl_spdif: don't change the root clock rate of spdif in driver
The spdif root clock may be used by other module or defined with
CLK_SET_RATE_GATE, so we can't change the clock rate in driver.
In this patch remove the clk_set_rate and clk_round_rate to protect the
clock.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
c77170b2c9a9737f6fd61a5ea85a43b90e8ef02b)
Shengjiu Wang [Wed, 26 Aug 2015 08:54:23 +0000 (16:54 +0800)]
MLK-11424: dmaengine: imx-sdma: slave_sg can't work after running cyclic
After running asrc p2p, then asrc m2m can't work. It is caused by the
sdmac->flags isn't reset after running. then sdma_int_handler go to
wrong branch.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Zidan Wang [Wed, 26 Aug 2015 08:16:38 +0000 (16:16 +0800)]
MLK-11422 ARM: dts: imx7d-12x12-lpddr3-arm2: add mqs sound card support
add mqs sound card support
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Shengjiu Wang [Mon, 8 Jun 2015 07:55:04 +0000 (15:55 +0800)]
MLK-11053: ASoC: imx_mqs: Remove 96k and 192k support for mqs
If the mclk is 24.576MHz, mqs can't support 96k and 192kHz, because
the we can't get a proper clock divider for mqs.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Wed, 29 Apr 2015 05:21:37 +0000 (13:21 +0800)]
MLK-10775-2: ASoC: imx-mqs: add asrc p2p support in sai->mqs
add asrc p2p support in sai->mqs
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Zidan Wang [Thu, 2 Apr 2015 09:48:48 +0000 (17:48 +0800)]
MLK-10108-2: ASoC: imx-mqs: set tdm slot in hw_params() for sai master mode
Set tdm slot in hw_params() for sai master mode.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Shengjiu Wang [Tue, 31 Mar 2015 10:17:35 +0000 (18:17 +0800)]
MLK-10515-2: ASoC: fsl_mqs: Move clk get_rate to hw_param
It is too early to put clk get rate in probe, because the rate for
the clock may not be ready.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Shengjiu Wang [Tue, 21 Oct 2014 07:15:16 +0000 (15:15 +0800)]
MLK-9723-7: ARM: imx_v7_defconfig: build in mqs
enable mqs sound card.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
21cf6e439bdf9a0cf287b1dd04ceb56d0486167d)
Shengjiu Wang [Tue, 21 Oct 2014 06:28:14 +0000 (14:28 +0800)]
MLK-9723-5: ASoC: imx-mqs: add mqs machine driver
Implement machine driver for mqs, which use the sai as cpu dai.
sai work on master mode.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
cac9eb41debc6444d753dc936cdf76874260b9e4)
Shengjiu Wang [Mon, 29 Sep 2014 02:56:03 +0000 (10:56 +0800)]
MLK-9723-4: ASoC: fsl_mqs: add mqs codec driver
Implement codec driver for mqs. mqs is a very simple IP. which support:
Word length: 16bit.
DAI format: Left-Justified, slave mode.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
9da6bdd2072b850e9bb910512123eff7d80a0e2f)
Shengjiu Wang [Mon, 29 Sep 2014 02:56:56 +0000 (10:56 +0800)]
MLK-9723-3: include: imx6q-iomuxc-gpr: add bit description for MQS
Add MQS's bit description in gpr header file.
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
1e576de4b46a0fadd1c8df7f08229ac759e765f5)
Zidan Wang [Wed, 26 Aug 2015 07:42:39 +0000 (15:42 +0800)]
MLK-11420 ARM: dts: imx7d-12x12-lpddr3-arm2: add sai<->WM8958 sound card support
add sai<->WM8958 sound card support
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Fancy Fang [Wed, 26 Aug 2015 06:41:10 +0000 (14:41 +0800)]
MLK-11421 video: mipi_dsi_samsung: add hx8369 wvga panel
Add hx8369 wvga panel driver for mipi dsi.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Nicolin Chen [Tue, 5 Nov 2013 11:23:58 +0000 (19:23 +0800)]
MLK-11418 misc: sram: Set default alignment to 4Kbytes
cherry-pick below patch from v3.14.y:
ENGR00286273-2 misc: sram: Set default alignment to 4Kbytes
As Kernel 3.0.35 does, we set the default iram alignment to 4Kbytes,
although it would waste few memory space.
We here try to do this as an expediency because currently we couldn't
find a perfect solution for 4Kbytes alignment requirement from SDMA.
Signed-off-by: Nicolin Chen <b42378@freescale.com>
(cherry picked from commit
cc35bf5bd3472efca29a0858c0ad468a63c60950)
Shengjiu Wang [Fri, 21 Aug 2015 05:01:17 +0000 (13:01 +0800)]
MLK-11392-1 ASoC: fsl_sai: Move pm runtime enable/disable out trigger function
When building kernel with CONFIG_DEBUG_ATOMIC_SLEEP=y, there will be
kernel dump.
BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:954
in_atomic(): 1, irqs_disabled(): 128, pid: 705, name: aplay
CPU: 0 PID: 705 Comm: aplay Not tainted
3.10.53-02755-gbee6071 #1472
[<
80013f4c>] (unwind_backtrace+0x0/0xf8) from [<
800119c0>] (show_stack+0x10/0x14)
[<
800119c0>] (show_stack+0x10/0x14) from [<
8031fd68>] (__pm_runtime_resume+0x88/0x90)
[<
8031fd68>] (__pm_runtime_resume+0x88/0x90) from [<
80509ba8>] (fsl_sai_trigger+0x98/0x300)
[<
80509ba8>] (fsl_sai_trigger+0x98/0x300) from [<
804fef9c>] (soc_pcm_trigger+0x90/0xa0)
[<
804fef9c>] (soc_pcm_trigger+0x90/0xa0) from [<
804eae60>] (snd_pcm_do_start+0x2c/0x30)
[<
804eae60>] (snd_pcm_do_start+0x2c/0x30) from [<
804eaad8>] (snd_pcm_action_single+0x38/0x78)
[<
804eaad8>] (snd_pcm_action_single+0x38/0x78) from [<
804eada8>] (snd_pcm_action_lock_irq+0x84/0xa4)
[<
804eada8>] (snd_pcm_action_lock_irq+0x84/0xa4) from [<
804eba58>] (snd_pcm_common_ioctl1+0x16c/0xd68)
[<
804eba58>] (snd_pcm_common_ioctl1+0x16c/0xd68) from [<
804ecc8c>] (snd_pcm_playback_ioctl1+0x158/0x4d0)
[<
804ecc8c>] (snd_pcm_playback_ioctl1+0x158/0x4d0) from [<
800d5bb8>] (do_vfs_ioctl+0x80/0x624)
[<
800d5bb8>] (do_vfs_ioctl+0x80/0x624) from [<
800d6198>] (SyS_ioctl+0x3c/0x5c)
[<
800d6198>] (SyS_ioctl+0x3c/0x5c) from [<
8000e200>] (ret_fast_syscall+0x0/0x30)
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
99095f3362bc53eb414dabbbe7da5778f3d54f25)
Fabio Estevam [Thu, 26 Feb 2015 06:28:20 +0000 (14:28 +0800)]
MLK-10337: ASoC: fsl_sai: Enable PM runtime support
request BUS_FREQ_AUDIO for SAI.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
2b869e1b16162d752c1345082d5d76b9bf720e88)
Zidan Wang [Mon, 17 Aug 2015 07:33:10 +0000 (15:33 +0800)]
MLK-11369-5 ARM: imx_v7_defconfig: enable WM8960 and WM8958 sound card, and ASRC
enable WM8960 and WM8958 sound card, and ASRC
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Tue, 10 Feb 2015 03:26:58 +0000 (11:26 +0800)]
MLK-11369-4 ASoC: imx-wm8958: port wm8958 machine driver from imx_3.14.y
port wm8958 machine driver from imx_3.14.y.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Mon, 17 Aug 2015 07:13:17 +0000 (15:13 +0800)]
MLK-11369-2 ARM: dts: add sai<->wm8960 sound card support for imx7d-sdb
add sai<->wm8960 sound card support for imx7d-sdb.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Mon, 3 Aug 2015 05:21:12 +0000 (13:21 +0800)]
MLK-11369-1 ASoC: imx-wm8960: port wm8960 machine driver from imx_3.14.y branch
port wm8960 machine driver from imx_3.14.y branch
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Zidan Wang [Fri, 26 Jun 2015 08:06:45 +0000 (16:06 +0800)]
MLK-11179 ASoC: fsl: implement specify audio DMA buffer size from devicetree
If the property "fsl,dma-buffer-size" is present, using the specified buffer size.
Otherwise, using the default audio buffer size.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
bba153dd92a4f58b81c4c26fb3a95c45445c65e0)
Zidan Wang [Fri, 10 Apr 2015 01:52:36 +0000 (09:52 +0800)]
MLK-10611-1 ASoC: fsl-sai: Just one device can playback(captrue) when using the same SAI
Just one device can playback(captrue) when using the same SAI.
Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
(cherry picked from commit
7981a488c4da440db21f0544b519b44636a0cabb)
Shengjiu Wang [Mon, 29 Dec 2014 05:40:08 +0000 (13:40 +0800)]
MLK-9974: ASoC: fsl_sai: There is underrun detected in the beginning sometimes
Write initial words to SAI FIFO to reduce underrun error
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit
7ba8ae883d84540fac5ed4147d124399537bc0b3)
(cherry picked from commit
f4435f35aa2a97551d2c4a12ca316c354a880f85)
Anson Huang [Mon, 24 Aug 2015 16:24:20 +0000 (00:24 +0800)]
MLK-11401-1 ARM: imx: correct mipi PGC power up/down flow
For SW power up/down mipi phy in GPC, below flow should
be executed:
1. map mipi phy to A7 domain;
2. enable mipi phy PGC bit if it is a disable operation;
3. do software power up/down request in GPC;
4. wait for the software request bit clear.
Previous flow is incorrect, as it miss #4 step, correct it.
Signed-off-by: Anson Huang <b20788@freescale.com>
(cherry picked from commit
707ed61de83e7cc1c7d7b15cc8a1c00bea0bc8d1)
Conflicts:
arch/arm/mach-imx/gpcv2.c
Fancy Fang [Wed, 24 Jun 2015 05:28:11 +0000 (13:28 +0800)]
MLK-11162 video: mipi_dsi_samsung: add runtime pm for mipi phy
Using runtime pm framework to control the mipi
phy on/off dynamically.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit
0dcb155067e95d8cdb0030584a2157034cae4701)
Conflicts:
drivers/video/mxc/mipi_dsi_samsung.c
Fancy Fang [Mon, 15 Jun 2015 08:52:55 +0000 (16:52 +0800)]
MLK-11113 video: mipi_dsi_samsung: add fastmix support when suspend
In 7D platform, the fastmix will power down MIPI DSI when
system doing suspend. So when system resume, the MIPI DSI
will be in the 'reset' state and all the registers should
be configured again.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
(cherry picked from commit
25ad2d6142962455ac0e515c1118b9c42bd13ffa)
Conflicts:
drivers/video/mxc/mipi_dsi_samsung.c
Fancy Fang [Tue, 25 Aug 2015 02:34:06 +0000 (10:34 +0800)]
MLK-11395-9 video: mipi_dsi_samsung: the initial code for samsung's mipi dsi
The initial source code for the new mipi dsi module which can
support the basic necessary functions(blank/unblank, set brightness
and etc). New functions can be added if required later.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Fancy Fang [Fri, 21 Aug 2015 09:10:23 +0000 (17:10 +0800)]
MLK-11395-8 video: mipi_dsi_samsung: add build support
Add build support for this new samsung's mipi dsi.
The old mipi dsi build option is removed from the
kernel default config. Instead, add the new mipi
dsi build option to the default config.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Fancy Fang [Fri, 21 Aug 2015 08:08:31 +0000 (16:08 +0800)]
MLK-11395-7 ARM: dts: imx7d-12x12-lpddr3-arm2: create an new dts for mipi dsi
Since mipi display and normal lcd display cannot exsit
together, an new dts should be created for the mipi
display.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>
Fancy Fang [Fri, 21 Aug 2015 07:57:16 +0000 (15:57 +0800)]
MLK-11395-6 ARM: dts: imx7d-12x12-lpddr3-arm2: add dts support for mipi dsi
Add mipi dsi dts support for imx7d-12x12-lpddr3-arm2 board.
Signed-off-by: Fancy Fang <chen.fang@freescale.com>