Age | Commit message (Collapse) | Author |
|
As the Fusion touchscreen is not belong to the specific board but a part
of peripheral, move it to the module level. Add the node name to use it
in an overlay.
Related-to: ELB-3398
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This device is enabled in an overlay. Remains it disabled here.
Realetd-to: ELB-3395
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The parallel RGB interface (lcd) and all related stuff turn
on in an overlay. Keep them disabled in the main devicetree.
As these subsystems are provided by module, move their definitions
into the module-level devicetree.
Related-to: ELB-3395
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
All Toradex Colibri family boards support the ecspi interface.
Move the definition of spidev0 to the module devicetree and enable
it by default.
Colibri Eval board has a CAN SPI controller. Disable the spidev0
for this board to have the CAN controller been enabled by default.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
All Toradex Colibri family boards support the ecspi interface.
Move the definition of spidev0 to the module devicetree and enable
it by default.
Colibri Eval board has a CAN SPI controller. Disable the spidev0
for this board to have the CAN controller been enabled by default.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
All Toradex Colibri family boards support the ecspi interface.
Move the definition of spidev0 to the module devicetree and enable
it by default.
Colibri Eval board has a CAN SPI controller. Disable the spidev0
for this board to have the CAN controller been enabled by default.
Colibri Aster board supports 2 spidev interfaces. Enable both of them
and fix the CS configuration.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The SODIMM_65 pin, which should be used as a 2nd CS signal, is
unavailable for customer on a Colibri Iris board.
Remove the 2nd CS signal configuration for all Iris board versions.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
There is only one spidev port is used on the Evaluation board.
Use the correct port address for the 1st device.
Related-to: ELB-3401
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
From the SD-Card specification:
> The host shall supply power to the card so that the voltage is
> reached to V DD _min within 250ms and start to supply at least
> 74 SD clocks to the SD card with keeping CMD line to high. In case of
> SPI mode, CS shall be held to high during 74 clock cycles.
According to this information I think we should pull the CMD data
line like on other boards to 3.3V. Also on other boards we
do have the CLK signal pulled.
This looks like this got mixed that up.
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
Signed-off-by: Jaskaranjeet Singh <jaskaranjeet.singh@toradex.com>
|
|
Toradex BSP 5.x uses the video/fbdev stack of display drivers.
Remove unused nodes for gpu/drm/imx stack of drivers.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This device is described in an overlay. Removing this node here
fixes the kernel stuck if the colibri-imx7-aster_atmel-mxt_overlay is
applied.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
According to the decision to use overlays just for enabling
subsystems, add back the definition of Atmel MXT touchscreen device.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The VGA interface and all related stuff enable in an overlay.
Remains them disabled in the main devicetree.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Now HDMI interface is driven with an overlay, so that it is not needed to
configure hdmi_ddc on a board level.
Move all i2cddc/hdmi_ddc stuff to the module level and disable it by
default.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The HDMI interface and all related stuff enable in an overlay.
Remains them disabled in the main devicetree.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This device enables in an overlay. Remains it disabled here.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
PWM-part of the backlight device is the same for all Toradex boards.
Move all backlight properties to the module-level devicetree.
Remain the device disabled - it should be enabled in corresponding
overlays.
Related-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The LCD (parallel RGB) and LVDS interfaces and all related stuff are
driven with overlays. This stuff is already disabled for Evaluation board.
Disable it for all versions of Ixora board as well.
Realetd-to: ELB-3240
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
toradex_5.4-2.1.x-imx
|
|
toradex_5.4-2.1.x-imx
Update 5.4-2.1.x-imx to v5.4.74 from [1].
[1] https://github.com/Freescale/linux-fslc
|
|
This is the 5.4.76 stable release
Conflicts:
- drivers/tty/serial/fsl_lpuart.c:
Fix merge conflict of upstream patches [86875e1d6426] and [8febdfb5973d],
which contradicted with patch [cde0cb39c0e8e] from NXP.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
The touchscreen Atmel MXT TS is integrated to display panels.
Remove its definition from the main device trees.
Also release pingroups used in atmel mxt ts overlay from iomuxc driver.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
[ Upstream commit dea252fa41cd8ce332d148444e4799235a8a03ec ]
When running dtbs_check thermal_zone warn about the
temperature declared.
thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 850000 is greater than the maximum of 200000
It's indeed wrong the real value is 85°C and not 850°C.
Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20201003100332.431178-1-peron.clem@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
This is the 5.4.75 stable release
Conflicts:
- drivers/i2c/busses/i2c-imx.c:
Drop NXP changes, which are covered by commit [2c58d5e0c754c] from
upstream.
- drivers/net/can/flexcan.c:
Keep NXP implementation, patch [ca10989632d88] from upstream is covered
in the NXP tree.
- drivers/usb/host/xhci.h:
Fix merge fuzz for upstream commit [2600a131e1f61]
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
commit 36f0a5fc5284838c544218666c63ee8cfa46a9c3 upstream.
port6 of mt7530 switch (= cpu port 0) on bananapi-r2 misses pause option
which causes rx drops on running iperf.
Fixes: f4ff257cd160 ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200907070517.51715-1-linux@fw-web.de
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
|
[ Upstream commit 6c17a2974abf68a58517f75741b15c4aba42b4b8 ]
The 'audio-subsystem' node is an artificial creation, not representing
real hardware. The hardware is described by its nodes - AUDSS clock
controller and I2S0.
Remove the 'audio-subsystem' node along with its undocumented compatible
to fix dtbs_check warnings like:
audio-subsystem: $nodename:0: 'audio-subsystem' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/20200907161141.31034-9-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit bb98fff84ad1ea321823759edaba573a16fa02bd ]
The Power Management Unit (PMU) is a separate device which has little
common with clock controller. Moving it to one level up (from clock
controller child to SoC) allows to remove fake simple-bus compatible and
dtbs_check warnings like:
clock-controller@e0100000: $nodename:0:
'clock-controller@e0100000' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/20200907161141.31034-8-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit d38cae370e5f2094cbc38db3082b8e9509ae52ce ]
The fixed clocks are kept under dedicated 'external-clocks' node, thus a
fake 'reg' was added. This is not correct with dtschema as fixed-clock
binding does not have a 'reg' property. Moving fixed clocks out of
'soc' to root node fixes multiple dtbs_check warnings:
external-clocks: $nodename:0: 'external-clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
external-clocks: #size-cells:0:0: 0 is not one of [1, 2]
external-clocks: oscillator@0:reg:0: [0] is too short
external-clocks: oscillator@1:reg:0: [1] is too short
external-clocks: 'ranges' is a required property
oscillator@0: 'reg' does not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/20200907161141.31034-7-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit ea4e792f3c8931fffec4d700cf6197d84e9f35a6 ]
There is no need to keep DMA controller nodes under AMBA bus node.
Remove the "amba" node to fix dtschema warnings like:
amba: $nodename:0: 'amba' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Tested-by: Jonathan Bakker <xc-racer2@live.ca>
Link: https://lore.kernel.org/r/20200907161141.31034-6-krzk@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit 19d3e9a0bdd57b90175f30390edeb06851f5f9f3 ]
We currently have a different clock rate for droid4 compared to the
stock v3.0.8 based Android Linux kernel:
# cat /sys/kernel/debug/clk/dpll_*_m7x2_ck/clk_rate
266666667
307200000
# cat /sys/kernel/debug/clk/l3_gfx_cm:clk:0000:0/clk_rate
307200000
Let's fix this by configuring sgx to use 153.6 MHz instead of 307.2 MHz.
Looks like also at least duover needs this change to avoid hangs, so
let's apply it for all 4430.
This helps a bit with thermal issues that seem to be related to memory
corruption when using sgx. It seems that other driver related issues
still remain though.
Cc: Arthur Demchenkov <spinal.by@gmail.com>
Cc: Merlijn Wajer <merlijn@wizzup.org>
Cc: Sebastian Reichel <sre@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
This is the 5.4.73 stable release
Conflicts:
- arch/arm/boot/dts/imx6sl.dtsi:
Commit [a1767c90194e2] in NXP tree is now covered with commit [5c4c2f437cead]
from upstream.
- drivers/gpu/drm/mxsfb/mxsfb_drv.c:
Resolve merge hunk for patch [ed8b90d303cf0] from upstream
- drivers/media/i2c/ov5640.c:
Patch [aa4bb8b8838ff] in NXP tree is now covered by patches [79ec0578c7e0a]
and [b2f8546056b35] from upstream. Changes from NXP patch [99aa4c8c18984] are
covered in upstream version as well.
- drivers/net/ethernet/freescale/fec_main.c:
Fix merge fuzz for patch [9e70485b40c83] from upstream.
- drivers/usb/cdns3/gadget.c:
Keep NXP version of the file, upstream version is not compatible.
- drivers/usb/dwc3/core.c:
- drivers/usb/dwc3/core.h:
Fix merge fuzz of patch [08045050c6bd2] together wth NXP patch [b30e41dc1e494]
- sound/soc/fsl/fsl_sai.c:
- sound/soc/fsl/fsl_sai.h:
Commit [2ea70e51eb72a] in NXP tree is now covered with commit [1ad7f52fe6683]
from upstream.
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|
|
The default LVDS display shiiped by Toradex is LT170410-2WHC that
requires data in 24-bit format. Fix the default value of data width.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
[ Upstream commit 737e7610b545cc901a9696083c1824a7104b8d1b ]
The 3.10 vendor kernel defines the following GPU 20 interrupt lines:
#define INT_MALI_GP AM_IRQ(160)
#define INT_MALI_GP_MMU AM_IRQ(161)
#define INT_MALI_PP AM_IRQ(162)
#define INT_MALI_PMU AM_IRQ(163)
#define INT_MALI_PP0 AM_IRQ(164)
#define INT_MALI_PP0_MMU AM_IRQ(165)
#define INT_MALI_PP1 AM_IRQ(166)
#define INT_MALI_PP1_MMU AM_IRQ(167)
#define INT_MALI_PP2 AM_IRQ(168)
#define INT_MALI_PP2_MMU AM_IRQ(169)
#define INT_MALI_PP3 AM_IRQ(170)
#define INT_MALI_PP3_MMU AM_IRQ(171)
#define INT_MALI_PP4 AM_IRQ(172)
#define INT_MALI_PP4_MMU AM_IRQ(173)
#define INT_MALI_PP5 AM_IRQ(174)
#define INT_MALI_PP5_MMU AM_IRQ(175)
#define INT_MALI_PP6 AM_IRQ(176)
#define INT_MALI_PP6_MMU AM_IRQ(177)
#define INT_MALI_PP7 AM_IRQ(178)
#define INT_MALI_PP7_MMU AM_IRQ(179)
However, the driver from the 3.10 vendor kernel does not use the
following four interrupt lines:
- INT_MALI_PP3
- INT_MALI_PP3_MMU
- INT_MALI_PP7
- INT_MALI_PP7_MMU
Drop the "pp3" and "ppmmu3" interrupt lines. This is also important
because there is no matching entry in interrupt-names for it (meaning
the "pp2" interrupt is actually assigned to the "pp3" interrupt line).
Fixes: 7d3f6b536e72c9 ("ARM: dts: meson8: add the Mali-450 MP6 GPU")
Reported-by: Thomas Graichen <thomas.graichen@gmail.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Tested-by: thomas graichen <thomas.graichen@gmail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200815181957.408649-1-martin.blumenstingl@googlemail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit 55f6c9931f7c32f19cf221211f099dfd8dab3af9 ]
The PPI interrupts for cortex-a9 were incorrectly specified, fix them.
Fixes: fdfe7f4f9d85 ("ARM: dts: Add Actions Semi S500 and LeMaker Guitar")
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Reviewed-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit 3658a2b7f3e16c7053eb8d70657b94bb62c5a0f4 ]
DCDC1 regulator powers many different subsystems. While some of them can
work at 3.0 V, some of them can not. For example, VCC-HDMI can only work
between 3.24 V and 3.36 V. According to OS images provided by the board
manufacturer this regulator should be set to 3.3 V.
Set DCDC1 and DCDC1SW to 3.3 V in order to fix this.
Fixes: da7ac948fa93 ("ARM: dts: sun8i: Add board dts file for Banana Pi M2 Ultra")
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20200824193649.978197-1-jernej.skrabec@siol.net
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
[ Upstream commit 82ffb35c2ce63ef8e0325f75eb48022abcf8edbe ]
rng DT node was added without a compatible string.
i.MX driver for RNGC (drivers/char/hw_random/imx-rngc.c) also claims
support for RNGB, and is currently used for i.MX25.
Let's use this driver also for RNGB block in i.MX6SL.
Fixes: e29fe21cff96 ("ARM: dts: add device tree source for imx6sl SoC")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
|
|
Add ethernet aliases which is required to proprely pass mac address
from bootloader.
Related-to: ELB-3158
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
There is a new property to work around the bug of PMIC PF0100.
This property turns the pmic into the standby mode on power down the
system, that leads to turn off all power rails. In this mode the power
consumption is around 2 mA.
Related-to: ELB-3008
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
There is an overlay for enabling LVDS interface exist.
Remove the enabling of this interface from the module and board DT.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
There is an overlay for enabling LCD interface exist.
Remove the enabling of this interface from the board DT.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Apalis iMX6 supports 24-bit LCD interface. Fix the default
interface_pix_fmt.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
imx-parallel-display driver can't be used if MXC IPU driver
is enabled. Remove all unused stuff.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
imx-parallel-display driver can't be used if MXC IPU driver
is enabled. Remove all unused stuff.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The node atmel_mxt_ts claims in the overlay file. Remove the node
there to avoid a conflict.
Related-to: ELB-2943
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
The pin GPIO1_IO01 externally pulls down, it is required to sequentially
connect this pin (signal WAKE_MICO#) to +3v3 and then disconnect it to
trigger a wakeup interrupt.
Adding the flag GPIO_PULL_DOWN allows the system to be woken up just
connecting the pin GPIO1_IO01 to +3v3.
Related-to: ELB-2901
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
Replace the license boilerplate with the SPDX identifier.
Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
|
|
This label is already created in a level higher in imx6ul.dtsi
use that label to add dc-supply
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
|
|
This fixes usdhc1 init issue:
[ 61.485769] mmcblk0: mmc0:aaaa SA16G 14.8 GiB
[ 61.554247] sdhci-esdhc-imx 2190000.usdhc: error -110 requesting status
[ 61.623121] sdhci-esdhc-imx 2190000.usdhc: error -110 requesting status
[ 61.629857] mmcblk0: recovery failed!
[ 61.633617] blk_update_request: I/O error, dev mmcblk0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ 61.643912] Buffer I/O error on dev mmcblk0, logical block 0, async page read
[ 61.659292] sdhci-esdhc-imx 2190000.usdhc: error -110 requesting status
With this change usdhc1 is detected and functions correctly:
[ 203.507361] mmcblk0: mmc0:aaaa SA16G 14.8 GiB
[ 203.529058] mmcblk0: p1 p2
[ 205.776342] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 205.803021] EXT4-fs (mmcblk0p2): recovery complete
[ 205.828834] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
colibri-imx6ull:~# hdparm -t /dev/mmcblk0
/dev/mmcblk0:
Timing buffered disk reads: 68 MB in 3.04 seconds = 22.34 MB/sec
Related-to: ELB-2999
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
|
|
This is the 5.4.66 stable release
Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
|