linux.git
6 years agoMLK-14451: arm: dts: Remove dts entry for sensors in imx7ulp-evk.dts
Adriana Reus [Wed, 12 Apr 2017 10:45:13 +0000 (13:45 +0300)]
MLK-14451: arm: dts: Remove dts entry for sensors in imx7ulp-evk.dts

Sensors are connected to M4 and not to A-Core.
Sensors will not be exposed to A-Core via standard
i2c interface but via an i2c proxy layer over rpmsg.

Remove the dts entry to avoid the probe error messages and
add a separate dts file for the case where someone wishes to
rework the board themselves and connect sensors for testing purposes.

Signed-off-by: Adriana Reus <adriana.reus@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14286-3 ARM: dts: imx7ulp-evk-hdmi: create the hdmi dts file
Fancy Fang [Tue, 28 Mar 2017 06:47:46 +0000 (14:47 +0800)]
MLK-14286-3 ARM: dts: imx7ulp-evk-hdmi: create the hdmi dts file

Create a new dts file 'imx7ulp-evk-hdmi.dts' to enable hdmi
display to avoids conflict with mipi dsi panel display. Use
endpoint to connect dsi controller and adv7535.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 86fb9340d01a4583628d465f29fba67df93c453c)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14286-2 ARM: dts: imx7ulp-evk: add dts support for ADV7535
Fancy Fang [Tue, 28 Feb 2017 07:08:53 +0000 (15:08 +0800)]
MLK-14286-2 ARM: dts: imx7ulp-evk: add dts support for ADV7535

ADV7535 is a low-power MIPI-DSI receiver with HDMI 1.4 compliant
transmitter. And it's an I2C device attached by lpi2c5.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 0bbfb671445d1f2d5037ea7168ebcb4699760095)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14286-1 ARM: dts: imx7ulp: add two new properties for mipi dsi node
Fancy Fang [Tue, 28 Feb 2017 06:52:48 +0000 (14:52 +0800)]
MLK-14286-1 ARM: dts: imx7ulp: add two new properties for mipi dsi node

Add the 'data-lanes-num' and 'max-data-rate' properties which
are used to describe this mipi dsi capabilities.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit bfe7d0e1c6931467f00a382e48aa592bf50c9339)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14594-2 ARM: dts: imx*: avoid duplicate names in lcdif node
Octavian Purdila [Fri, 7 Apr 2017 12:06:17 +0000 (15:06 +0300)]
MLK-14594-2 ARM: dts: imx*: avoid duplicate names in lcdif node

This patch fixes the following warning on various imx boards:

OF: Duplicate name in lcdif@......, renamed to "display#1"

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14238-05 ARM: dts: imx: Add PWM backlight support on i.mx7ulp evk
Bai Ping [Tue, 21 Mar 2017 04:08:27 +0000 (12:08 +0800)]
MLK-14238-05 ARM: dts: imx: Add PWM backlight support on i.mx7ulp evk

Add PWM backlight support on i.MX7ULP EVK board.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
[Octavian: fix checkpatch warnings]
Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14238-03 ARM: dts: imx: Add pwm device node in dtsi
Bai Ping [Tue, 21 Mar 2017 03:18:25 +0000 (11:18 +0800)]
MLK-14238-03 ARM: dts: imx: Add pwm device node in dtsi

Add pwm device node in dtsi file.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14450 ARM: dts: imx6ul-14x14-evk: remove duplicate i2c node
Octavian Purdila [Thu, 30 Mar 2017 10:13:31 +0000 (13:13 +0300)]
MLK-14450 ARM: dts: imx6ul-14x14-evk: remove duplicate i2c node

Commit 2c2a56059ff7e7e4 ("MLK-11407-8: ARM: dts: i.mx6sx/i.mx6ul: add
ldo-bypass support") was backported from imx_4.1.y and added a
duplicate i2c node which was already present upstream.

This patch removes the duplicated node and moves the difference
(clocks for wm8960) to the existing upstream node.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14580 ARM: dts: imx7d-arm2: enable fec1 and usdhc nodes
Octavian Purdila [Thu, 30 Mar 2017 14:04:04 +0000 (17:04 +0300)]
MLK-14580 ARM: dts: imx7d-arm2: enable fec1 and usdhc nodes

These devices are enabled on imx_4.1.y, enable them on imx_4.9.y as
well.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13756 ARM: dts: imx6sll-evk-btwifi: change the pad setting for sd3
Gao Pan [Fri, 13 Jan 2017 09:58:14 +0000 (17:58 +0800)]
MLK-13756 ARM: dts: imx6sll-evk-btwifi: change the pad setting for sd3

The pad setting suggested by HW team affects the normal function
of sdio wifi. This patch changes the pad setting for sd3.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14544 arm: dts: imx7ulp: correct earlycon port.membase address
Andy Duan [Wed, 29 Mar 2017 06:30:07 +0000 (14:30 +0800)]
MLK-14544 arm: dts: imx7ulp: correct earlycon port.membase address

Correct i.MX7ulp earlycon port.membase address for arm2 and evk
board dts file.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14505: dts: imx6ull-14x14-evk: Remove imx6ul-evk function node
Tiberiu Breana [Wed, 22 Mar 2017 09:58:25 +0000 (11:58 +0200)]
MLK-14505: dts: imx6ull-14x14-evk: Remove imx6ul-evk function node

Removed the unnecessary imx6ul-evk function node, as it was causing
a kernel panic at boot time due to an enumeration error.

Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14510: ARM: dts: imx6ull-14x14-ddr3-arm2: fix pfuze200 probe error
Robin Gong [Thu, 23 Mar 2017 03:34:40 +0000 (11:34 +0800)]
MLK-14510: ARM: dts: imx6ull-14x14-ddr3-arm2: fix pfuze200 probe error

SW3B fused to high voltage 0.8v~3.3v and the low voltage setting in
dts cause pfuze200 driver probe failed as below even if the pfuze
driver have already updated the voltage to the right 0.8v~3.3v.But the
issue not caught on v4.1 since it's common regualtor framework behavior.
Correct the SW3B into the right voltage in v4.9

fuze100-regulator 0-0008: pfuze200 found.
SW3B: Bringing 3300000uV into 1975000-1975000uV
SW3B: failed to apply 1975000-1975000uV constraint(-22)
pfuze100-regulator 0-0008: register regulatorSW3B failed
pfuze100-regulator: probe of 0-0008 failed with error -22
2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 19, base_baud = 5000000) is a IMX

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14503: ARM: dts: imx6qdl: correct ecspi sdma script type
Robin Gong [Wed, 22 Mar 2017 08:29:46 +0000 (16:29 +0800)]
MLK-14503: ARM: dts: imx6qdl: correct ecspi sdma script type

