kernel_samsung_a53x/arch/arm
Michal Vokáč 1a6cf2f70a ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node
[ Upstream commit 79978bff2e4b8e05ebdf5fc3ee6b794002393484 ]

We identified that the PHYs actually do not work since commit 7da7b84fee58
("ARM: dts: imx6dl-yapp4: Move phy reset into switch node") as
a coincidence of several circumstances.

The reset signal is kept asserted by a pull-down resistor on the board
unless it is deasserted by GPIO from the SoC. This is to keep the switch
dead until it is configured properly by the kernel and user space.

Prior to the referenced commit the switch was reset by the FEC driver
and the reset GPIO was actively deasserted. The mdio-bus was scanned
and the attached switch and its PHYs were found and configured.

With the referenced commit the switch is reset by the qca8k driver.
Because of another bug in the qca8k driver, functionality of the reset
pin depends on its pre-kernel configuration. See commit c44fc98f0a8f
("net: dsa: qca8k: fix illegal usage of GPIO")

The problem did not appear until we removed support for the switch
and configuration of its reset pin from the bootloader.

To fix that, properly describe the internal mdio-bus configuration of
the qca8334 switch. The PHYs are internal to the switch and sit on its
internal mdio-bus.

Fixes: 7da7b84fee58 ("ARM: dts: imx6dl-yapp4: Move phy reset into switch node")
Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:46 +01:00
..
boot ARM: dts: imx6dl-yapp4: Move the internal switch PHYs under the switch node 2024-11-19 08:44:46 +01:00
common Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
configs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crypto Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
include ARM: 9320/1: fix stack depot IRQ stack filter 2024-11-18 11:43:14 +01:00
kernel Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lib ARM: 9321/1: memset: cast the constant byte to unsigned char 2024-11-18 11:43:03 +01:00
mach-actions Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-alpine Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-artpec Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-asm9260 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-aspeed Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-at91 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-axxia Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-bcm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-berlin Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-clps711x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-cns3xxx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-davinci ARM: davinci: always select CONFIG_CPU_ARM926T 2024-11-18 12:12:38 +01:00
mach-digicolor Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-dove Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-ebsa110 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-efm32 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-ep93xx ARM: ep93xx: Add terminator to gpiod_lookup_table 2024-11-18 22:25:37 +01:00
mach-exynos Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-footbridge Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-gemini Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-highbank Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-hisi Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-imx ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init 2024-11-18 12:11:41 +01:00
mach-integrator Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-iop32x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-ixp4xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-keystone Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-lpc18xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-lpc32xx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-mediatek Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-meson Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-milbeaut Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-mmp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-moxart Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-mstar Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-mv78xx0 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-mvebu Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
mach-mxs Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-nomadik Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-npcm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-nspire Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-omap1 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-omap2 ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init 2024-11-18 12:11:58 +01:00
mach-orion5x Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-oxnas Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-picoxcell Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-prima2 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-pxa Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-qcom Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-rda Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-realtek Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-realview Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-rockchip Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-rpc Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-s3c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-s5pv210 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-sa1100 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-shmobile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-socfpga Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-spear Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-sti Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-stm32 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-sunxi ARM: sun9i: smp: fix return code check of of_property_match_string 2024-11-18 12:12:18 +01:00
mach-tango Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-tegra Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-u300 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-uniphier Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-ux500 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-versatile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-vexpress Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-vt8500 Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-zx Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mach-zynq Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mm Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
net Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nwfpe Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
oprofile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
plat-omap Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
plat-orion Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
plat-pxa Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
plat-versatile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
probes Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tools Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vdso Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vfp Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xen arm/xen: fix xen_vcpu_info allocation alignment 2024-11-18 12:10:55 +01:00
Kbuild Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig-nommu Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.assembler Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig.debug Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00