linux.git
4 years agoarm64: dts: imx8mp: Unbypass the SAI PLL
Abel Vesa [Thu, 18 Jun 2020 07:14:48 +0000 (10:14 +0300)]
arm64: dts: imx8mp: Unbypass the SAI PLL

Set the parent of IMX8MP_CLK_AUDIO_BLK_CTRL_SAI_PLL_BYPASS
to IMX8MP_CLK_AUDIO_BLK_CTRL_SAI_PLL.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: imx8mp: Add the SAI MCLKs to the platform file
Abel Vesa [Wed, 27 May 2020 10:59:34 +0000 (13:59 +0300)]
arm64: dts: imx8mp: Add the SAI MCLKs to the platform file

This allows the platform clock controller driver to remain
unmodified when some customer board will provide an input
clock on one of the SAIx_MCLK pins.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
4 years agoarm64: dts: imx8mp: Make hdmi_blk_ctrl single node for combo driver
Abel Vesa [Fri, 12 Jun 2020 21:36:06 +0000 (00:36 +0300)]
arm64: dts: imx8mp: Make hdmi_blk_ctrl single node for combo driver

Make the hdmi_blk_ctrl dts node a single one and change all the references
to it accordingly. Do this in order to have a single combo driver for
hdmi_blk_ctrl. Some of the features of the hdmi_ctrl will be used by some
different drivers in a way those drivers will know best, so adding the
syscon compatible we allow those to do just that. Those drivers will
have to also add the hdmimix PD to their devicetree node in order
to make sure hdmi_blk_ctrl is on while they are operating.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Make media_blk_ctrl single node for combo driver
Abel Vesa [Thu, 28 May 2020 07:51:36 +0000 (10:51 +0300)]
arm64: dts: imx8mp: Make media_blk_ctrl single node for combo driver

Remove the clocks property since the clock is taken care of by the
mediamix_pd.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Make audio_blk_ctrl single node for combo driver
Abel Vesa [Fri, 1 May 2020 07:59:44 +0000 (10:59 +0300)]
arm64: dts: imx8mp: Make audio_blk_ctrl single node for combo driver

Make the audio_blk_ctrl dts node a single one and change all the references
to it accordingly. Do this in order to have a single combo driver for
audio_blk_ctrl. Some of the features of the audio_ctrl will be used by some
different drivers in a way those drivers will know best, so adding the
syscon compatible we allow those to do just that. Those drivers will
have to also add the audiomix PD to their devicetree node in order
to make sure audio_blk_ctrl is on while they are operating.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: Remove imx-hdmimix-reset header file
Abel Vesa [Fri, 12 Jun 2020 21:45:33 +0000 (00:45 +0300)]
arm64: dts: Remove imx-hdmimix-reset header file

The hdmi BLK_CTRL ids have been moved to imx8mp-reset.h

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8mp: Update the audiomix PD clocks
Abel Vesa [Fri, 22 May 2020 10:04:49 +0000 (13:04 +0300)]
arm64: dts: imx8mp: Update the audiomix PD clocks

Now that the CCGR101 is added as a shared gate in the clock
controller driver, we can switch the audiomix PD to use that
newly added gate (IMX8MP_CLK_AUDIO_AHB_ROOT).

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: fsl: imx8mq: Change DCSS context loader interrupt name
Laurentiu Palcu [Thu, 23 Jul 2020 11:24:03 +0000 (14:24 +0300)]
arm64: dts: fsl: imx8mq: Change DCSS context loader interrupt name

The interrupt name is changed from ctx_ld to ctxl, to be consistent.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
4 years agoLF-1790 arm64: dts: imx8mn-ddr4-evk: Correct GPU clock rate
Anson Huang [Wed, 22 Jul 2020 02:00:15 +0000 (10:00 +0800)]
LF-1790 arm64: dts: imx8mn-ddr4-evk: Correct GPU clock rate

For i.MX8MN DDR4 EVK board, system runs at nominal mode, so GPU can
ONLY run up to 400MHz, correct the clock settings, new GPU clock
settings on i.MX8MN DDR4 EVK board are as below:

root@imx8mnevk:~# cat /sys/kernel/debug/clk/clk_summary | grep gpu
          gpu_ahb                     0        0        0   400000000          0     0  50000
          gpu_axi                     0        0        0   800000000          0     0  50000
             gpu_root_clk             0        0        0   800000000          0     0  50000
    gpu_pll_ref_sel                   0        0        0    24000000          0     0  50000
       gpu_pll                        0        0        0  1200000000          0     0  50000
          gpu_pll_bypass              0        0        0  1200000000          0     0  50000
             gpu_pll_out              0        0        0  1200000000          0     0  50000
                gpu_shader            0        0        0   400000000          0     0  50000
                gpu_core              0        0        0   400000000          0     0  50000
                   gpu_core_root_clk       0        0        0   400000000          0     0  50000

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-1762-23 arm64: dts: imx: imx8qxp-mek-rpmsg: fix i2c1 alias id conflict
Dong Aisheng [Tue, 14 Jul 2020 11:17:17 +0000 (19:17 +0800)]
LF-1762-23 arm64: dts: imx: imx8qxp-mek-rpmsg: fix i2c1 alias id conflict

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1762-22 arm64: dts: imx: remove duplicated vpu node
Dong Aisheng [Tue, 14 Jul 2020 11:16:37 +0000 (19:16 +0800)]
LF-1762-22 arm64: dts: imx: remove duplicated vpu node

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-23296 arm64: dts: imx8mp: add flexcan2 support
Joakim Zhang [Mon, 10 Feb 2020 10:21:41 +0000 (18:21 +0800)]
MLK-23296 arm64: dts: imx8mp: add flexcan2 support