Correct the ecspi sdma script type, since the workaroud sdma script
NOT work in SPBA bus, just sync with v4.1.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14498-9 dts: imx6/imx7: add modem device reset node
Andy Duan [Tue, 21 Mar 2017 10:08:04 +0000 (18:08 +0800)]
MLK-14498-9 dts: imx6/imx7: add modem device reset node

Add BT modem device reset node.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14498-1 dts: imx7s: add uart dma chans
Andy Duan [Mon, 20 Mar 2017 07:44:11 +0000 (15:44 +0800)]
MLK-14498-1 dts: imx7s: add uart dma chans

Add uart dma chans.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14426: ARM: dts: imx6ul-evk-btwifi: Remove imx6ul-evk-murata-v2 function node
Tiberiu Breana [Thu, 16 Mar 2017 09:30:17 +0000 (11:30 +0200)]
MLK-14426: ARM: dts: imx6ul-evk-btwifi: Remove imx6ul-evk-murata-v2 function node

Removed the unused imx6ul-evk-murata-v2 function node which was
causing a kernel panic at boot time.

Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14373-5: ARM: dts: imx6ul-evk-btwifi: Add OOB IRQ support for imx6ul, imx6ull
xlin [Wed, 8 Feb 2017 21:49:01 +0000 (15:49 -0600)]
MLK-14373-5: ARM: dts: imx6ul-evk-btwifi: Add OOB IRQ support for imx6ul, imx6ull

Added new DTS files for:
imx6ul-9x9-evk
imx6ul-14x14-evk
imx6ull-9x9-evk
imx6ull-14x14-evk

with support for Wifi OOB interrupts.

Signed-off-by: xlin <xlin@murata.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14373-4: ARM: dts: imx6ul-evk-btwifi: Fix SN8000CMK bringup error
xlin [Tue, 7 Feb 2017 20:35:20 +0000 (14:35 -0600)]
MLK-14373-4: ARM: dts: imx6ul-evk-btwifi: Fix SN8000CMK bringup error

Fix SN8000CMK bring-up error on i.MX6UL/ULL EVK’s: BT_REG_ON line pulled
low prior to SDIO initialization. This fix applies to all modules: i.e.
default operation for all modules is that both WL_REG_ON and BT_REG_ON
lines are pulled low (0V) during power-on-reset.

Signed-off-by: xlin <xlin@murata.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14373-1: ARM: dts: Enable Bluetooth interface for imx6sl-evk
Tiberiu Breana [Wed, 8 Mar 2017 10:02:35 +0000 (12:02 +0200)]
MLK-14373-1: ARM: dts: Enable Bluetooth interface for imx6sl-evk

Enable the Bluetooth interface for i.MX 6SoloLite EVK.

Signed-off-by: xlin <xlin@murata.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14471-2 arm: dts: imx7ulp: change pad setting for touch
Gao Pan [Sat, 11 Mar 2017 12:23:10 +0000 (20:23 +0800)]
MLK-14471-2 arm: dts: imx7ulp: change pad setting for touch

Set OBE for touch RST pin, set IBE for touch RST.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14471-1 arm: dts: restore touch pin when exit VLLS mode
Gao Pan [Fri, 10 Mar 2017 11:52:36 +0000 (19:52 +0800)]
MLK-14471-1 arm: dts: restore touch pin when exit VLLS mode

restore touch pin when exit VLLS mode

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
(cherry-pick from 807fdc794af9b6ec15673d5e70cb03065b80f9fd)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14407 arm: dts: enable lpi2c7 & disable lpi2c4
Gao Pan [Thu, 2 Mar 2017 07:52:17 +0000 (15:52 +0800)]
MLK-14407 arm: dts: enable lpi2c7 & disable lpi2c4

lpi2c4 is not used on imx7ulp platform, disable it;
lpi2c7 is used for touch, enable it;

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
(cherry-pick from 9137ed6de38513c585206febe7ce6c8279674f1b)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14392-3 arm: dts: imx7ulp: add swap property for touch device node
Gao Pan [Wed, 8 Mar 2017 09:40:47 +0000 (17:40 +0800)]
MLK-14392-3 arm: dts: imx7ulp: add swap property for touch device node

add swap property for touch device node

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
(cherry-pick from 7bf0bd714098affe65ecc0a1d80921a367b7dc1c)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14392-2 arm: dts: imx7ulp: add focaltech touch sopport
Gao Pan [Fri, 10 Mar 2017 06:54:32 +0000 (14:54 +0800)]
MLK-14392-2 arm: dts: imx7ulp: add focaltech touch sopport

