linux-2.6-block.git
3 years agoMerge branch 'imx/defconfig' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:23 +0000 (11:00 +0800)]
Merge branch 'imx/defconfig' into for-next

3 years agoMerge branch 'imx/dt64' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:22 +0000 (11:00 +0800)]
Merge branch 'imx/dt64' into for-next

3 years agoMerge branch 'imx/dt' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:21 +0000 (11:00 +0800)]
Merge branch 'imx/dt' into for-next

3 years agoMerge branch 'imx/bindings' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:19 +0000 (11:00 +0800)]
Merge branch 'imx/bindings' into for-next

3 years agoMerge branch 'imx/soc' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:18 +0000 (11:00 +0800)]
Merge branch 'imx/soc' into for-next

3 years agoMerge branch 'imx/drivers' into for-next
Shawn Guo [Fri, 17 Dec 2021 03:00:16 +0000 (11:00 +0800)]
Merge branch 'imx/drivers' into for-next

3 years agodt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl
Adam Ford [Wed, 15 Dec 2021 00:46:21 +0000 (18:46 -0600)]
dt-bindings: soc: add binding for i.MX8MN DISP blk-ctrl

Add the DT binding for the i.MX8MN DISP blk-ctrl.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agosoc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl
Adam Ford [Wed, 15 Dec 2021 00:46:22 +0000 (18:46 -0600)]
soc: imx: imx8m-blk-ctrl: add i.MX8MN DISP blk-ctrl

This adds the description for the i.MX8MN disp blk-ctrl.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: power: imx8mn: add defines for DISP blk-ctrl domains
Adam Ford [Wed, 15 Dec 2021 00:46:20 +0000 (18:46 -0600)]
dt-bindings: power: imx8mn: add defines for DISP blk-ctrl domains

This adds the defines for the power domains provided by the DISP
blk-ctrl.

Signed-off-by: Adam Ford <aford173@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agosoc: imx: gpcv2: Add dispmix and mipi domains to imx8mn
Adam Ford [Wed, 15 Dec 2021 00:46:19 +0000 (18:46 -0600)]
soc: imx: gpcv2: Add dispmix and mipi domains to imx8mn

The dispmix will be needed for the blkctl driver, so add it
to the gpcv2.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agosoc: imx: gpcv2: keep i.MX8MN gpumix bus clock enabled
Adam Ford [Wed, 15 Dec 2021 00:46:18 +0000 (18:46 -0600)]
soc: imx: gpcv2: keep i.MX8MN gpumix bus clock enabled

Like the i.MX8MM, keep the gpumix clocks running when the
domain is active.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6: phytec: Add PEB-WLBT-05 support
Yunus Bas [Thu, 16 Dec 2021 08:41:07 +0000 (09:41 +0100)]
ARM: dts: imx6: phytec: Add PEB-WLBT-05 support

The PEB-WLBT-05 is equipped with a Sterling-LWB radio module, which is
capable of Wi-Fi 802.11 b/g/n and Bluetooth 4.2.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mp-evk: configure multiple queues on eqos
Xiaoliang Yang [Thu, 16 Dec 2021 09:24:48 +0000 (17:24 +0800)]
arm64: dts: imx8mp-evk: configure multiple queues on eqos

Eqos ethernet support five queues on hardware, enable these queues and
configure the priority of each queue. Uses Strict Priority as scheduling
algorithms to ensure that the TSN function works.

The priority of each queue is a bitmask value that maps VLAN tag
priority to the queue. Since the hardware only supports five queues,
this patch maps priority 0-4 to queues one by one, and priority 5-7 to
queue 4.

The total fifo size of 5 queues is 8192 bytes, if enable 5 queues with
store-and-forward mode, it's not enough for large packets, which would
trigger fifo overflow frequently. This patch set DMA to thresh mode to
enable all 5 queues.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Reviewed-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl: phytec: Add support for optional PEB-AV-02 LCD adapter
Yunus Bas [Thu, 16 Dec 2021 08:41:06 +0000 (09:41 +0100)]
ARM: dts: imx6qdl: phytec: Add support for optional PEB-AV-02 LCD adapter

The PEB-AV-02 expansion adapter extends the phyBOARD-Mira boards to
connect parallel LCD displays, either with capacitive or resistive
touch.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl: phytec: Add support for optional PEB-EVAL-01 board
Yunus Bas [Thu, 16 Dec 2021 08:41:05 +0000 (09:41 +0100)]
ARM: dts: imx6qdl: phytec: Add support for optional PEB-EVAL-01 board

The PHYTEC PEV-EVAL-01 expansion board adds support for additional
gpio-triggered user-leds and gpio-key support.

Signed-off-by: Yunus Bas <y.bas@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-qds: add overlays for various serdes protocols
Alex Marginean [Tue, 14 Dec 2021 09:32:40 +0000 (03:32 -0600)]
arm64: dts: ls1028a-qds: add overlays for various serdes protocols