Add flexcan2 support for imx8mp.

Reviewed-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoMLK_23189 arm64: dts: imx8mp: add flexcan support
Joakim Zhang [Tue, 12 May 2020 09:16:02 +0000 (17:16 +0800)]
MLK_23189 arm64: dts: imx8mp: add flexcan support

Add flexcan device node for i.MX8MP EVK board.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
4 years agoarm64: dts: imx8mp: Fix audiomix_pd clocks
Abel Vesa [Tue, 7 Jul 2020 16:13:30 +0000 (19:13 +0300)]
arm64: dts: imx8mp: Fix audiomix_pd clocks

The IMX8MP_CLK_AUDIO_AXI_DIV is not registered anymore,
so use the IMX8MP_CLK_AUDIO_AXI instead.

Fixes: 39da71054884ec196a31d94 ("LF-1285 arm64: dts: freescale: Add the power domain node on imx8mp")
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoarm64: dts: imx8qm-sof-cs42888: Remove FSL DAI generic node
Daniel Baluta [Fri, 10 Jul 2020 08:51:40 +0000 (11:51 +0300)]
arm64: dts: imx8qm-sof-cs42888: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
    cpu {
    sound-dai = <&dsp 0>;
    };
    codec {
    sound-dai = <&cs42888>;
    };

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need ESAI0 index which is 0.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qm-sof-wm8960: Remove FSL DAI generic node
Daniel Baluta [Thu, 9 Jul 2020 18:37:58 +0000 (21:37 +0300)]
arm64: dts: imx8qm-sof-wm8960: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
cpu {
    sound-dai = <&dsp 1>;
};
codec {
    sound-dai = <&wm8960>;
};

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need SAI1 index which is 1.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoMLK-23593: arm64: dts: imx8qm: sof: correct the resource id for edma0
Shengjiu Wang [Mon, 18 May 2020 06:56:46 +0000 (14:56 +0800)]
MLK-23593: arm64: dts: imx8qm: sof: correct the resource id for edma0

Correct the resource id for edma0.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qxp-sof-wm8960: Remove FSL DAI generic node
Daniel Baluta [Wed, 1 Jul 2020 16:11:34 +0000 (19:11 +0300)]
arm64: dts: imx8qxp-sof-wm8960: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
    cpu {
        sound-dai = <&dsp 1>;
    };
    codec {
sound-dai = <&wm8960>;
    };

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need SAI1 index which is 1.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoarm64: dts: imx8qxp-sof-cs42888: Remove FSL DAI generic node
Daniel Baluta [Wed, 1 Jul 2020 16:03:44 +0000 (19:03 +0300)]
arm64: dts: imx8qxp-sof-cs42888: Remove FSL DAI generic node

This removes FSL DAI generic node as suggested by upstream
community review and move resources handling for DAIs under
DSP platform node.

So, pinctrl, power domains and clocks are now under dsp node.

Notice that, now DAI links looks like this:
cpu {
sound-dai = <&dsp 0>;
};
codec {
sound-dai = <&cs42888>;
};

See how CPU sound-dai gets an additional CELL for DAI index as
defined by the array imx8_dai from sound/soc/sof/imx/imx8.c

Here we need ESAI0 index which is 0.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-1688: arm64: dts: imx8mn: Resolve conflict for assigned-clocks in clk node
Shengjiu Wang [Mon, 6 Jul 2020 07:10:10 +0000 (15:10 +0800)]
LF-1688: arm64: dts: imx8mn: Resolve conflict for assigned-clocks in clk node

The assigned-clocks in imx8mn-evk.dtsi will replace the assigned-clocks in
imx8mn.dtsi, which is wrong operation.

The correct way is to merge them together in imx8mn.dtsi.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Viorel Suman <viorel.suman@nxp.com>
4 years agoLF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes
Robert Chiras [Wed, 24 Jun 2020 11:25:38 +0000 (14:25 +0300)]
LF-1611: arch:arm64: dts: imx8mq-evk: Fix warnings in display nodes

Some of the display use-case related dts files are generating warnings
due to the incorrect usage of the 'reg' property. This patch fixes these
warnings.
Also, add the reg property to the mipi_dsi_in endpoint in dcss-adv7535.dts
(currently missing), so that the nwl-dsi driver will select the
appropriate input (DCSS).

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoarm64: dts: imx8m: Add NOC nodes
Leonard Crestez [Tue, 23 Jun 2020 09:36:09 +0000 (12:36 +0300)]
arm64: dts: imx8m: Add NOC nodes

Add nodes for the main interconnect of the imx8m series chips.

These nodes are bound to by devfreq and interconnect drivers.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
4 years agoMLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3
Fancy Fang [Tue, 19 May 2020 03:35:11 +0000 (11:35 +0800)]
MLK-24063 arm64: dts: imx8mp: add power-domains for lcdif3

The LCDIF3 is included in the HDMIMIX block, so it is
necessary to enable hdmimix power domain for LCDIF3 to
avoid any potential hang issue.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
(cherry picked from commit 04ff1b1c585a29a08fae5dd2c0a28c1e669fce0b)

4 years agoLF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string
Dong Aisheng [Fri, 5 Jun 2020 10:39:10 +0000 (18:39 +0800)]
LF-1438-2 arm64: dts: imx8qxp-lsio: fix scu mu compatible string