Add focaltech touch support

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14472-2 dts: imx7s: add flexcan stop mode wakeup support
Dong Aisheng [Thu, 16 Mar 2017 05:15:38 +0000 (13:15 +0800)]
MLK-14472-2 dts: imx7s: add flexcan stop mode wakeup support

Add stop-mode property which is required by stop mode wakeup feature.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14472-1 dts: imx6ul: add flexcan stop mode wakeup support
Dong Aisheng [Thu, 16 Mar 2017 05:13:34 +0000 (13:13 +0800)]
MLK-14472-1 dts: imx6ul: add flexcan stop mode wakeup support

Add stop-mode property which is required by stop mode wakeup feature.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMGS-2731 gpu: dts: fix the wrong clock config for 7ulp gpu shader
Xianzhong [Sat, 11 Mar 2017 15:04:27 +0000 (23:04 +0800)]
MGS-2731 gpu: dts: fix the wrong clock config for 7ulp gpu shader

gc7000nu has only clk2x core input, no external shader clock input,
currently gpu_3d_shader clock is set to the 2d bus clock mistakenly,

should set gpu_3d_shader config with dummy clock in gpu device,
also removed the unused gpu2d_shader_clock setting from dts.

Signed-off-by: Xianzhong <xianzhong.li@nxp.com>
(cherry picked from commit 021b397e2594a37987d852a382f90bf0559fcf30)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14401: ARM: dts: Add supply for bypassed vddpu
Leonard Crestez [Thu, 9 Mar 2017 15:50:49 +0000 (17:50 +0200)]
MLK-14401: ARM: dts: Add supply for bypassed vddpu

Newer kernel versions output a lot of warnings if they encounter a
bypassed regulator without an explicitly configured supply. Like this:

vddpu: bypassed regulator has no supply!
vddpu: bypassed regulator has no supply!
vddpu: bypassed regulator has no supply!

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14325-1 ARM: dts: enable imx pcie gen2 link
Richard Zhu [Tue, 28 Feb 2017 01:22:23 +0000 (09:22 +0800)]
MLK-14325-1 ARM: dts: enable imx pcie gen2 link

Set the max link capability of the imx pcie to gen2

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14301: imx dts: Fix cpu regulator references
Leonard Crestez [Fri, 3 Mar 2017 16:50:41 +0000 (18:50 +0200)]
MLK-14301: imx dts: Fix cpu regulator references

On imx_4.9.y we no longer override the cpu arm/soc/pu-supply properties
to link to pmic directly but rather rely on the regulator core
propagating a set_voltage on a bypassed regulator upwards.

This change was already performance for imx6qdl, now do it for all the
boards using ldo-bypass.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14304 ARM: dts: imx7d: enable ocotp node
Octavian Purdila [Fri, 3 Mar 2017 11:04:22 +0000 (13:04 +0200)]
MLK-14304 ARM: dts: imx7d: enable ocotp node

The octop node was defined in imx7s.dtsi but disabled. It is needed by
the fsl_otp driver.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-14292: 4.9 rebase: LCDIF: 6SX SDB does not boot with lcdif dts
Cristina Ciocan [Tue, 28 Feb 2017 17:10:54 +0000 (19:10 +0200)]
MLK-14292: 4.9 rebase: LCDIF: 6SX SDB does not boot with lcdif dts

On imx6SX SDB eLCDIF driver cannot coexist with CAAM driver. The cause
seems to be an ipg clk that failes to be identified by the CAAM driver.

This patch disables the CAAM driver by setting its status to "disabled"
in the dts used for obtaining LCDIF functionality.

Signed-off-by: Cristina Ciocan <cristina-mihaela.ciocan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13997: ARM: dts: disable rpmsg-audio in wm8960 dts for conflict
Shengjiu Wang [Mon, 20 Feb 2017 03:43:26 +0000 (11:43 +0800)]
MLK-13997: ARM: dts: disable rpmsg-audio in wm8960 dts for conflict

The rpmsg-audio and wm8960-audio use same device in two way, there is
conflict when enabled together.
imx7ulp-evk-wm8960.dts is for demo usage, there is a hardware issue
(TKT320235) that EDMA interrupt can't wake up the A7 core, so there
is glitch noise occasionally.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13994-2 ARM: dts: imx7ulp: add heartbeat device node
Robin Gong [Fri, 17 Feb 2017 07:59:25 +0000 (15:59 +0800)]
MLK-13994-2 ARM: dts: imx7ulp: add heartbeat device node

add heartbeat device node to add suspend/resume in
arch/arm/mach-imx/pm-rpmsg.c

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13914-03 ARM: dts: Add cpu setpoints and clocks properties on i.mx7ulp
Bai Ping [Mon, 13 Feb 2017 08:24:36 +0000 (16:24 +0800)]
MLK-13914-03 ARM: dts: Add cpu setpoints and clocks properties on i.mx7ulp

Add CPU setpoints property on i.MX7ULP A0 part, the setpoints table is a preliminary
one, will update it according to the datasheet when the final one is available.

The setpoints we can currently used is as below:
416072 KHz/0.925V,
531648 KHz/1.025V;

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13801-02 ARM: dts: Correct the gpt timer clock source on imx6ul/ull/sll
Bai Ping [Fri, 20 Jan 2017 09:41:25 +0000 (17:41 +0800)]
MLK-13801-02 ARM: dts: Correct the gpt timer clock source on imx6ul/ull/sll