Add overlays for various serdes protocols on LS1028A QDS board using
different PHY cards.  These should be applied at boot, based on serdes
configuration.  If no overlay is applied, only the RGMII interface on
the QDS is available in Linux.

Building device tree fragments requires passing the "-@" argument to
dtc, which increases the base dtb size and might cause some platforms to
fail to store the new binary. To avoid that, it would be nice to only
pass "-@" for the platforms where fragments will be used, aka
LS1028A-QDS. One approach suggested by Rob Herring is used here:

https://lore.kernel.org/patchwork/patch/821645/

Also moved the enet* override nodes in dts file to be in alphabetic order.

Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jason Liu <jason.hui.liu@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-qds: enable lpuart1
Vabhav Sharma [Tue, 14 Dec 2021 09:32:39 +0000 (03:32 -0600)]
arm64: dts: ls1028a-qds: enable lpuart1

LPUART nodes by default are disabled in LS1028A device
tree, Enabling LPUART1 node.

Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
Biwen Li [Tue, 14 Dec 2021 09:32:38 +0000 (03:32 -0600)]
arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus

The i2c rtc is on i2c2 bus not i2c1 bus, so fix it in dts.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.lil@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-rdb: enable pwm0
Biwen Li [Tue, 14 Dec 2021 09:32:37 +0000 (03:32 -0600)]
arm64: dts: ls1028a-rdb: enable pwm0

Enable pwm0 on ls1028a-rdb board which uses flextimer1.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a: add flextimer based pwm nodes
Biwen Li [Tue, 14 Dec 2021 09:32:35 +0000 (03:32 -0600)]
arm64: dts: ls1028a: add flextimer based pwm nodes

Add pwm nodes using flextimer controller.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a: add ftm_alarm1 node to be used as wakeup source
Biwen Li [Tue, 14 Dec 2021 09:32:34 +0000 (03:32 -0600)]
arm64: dts: ls1028a: add ftm_alarm1 node to be used as wakeup source

Add flextimer2 based ftm_alarm1 node and enable it to be the default rtc
wakeup source for rdb and qds boards instead of the original flextimer1
which is used by PWM.  The ftm_alarm0 node hence is disabled by default.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a: Add PCIe EP nodes
Xiaowei Bao [Tue, 14 Dec 2021 09:32:33 +0000 (03:32 -0600)]
arm64: dts: ls1028a: Add PCIe EP nodes

Add PCIe EP nodes for ls1028a to support EP mode.

Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer
Christoph Niedermaier [Tue, 14 Dec 2021 09:03:53 +0000 (10:03 +0100)]
ARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer

Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB
overcurrent pin isn't connected, but a USB hub on the board takes care
of the USB overcurrent instead. Therefore disable it there with the
property disable-over-current.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2162a-qds: add interrupt line for RTC node
Biwen Li [Tue, 14 Dec 2021 07:23:42 +0000 (01:23 -0600)]
arm64: dts: lx2162a-qds: add interrupt line for RTC node

Add interrupt line for RTC node on lx2162a-qds

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2162a-qds: support SD UHS-I and eMMC HS400 modes
Yangbo Lu [Tue, 14 Dec 2021 07:23:41 +0000 (01:23 -0600)]
arm64: dts: lx2162a-qds: support SD UHS-I and eMMC HS400 modes

The default NXP SDHC adapter cards for LX2162AQDS are SD 2.0/3.0
adapter card for eSDHC1, and eMMC 5.1 adapter card for eSDHC2.
Add speed modes properties supported by the two adapters in device
tree node.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2160a: enable usb3-lpm-capable for usb3 nodes
Ran Wang [Tue, 14 Dec 2021 07:23:40 +0000 (01:23 -0600)]
arm64: dts: lx2160a: enable usb3-lpm-capable for usb3 nodes

Enable USB3 HW LPM feature for lx2160a.

Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2160a-qds: Add mdio mux nodes
Pankaj Bansal [Tue, 14 Dec 2021 07:23:36 +0000 (01:23 -0600)]
arm64: dts: lx2160a-qds: Add mdio mux nodes

The two external MDIO buses used to communicate with phy devices that
are external to SOC are muxed in LX2160AQDS board.  These buses can be
routed to any one of the eight IO slots on LX2160AQDS board depending on
value in fpga register 0x54.  Additionally the external MDIO1 is used to
communicate to the onboard RGMII phy devices.  The mdio1 is controlled
by bits 4-7 of fpga register and mdio2 is controlled by bits 4-7 of fpga
register.

Signed-off-by: Pankaj Bansal <pankaj.bansal@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2160a: add optee-tz node
Pankaj Gupta [Tue, 14 Dec 2021 07:23:35 +0000 (01:23 -0600)]
arm64: dts: lx2160a: add optee-tz node