Fix compatible string to make sure can use the new SCU message
sending approach.
This issue was introduced during rebase.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-23889 arm: dts: imx6sx: add power domain for csi
Robby Cai [Mon, 25 May 2020 15:19:00 +0000 (23:19 +0800)]
MLK-23889 arm: dts: imx6sx: add power domain for csi

add power domain for csi device node

Signed-off-by: Robby Cai <robby.cai@nxp.com>
Reviewed-by: Guoniu.zhou <guoniu.zhou@nxp.com>
(cherry picked from commit b6195f08924fa05f76e3e6f71733a2118ee1face)

4 years agoLF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW
Robert Chiras [Wed, 3 Jun 2020 08:52:40 +0000 (11:52 +0300)]
LF-1052: arch: arm64: dts: imx8mq: Limit lcdif BW

Limit the maximum allowed bandwidth for LCDIF due to HW limitation in
i.MX8MQ: LCDIF can dcan rive up to 720p60 because of DDR/NoC QoS issue.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoMLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display
Fancy Fang [Sat, 16 May 2020 06:16:44 +0000 (14:16 +0800)]
MLK-23694-13 arm64: dts: imx8mp-evk: integrate HDMI display

Integrate local HDMI display into EVK DTB to support the
DSI + LVDS + HDMI triple display, and previous single
display support for DSI, LVDS or HDMI is also remained.
Put LCDIF3 port to the same display-subsystem node as
LCDIF1 and LCDIF2 to realize this kind of triple display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in
Fancy Fang [Fri, 15 May 2020 11:58:49 +0000 (19:58 +0800)]
MLK-23694-12 arm64: dts: imx8mp-evk: integrate LVDS bridge display in

Integrate LVDS bridge with single channel display into EVK DTB
to support DSI + LVDS dual display, and the previous single
display support for DSI or LVDS is also remained. Put LCDIF1
and LCDIF2 ports into one display-subystem node to implement
this kind of dual display.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-8 arm64: dts: imx8mp: add power domains for ldb
Fancy Fang [Fri, 15 May 2020 11:27:01 +0000 (19:27 +0800)]
MLK-23694-8 arm64: dts: imx8mp: add power domains for ldb

As other devices in mediamix domain have already enabled
power domains, LDB is also required to enable the power
domains.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-7 arm64: dts: imx8mp: add apb clock for blk-ctl@32ec0000
Fancy Fang [Fri, 15 May 2020 11:19:24 +0000 (19:19 +0800)]
MLK-23694-7 arm64: dts: imx8mp: add apb clock for blk-ctl@32ec0000

The mediamix block control module access requires the
'IMX8MP_CLK_MEDIA_APB_ROOT' clock to be enabled, so
add this clock to this device node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-5 arm64: dts: imx8mp: rename 'lcdif_disp0' to 'lcdif1_disp'
Fancy Fang [Fri, 15 May 2020 11:12:43 +0000 (19:12 +0800)]
MLK-23694-5 arm64: dts: imx8mp: rename 'lcdif_disp0' to 'lcdif1_disp'

To align with the port names of 'lcdif2_disp' and 'lcdif3_disp',
rename 'lcdif_disp0' to 'lcdif1_disp'.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-4 arm64: dts: imx8mp: assign 27MHz to mipi_phy1_ref
Fancy Fang [Fri, 15 May 2020 11:08:18 +0000 (19:08 +0800)]
MLK-23694-4 arm64: dts: imx8mp: assign 27MHz to mipi_phy1_ref

Since the 'mipi_phy1_ref' clock rate is usually set to
be 27MHz and won't be changed after boot up. So assign
27MHz rate instead of 594MHz to this clock is much more
reasonable.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-3 arm64: dts: imx8mp: skip rate assign for disp1_pix
Fancy Fang [Fri, 15 May 2020 11:01:44 +0000 (19:01 +0800)]
MLK-23694-3 arm64: dts: imx8mp: skip rate assign for disp1_pix

The 'disp1_pix' clock is used to provide pixel clock for
LCDIF1 and its rate is closely related with the display
mode resolution which is configured. So this clock rate
is dynamically determined and unnecessary to be assigned
with a default value at boot up.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23694-2 arm64: dts: imx8mp: assign 2079MHz to video_pll1
Fancy Fang [Mon, 16 Mar 2020 06:51:03 +0000 (14:51 +0800)]
MLK-23694-2 arm64: dts: imx8mp: assign 2079MHz to video_pll1

The 'video_pll1' clock is shared by MIPI and LVDS displays
and each of the display has a specific requirement for the
PLL rate which can be satified by set 'video_pll1' rate to
be 2079MHz. So assign 2079MHz rate to 'video_pll1' under
CCM device.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23981 arm64: imx8x-mek.dtsi: Enable adma_pwm node in display specific DT file
Liu Ying [Thu, 14 May 2020 02:35:05 +0000 (10:35 +0800)]
MLK-23981 arm64: imx8x-mek.dtsi: Enable adma_pwm node in display specific DT file

The current DT file for the i.MX8x MEK platform has a pin conflict for
IMX8QXP_SPI0_CS1 bewteen the sai1 node and the adma_pwm node(as needed
by the parallel display panel backlight control).  This patch enables
the adma_pwm node in display specific DT file to avoid the conflict.
Also, the lcdif_backlight is moved to display specific as it is
referencing the adma_pwm node.