The GPT timer counter clock should be sourced from GPT_3M clock to avoid
counter clock frequency changed due to system bus clock changes.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13981-1 ARM: imx: add the virtual tty rpmsg channel
Richard Zhu [Wed, 15 Feb 2017 08:45:07 +0000 (16:45 +0800)]
MLK-13981-1 ARM: imx: add the virtual tty rpmsg channel

add the virtual tty rpmsg channel, thus the message can
be transferred between A core and M core by rpmsg

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13904-4: ARM: dts: add rpmsg audio sound card device note
Shengjiu Wang [Wed, 15 Feb 2017 03:24:05 +0000 (11:24 +0800)]
MLK-13904-4: ARM: dts: add rpmsg audio sound card device note

audio will use the fourth slot in rpmsg address space.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Acked-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13765 ARM: dts: imx7ulp-evk-sd1: remove property out for sd1 slot
Haibo Chen [Mon, 13 Feb 2017 09:35:30 +0000 (17:35 +0800)]
MLK-13765 ARM: dts: imx7ulp-evk-sd1: remove property out for sd1 slot

The two properties pm-ignore-notify and keep-power-in-suspend need
to remove for the sd slot on base board(sd1 slot).

If not, after system suspend, once remove the card from sd1 slot,
then system can't resume successfully, resume process hung due to
dead lock.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13906: ARM: dts: new dtb for mfgtool to burn both BSP and M4 to eMMC
Han Xu [Fri, 10 Feb 2017 17:03:30 +0000 (11:03 -0600)]
MLK-13906: ARM: dts: new dtb for mfgtool to burn both BSP and M4 to eMMC

Add one more dtb file for mfgtool purpose only, it enabled both eMMC and
QSPI to burn both BSP and M4 images in one process.

Kernel still uses the original eMMC dtb so the QSPI, which belongs to
M4 domain won't be exposed in A7 domain.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13895 ARM: dts: imx7ulp: correct the device node name of lpi2c5
Fancy Fang [Wed, 8 Feb 2017 09:23:43 +0000 (17:23 +0800)]
MLK-13895 ARM: dts: imx7ulp: correct the device node name of lpi2c5

Correct this spelling mistake error for lpi2c5 node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13733-1 ARM: dts: imx7ulp: add rpmsg instance for power management
Anson Huang [Mon, 9 Jan 2017 09:49:25 +0000 (17:49 +0800)]
MLK-13733-1 ARM: dts: imx7ulp: add rpmsg instance for power management

On i.MX7ULP, add a new RPMSG instance for power management.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-240-2 arm: dts: imx: make mmdc clk accessible from the busfreq driver
Juan Gutierrez [Tue, 24 Jan 2017 16:30:34 +0000 (10:30 -0600)]
MXSCM-240-2 arm: dts: imx: make mmdc clk accessible from the busfreq driver

The mmdc clk rate needs to be explicitly updated when moving to
high audio rate by the busfreq module for the i.mx6q lpddr2 systems.
In order to make the mmdc_ch0_axi clk visible by this driver, it
needs to be included on the clocks/clock-names list.

For the imx6dqscm-1gb-evb systems the clocks list for the busfreq
module is originally inherited from imx6q.dtsi. To include the mmdc
clk, the full clocks list plus the mmdc clk needs to be overwritten
on the individual dts files.

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13760 ARM: dts: imx7ulp-evk: update tx-d-cal according to certification results
Peter Chen [Sun, 22 Jan 2017 02:50:09 +0000 (10:50 +0800)]
MLK-13760 ARM: dts: imx7ulp-evk: update tx-d-cal according to certification results

Changing tx-d-cal according to USB certification test results.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-12672 ARM: dts: imx6ul-9x9-evk: correct the xnur pad setting
Haibo Chen [Fri, 20 Jan 2017 02:36:16 +0000 (10:36 +0800)]
MLK-12672 ARM: dts: imx6ul-9x9-evk: correct the xnur pad setting

Setting the xnur-gpio to GPIO_ACTIVE_LOW, otherwise touch calibration
may has some issue.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13766 ARM: dts: imx6ull-9x9-evk: correct the xnur pad setting
Haibo Chen [Thu, 19 Jan 2017 06:14:36 +0000 (14:14 +0800)]
MLK-13766 ARM: dts: imx6ull-9x9-evk: correct the xnur pad setting

Setting the xnur-gpio to GPIO_ACTIVE_LOW, otherwise touch calibration
may has some issue.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13538-1 arm: dts: imx7ulp1: add ocotp node
Peng Fan [Wed, 18 Jan 2017 02:54:58 +0000 (10:54 +0800)]
MLK-13538-1 arm: dts: imx7ulp1: add ocotp node

Add ocotp node.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13748: ARM: dts: imx6ull-9x9-evk-ldo: add ldo enable dts
Robin Gong [Fri, 6 Jan 2017 03:05:48 +0000 (11:05 +0800)]
MLK-13748: ARM: dts: imx6ull-9x9-evk-ldo: add ldo enable dts

Add ldo enable dts

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13755: ARM: dts: fix the QSPI iomux issue
Han Xu [Fri, 13 Jan 2017 20:14:04 +0000 (14:14 -0600)]
MLK-13755: ARM: dts: fix the QSPI iomux issue

The iomux PAD setting for QSPI on i.MX7ULP should belong to
iomuxc0(refers to iomuxc in dtsi file) rather than iomuxc1.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13724: ARM: dts: fix audio error log in kernel boot up
Shengjiu Wang [Wed, 11 Jan 2017 07:48:46 +0000 (15:48 +0800)]
MLK-13724: ARM: dts: fix audio error log in kernel boot up