Disabled by default in SoC dtsi and enables in board dts files.

Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2160a-rdb: Add Inphi PHY node
Ioana Radulescu [Tue, 14 Dec 2021 07:23:34 +0000 (01:23 -0600)]
arm64: dts: lx2160a-rdb: Add Inphi PHY node

DPMAC5 and DPMAC6 are connected to 25G Inphi PHY

Signed-off-by: Vicentiu Galanopulo <vicentiu.galanopulo@nxp.com>
Signed-off-by: Florin Chiculita <florinlaurentiu.chiculita@nxp.com>
Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: lx2160a: fix scl-gpios property name
Zhang Ying-22455 [Tue, 14 Dec 2021 07:23:33 +0000 (01:23 -0600)]
arm64: dts: lx2160a: fix scl-gpios property name

Fix the typo in the property name.

Fixes: d548c217c6a3c ("arm64: dts: add QorIQ LX2160A SoC support")
Signed-off-by: Zhang Ying <ying.zhang22455@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mm: don't assign PLL2 in SoC dtsi
Lucas Stach [Mon, 13 Dec 2021 20:40:47 +0000 (21:40 +0100)]
arm64: dts: imx8mm: don't assign PLL2 in SoC dtsi

The base i.MX8MM dtsi changes the audio PLL2 rate, which gets in the
way if it should be used for anything else than audio. As this PLL doesn't
seem to be used by any upstream supported board, just remove the rate
configuration to allow boards to set it up as they wish.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: imx_v6_v7_defconfig: Enable for DHCOM devices required RTC_DRV_RV3029C2
Johann Neuhauser [Mon, 13 Dec 2021 11:18:08 +0000 (12:18 +0100)]
ARM: imx_v6_v7_defconfig: Enable for DHCOM devices required RTC_DRV_RV3029C2

All imx6 DHCOM devices uses a on module gold cap/battery powered i2c rtc
"microcrystal,rv3029", which isn't enabled in the imx_v6_v7_defconfig.

The rtc for all imx6 DHCOM devices is defined in: imx6qdl-dhcom-som.dtsi
To have a working clock on all imx6qdl DHCOM based devices, enable the driver.

Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: nitrogen8-som: correct i2c1 pad-ctrl
Lucas Stach [Sun, 12 Dec 2021 13:49:12 +0000 (14:49 +0100)]
arm64: dts: nitrogen8-som: correct i2c1 pad-ctrl

The slew rate and drive-strength of the i2c1 pads were much too
high. Bring them down to avoid signal quality issues.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl-wandboard: Fix Ethernet support
Martin Haaß [Sun, 12 Dec 2021 12:30:30 +0000 (09:30 -0300)]
ARM: dts: imx6qdl-wandboard: Fix Ethernet support

Currently, the imx6q-wandboard Ethernet does not transmit any
data.