Fixes: 62408b1461b6 ("LF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
4 years agoLF-1373-4: arch: arm64: imx8mq-evk: Update endpoint ids for new nwl-dsi driver
Robert Chiras [Wed, 13 May 2020 08:46:34 +0000 (11:46 +0300)]
LF-1373-4: arch: arm64: imx8mq-evk: Update endpoint ids for new nwl-dsi driver

Thw new nwl-dsi driver is addressing the LCDIF vs DCSS input source by
the endpoint ids. So, change our endpoint ids for LCDIF and DCSS nodes
so that the nwl-dsi driver can correctly determine the input source.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoLF-1392-3 ARM: dts: imx7ulp: support cpufreq dt
Peng Fan [Wed, 13 May 2020 06:59:16 +0000 (14:59 +0800)]
LF-1392-3 ARM: dts: imx7ulp: support cpufreq dt

Support cpufreq dt method

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
4 years agoMLK-23959 arm64: imx8-ss-dc0/1.dtsi: Correct dpu node interrupt properties
Liu Ying [Sat, 9 May 2020 08:30:53 +0000 (16:30 +0800)]
MLK-23959 arm64: imx8-ss-dc0/1.dtsi: Correct dpu node interrupt properties

The dpu node 'interrupts' and 'interrupt-names' properties should
reflect all dpu interrupts including the missing 'reserved' interrupt.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoMLK-23758 arm64: dts: imx8mp: add power domains for dsi, lcdif1 and lcdif2
Fancy Fang [Mon, 11 May 2020 06:07:41 +0000 (14:07 +0800)]
MLK-23758 arm64: dts: imx8mp: add power domains for dsi, lcdif1 and lcdif2

Add the corresponding power domains for MIPI DSI, LCDIF1 and
LCDIF2 device nodes.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
Reviewed-by: G.n. Zhou <guoniu.zhou@nxp.com>
4 years agoarm64: dts: imx8mp: Add hdmimix subsystem nodes
Sandor Yu [Thu, 23 Apr 2020 06:12:28 +0000 (14:12 +0800)]
arm64: dts: imx8mp: Add hdmimix subsystem nodes

Add imx8mp hdmimix subsystem nodes.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
4 years agoarm64: dts: imx8mp: change the usdhc compatible
Haibo Chen [Tue, 28 Apr 2020 09:13:36 +0000 (17:13 +0800)]
arm64: dts: imx8mp: change the usdhc compatible

Change the usdhc to compatible with imx8mm, then emmc can
work at HS400ES mode.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
4 years agoMLK-23616-2 arm64: imx8mp.dtsi: Add APB clock related properties in lvds phy node
Liu Ying [Wed, 18 Mar 2020 03:06:22 +0000 (11:06 +0800)]
MLK-23616-2 arm64: imx8mp.dtsi: Add APB clock related properties in lvds phy node

This patch adds APB clock related properties in lvds phy node,
so that the driver may get and control the APB clock.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-15 arm64: dts: imx8mp-evk: Add JDI WUXGA LVDS panel support
Liu Ying [Wed, 12 Feb 2020 03:54:02 +0000 (11:54 +0800)]
MLK-23252-15 arm64: dts: imx8mp-evk: Add JDI WUXGA LVDS panel support

This patch adds JDI WUXGA LVDS panel device tree node support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-14 arm64: dts: imx8mp-evk: Add PWM backlight support for LVDS panel
Liu Ying [Mon, 20 Jan 2020 02:31:42 +0000 (10:31 +0800)]
MLK-23252-14 arm64: dts: imx8mp-evk: Add PWM backlight support for LVDS panel

This patch adds PWM backlight device tree node support for LVDS panel
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-13 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI chan0 support
Liu Ying [Mon, 20 Jan 2020 02:40:38 +0000 (10:40 +0800)]
MLK-23252-13 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI chan0 support

This patch adds it6263 LVDS to HDMI transmitter channel0 support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-12 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI dual chan support
Liu Ying [Mon, 20 Jan 2020 02:27:38 +0000 (10:27 +0800)]
MLK-23252-12 arm64: dts: imx8mp-evk: Add it6263 LVDS2HDMI dual chan support

This patch adds it6263 LVDS to HDMI transmitter dual channel support
on the i.MX8mp EVK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-11 arm64: imx8mq.dtsi: Add LDB node support
Liu Ying [Mon, 20 Jan 2020 01:57:42 +0000 (09:57 +0800)]
MLK-23252-11 arm64: imx8mq.dtsi: Add LDB node support

This patch adds LDB devictree node support.
LVDS PHY node is also added as needed by the LDB node.
Also, connect lcdif2_disp port with lvds-channel@0/1 ports.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23252-10 arm64: imx8mp.dtsi: Add LCDIF2 node
Liu Ying [Sun, 19 Jan 2020 09:54:22 +0000 (17:54 +0800)]
MLK-23252-10 arm64: imx8mp.dtsi: Add LCDIF2 node

This patch adds LCDIF2 node support.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23190-4 ARM64: dts: imx8mp: add pwm support
Clark Wang [Mon, 6 Jan 2020 02:30:37 +0000 (10:30 +0800)]
MLK-23190-4 ARM64: dts: imx8mp: add pwm support

Add pwm1/2/4 nodes support.
Enable pwm1 on pin GPIO1_IO01 for DSI_BL_PWM
       pwm2 on pin GPIO1_IO11 for LVDS_BL_PWM
       pwm4 on pin SAI5_RXFS for J21-32

Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
4 years agoMLK-23844-1: ARM64: dts: freescale: imx8mn-ddr4-evk: cleanup Rhom pmic
Robin Gong [Fri, 24 Apr 2020 20:27:40 +0000 (04:27 +0800)]
MLK-23844-1: ARM64: dts: freescale: imx8mn-ddr4-evk: cleanup Rhom pmic

Inculding below cleanup for BD71847 pmic driver:

  --Remove ldo4 which's not used by board, otherwise,ldo4 will be on
    since it's always_on.
  --Remove buck5 which's not used by board too,although that may be off
    by kernel requlator common framework after kernel bootup.
  --Add dvs-run-voltage/dvs-idle-voltage setting for buck2 as i.mx8mm.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoMLK-23211-4: arm64: imx8mp: dts: add power domain for vpu node
Zhou Peng [Fri, 24 Apr 2020 08:47:17 +0000 (16:47 +0800)]
MLK-23211-4: arm64: imx8mp: dts: add power domain for vpu node

Add power domain property for vpu node: g1/g2/vc8000e

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoLF-1299: arm64: dts: imx8mp: Enable SAI/ASRC/WM8960/MICFIL
Shengjiu Wang [Wed, 22 Apr 2020 06:02:09 +0000 (14:02 +0800)]
LF-1299: arm64: dts: imx8mp: Enable SAI/ASRC/WM8960/MICFIL

Enable SAI/ASRC/WM8960/MICFIL.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
4 years agoarm64: dts: imx8mp: Add AIPS 4 and 5
Abel Vesa [Mon, 24 Feb 2020 14:01:58 +0000 (16:01 +0200)]
arm64: dts: imx8mp: Add AIPS 4 and 5

There are 5 AIPS maps in total, according to the RM. Add the missing
ones here.

Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
[ Aisheng: fix aips base ]
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoLF-1290 arm64: dts: freescale: Add the idle state node on imx8mp
Jacky Bai [Thu, 23 Apr 2020 10:19:10 +0000 (18:19 +0800)]
LF-1290 arm64: dts: freescale: Add the idle state node on imx8mp

Add the idle state node on imx8mp to enable the cpuidle support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-1285 arm64: dts: freescale: Add the power domain node on imx8mp
Jacky Bai [Thu, 23 Apr 2020 10:04:59 +0000 (18:04 +0800)]
LF-1285 arm64: dts: freescale: Add the power domain node on imx8mp

Add the power domain nodes on i.MX8MP to enable the power domain
support.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoMLK-23211-3: arm64: imx8mp: evk: dts: enable vpu module
Zhou Peng [Thu, 23 Apr 2020 03:55:56 +0000 (11:55 +0800)]
MLK-23211-3: arm64: imx8mp: evk: dts: enable vpu module

Enable g1/g2/vc8000e for imx8mp evk board

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoMLK-23211-2: arm64: imx8mp: dts: add vpu node
Zhou Peng [Thu, 23 Apr 2020 03:48:10 +0000 (11:48 +0800)]
MLK-23211-2: arm64: imx8mp: dts: add vpu node

Add vpu node: g1/g2/vc8000e

Signed-off-by: Zhou Peng <eagle.zhou@nxp.com>
4 years agoMLK-23234-11 arm64: dts: imx8mp-evk: add dtb to support RM67191
Fancy Fang [Tue, 24 Dec 2019 03:16:07 +0000 (11:16 +0800)]
MLK-23234-11 arm64: dts: imx8mp-evk: add dtb to support RM67191

Add a new dtb 'imx8mp-evk-rm67191.dtb' to support rm67191
mipi panel display on i.MX8MP EVK board.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-10 arm64: dts: imx8mp-evk: enable adv7535 display
Fancy Fang [Tue, 24 Dec 2019 02:47:57 +0000 (10:47 +0800)]
MLK-23234-10 arm64: dts: imx8mp-evk: enable adv7535 display

Enable LCDIFv3 -> SEC DSIM -> ADV7535 display pipeline
on i.MX8MP EVK board by default.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-3 arm64: dts: imx8mp: add 'blk-ctl' property for lcdif1
Fancy Fang [Tue, 14 Jan 2020 03:43:33 +0000 (11:43 +0800)]
MLK-23234-3 arm64: dts: imx8mp: add 'blk-ctl' property for lcdif1

Add the 'blk-ctl' property for lcdif1 which is used to
do the lcdif controller reset during probe stage to
avoid any conflict with uboot splash screen settings.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-2 arm64: dts: imx8mp: add blk-ctl node for mediamix
Fancy Fang [Tue, 14 Jan 2020 03:11:32 +0000 (11:11 +0800)]
MLK-23234-2 arm64: dts: imx8mp: add blk-ctl node for mediamix

The block control module in mediamix is responsible for
clocks gating, sub-modules reset and other module control
for lcdif, dsi, csi, isp, isi and etc sub-modules which
are included in the mediamix. So create a device node to
simplify the usages.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoMLK-23234-1 arm64: dts: imx8mp: correct cfg clock for mipi_dsi
Fancy Fang [Mon, 13 Jan 2020 14:27:09 +0000 (22:27 +0800)]
MLK-23234-1 arm64: dts: imx8mp: correct cfg clock for mipi_dsi

The 'cfg' clock for mipi dsi is used for register
accesses and the mipi apb clock should be enabled
for this purpose, so correct it in the mipi dsi
device node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1273-2 arm64: dts: imx8mp: add 'display-subsystem' node
Fancy Fang [Wed, 22 Apr 2020 13:42:51 +0000 (21:42 +0800)]
LF-1273-2 arm64: dts: imx8mp: add 'display-subsystem' node

Add the 'display-subsystem' node which attach to the
'lcdif_disp0' ports defined in 'lcdif1' node.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1273-1 arm64: dts: imx8mp: add dsim and lcdif1 nodes
Fancy Fang [Wed, 22 Apr 2020 13:37:21 +0000 (21:37 +0800)]
LF-1273-1 arm64: dts: imx8mp: add dsim and lcdif1 nodes

Add the 'mipi_dsi' and 'lcdif1' device nodes to i.MX8MP
platform.

Signed-off-by: Fancy Fang <chen.fang@nxp.com>
4 years agoLF-1262 arm64: dts: imx8mp: Add cpufreq support
Anson Huang [Wed, 22 Apr 2020 03:00:37 +0000 (11:00 +0800)]
LF-1262 arm64: dts: imx8mp: Add cpufreq support

Add A53 OPP table and regulator to support cpufreq.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
4 years agoLF-1232-12 arm64: dts: imx8qxp-mek: Add DPU LCDIF support with rpmsg
Liu Ying [Thu, 16 Apr 2020 04:04:16 +0000 (12:04 +0800)]
LF-1232-12 arm64: dts: imx8qxp-mek: Add DPU LCDIF support with rpmsg

This patch adds DPU LCDIF support with rpmsg on the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-11 arm64: dts: imx8qxp-mek-dpu-lcdif: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:18:13 +0000 (12:18 +0800)]
LF-1232-11 arm64: dts: imx8qxp-mek-dpu-lcdif: Remove rpmsg support