Below error happen when boot up imx6ul/imx6ull 9x9 board. which is
caused by that dts is not updated in commit 0a4c5844f91de8
("MLK-12059 ARM: dts: imx6ul-14x14-evk: add mic detect gpio to
support headset Jack")

imx-wm8960 sound: ASoC: Failed to add route HP_L -> direct -> Headset Jack
imx-wm8960 sound: ASoC: Failed to add route HP_R -> direct -> Headset Jack
imx-wm8960 sound: ASoC: Failed to add route Hp MIC -> direct -> LINPUT2
imx-wm8960 sound: ASoC: Failed to add route Hp MIC -> direct -> LINPUT3
imx-wm8960 sound: ASoC: Failed to add route MICB -> direct -> Hp MIC

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13743-02 ARM: dtsi: imx7ulp-evk: add modem gpio reset
Andy Duan [Wed, 11 Jan 2017 09:27:33 +0000 (17:27 +0800)]
MLK-13743-02 ARM: dtsi: imx7ulp-evk: add modem gpio reset

Add modem gpio reset for lpuart6 port.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13735 ARM: dtsi: imx7ulp: set the lpuart module clock to 48Mhz
Andy Duan [Mon, 9 Jan 2017 09:12:56 +0000 (17:12 +0800)]
MLK-13735 ARM: dtsi: imx7ulp: set the lpuart module clock to 48Mhz

The untrimmed chip firc clock is 50Mhz after manually tuning.
Now the trimmed chip firc clock is stable to 48Mhz, so change
the lpuart module clock rate to 48Mhz.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13745: ARM: dts: imx6sll: sync with i.mx6ul
Robin Gong [Thu, 12 Jan 2017 05:55:21 +0000 (13:55 +0800)]
MLK-13745: ARM: dts: imx6sll: sync with i.mx6ul

Because i.mx6sll support mega_fast power off, sdma driver can sync
with i.mx6ul which support this feature. Modify compatible name

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13679-1 ARM: imx: add the imx7d pcie phy node
Richard Zhu [Tue, 27 Dec 2016 08:58:03 +0000 (16:58 +0800)]
MLK-13679-1 ARM: imx: add the imx7d pcie phy node

add imx7d pcie phy node into 7d dts

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13729-1 ARM: imx: add the reg into the rpmsg node
Richard Zhu [Fri, 6 Jan 2017 05:53:44 +0000 (13:53 +0800)]
MLK-13729-1 ARM: imx: add the reg into the rpmsg node

In order to remove the hard-coded vring buffer in
the driver, input the vring buffer by device tree
node.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13638-2 ARM: dts: imx7ulp-evk: fix GPIO direction for USB vbus and id
Peter Chen [Fri, 6 Jan 2017 02:58:33 +0000 (10:58 +0800)]
MLK-13638-2 ARM: dts: imx7ulp-evk: fix GPIO direction for USB vbus and id

The vbus should be output, and the id should be input.
Without this change, the GPIO configuration (through pinctrl
register) is incorrect from system suspend.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13638-1 ARM: dts: imx7ulp-evk: add VLLS mode recovery support
Peter Chen [Thu, 22 Dec 2016 02:08:56 +0000 (10:08 +0800)]
MLK-13638-1 ARM: dts: imx7ulp-evk: add VLLS mode recovery support

At imx7ulp VLLS mode, the power of iomux1 is lost, so we need to
recover pinctrl value when back from this mode.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13717-1 ARM: dts: imx7ulp-evk: add lpspi sleep pinctrl
Gao Pan [Wed, 4 Jan 2017 07:12:33 +0000 (15:12 +0800)]
MLK-13717-1 ARM: dts: imx7ulp-evk: add lpspi sleep pinctrl

Add lpspi sleep pinctrl.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13716-1 ARM: dts: imx7ulp-evk: add lpi2c sleep pinctrl
Gao Pan [Wed, 4 Jan 2017 06:59:27 +0000 (14:59 +0800)]
MLK-13716-1 ARM: dts: imx7ulp-evk: add lpi2c sleep pinctrl

Add lpi2c sleep pinctrl.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13711-01 ARM: dts: imx7ulp-evk: add lpuart sleep pinctrl
Andy Duan [Thu, 29 Dec 2016 05:59:26 +0000 (13:59 +0800)]
MLK-13711-01 ARM: dts: imx7ulp-evk: add lpuart sleep pinctrl

Add lpuart sleep pinctrl.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13681-2 ARM: dts: add imx6sll-evk-reva baord support
Haibo Chen [Wed, 28 Dec 2016 08:12:41 +0000 (16:12 +0800)]
MLK-13681-2 ARM: dts: add imx6sll-evk-reva baord support

The latest imx6sll evk Rev A board (default board) already fix
HS400 I/O timing issue, so the default evk board support HS400
mode. But the older evk board (Rev A) board still has issue for
HS400 mode, so this patch disabled HS400 mode for the older evk
board, just support HS200 mode for imx6sll evk Rev A board.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13681-1 ARM: imx6sll: add HS400 support for imx6sll
Haibo Chen [Wed, 28 Dec 2016 08:01:04 +0000 (16:01 +0800)]
MLK-13681-1 ARM: imx6sll: add HS400 support for imx6sll

The imx6sll support eMMC HS400 mode, this patch default add HS400
mode support.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13675 ARM: dts: imx6sll-evk.dts: change the pad setting of sd1/sd3
Haibo Chen [Tue, 27 Dec 2016 02:22:28 +0000 (10:22 +0800)]
MLK-13675 ARM: dts: imx6sll-evk.dts: change the pad setting of sd1/sd3

According to HW team's suggestion, change the pad setting of sd1 and
sd3 on imx6sll-evk board.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13869 ARM: dts: imx7: route interrupts through GPC
Octavian Purdila [Wed, 22 Feb 2017 15:32:46 +0000 (17:32 +0200)]
MLK-13869 ARM: dts: imx7: route interrupts through GPC

We need to "logically" route interrupts through GPC instead of directly
through GIC in order to support low power mode with SCU and L2 off.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-12047-1 ARM: dts: imx6sx-sabreauto.dts: add ADC support
Haibo Chen [Mon, 21 Dec 2015 10:06:01 +0000 (18:06 +0800)]
MLK-12047-1 ARM: dts: imx6sx-sabreauto.dts: add ADC support

Add ADC support for imx6sx-sabreauto board.

Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agofix compilation issues
Arulpandiyan Vadivel [Thu, 22 Nov 2018 14:45:57 +0000 (20:15 +0530)]
fix compilation issues

Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13869 ARM: dts: imx7d: fix pxp AXI clock name
Octavian Purdila [Mon, 20 Feb 2017 09:29:55 +0000 (11:29 +0200)]
MLK-13869 ARM: dts: imx7d: fix pxp AXI clock name

Correct pxp AXI and IPG clock.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13631-02: ARM: dts: Change i.MX6SL CSI module compatible string
Sandor Yu [Thu, 22 Dec 2016 10:13:42 +0000 (18:13 +0800)]
MLK-13631-02: ARM: dts: Change i.MX6SL CSI module compatible string

Change i.MX6SL CSI module compatible string from "fsl,imx6s-csi"
to "fsl,imx6sl-csi".

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
[Arul: Fix merge conflicts]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13922: ARM: dts: imx6qp-sabreauto: add lvd-channel info to ldb
Octavian Purdila [Mon, 13 Feb 2017 13:17:26 +0000 (15:17 +0200)]
MLK-13922: ARM: dts: imx6qp-sabreauto: add lvd-channel info to ldb

Also, enable the mxcfb* entries.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13897: ARM: dts: imx6ul-14x14-evk: revert to fsl,imx-audio-wm8960
Octavian Purdila [Wed, 8 Feb 2017 16:54:24 +0000 (18:54 +0200)]
MLK-13897: ARM: dts: imx6ul-14x14-evk: revert to fsl,imx-audio-wm8960

Upstream commit bf3251e112a0 ("ARM: dts: imx6ul-14x14-evk: Add audio
support") switched to using the simple sound card driver.

This does not seem to work anymore on vanilla 4.9.5 (aplay gets stuck
with no sound output). Adding the rest of our out internal patches
from 4.1 causes even greater issues, the card does not even enumerate.

While we eventually want to switch to using simple sound card, lets
revert to using the fsl,imx-audio-wm8960 driver for the time being,
while investigating what it takes to switch to the simple sound card
driver.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13890 ARM: dts: imx6ul-14x14-evk: remove a few pins from hoggrp-1
Octavian Purdila [Wed, 8 Feb 2017 10:34:12 +0000 (12:34 +0200)]
MLK-13890 ARM: dts: imx6ul-14x14-evk: remove a few pins from hoggrp-1

They belong in the usdhc1 group, where they were already present and
which causes the usdhc1 device to fail probe:

[    1.484978] imx6ul-pinctrl 20e0000.iomuxc: pin MX6UL_PAD_UART1_RTS_B already requested by 20e0000.iomuxc; cannot claim for 2190000.usdhc
[    1.496166] imx6ul-pinctrl 20e0000.iomuxc: pin-36 (2190000.usdhc) status -22
[    1.501959] imx6ul-pinctrl 20e0000.iomuxc: could not request pin 36 (MX6UL_PAD_UART1_RTS_B) from group usdhc1grp  on device 20e0000.iomuxc
[    1.513186] sdhci-esdhc-imx 2190000.usdhc: Error applying setting, reverse things back

Note that out internal commit cf65c8d ("MLK-11300-02 ARM: dts: imx:
add imx6ul board dts support") is similar with the upstream commit
a5fcccb ("ARM: dts: imx: add imx6ul and imx6ul evk board support") but
since it has more nodes defined we had to integrate parts of it
nonetheless.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13860: ARM: dts: imx6qp-sabresd: add lvd-channel info to ldb
Octavian Purdila [Fri, 3 Feb 2017 14:42:04 +0000 (16:42 +0200)]
MLK-13860: ARM: dts: imx6qp-sabresd: add lvd-channel info to ldb

Also, enable the mxcfb* entries.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13803 dts fixes for ldb-di{0,1}-parent not included
Leonard Crestez [Fri, 20 Jan 2017 12:40:57 +0000 (14:40 +0200)]
MLK-13803 dts fixes for ldb-di{0,1}-parent not included

Fix clocks for ldb-di{0,1}.

Signed-off-by: Leonard Crestez <dan-leonard.crestez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13787 Revert "ARM: dts: imx6qdl-sabresd: Pass the hannstar panel compatible string"
Octavian Purdila [Fri, 20 Jan 2017 11:40:50 +0000 (13:40 +0200)]
MLK-13787 Revert "ARM: dts: imx6qdl-sabresd: Pass the hannstar panel compatible string"

This reverts commit e0884948a48013bb2097f3e61c4f2122b22f6eb1.

The internal fbdev driver does not use the DRM infrastructure hence we
can't use the DRM simple panel driver, we have to stich with display
timings from device tree.

Signed-off-by: Octavian Purdila <octavian.purdila@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13720-5: ARM: dts: imx7ulp-evk: support multi rpmsg instances
Robin Gong [Thu, 5 Jan 2017 06:20:55 +0000 (14:20 +0800)]
MLK-13720-5: ARM: dts: imx7ulp-evk: support multi rpmsg instances

Add 'vdev-nums' to imply how many rpmsg instances used in kernel. If
it beyond the 5, please enlarge the 'MAX_VDEV_NUMS' in imx_rpmsg.c

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
(cherry picked from commit 0cbc0fdc4cce2c292aded56619d1001f7c936a6f)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13707 ARM: dts: move cd/vsel/rst/wp pin out of pinctrl_hog_1
Haibo Chen [Fri, 6 Jan 2017 09:34:06 +0000 (17:34 +0800)]
MLK-13707 ARM: dts: move cd/vsel/rst/wp pin out of pinctrl_hog_1

For 7ULP, when system suspend, it will in VLLS mode, all pad config
will lost when system resume. For vsel pin, if lost, I/O voltage can't
change from 3.3v to 1.8v, for cd/wp pin, card detect and write protect
function will also not work. So for usdhc cd/wp/rst/vsel pad, need
to set again after system resume, so move this pin out of pinctrl_hog_1.

Besides, cd/wp pin need to be config as GPIO input mode, and rst pin
need to be config to GPIO output mode. This patch also clear the OBE
for cd/wp pin, and clear the IBE for rst pin, otherwise system can't
detect SD3.0 card due to the wrong pad setting.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
(cherry picked from commit 314597864b1d8cad54bae7d4c6289830156eb088)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13607-5 ARM: dts: imx7ulp-evk: add mipi dsi support
Fancy Fang [Mon, 5 Dec 2016 10:03:32 +0000 (18:03 +0800)]
MLK-13607-5 ARM: dts: imx7ulp-evk: add mipi dsi support

Add dts support for mipi dsi module on imx7ulp-evk board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 51584bcf07c6e97631bd22ed7eeb8bd14cbfc61a)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
(cherry picked from commit ae8dba8f3b77dbff12ecaf04ca956b6613143698)
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13607-1 ARM: dts: imx7ulp-evk: add gpio backlight support.
Fancy Fang [Mon, 5 Dec 2016 09:38:23 +0000 (17:38 +0800)]
MLK-13607-1 ARM: dts: imx7ulp-evk: add gpio backlight support.

The mipi dsi panel on imx7ulp-evk board will use gpio to control
lcd backlight.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 763dbfe8a24dd11827f5024327b400f73917d118)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13601-01 ARM: dts: imx: update the setpoint for imx6ull
Bai Ping [Tue, 13 Dec 2016 08:51:59 +0000 (16:51 +0800)]
MLK-13601-01 ARM: dts: imx: update the setpoint for imx6ull

According to the latest datasheet(Rev.0,09/2016), two new setpoints
are added on i.MX6ULL, 996MHz/1.25V and 792MHz/1.2V. these two setpoints
can only be enabled when LDO is enabled. In order to cover IR drop and
board tolerance, we add a 25mV margin to the voltage.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13625: ARM: dts: support spdif with imx51 evk expansion card
Shengjiu Wang [Fri, 16 Dec 2016 07:15:06 +0000 (15:15 +0800)]
MLK-13625: ARM: dts: support spdif with imx51 evk expansion card

The HDMI daughter card with sii902x will not be supported in
imx6sll-lpddr3-arm2 board, so use imx51 evk expansion card as spdif
interface

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13610-2 ARM: dts: imx7ulp-evk: add base board sd slot support
Haibo Chen [Thu, 15 Dec 2016 02:58:18 +0000 (10:58 +0800)]
MLK-13610-2 ARM: dts: imx7ulp-evk: add base board sd slot support

On imx7ulp-evk board, the SD slot on base board is conflict with BT/WiFi.
This patch separate the usdhc1 from imx7ulp-evk.dts, and create new dts.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13610-1 ARM: dts: add SD3.0 support for usdhc0 on imx7ulp-evk
Haibo Chen [Wed, 14 Dec 2016 11:35:34 +0000 (19:35 +0800)]
MLK-13610-1 ARM: dts: add SD3.0 support for usdhc0 on imx7ulp-evk

Add SD3.0 support for usdhc0 on imx7ulp-evk board. Currently the
usdhc0 root clock is 158.4MHz.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13618 arm: dts: enable lpspi3 in imx7ulp-evk.dts
Gao Pan [Thu, 15 Dec 2016 06:34:15 +0000 (14:34 +0800)]
MLK-13618 arm: dts: enable lpspi3 in imx7ulp-evk.dts

Enable lpspi3 for imx7ulp-evk board.

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13612-1: ARM: dts: enable QSPI for i.MX7ULP1
Han Xu [Wed, 14 Dec 2016 17:38:49 +0000 (11:38 -0600)]
MLK-13612-1: ARM: dts: enable QSPI for i.MX7ULP1

Add one more dts for QSPI on i.MX7ULP1 for mfgtool purpose.

Signed-off-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13605 ARM: dts: imx7d.dtsi: configure USB burst properly
Peter Chen [Wed, 14 Dec 2016 02:25:54 +0000 (10:25 +0800)]
MLK-13605 ARM: dts: imx7d.dtsi: configure USB burst properly

After testing, it can give the best performance.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13570-7 ARM: dts: imx7ulp.dtsi: change burst size as 0x8
Peter Chen [Fri, 9 Dec 2016 07:30:45 +0000 (15:30 +0800)]
MLK-13570-7 ARM: dts: imx7ulp.dtsi: change burst size as 0x8

According to test, 0x8 is better than 0x10.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13570-1 ARM: dts: imx7ulp-evk: add USB support
Peter Chen [Wed, 16 Nov 2016 01:20:58 +0000 (09:20 +0800)]
MLK-13570-1 ARM: dts: imx7ulp-evk: add USB support

Add USBOTG1 support, we use GPIO as ID function for dual-role switch.
Besides, #define <dt-bindings/gpio/gpio.h> to imx7ulp.dtsi since
lots of boards may need it.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-235 dts: add support for scm qwks rev3
Juan Gutierrez [Thu, 24 Nov 2016 21:48:18 +0000 (15:48 -0600)]
MXSCM-235 dts: add support for scm qwks rev3

Add support for SCM i.MX6DQ 1Gb QWKS rev3

Support the next features for 1Gb qwks rev3 boards:

 - Support for fix lpddr2 mode
 - hdcp and enetirq
 - bluetooth and wifi for Murata ZP SDIO dongle

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-234 dts: imx: adjust the sd3 drive strength for 6sxscm evb
Juan Gutierrez [Sat, 3 Dec 2016 17:05:08 +0000 (11:05 -0600)]
MXSCM-234 dts: imx: adjust the sd3 drive strength for 6sxscm evb

For some SD Ultra (40MB/s) the drive strength/speed settings
on the iomux ctrl pads for SD3 is not enougn causing some
error by transferring data as below:

mmcblk2: error -84 transferring data, sector 2250553, nr 151,
cmd response 0x900, card status 0x0

Updating the DSE and Speed on the pad ctrl fixes the issue.

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13563 ion: Enable ion driver on imx7ulp
Song Bing [Wed, 30 Nov 2016 07:37:59 +0000 (15:37 +0800)]
MLK-13563 ion: Enable ion driver on imx7ulp

Enable ion driver on imx7ulp

Signed-off-by: Song Bing <bing.song@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13579-1 ARM: dts: imx7ulp: adjust suspend ocram location
Anson Huang [Thu, 8 Dec 2016 11:46:41 +0000 (19:46 +0800)]
MLK-13579-1 ARM: dts: imx7ulp: adjust suspend ocram location

Adjust suspend ocram location for i.MX7ULP, since previous
location is used by M4.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13557 imx6sll: add fsl,wdog_b and pinmux settings
Peng Fan [Thu, 8 Dec 2016 01:18:32 +0000 (09:18 +0800)]
MLK-13557 imx6sll: add fsl,wdog_b and pinmux settings

Add fsl,wdog_b and pinmux settings.
We need to use wdog_b to trigger pmic reset, when we trigger
wdog_b reset, we should not trigger wdog_reset_b_deb.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 0400ecd8fb3a3772dfb3a68c55960419a63f1650)
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13577-5: ARM: dts: imx7ulp-evk: add pf1550 pmic
Robin Gong [Wed, 7 Dec 2016 03:46:13 +0000 (11:46 +0800)]
MLK-13577-5: ARM: dts: imx7ulp-evk: add pf1550 pmic

