29 May, 2020
1 commit
-
add power domain for csi device node
Signed-off-by: Robby Cai
Reviewed-by: Guoniu.zhou
(cherry picked from commit b6195f08924fa05f76e3e6f71733a2118ee1face)
15 May, 2020
1 commit
-
Since iMX6Q/DL PCIe have the PM limitation (ERR005723).
Only enable PCIe in the xxx-pcie.dts files.Signed-off-by: Richard Zhu
Reviewed-by: Fugang Duan
(cherry picked from commit e07881a460c9afbaf5b56ccbd3ac27cfdc645b3f)
13 May, 2020
2 commits
-
Enable generic SW crypto algorithms needed for tcrypt speed tests
Signed-off-by: Dragos Rosioru
-
Increase the PAD drive strength for usdhc2 to avoid cmd53 error.
Reviewed-by: Haibo Chen
Signed-off-by: Fugang Duan
11 May, 2020
1 commit
-
Enable NXP 88w8987 wlan support:
- insert AW-CM358-uSD card into micro SD slotReviewed-by: Yang Tian
Signed-off-by: Fugang Duan
20 Apr, 2020
1 commit
-
Enable NXP wireless driver mxmwifiex to support NXP
88w8987 wlan chip.Reviewed-by: tian yang
Signed-off-by: Fugang Duan
09 Apr, 2020
5 commits
-
remove the unused node define & related code.
Signed-off-by: Jacky Bai
Reviewed-by: Anson Huang -
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
Reviewed-by: Anson Huang -
Enable more kernel configs to support AWS Greengrass.
Signed-off-by: Anson Huang
Reviewed-by: Jacky Bai
(cherry picked from commit ec8872a67944a9ced2b6308d96d2d7dfb26f55fa)
[Fixes conflict by Jason Liu]
Signed-off-by: Jason Liu -
Add cm4 node for remoteproc usage.
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan -
Enable remoteproc config for i.MX
Reviewed-by: Richard Zhu
Signed-off-by: Peng Fan
26 Mar, 2020
2 commits
-
Move erratum ERR006687 workaround into *enetirq.dts file.
Signed-off-by: Fugang Duan
-
GPC irq domain is child domain of GIC, all of platform
irqs should be inside GPC domain.Signed-off-by: Anson Huang
Signed-off-by: Arulpandiyan Vadivel
Signed-off-by: Srikanth Krishnakar
Signed-off-by: Fugang Duan
08 Mar, 2020
1 commit
-
Merge Linux stable release v5.4.24 into imx_5.4.y
* tag 'v5.4.24': (3306 commits)
Linux 5.4.24
blktrace: Protect q->blk_trace with RCU
kvm: nVMX: VMWRITE checks unsupported field before read-only field
...Signed-off-by: Jason Liu
Conflicts:
arch/arm/boot/dts/imx6sll-evk.dts
arch/arm/boot/dts/imx7ulp.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
drivers/clk/imx/clk-composite-8m.c
drivers/gpio/gpio-mxc.c
drivers/irqchip/Kconfig
drivers/mmc/host/sdhci-of-esdhc.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/net/can/flexcan.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
drivers/net/phy/realtek.c
drivers/pci/controller/mobiveil/pcie-mobiveil-host.c
drivers/perf/fsl_imx8_ddr_perf.c
drivers/tee/optee/shm_pool.c
drivers/usb/cdns3/gadget.c
kernel/sched/cpufreq.c
net/core/xdp.c
sound/soc/fsl/fsl_esai.c
sound/soc/fsl/fsl_sai.c
sound/soc/sof/core.c
sound/soc/sof/imx/Kconfig
sound/soc/sof/loader.c
05 Mar, 2020
1 commit
-
[ Upstream commit f24667779b5348279e5e4328312a141a730a1fc7 ]
frame-inversion is "flag" not "uint32".
This patch fixup it.Signed-off-by: Kuninori Morimoto
Reviewed-by: Patrice Chotard
Signed-off-by: Patrice Chotard
Signed-off-by: Sasha Levin
27 Feb, 2020
1 commit
-
Add sii902x hdmi converter to imx6sx sdb.
Signed-off-by: Sandor Yu
26 Feb, 2020
4 commits
-
Correct base address of m4_reserved node.
Signed-off-by: Robin Gong
Reviewed-by: Anson Huang
Signed-off-by: Dong Aisheng
(cherry picked from commit d26a53b10b2b9f3f8486aac0c0372b170c088b06) -
Add bus recovery for all i2c buses to avoid bus dead lock.
Signed-off-by: Clark Wang
Acked-by: Fugang Duan
(cherry picked from commit d1300cec8a03c46d803d04fea7389bb397f20b3d) -
Add PWM backlight for LVDS display on i.MX6SX SDB board.
Signed-off-by: Jacky Bai
Reviewed-by: Anson Huang
(cherry picked from commit fae2b52a069465b9908c0254c33c364b53c6db98) -
Add the SATA and PCIe supports on iMX6QP sabreauto board.
Signed-off-by: Richard Zhu
(cherry picked from commit 8533e9c8e3fd18d3f4f6b925029f67ec20e4afa1)
24 Feb, 2020
12 commits
-
[ Upstream commit 76950f7162cad51d2200ebd22c620c14af38f718 ]
To perform the reserve_crashkernel() operation kexec uses SECTION_SIZE to
find a memblock in a range.
SECTION_SIZE is not defined for nommu systems. Trying to compile kexec in
these conditions results in a build error:linux/arch/arm/kernel/setup.c: In function ‘reserve_crashkernel’:
linux/arch/arm/kernel/setup.c:1016:25: error: ‘SECTION_SIZE’ undeclared
(first use in this function); did you mean ‘SECTIONS_WIDTH’?
crash_size, SECTION_SIZE);
^~~~~~~~~~~~
SECTIONS_WIDTH
linux/arch/arm/kernel/setup.c:1016:25: note: each undeclared identifier
is reported only once for each function it appears in
linux/scripts/Makefile.build:265: recipe for target 'arch/arm/kernel/setup.o'
failedMake KEXEC depend on MMU to fix the compilation issue.
Signed-off-by: Vincenzo Frascino
Signed-off-by: Russell King
Signed-off-by: Sasha Levin -
[ Upstream commit cf206bca178cd5b5a436494b2e0cea75295944f4 ]
An experimental test with the command below gives this error:
rk3188-bqedison2qc.dt.yaml: dwmmc@10218000: wifi@1:
'reg' is a required propertySo fix this by adding a reg property to the brcmf sub node.
Also add #address-cells and #size-cells to prevent more warnings.make ARCH=arm dtbs_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yamlSigned-off-by: Johan Jonker
Link: https://lore.kernel.org/r/20200110134420.11280-1-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner
Signed-off-by: Sasha Levin -
[ Upstream commit 0ff15a86d0c5a3f004fee2e92d65b88e56a3bc58 ]
Add a fixed regulator and use it as power supply for DSI panel.
Fixes: 18c8866266 ("ARM: dts: stm32: Add display support on stm32f469-disco")
Signed-off-by: Benjamin Gaignard
Signed-off-by: Alexandre Torgue
Signed-off-by: Sasha Levin -
[ Upstream commit 8443ffd1bbd5be74e9b12db234746d12e8ea93e2 ]
Add a device node for the global timer, which is part of the Cortex-A9
MPCore.The global timer can serve as an accurate (4 ns) clock source for
scheduling and delay loops.Signed-off-by: Geert Uytterhoeven
Link: https://lore.kernel.org/r/20191211135222.26770-4-geert+renesas@glider.be
Signed-off-by: Sasha Levin -
[ Upstream commit 6bb1e09c4c375db29770444f689f35f5cbe696bc ]
Cabling used to connect devices to USBH1 on RDU2 does not meet USB
spec cable quality and cable length requirements to operate at High
Speed, so limit the port to Full Speed only.Reported-by: Chris Healy
Reviewed-by: Chris Healy
Reviewed-by: Lucas Stach
Signed-off-by: Andrey Smirnov
Cc: Shawn Guo
Cc: Fabio Estevam
Cc: Lucas Stach
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shawn Guo
Signed-off-by: Sasha Levin -
[ Upstream commit cd58a174e58649426fb43d7456e5f7d7eab58af1 ]
RDU2 production units come with resistor connecting WP pin to
correpsonding GPIO DNPed for both SD card slots. Drop any WP related
configuration and mark both slots with "disable-wp".Reported-by: Chris Healy
Reviewed-by: Chris Healy
Reviewed-by: Lucas Stach
Signed-off-by: Andrey Smirnov
Cc: Shawn Guo
Cc: Fabio Estevam
Cc: Lucas Stach
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shawn Guo
Signed-off-by: Sasha Levin -
[ Upstream commit 9f9e2df2e64df197ff6548ef494f76be5b35d08a ]
Few options KALLSYMS_ALL, SCSI, PM_DEVFREQ and mutex/spinlock debugging
were removed with savedefconfig because they were selected by other
options. However these are user-visible options and they might not be
selected in the future. Exactly this happened with commit 0e4a459f56c3
("tracing: Remove unnecessary DEBUG_FS dependency") removing the
dependency between DEBUG_FS and TRACING.To avoid losing these options in the future, explicitly mention them in
defconfig.Reported-by: Marek Szyprowski
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Sasha Levin -
[ Upstream commit 0388a110747bec0c9d9de995842bb2a03a26aae1 ]
Add the Performance Monitoring Unit (PMU) device tree node to the H3
.dtsi, which tells DT users which interrupts are triggered by PMU
overflow events on each core. The numbers come from the manual and have
been checked in U-Boot and with perf in Linux.Tested with perf record and taskset on an OrangePi Zero.
Signed-off-by: Andre Przywara
Signed-off-by: Maxime Ripard
Signed-off-by: Sasha Levin -
[ Upstream commit bc420c6ceefbb86cbbc8c00061bd779c17fa6997 ]
Kmemleak relies on specific symbols to register the read only data
during init (e.g. __start_ro_after_init).
Trying to build an XIP kernel on arm results in the linking error
reported below because when this option is selected read only data
after init are not allowed since .data is read only (.rodata).arm-linux-gnueabihf-ld: mm/kmemleak.o: in function `kmemleak_init':
kmemleak.c:(.init.text+0x148): undefined reference to `__end_ro_after_init'
arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x14c):
undefined reference to `__end_ro_after_init'
arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x150):
undefined reference to `__start_ro_after_init'
arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x156):
undefined reference to `__start_ro_after_init'
arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x162):
undefined reference to `__start_ro_after_init'
arm-linux-gnueabihf-ld: kmemleak.c:(.init.text+0x16a):
undefined reference to `__start_ro_after_init'
linux/Makefile:1078: recipe for target 'vmlinux' failedFix the issue enabling kmemleak only on non XIP kernels.
Signed-off-by: Vincenzo Frascino
Signed-off-by: Russell King
Signed-off-by: Sasha Levin -
Add uart2 DTE pin group for DTE test.
Reviewed-by: Richard Zhu
Signed-off-by: Fugang Duan -
Add INTEL E1000E to defconfig.
Signed-off-by: Richard Zhu
-
miss to enable the on flash bbt for all 6qdl platforms
Signed-off-by: Han Xu
Reviewed-by: Frank Li
20 Feb, 2020
2 commits
-
Commit 6d4cd041f0af ("net: phy: at803x: disable delay only for RGMII mode")
exposed an issue on imx DTS files using AR8031/AR8035 PHYs.To fix this problem, the phy-mode property needs to be "rgmii-id", which
enables PHY RX and TX delays.Tested-by: Lina Jin
Reviewed-by: Dong Aisheng
Signed-off-by: Fugang Duan -
commit e383e871ab54f073c2a798a9e0bde7f1d0528de8 upstream.
The CONFIG_ARCH_REQUIRE_GPIOLIB is gone since commit 65053e1a7743
("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB") and all platforms
should explicitly select GPIOLIB to have it.Link: https://lore.kernel.org/r/20200130195525.4525-1-krzk@kernel.org
Cc:
Fixes: 65053e1a7743 ("gpio: delete ARCH_[WANTS_OPTIONAL|REQUIRE]_GPIOLIB")
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Olof Johansson
Signed-off-by: Greg Kroah-Hartman
18 Feb, 2020
2 commits
-
select a proper freq for S20_3LE/S24_LE/S16_LE, the frequency
can be divided by 24/32/16.Signed-off-by: Shengjiu Wang
Reviewed-by: Viorel Suman -
select a proper freq for S20_3LE/S24_LE/S16_LE, the frequency
can be divided by 24/32/16.Signed-off-by: Shengjiu Wang
Reviewed-by: Viorel Suman
16 Feb, 2020
3 commits
-
At imx7ulp evk, all USBOTG1 OC (Over Current) function pins are
used by others, and the USB driver doesn't support OC function
through the GPIO, so we disable the OC function for this board
as well as delete the pinctrl for it.Reviewed-by: Jun Li
Acked-by: Leonard Crestez
Signed-off-by: Peter Chen
Signed-off-by: Dong Aisheng -
For imx7ulp, the power of pinctrl is lost during the system
susupend, so we need to restore the pinctrl value after resume.
Add one group pinctrl for "sleep" for both id and vbus pinctrl.Reviewed-by: Jun Li
Acked-by: Leonard Crestez
Signed-off-by: Peter Chen
Signed-off-by: Dong Aisheng -
During the system wakeup, USB PHY driver needs to access sim registers,
so we add phandle for sim, otherwise, the M4 doesn't know USB
is a wakeup source, and USB wakeup function would not work like this
ticket describes.Reviewed-by: Jun Li
Acked-by: Leonard Crestez
Signed-off-by: Peter Chen
Signed-off-by: Dong Aisheng
15 Feb, 2020
1 commit
-
commit 31f3010e60522ede237fb145a63b4af5a41718c2 upstream.
As of commit ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING
forcibly"), free_memmap() might not always be inlined, and thus is
triggering a section warning:WARNING: vmlinux.o(.text.unlikely+0x904): Section mismatch in reference from the function free_memmap() to the function .meminit.text:memblock_free()
Mark it as __init, since the faller (free_unused_memmap) already is.
Fixes: ac7c3e4ff401 ("compiler: enable CONFIG_OPTIMIZE_INLINING forcibly")
Signed-off-by: Olof Johansson
Signed-off-by: Russell King
Signed-off-by: Greg Kroah-Hartman