As the dts file name doesn't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-10 arm64: dts: imx8x-mek: Introduce DPU LCDIF include file
Liu Ying [Thu, 16 Apr 2020 03:59:10 +0000 (11:59 +0800)]
LF-1232-10 arm64: dts: imx8x-mek: Introduce DPU LCDIF include file

This patch introduces DPU LCDIF dts include file,
so that it may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-9 arm64: dts: imx8qxp-mek: Add IT6263 LVDS0/1 dual channel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:44:27 +0000 (11:44 +0800)]
LF-1232-9 arm64: dts: imx8qxp-mek: Add IT6263 LVDS0/1 dual channel support with rpmsg

This patch adds IT6263 LVDS0/1 dual channel support with rpmsg on
the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-8 arm64: dts: imx8qxp-mek: Add JDI WUXGA LVDS0/1 panel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:41:38 +0000 (11:41 +0800)]
LF-1232-8 arm64: dts: imx8qxp-mek: Add JDI WUXGA LVDS0/1 panel support with rpmsg

This patch adds JDI WUXGA LVDS0/1 panel support with rpmsg on
the i.MX8qxp MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-7 arm64: dts: imx8qxp-mek-it6263-lvds0/1-dual-channel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:13:54 +0000 (12:13 +0800)]
LF-1232-7 arm64: dts: imx8qxp-mek-it6263-lvds0/1-dual-channel: Remove rpmsg support

