armbian-build/patch/kernel
The-going 6a53633703
sunxi-5.15: Fix duplicate nodes for sun50i-h5-orangepi-pc2 board. (#3588)
* Fix duplicate nodes for sun50i-h5-orangepi-pc2

* Remove unused patch for pinctrl: sunxi: Fix deadlock.

This fix duplicates the upstream commit
896d1b8a36129c3f1378fbbafd7c394a877635b5 of the linux-5.15.y branch

pinctrl: sunxi: Use unique lockdep classes for IRQs

commit bac129dbc6560dfeb634c03f0c08b78024e71915 upstream.

This driver, like several others, uses a chained IRQ for each GPIO bank,
and forwards .irq_set_wake to the GPIO bank's upstream IRQ. As a result,
a call to irq_set_irq_wake() needs to lock both the upstream and
downstream irq_desc's. Lockdep considers this to be a possible deadlock
when the irq_desc's share lockdep classes, which they do by default:

============================================
WARNING: possible recursive locking detected
5.17.0-rc3-00394-gc849047c2473 #1 Not tainted
...

* Add to series.armbian Fix-duplicate-nodes-for-sun50i-h5-orangepi-pc2.patch

The problem with duplicate nodes in the device tree is that the first
one in the queue will be applied. The subsequent one will be ignored,
not replaced.

Fix spi-nor node initialization error for orangepi-pc2

[    1.288263] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.306391] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845203] Freeing initrd memory: 10824K
[    1.855263] sun6i-spi 1c68000.spi: chipselect 0 already in use
[    1.861159] spi_master spi0: spi_device register error /soc/spi@1c68000/spi-flash@0
[    1.868842] spi_master spi0: Failed to create SPI device for /soc/spi@1c68000/spi-flash@0

Remove duplicate nodes from applied patches for the board
sun50i-h5-orangepi-pc2. After this fix:

[    1.290252] sun50i-h5-pinctrl 1c20800.pinctrl: supply vcc-pc not found, using dummy regulator
[    1.291250] spi-nor spi0.0: supply vdd not found, using dummy regulator
[    1.310397] spi-nor spi0.0: mx25l1606e (2048 Kbytes)
[    1.845686] Freeing initrd memory: 10824K
[    1.854333] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.854369] Creating 2 MTD partitions on "spi0.0":
[    1.854381] 0x000000000000-0x000000100000 : "uboot"
[    1.855679] 0x000000100000-0x000000200000 : "env"
2022-03-28 01:18:17 +02:00
..
archive sunxi-5.15: Fix duplicate nodes for sun50i-h5-orangepi-pc2 board. (#3588) 2022-03-28 01:18:17 +02:00
bcm2711-current
bcm2711-edge
imx6-current
imx6-edge
jetson-nano-legacy
media-current
media-edge
meson64-current
meson64-edge
meson64-legacy
meson-current
meson-edge
meson-legacy
mt7623-legacy
mvebu64-current
mvebu64-edge
mvebu64-legacy
mvebu-current
mvebu-edge
mvebu-legacy
odroidxu4-current
odroidxu4-edge
odroidxu4-legacy
rk35xx-edge
rk35xx-legacy
rk322x-current
rk322x-edge
rk322x-legacy
rk3399-legacy
rockchip64-current
rockchip64-edge
rockchip64-legacy
rockchip-current
rockchip-edge
rockchip-legacy
rockpis-legacy
s5p6818-legacy
station-p2-edge
sun50iw9-legacy
sunxi-current
sunxi-edge
sunxi-legacy
uefi-arm64-current
uefi-arm64-edge
uefi-x86-current
uefi-x86-edge
zynq-legacy