2bfdd113d0
ARM: dts: imx: Fix the SPI chipselect polarity
...
The conversion of the spi-imx driver to use GPIO descriptors
in commit 8cdcd8aeee
("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
helped to detect the following SPI chipselect polarity mismatch on an
imx6q-sabresd:
[ 4.854337] m25p80@0 enforce active low on chipselect handle
Prior to the above commit, the chipselect polarity passed via cs-gpios
property was ignored and considered active-low.
The reason for such mismatch is clearly explained in the comments inside
drivers/gpio/gpiolib-of.c:
* SPI children have active low chip selects
* by default. This can be specified negatively
* by just omitting "spi-cs-high" in the
* device node, or actively by tagging on
* GPIO_ACTIVE_LOW as flag in the device
* tree. If the line is simultaneously
* tagged as active low in the device tree
* and has the "spi-cs-high" set, we get a
* conflict and the "spi-cs-high" flag will
* take precedence.
To properly represent the SPI chipselect polarity, change it to active-low
when the "spi-cs-high" property is absent.
Signed-off-by: Fabio Estevam <festevam@gmail.com >
Reviewed-by: Linus Walleij <linus.walleij@linaro.org >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2020-08-30 09:37:20 +08:00
d81765d693
ARM: dts: imx53: Update LCD panel node on M53Menlo
...
Update the panel node with latest version of the panel used on the system.
Add missing pincontrol phandle to the panel node.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-08-03 18:00:40 +02:00
53f7ca84c0
ARM: dts: imx53: Bind CPLD on M53Menlo
...
Enable ECSPI2 and bind CPLD to both chip selects.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-06-13 10:36:40 +08:00
7870756fe4
ARM: dts: imx53: Update pinmux settings on M53Menlo
...
Update pinmux settings according to hardware team input.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:24 +08:00
34c486a2ce
ARM: dts: imx53: Add GPIO line names on M53Menlo
...
Add meaningful GPIO line names for the board GPIOs.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:24 +08:00
6c5741c22a
ARM: dts: imx53: Add GPIO beeper on M53Menlo
...
Add GPIO beeper, to let the board produce beeps.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:24 +08:00
50d29fdb76
ARM: dts: imx53: Add power GPIOs on M53Menlo
...
Add GPIO power button and GPIO poweroff, which is present on new hardware.
These let the system power itself off on shutdown.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:24 +08:00
64b99002c5
ARM: dts: imx53: Select netdev trigger for Yellow LED on M53Menlo
...
The yellow LED is in the ethernet jack socket, bind it to netdev
trigger to indicate ethernet activity.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:24 +08:00
a80c498171
ARM: dts: imx53: Add ethernet PHY reset on M53Menlo
...
Add ethernet PHY GPIO reset line, to let the kernel to reset the PHY.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:23 +08:00
3c3601cd6a
ARM: dts: imx53: Update USB configuration on M53Menlo
...
Turn USBH1 into Host and update the GPIO polarity of the
regulator to match new hardware.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:23 +08:00
3905e2fea9
ARM: dts: imx53: Update UART configuration on M53Menlo
...
Enable flow control lines on UART1 and UART2, add matching pinmux entries.
Add and enable UART3 with RS485 mode enabled on boot.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com >
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-05-20 09:09:23 +08:00
716be61d18
ARM: dts: imx53: Add Menlosystems M53 board
...
Add device tree for the Menlosystems board based on i.MX53 M53 SoM.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Shawn Guo <shawnguo@kernel.org >
Cc: Fabio Estevam <festevam@gmail.com >
Cc: NXP Linux Team <linux-imx@nxp.com >
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org >
2019-04-21 16:02:30 +08:00