As the dts file names don't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-6 arm64: dts: imx8qxp-mek-jdi-wuxga-lvds0/1-panel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 04:13:03 +0000 (12:13 +0800)]
LF-1232-6 arm64: dts: imx8qxp-mek-jdi-wuxga-lvds0/1-panel: Remove rpmsg support

As the dts file names don't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-5 arm64: dts: imx8x-mek: Introduce IT6263 LVDS0/1 dual channel include files
Liu Ying [Thu, 16 Apr 2020 03:32:44 +0000 (11:32 +0800)]
LF-1232-5 arm64: dts: imx8x-mek: Introduce IT6263 LVDS0/1 dual channel include files

This patch introduces IT6263 LVDS0/1 dual channel dts include files,
so that they may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-4 arm64: dts: imx8x-mek: Introduce JDI WUXGA LVDS0/1 panel include files
Liu Ying [Thu, 16 Apr 2020 03:21:13 +0000 (11:21 +0800)]
LF-1232-4 arm64: dts: imx8x-mek: Introduce JDI WUXGA LVDS0/1 panel include files

This patch introduces JDI WUXGA LVDS0/1 panel dts include files,
so that they may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-3 arm64: dts: imx8qm-mek: Add JDI WUXGA LVDS1 panel support with rpmsg
Liu Ying [Thu, 16 Apr 2020 03:16:45 +0000 (11:16 +0800)]
LF-1232-3 arm64: dts: imx8qm-mek: Add JDI WUXGA LVDS1 panel support with rpmsg

This patch adds JDI WUXGA LVDS1 panel support with rpmsg on
the i.MX8qm MEK platform.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-2 arm64: dts: imx8qm-mek-jdi-wuxga-lvds1-panel: Remove rpmsg support
Liu Ying [Thu, 16 Apr 2020 03:13:27 +0000 (11:13 +0800)]
LF-1232-2 arm64: dts: imx8qm-mek-jdi-wuxga-lvds1-panel: Remove rpmsg support

As the dts file name doesn't contain 'rpmsg', we should remove the
rpmsg support to avoid user's confusion.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1232-1 arm64: dts: imx8qm-mek: Introduce JDI WUXGA LVDS1 panel include file
Liu Ying [Thu, 16 Apr 2020 03:09:23 +0000 (11:09 +0800)]
LF-1232-1 arm64: dts: imx8qm-mek: Introduce JDI WUXGA LVDS1 panel include file

This patch introduces JDI WUXGA LVDS1 panel dts include file,
so that it may be included in some dts files as needed.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoMLK-23700 ARM: dts: Fix system freeze caused low power run mode on imx6ulz
Jacky Bai [Fri, 3 Apr 2020 02:15:23 +0000 (10:15 +0800)]
MLK-23700 ARM: dts: Fix system freeze caused low power run mode on imx6ulz