add pf1550-regulator-rpmsg driver node in dts.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13573 arm: dts: add sensors node in imx7ulp-evk.dts
Gao Pan [Wed, 7 Dec 2016 01:51:50 +0000 (09:51 +0800)]
MLK-13573 arm: dts: add sensors node in imx7ulp-evk.dts

sensor node: fxas2100x, fxos8700, mpl3115

Signed-off-by: Gao Pan <pandy.gao@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMLK-13574-3: ARM: dts: enable audio in a separate dts
Shengjiu Wang [Mon, 28 Nov 2016 05:38:34 +0000 (13:38 +0800)]
MLK-13574-3: ARM: dts: enable audio in a separate dts

Audio is in M4 domain, so we need an indepenent dts for audio.
M4 domain is controlled by RTOS, this dts is for demo purpose in
linux

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoARM: dts: imx: Add 1.2GHz setpoint for imx7d
Arulpandiyan Vadivel [Tue, 20 Nov 2018 07:13:59 +0000 (12:43 +0530)]
ARM: dts: imx: Add 1.2GHz setpoint for imx7d

Add 1.2GHz setpoint for i.MX7D.

Signed-off-by: Bai Ping <ping.bai@nxp.com>
[Arul: Align with cpufreq: dt-platdev implementations]
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
(cherry picked from commit c9a5ab57c1d6c6c972f92844fef86452d5bca73a)
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-226 dts: imx: add pm-ignore-notify option for sd3 on mx6sxscm evb
Juan Gutierrez [Tue, 22 Nov 2016 18:19:50 +0000 (12:19 -0600)]
MXSCM-226 dts: imx: add pm-ignore-notify option for sd3 on mx6sxscm evb

There is no card-detection pad connected for sd3 on the i.mx6 SX
EVB board. The card is assumed to be non-removable, hence, there is
no need to redetect the card during the pm callbacks. This can be
reached by including the pm-ignore-notify option on the usdhc3 device
on the dtb file.

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-225 dts: imx: fix the power gpio for usb otg2 on 6sxscm evb
Juan Gutierrez [Tue, 22 Nov 2016 21:07:33 +0000 (15:07 -0600)]
MXSCM-225 dts: imx: fix the power gpio for usb otg2 on 6sxscm evb

The usb otg2, on the SXSCM EVB board is powered up directly by the
GEN_V5 signal from the PMIC, so there is no gpio assigned.

The wrong assignation was preventing the busfreq driver to switch
to any other frequency, since the usb otg2 looks to be always
active.

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
6 years agoMXSCM-224 dts: imx: not use mdio device for enet phy configuration
Juan Gutierrez [Wed, 16 Nov 2016 00:56:53 +0000 (18:56 -0600)]
MXSCM-224 dts: imx: not use mdio device for enet phy configuration

Using the mdio and ethphy device that is referenced as a phy_handle
by the fec device is not properly handling the resume from suspend.

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>