This issue has been exposed by commit f5d9aa79dfdf ("ARM: imx6q:
remove clk-out fixup for the Atheros AR8031 and AR8035 PHYs").

Fix it by describing the qca,clk-out-frequency property as suggested
by the commit above.

Fixes: 77591e42458d ("ARM: dts: imx6qdl-wandboard: add ethernet PHY description")
Signed-off-by: Martin Haaß <vvvrrooomm@gmail.com>
Tested-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: nitrogen8-som: correct network PHY reset
Lucas Stach [Sat, 11 Dec 2021 22:17:43 +0000 (23:17 +0100)]
arm64: dts: nitrogen8-som: correct network PHY reset

Add the missing reset-gpios property to allow Linux to fully reset
the network PHY and fix the pinmux to add the neccessary pull-ups
for the PHY strap configuration.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx7d-remarkable2: add wacom digitizer device
Alistair Francis [Wed, 8 Dec 2021 12:40:45 +0000 (22:40 +1000)]
ARM: dts: imx7d-remarkable2: add wacom digitizer device

Add Wacom I2C support for the reMarkable 2 eInk tablet using the
generic I2C HID framework.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6ulz-bsh-smm-m2: Add BSH SMM-M2 IMX6ULZ SystemMaster
Michael Trimarchi [Fri, 10 Dec 2021 13:23:19 +0000 (10:23 -0300)]
ARM: dts: imx6ulz-bsh-smm-m2: Add BSH SMM-M2 IMX6ULZ SystemMaster

Add DTS of BSH SMM-M2 SystemMaster.

This version comes with:
- 128 MiB DDR3 RAM
- 256 MiB Nand
- wifi
- bluetooth

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mn-bsh-smm-s2/pro: Add iMX8MN BSH SMM S2 boards
Ariel D'Alessandro [Fri, 10 Dec 2021 13:23:17 +0000 (10:23 -0300)]
arm64: dts: imx8mn-bsh-smm-s2/pro: Add iMX8MN BSH SMM S2 boards

Introduce BSH SystemMaster (SMM) S2 board family, which consists of:
iMX8MN SMM S2 and iMX8MN SMM S2 PRO boards.

Add support for iMX8MN BSH SMM S2 board:

- 256 MiB DDR3 RAM
- 512 MiB NAND
- Megabit Ethernet PHY
- Wi-Fi 802.11 a/b/g/n/ac with Bluetooth 5.0
- USB-OTG (peripheral mode)

Add support for iMX8MN BSH SMM S2 PRO board:

- 512 MiB DDR3 RAM
- 8 GiB eMMC
- Megabit Ethernet PHY
- Wi-Fi 802.11 a/b/g/n/ac with Bluetooth 5.0
- USB-OTG (peripheral mode)

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: Add BSH SMM-M2 IMX6ULZ SystemMaster board
Ariel D'Alessandro [Fri, 10 Dec 2021 13:23:18 +0000 (10:23 -0300)]
dt-bindings: arm: fsl: Add BSH SMM-M2 IMX6ULZ SystemMaster board

Add bindings for BSH SystemMaster (SMM) M2 IMX6ULZ board.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: Add iMX8MN BSH SMM S2 boards
Ariel D'Alessandro [Fri, 10 Dec 2021 13:23:16 +0000 (10:23 -0300)]
dt-bindings: arm: fsl: Add iMX8MN BSH SMM S2 boards

Add bindings for BSH SystemMaster (SMM) S2 board family, which consists
of: iMX8MN SMM S2 and iMX8MN SMM S2 PRO boards.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: Add vendor prefix for BSH Hausgeraete GmbH
Ariel D'Alessandro [Fri, 10 Dec 2021 13:23:15 +0000 (10:23 -0300)]
dt-bindings: Add vendor prefix for BSH Hausgeraete GmbH

Document vendor prefix for BSH Hausgeraete GmbH ('BSH Home Appliances',
B/S/H/) manufacturer.

Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mm/n: Remove the 'pm-ignore-notify' property
Fabio Estevam [Wed, 8 Dec 2021 19:52:45 +0000 (16:52 -0300)]
arm64: dts: imx8mm/n: Remove the 'pm-ignore-notify' property

The 'pm-ignore-notify' property is not a valid property and there is
no documentation for it.

Drop such invalid property.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8ulp: add power domain entry for usdhc
Peng Fan [Wed, 8 Dec 2021 13:17:55 +0000 (21:17 +0800)]
arm64: dts: imx8ulp: add power domain entry for usdhc

Add power domain for USDHC node.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8ulp: add scmi firmware node
Peng Fan [Wed, 8 Dec 2021 13:17:54 +0000 (21:17 +0800)]
arm64: dts: imx8ulp: add scmi firmware node

i.MX8ULP use scmi firmware based power domain and sensor support.
So add the firmware node and the sram it uses.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: power: imx8ulp: add power domain header file
Peng Fan [Wed, 8 Dec 2021 13:17:53 +0000 (21:17 +0800)]
dt-bindings: power: imx8ulp: add power domain header file

Add i.MX8ULP power domain header file

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mq-evk: link regulator to VPU domain
Adam Ford [Sun, 5 Dec 2021 21:01:43 +0000 (15:01 -0600)]
arm64: dts: imx8mq-evk: link regulator to VPU domain

The SW1C regulator powers the VPU and the state isn't guaranteed
to always be on.  Link the VPU power-domain to the regulator to
ensure it is turned on before using the power domain.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1088a: add snps incr burst type adjustment for usb1
Li Yang [Sat, 4 Dec 2021 01:15:37 +0000 (19:15 -0600)]
arm64: dts: ls1088a: add snps incr burst type adjustment for usb1

This property could fix the defect that external usb device
always prints this error log --- 'reset SuperSpeed USB device number n
using xhci_hcd' when system power on.

Signed-off-by: Pengbo Mu <pengbo.mu@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1088a: Add reboot nodes
Li Yang [Sat, 4 Dec 2021 01:15:36 +0000 (19:15 -0600)]
arm64: dts: ls1088a: Add reboot nodes

ls1088a has a separate reset register block.  Define it in dts and use
it for reboot.

Signed-off-by: Ashish Kumar <Ashish.Kumar@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-rdb: update copyright
Vladimir Oltean [Thu, 2 Dec 2021 14:15:28 +0000 (16:15 +0200)]
arm64: dts: ls1028a-rdb: update copyright

Company policy requires that copyright is updated when a file is
touched. Keeping the copyright change separate to reduce the noise in
other patches.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-rdb: add aliases for the Ethernet ports
Vladimir Oltean [Thu, 2 Dec 2021 14:15:27 +0000 (16:15 +0200)]
arm64: dts: ls1028a-rdb: add aliases for the Ethernet ports

These are used by U-Boot, and are required for keeping the device trees
in sync.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-rdb: add an alias for the FlexSPI controller
Vladimir Oltean [Thu, 2 Dec 2021 14:15:26 +0000 (16:15 +0200)]
arm64: dts: ls1028a-rdb: add an alias for the FlexSPI controller

This is used by U-Boot and is required for keeping the device trees in
sync.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: ls1028a-rdb: sort nodes alphabetically by label
Vladimir Oltean [Thu, 2 Dec 2021 14:15:25 +0000 (16:15 +0200)]
arm64: dts: ls1028a-rdb: sort nodes alphabetically by label

In preparation for this board's device tree synchronization with U-Boot,
we must find a common node ordering pattern. Alphabetical sounds about
right.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0
Christoph Niedermaier [Wed, 8 Dec 2021 15:07:26 +0000 (16:07 +0100)]
ARM: dts: imx6qdl-dhcom: Identify the PHY by ethernet-phy-id0007.c0f0

Identify the PHY by its compatible ID value. In some cases during
boot, the PHY needs to be reset to be accessible, but this is only
possible if the PHY is recognized. In that case, the automatic
detection of the PHY does not work and a static compatible ID
value is need.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl-dhcom: Align PHY reset timing with other DHCOM SoMs
Christoph Niedermaier [Wed, 8 Dec 2021 15:05:43 +0000 (16:05 +0100)]
ARM: dts: imx6qdl-dhcom: Align PHY reset timing with other DHCOM SoMs

According to datasheet Microchip LAN8710A/LAN8710Ai DS00002164B [1]
the reset should stay asserted for at least 100uS and software
should wait at least 200nS. On other DHCOM SoMs with the SMSC
LAN8710Ai PHY both reset delays are 500us. This should be plenty
and for consistency, the i.MX6 SoM should also use these delays.

[1] https://ww1.microchip.com/downloads/en/DeviceDoc/00002164B.pdf

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: defconfig: enable drivers for booting i.MX8ULP
Peng Fan [Tue, 7 Dec 2021 08:34:57 +0000 (16:34 +0800)]
arm64: defconfig: enable drivers for booting i.MX8ULP

Select i.MX8ULP CLK and PINCTRL driver to make it boot.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl: drop "fsl,imx-ckih1"
Giulio Benetti [Fri, 3 Dec 2021 00:40:39 +0000 (01:40 +0100)]
ARM: dts: imx6qdl: drop "fsl,imx-ckih1"

"fsl,imx-ckih1" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl: drop "fsl,imx-ckil"
Giulio Benetti [Fri, 3 Dec 2021 00:40:38 +0000 (01:40 +0100)]
ARM: dts: imx6qdl: drop "fsl,imx-ckil"

"fsl,imx-ckil" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6qdl: drop "fsl,imx-osc"
Giulio Benetti [Fri, 3 Dec 2021 00:40:37 +0000 (01:40 +0100)]
ARM: dts: imx6qdl: drop "fsl,imx-osc"

"fsl,imx-osc" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx53: drop "fsl,imx-ckih2"
Giulio Benetti [Fri, 3 Dec 2021 00:40:36 +0000 (01:40 +0100)]
ARM: dts: imx53: drop "fsl,imx-ckih2"

"fsl,imx-ckih2" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx53: drop "fsl,imx-ckih1"
Giulio Benetti [Fri, 3 Dec 2021 00:40:35 +0000 (01:40 +0100)]
ARM: dts: imx53: drop "fsl,imx-ckih1"

"fsl,imx-ckih1" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx53: drop "fsl,imx-ckil"
Giulio Benetti [Fri, 3 Dec 2021 00:40:34 +0000 (01:40 +0100)]
ARM: dts: imx53: drop "fsl,imx-ckil"

"fsl,imx-ckil" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx53: drop "fsl,imx-osc"
Giulio Benetti [Fri, 3 Dec 2021 00:40:33 +0000 (01:40 +0100)]
ARM: dts: imx53: drop "fsl,imx-osc"

"fsl,imx-osc" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx51: drop "fsl,imx-ckih2"
Giulio Benetti [Fri, 3 Dec 2021 00:40:32 +0000 (01:40 +0100)]
ARM: dts: imx51: drop "fsl,imx-ckih2"

"fsl,imx-ckih2" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx51: drop "fsl,imx-ckih1"
Giulio Benetti [Fri, 3 Dec 2021 00:40:31 +0000 (01:40 +0100)]
ARM: dts: imx51: drop "fsl,imx-ckih1"

"fsl,imx-ckih1" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx51: drop "fsl,imx-ckil"
Giulio Benetti [Fri, 3 Dec 2021 00:40:30 +0000 (01:40 +0100)]
ARM: dts: imx51: drop "fsl,imx-ckil"

"fsl,imx-ckil" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx51: drop "fsl,imx-osc"
Giulio Benetti [Fri, 3 Dec 2021 00:40:29 +0000 (01:40 +0100)]
ARM: dts: imx51: drop "fsl,imx-osc"

"fsl,imx-osc" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx50: drop "fsl,imx-ckih2"
Giulio Benetti [Fri, 3 Dec 2021 00:40:28 +0000 (01:40 +0100)]
ARM: dts: imx50: drop "fsl,imx-ckih2"

"fsl,imx-ckih2" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx50: drop "fsl,imx-ckih1"
Giulio Benetti [Fri, 3 Dec 2021 00:40:27 +0000 (01:40 +0100)]
ARM: dts: imx50: drop "fsl,imx-ckih1"

"fsl,imx-ckih1" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx50: drop "fsl,imx-ckil"
Giulio Benetti [Fri, 3 Dec 2021 00:40:26 +0000 (01:40 +0100)]
ARM: dts: imx50: drop "fsl,imx-ckil"

"fsl,imx-ckil" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx50: drop "fsl,imx-osc"
Giulio Benetti [Fri, 3 Dec 2021 00:40:25 +0000 (01:40 +0100)]
ARM: dts: imx50: drop "fsl,imx-osc"

"fsl,imx-osc" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx25: drop "fsl,imx-osc"
Giulio Benetti [Fri, 3 Dec 2021 00:40:24 +0000 (01:40 +0100)]
ARM: dts: imx25: drop "fsl,imx-osc"

"fsl,imx-osc" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx1: drop "fsl,imx-clk32"
Giulio Benetti [Fri, 3 Dec 2021 00:40:23 +0000 (01:40 +0100)]
ARM: dts: imx1: drop "fsl,imx-clk32"

"fsl,imx-clk32" is useless since no driver deals with it, so let's drop it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx7: Group mipi_csi 'port' children in a 'ports' node
Laurent Pinchart [Thu, 2 Dec 2021 22:19:03 +0000 (00:19 +0200)]
ARM: dts: imx7: Group mipi_csi 'port' children in a 'ports' node

The nxp,imx7-mipi-csi2.yaml binding requires ports to be grouped in a
ports node, as multiple ports are present. Fix imx7s.dtsi and the only
board file that references the mipi_csi ports.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx7: Drop reset-names property for mipi_csi node
Laurent Pinchart [Thu, 2 Dec 2021 22:19:02 +0000 (00:19 +0200)]
ARM: dts: imx7: Drop reset-names property for mipi_csi node

The reset-names property isn't defined by the nxp,imx7-mipi-csi2.yaml
binding, and isn't used by the corresponding driver as it acquires the
reset with a NULL ID. Drop it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx7s-warp: Drop undefined property in mipi_csi node
Laurent Pinchart [Thu, 2 Dec 2021 22:19:01 +0000 (00:19 +0200)]
ARM: dts: imx7s-warp: Drop undefined property in mipi_csi node

The fsl,csis-hs-settle property isn't defined by the
nxp,imx7-mipi-csi2.yaml binding, and isn't parsed by the corresponding
driver. Drop it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx: Change spba to spba-bus
Adam Ford [Thu, 2 Dec 2021 14:38:27 +0000 (08:38 -0600)]
ARM: dts: imx: Change spba to spba-bus

With the updated dt-bindings for the spba-bus, rename spba@xxxx
to spba-bus@xxxx.  There are no functional changes.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: soc: imx: Add binding doc for spba bus
Adam Ford [Thu, 2 Dec 2021 14:38:26 +0000 (08:38 -0600)]
dt-bindings: soc: imx: Add binding doc for spba bus

Add binding doc for fsl,spba-bus.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agobus: imx-weim: optionally enable continuous burst clock
Ivan Bornyakov [Thu, 2 Dec 2021 05:57:23 +0000 (08:57 +0300)]
bus: imx-weim: optionally enable continuous burst clock

To enable continuous burst clock, add "fsl,continuous-burst-clk" along
with "fsl,burst-clk-enable" property to the weim bus's devicetree node.

Example:
weim: weim@21b8000 {
compatible = "fsl,imx6ul-weim", "fsl,imx6q-weim";
reg = <0x021b8000 0x4000>;
clocks = <&clks 143>;
#address-cells = <2>;
#size-cells = <1>;
ranges = <0 0 0x50000000 0x08000000>;
fsl,weim-cs-gpr = <&gpr>;
fsl,burst-clk-enable;
fsl,continuous-burst-clk;

client-device@0 {
...
};
};

Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: bus: imx-weim: add words about continuous bclk
Ivan Bornyakov [Thu, 2 Dec 2021 05:57:24 +0000 (08:57 +0300)]
dt-bindings: bus: imx-weim: add words about continuous bclk

Document continuous Burst Clock option. With this option Burst Clock, if
enabled, will output continuous clock, otherwise Burst Clock will output
clock only when necessary.

Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoARM: dts: imx6dl-yapp4: Add Y Soft IOTA Crux/Crux+ board
Michal Vokáč [Mon, 22 Nov 2021 16:25:20 +0000 (17:25 +0100)]
ARM: dts: imx6dl-yapp4: Add Y Soft IOTA Crux/Crux+ board

Add devicetrees for the new boards in the Y Soft IOTA family.
These boards are based on Orion but use Quad/QuadPlus SoC
instead of DualLite.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agosoc: imx: Register SoC device only on i.MX boards
Stephan Gerhold [Mon, 6 Dec 2021 11:38:28 +0000 (12:38 +0100)]
soc: imx: Register SoC device only on i.MX boards

At the moment, using the ARM32 multi_v7_defconfig always results in two
SoCs being exposed in sysfs. This is wrong, as far as I'm aware the
Qualcomm DragonBoard 410c does not actually make use of a i.MX SoC. :)

  qcom-db410c:/sys/devices/soc0$ grep . *
  family:Freescale i.MX
  machine:Qualcomm Technologies, Inc. APQ 8016 SBC
  revision:0.0
  serial_number:0000000000000000
  soc_id:Unknown

  qcom-db410c:/sys/devices/soc1$ grep . *
  family:Snapdragon
  machine:APQ8016
  ...