The 'fsl,low-power-run' property should be added for i.MX6ULL/ULZ
to enable the low power run mode. if this property is missed,
system will hang due to ARM core clock source mismatch.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoLF-1207: arm64/dts: imx8qxp: Add rpmsg support for rm67191
Robert Chiras [Mon, 6 Apr 2020 11:31:57 +0000 (14:31 +0300)]
LF-1207: arm64/dts: imx8qxp: Add rpmsg support for rm67191

Add new dts file to support the rpmsg dts for the dsi-rm67191
use-case.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
4 years agoLF-1189-15 arm64: imx8qxp-mek: Add Seiko WVGA LCD panel(driven by DPU) support
Liu Ying [Mon, 30 Mar 2020 02:37:34 +0000 (10:37 +0800)]
LF-1189-15 arm64: imx8qxp-mek: Add Seiko WVGA LCD panel(driven by DPU) support

This patch adds Seiko WVGA LCD panel support on the i.MX8qxp mek platform.
The panel is driven by DPU in DC0 subsystem.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-14 arm64: imx8qxp-mek: Add backlight support for LCDIF display
Liu Ying [Mon, 30 Mar 2020 02:19:35 +0000 (10:19 +0800)]
LF-1189-14 arm64: imx8qxp-mek: Add backlight support for LCDIF display

This patch adds backlight support for LCDIF display on
i.MX8qxp mek platform.
The backlight brightness is controlled by PWM.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support
Liu Ying [Mon, 30 Mar 2020 02:15:28 +0000 (10:15 +0800)]
LF-1189-13 arm64: dts: imx8qxp-mek: Add adma_pwm support

This patch adds adma_pwm support for i.MX8qxp mek platform.
The PWM can be used to control display panel's backlight.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-12 arm64: dts: imx8qxp-mek: Add PWM pinctrl for LCDIF display
Liu Ying [Mon, 30 Mar 2020 02:03:04 +0000 (10:03 +0800)]
LF-1189-12 arm64: dts: imx8qxp-mek: Add PWM pinctrl for LCDIF display

This patch adds PWM pinctrl setting support for LCDIF display.
The PWM can be used to control display panel's backlight.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-11 arm64: dts: imx8qxp-mek: Add LCDIF pinctrl
Liu Ying [Fri, 27 Mar 2020 08:24:42 +0000 (16:24 +0800)]
LF-1189-11 arm64: dts: imx8qxp-mek: Add LCDIF pinctrl

This patch adds all pinctrl settings for LCDIF to send
out parallel display signals to externel display device.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support
Liu Ying [Mon, 30 Mar 2020 04:19:49 +0000 (12:19 +0800)]
LF-1189-10 arm64: imx8qxp-ss-adma.dtsi: Add pwm support

This patch adds pwm device tree support for i.MX8qxp ADMA support.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-9 arm64: imx8qxp-ss-adma.dtsi: Add pwm lpcg clocks support
Liu Ying [Mon, 30 Mar 2020 01:32:11 +0000 (09:32 +0800)]
LF-1189-9 arm64: imx8qxp-ss-adma.dtsi: Add pwm lpcg clocks support

This patch adds pwm lpcg clocks support for i.MX8qxp ADMA subsystem.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-8 arm64: imx8qxp-ss-adma.dtsi: Add LCDIF mux regs syscon
Liu Ying [Thu, 26 Mar 2020 08:48:07 +0000 (16:48 +0800)]
LF-1189-8 arm64: imx8qxp-ss-adma.dtsi: Add LCDIF mux regs syscon

LCDIF mux found in i.MX8qxp SoC muxes different inputs to
parallel display interface.  The control register for the
mux lives in LCDIF mux regs region.  This patch adds a
relevant LCDIF mux regs syscon node for that region.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1189-7 arm64: imx8qxp-ss-dc.dtsi: Add lcdif endpoint to dpu node
Liu Ying [Thu, 26 Mar 2020 08:41:45 +0000 (16:41 +0800)]
LF-1189-7 arm64: imx8qxp-ss-dc.dtsi: Add lcdif endpoint to dpu node

i.MX8qxp DPU display stream1 may drive a parallel display through
pixel link to LCDIF mux.  This patch adds lcdif endpoint to DPU node.

Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
Tested-by: Robert Chiras <robert.chiras@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-1209: ARM64: dts: freescale: imx8mp-evk: add pca9450 pmic
Robin Gong [Wed, 8 Apr 2020 11:42:09 +0000 (19:42 +0800)]
LF-1209: ARM64: dts: freescale: imx8mp-evk: add pca9450 pmic

Add pca9450 driver.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Anson Huang <anson.huang@nxp.com>
4 years agoLF-1622-15 ARM: dts: imx6q: fix apis-bus node name
Dong Aisheng [Fri, 20 Mar 2020 14:20:09 +0000 (22:20 +0800)]
LF-1622-15 ARM: dts: imx6q: fix apis-bus node name

This node name changed since:
c0157bdcafa1 ("ARM: dts: imx: use generic name bus")

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
4 years agoMLK-21760 arm64: dts: imx8qm/imx8qxp: VPU Encoder: increase resolution limitation
Ming Qian [Wed, 1 Apr 2020 05:44:03 +0000 (13:44 +0800)]
MLK-21760 arm64: dts: imx8qm/imx8qxp: VPU Encoder: increase resolution limitation