This happens because imx_soc_device_init() registers the soc device
unconditionally, even when running on devices that do not make use of i.MX.
Arnd already reported this more than a year ago and even suggested a fix
similar to this commit, but for some reason it was never submitted.

Fix it by checking if the "__mxc_cpu_type" variable was actually
initialized by earlier platform code. On devices without i.MX it will
simply stay 0.

Cc: Peng Fan <peng.fan@nxp.com>
Fixes: d2199b34871b ("ARM: imx: use device_initcall for imx_soc_device_init")
Reported-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/CAK8P3a0hxO1TmK6oOMQ70AHSWJnP_CAq57YMOutrxkSYNjFeuw@mail.gmail.com/
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mp: add mac address for EQOS
Joakim Zhang [Tue, 23 Nov 2021 08:05:06 +0000 (16:05 +0800)]
arm64: dts: imx8mp: add mac address for EQOS

Add mac address in efuse, so that EQOS driver can parse it from nvmem
cell.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8m: remove unused "nvmem_macaddr_swap" property for FEC
Joakim Zhang [Tue, 23 Nov 2021 08:05:05 +0000 (16:05 +0800)]
arm64: dts: imx8m: remove unused "nvmem_macaddr_swap" property for FEC

Remove unused "nvmem_macaddr_swap" property for FEC, there is no info in both
dt-binding and driver, so it's safe to remove it.

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mp-evk: disable CLKOUT clock for ENET PHY
Joakim Zhang [Tue, 23 Nov 2021 08:05:04 +0000 (16:05 +0800)]
arm64: dts: imx8mp-evk: disable CLKOUT clock for ENET PHY