increase the resolution limitation from 1920x1080 to 1920x1920
I have submitted the patch on branch 4.19.y
I don't know why branch 5.4 doesn't include this patch
so I submit it again

Signed-off-by: Ming Qian <ming.qian@nxp.com>
4 years agoarm64: dtsi: imx8mq: disable super speed park mode for usb
Li Jun [Mon, 30 Mar 2020 13:43:04 +0000 (21:43 +0800)]
arm64: dtsi: imx8mq: disable super speed park mode for usb

- Advantage of park mode
  When only a single Async endpoint is active.

- Behavior of park mode
  1. The controller prefetches data/TRBs to do 3 * burst_size worth
     of packets.
  2. When park mode is disabled there will be some delay between
     bursts on the USB. This can be avoided if park mode is enabled
     in cases of only one endpoint is active.
   3. But this delay is significant only with systems of large
      latencies.
   4. We have noticed that in cases where a device NAKs often, it
      tends to bring down the performance for a single endpoint case.

- Issue on "park mode"
   1. LSP (List Processor) goes in and out of park mode irrespective
      of the fact that there are more endpoints active. #LSP consider
      that there is only one endpoint active.
   2. This causes master scheduler and transaction handlers to think
      that they are in park mode even though they are not. This is
      because request to transaction handlers, generated by HSCH is
      in park mode when the request is made
   3. This causes a case where the master scheduler calculates wrongly
      the number of TRB cache space available.
   4. Because of the wrongly calculated number of TRB spaces, the core
      fetches more TRBS than there is space for.
   5. This causes overwriting the TRB cache area into the TRQ cache
      area which is next to the TRB cache area.
   6. This causes invalidating an entry in the TRQ
   7. This causes transaction handlers to ignore a request in the TRQ
      which it should have processed.
   8. This causes the main scheduler to hang because it is waiting for
      status from transaction handler.
   9. This causes host controller to hang.

- Work Around
  Disabling park mode for super speed by setting GUCTL1[17] to be 1.

Signed-off-by: Li Jun <jun.li@nxp.com>
4 years agoLF-1187 ARM64: dts: imx8mp: add ethernet support for evk board
Fugang Duan [Thu, 26 Mar 2020 15:14:57 +0000 (23:14 +0800)]
LF-1187 ARM64: dts: imx8mp: add ethernet support for evk board

Add ethernet support for imx8mp evk board.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoMLK-23131-1 arm64: dts: imx8mm/imx8mn: Add dram_pll_div clock for busfreq
Anson Huang [Thu, 19 Dec 2019 06:29:53 +0000 (14:29 +0800)]
MLK-23131-1 arm64: dts: imx8mm/imx8mn: Add dram_pll_div clock for busfreq

On i.MX8MM/i.MX8MN platforms, need to add dram_pll_div clock for
busfreq driver to update dram_core clock when DRAM frequency switches
between low bus mode and high bus mode.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Robin Gong <yibin.gong@nxp.com>
4 years agoLF-723 ARM: dts: imx: Add pwm backlight for lvds display
Jacky Bai [Wed, 8 Jan 2020 06:30:38 +0000 (14:30 +0800)]
LF-723 ARM: dts: imx: Add pwm backlight for lvds display

Add PWM backlight for LVDS display on i.MX6SX SDB board.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
4 years agoMGS-5584 arm64: imx8mn.dtsi: GPU reg format should align with soc0.
Ella Feng [Wed, 25 Mar 2020 10:33:34 +0000 (18:33 +0800)]
MGS-5584 arm64: imx8mn.dtsi: GPU reg format should align with soc0.

GPU node is now within soc0 node, reg format need follow
“#address-cells = <1>;#size-cells = <1>;” as soc0.

Signed-off-by: Ella Feng <ella.feng@nxp.com>
4 years agoLF-882-2 arm64: imx8qm-ss-lvds.dtsi: Correct clock property of irqsteer_lvds1 node
Liu Ying [Fri, 13 Mar 2020 05:58:47 +0000 (13:58 +0800)]
LF-882-2 arm64: imx8qm-ss-lvds.dtsi: Correct clock property of irqsteer_lvds1 node

The irqsteer_lvds1 node's ipg clock source should be
lvds1_lis_lpcg_ipg_clk, instead of lvds0_lis_lpcg_ipg_clk.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-882-1 arm64: imx8qm-ss-lvds.dtsi: Separate ipg clock for lvds0/1 subsystems
Liu Ying [Fri, 13 Mar 2020 05:57:17 +0000 (13:57 +0800)]
LF-882-1 arm64: imx8qm-ss-lvds.dtsi: Separate ipg clock for lvds0/1 subsystems

Each LVDS subsystem should have ipg clock of their own.

Reviewed-by: Sandor Yu <Sandor.yu@nxp.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
4 years agoLF-749 ARM: dts: imx6qdl: add bus recovery for i2c buses
Clark Wang [Thu, 9 Jan 2020 07:15:01 +0000 (15:15 +0800)]
LF-749 ARM: dts: imx6qdl: add bus recovery for i2c buses

Add bus recovery for all i2c buses to avoid bus dead lock.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
4 years agoLF-633-3 ARM64: dts: imx8qm: add bus recovery for i2c1
Clark Wang [Fri, 27 Dec 2019 07:22:12 +0000 (15:22 +0800)]
LF-633-3 ARM64: dts: imx8qm: add bus recovery for i2c1

In order to avoid the bus busy status when read wm8960, add bus recovery
feature for i2c1.

Signed-off-by: Clark Wang <xiaoning.wang@nxp.com>