According to commit 0a4355c2b7f8 ("net: phy: realtek: add dt property to
disable CLKOUT clock"), diable CLKOUT clock for FEC PHY to save power on
i.MX8MP EVK board.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8m: configure FEC PHY VDDIO voltage
Joakim Zhang [Tue, 23 Nov 2021 08:05:03 +0000 (16:05 +0800)]
arm64: dts: imx8m: configure FEC PHY VDDIO voltage

As commit 2f664823a470 ("net: phy: at803x: add device tree binding")
described, configure FEC PHY VDDIO voltage according to board design.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8m: disable smart eee for FEC PHY
Joakim Zhang [Tue, 23 Nov 2021 08:05:02 +0000 (16:05 +0800)]
arm64: dts: imx8m: disable smart eee for FEC PHY

As commit 390b4cad8148 ("net: phy: at803x: add support for configuring SmartEEE")
described, disable PHY smart eee by default.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mp-evk: add hardware reset for EQOS PHY
Joakim Zhang [Tue, 23 Nov 2021 08:05:01 +0000 (16:05 +0800)]
arm64: dts: imx8mp-evk: add hardware reset for EQOS PHY

As commit 798a1807ab13 ("arm64: dts: imx8mp-evk: Improve the Ethernet PHY
description") described, add hardware reset for EQOS PHY.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8mn-evk: add hardware reset for FEC PHY
Joakim Zhang [Tue, 23 Nov 2021 08:05:00 +0000 (16:05 +0800)]
arm64: dts: imx8mn-evk: add hardware reset for FEC PHY

Add hardware reset for FEC PHY.

Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: defconfig: enable drivers for TQ TQMa8MxML-MBa8Mx
Alexander Stein [Wed, 1 Dec 2021 07:29:44 +0000 (08:29 +0100)]
arm64: defconfig: enable drivers for TQ TQMa8MxML-MBa8Mx

With the device tree in place, enable missing drivers as modules, if
possible. PHY driver needs built-in for interrupt support.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: freescale: add initial device tree for TQMa8Mx with i.MX8M
Alexander Stein [Wed, 1 Dec 2021 07:29:48 +0000 (08:29 +0100)]
arm64: dts: freescale: add initial device tree for TQMa8Mx with i.MX8M

This adds support for TQMa8Mx module on MBa8Mx board.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: freescale: add initial device tree for TQMa8MQNL with i.MX8MN
Alexander Stein [Wed, 1 Dec 2021 07:29:46 +0000 (08:29 +0100)]
arm64: dts: freescale: add initial device tree for TQMa8MQNL with i.MX8MN

This adds support for TQMa8MQNL module on MBa8Mx board.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: freescale: add initial device tree for TQMa8MQML with i.MX8MM
Alexander Stein [Wed, 1 Dec 2021 07:29:43 +0000 (08:29 +0100)]
arm64: dts: freescale: add initial device tree for TQMa8MQML with i.MX8MM

This adds support for TQMa8MQML module on MBa8Mx board.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: add TQMa8Mx boards
Alexander Stein [Wed, 1 Dec 2021 07:29:47 +0000 (08:29 +0100)]
dt-bindings: arm: fsl: add TQMa8Mx boards

TQMa8Mx is a SOM family using NXP i.MX8M[Q,QL, D] CPU
MBa8Mx is a evaluation mainbord for this SOM

The SOM needs a mainboard, therefore we provide two compatibles here:

"tq,imx8mq-<SOM>" for the module and
"tq,imx8mq-<SOM>-<SBC>" for the module on that mainboard

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: add TQMa8MxNL boards
Alexander Stein [Wed, 1 Dec 2021 07:29:45 +0000 (08:29 +0100)]
dt-bindings: arm: fsl: add TQMa8MxNL boards

TQMa8MxNL is a SOM family using NXP i.MX8MN[Q,QL,DL,S,SL] CPU
MBa8Mx is an evaluation mainbord for this SOM

The SOM needs a mainboard, therefore we provide two compatibles here:

"tq,imx8mn-<SOM>" for the module and
"tq,imx8mn-<SOM>-<SBC>" for mainboards

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: add TQMa8MxML boards
Alexander Stein [Wed, 1 Dec 2021 07:29:42 +0000 (08:29 +0100)]
dt-bindings: arm: fsl: add TQMa8MxML boards

TQMa8MxML is a SOM family using NXP i.MX8MM[Q,QL,DL,S,SL] CPU
MBa8Mx is an evaluation mainbord for this SOM

The SOM needs a mainboard, therefore we provide two compatibles here:

"tq,imx8mm-<SOM>" for the module and
"tq,imx8mm-<SOM>-<SBC>" for the module on that mainboard

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board
Jacky Bai [Fri, 26 Nov 2021 07:40:02 +0000 (15:40 +0800)]
arm64: dts: imx8ulp: Add the basic dts for imx8ulp evk board

Add the basic dts file for i.MX8ULP EVK board.
Only the necessary devices for minimal system boot up are enabled:
enet, emmc, usb, console uart.

some of the devices' pin status may lost during low power mode,
so additional sleep pinctrl properties are included by default.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp
Jacky Bai [Fri, 26 Nov 2021 07:40:01 +0000 (15:40 +0800)]
arm64: dts: imx8ulp: Add the basic dtsi file for imx8ulp

Add the basic dtsi support for i.MX8ULP.

i.MX 8ULP is part of the ULP family with emphasis on extreme
low-power techniques using the 28 nm fully depleted silicon on
insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be
based on asymmetric architecture, however will add a third DSP
domain for advanced voice/audio capability and a Graphics domain
where it is possible to access graphics resources from the
application side or the realtime side.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agodt-bindings: arm: fsl: Add binding for imx8ulp evk
Jacky Bai [Fri, 26 Nov 2021 07:40:00 +0000 (15:40 +0800)]
dt-bindings: arm: fsl: Add binding for imx8ulp evk

Add the dt binding for i.MX8ULP EVK board.

i.MX 8ULP is part of the ULP family with emphasis on extreme
low-power techniques using the 28 nm fully depleted silicon on
insulator process. Like i.MX 7ULP, i.MX 8ULP continues to be
based on asymmetric architecture, however will add a third DSP
domain for advanced voice/audio capability and a Graphics domain
where it is possible to access graphics resources from the
application side or the realtime side.

Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: defconfig: Enable OV5640
Adam Ford [Sun, 28 Nov 2021 12:50:11 +0000 (06:50 -0600)]
arm64: defconfig: Enable OV5640

The Beacon EmbeddedWorks imx8mm development kit has a TD Next 5640
Camera.  Enable the OV5640 driver to use the camera.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
3 years agoarm64: defconfig: Enable VIDEO_IMX_MEDIA
Adam Ford [Sun, 28 Nov 2021 12:50:09 +0000 (06:50 -0600)]
arm64: defconfig: Enable VIDEO_IMX_MEDIA

To use a camera, the CSIS and CSI drivers need to be enabled with
VIDEO_IMX_MEDIA.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>