Message ID | 20210125151811.11871-1-andre.przywara@arm.com (mailing list archive) |
---|---|
Headers | show |
Series | arm64: sunxi: Initial Allwinner H616 SoC support | expand |
Hi, On Mon, Jan 25, 2021 at 03:17:50PM +0000, Andre Przywara wrote: > Hi, > > an update from the v3 last week, to add support for the Allwinner H616 > SoC. Still based on the (updated) sunxi/for-next branch. > I am omitting the MMC and pinctrl patches now, as they have been taken > by Ulf and LinusW already into their trees. > > I addressed the comments from the list, though not sure if the HOSC clock > coming from the RTC is really a good idea (didn't change it). > > I was hoping that at least the clock and AXP patches (01/21-06/21) could > make it into 5.12 still? That would allow booting boards from SD card. > I am happy to strip the .dtsi and .dts patch to only contain the devices > that we actually support then, if needed. > > For the changes: I split the joint DT bindings patch into subsystem > specific ones, hopefully this simplifies merging. There is a new fix > for the axp20x-pek driver, and the AXP IRQ fix has been amended as well > (according to Samuel's comments). > > I eventually got USB to work, by requiring PHY 2 for [EO]HCI 1 & 3 as well. > Not sure this is the right fix, it might be just one clock or reset > line from that PHY that is needed for the others as well. Will do further > experiments. > > For a more detailed changelog, see below. With your series applied: ARCH=arm64 make -j18 dtbs_check arch/arm64/Makefile:25: ld does not support --fix-cortex-a53-843419; kernel may be susceptible to erratum arch/arm64/Makefile:33: LSE atomics not supported by binutils arch/arm64/Makefile:44: Detected assembler with broken .inst; disassembly will be unreliable DTC arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dtb DTC arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml CHECK arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: clock@3001000: clocks: [[7], [8, 0], [8, 2]] is too long From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: clock@3001000: clock-names: ['hosc', 'losc', 'iosc'] is too long From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: ethernet@5020000: compatible: 'oneOf' conditional failed, one must be fixed: ['allwinner,sun50i-h616-emac', 'allwinner,sun50i-a64-emac'] is too long Additional items are not allowed ('allwinner,sun50i-a64-emac' was unexpected) 'allwinner,sun8i-a83t-emac' was expected 'allwinner,sun8i-h3-emac' was expected 'allwinner,sun8i-r40-emac' was expected 'allwinner,sun8i-v3s-emac' was expected 'allwinner,sun50i-a64-emac' was expected 'allwinner,sun50i-h6-emac' was expected From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/net/allwinner,sun8i-a83t-emac.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: clock@7010000: clocks: [[7], [8, 0], [8, 2], [2, 4]] is too long From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: clock@7010000: clock-names: ['hosc', 'losc', 'iosc', 'pll-periph'] is too long From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/clock/allwinner,sun4i-a10-ccu.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: rsb@7083000: compatible: 'oneOf' conditional failed, one must be fixed: ['allwinner,sun50i-h616-rsb', 'allwinner,sun8i-a23-rsb'] is too long Additional items are not allowed ('allwinner,sun8i-a23-rsb' was unexpected) 'allwinner,sun8i-a23-rsb' was expected 'allwinner,sun8i-a83t-rsb' was expected From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/bus/allwinner,sun8i-a23-rsb.yaml /home/max/Work/allwinner/build/arm64/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dt.yaml: leds: led-0:default-state:0: 'on' is not of type 'array' From schema: /home/max/Work/repos/linux/Documentation/devicetree/bindings/leds/leds-gpio.yaml The last one is not related to your changes, but the rest must be fixed Maxime
On Mon, 25 Jan 2021 15:17:50 +0000, Andre Przywara wrote: > an update from the v3 last week, to add support for the Allwinner H616 > SoC. Still based on the (updated) sunxi/for-next branch. > I am omitting the MMC and pinctrl patches now, as they have been taken > by Ulf and LinusW already into their trees. > > I addressed the comments from the list, though not sure if the HOSC clock > coming from the RTC is really a good idea (didn't change it). > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [13/21] dt-bindings: spi: sunxi: Add H616 compatible string commit: 6589daf8bb98c75ad1065edad87c099ffb9f5d87 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark
On Wed, 27 Jan 2021 17:15:30 +0000 Mark Brown <broonie@kernel.org> wrote: > On Mon, 25 Jan 2021 15:17:50 +0000, Andre Przywara wrote: > > an update from the v3 last week, to add support for the Allwinner H616 > > SoC. Still based on the (updated) sunxi/for-next branch. > > I am omitting the MMC and pinctrl patches now, as they have been taken > > by Ulf and LinusW already into their trees. > > > > I addressed the comments from the list, though not sure if the HOSC clock > > coming from the RTC is really a good idea (didn't change it). > > > > [...] > > Applied to > > https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next > > Thanks! > > [13/21] dt-bindings: spi: sunxi: Add H616 compatible string > commit: 6589daf8bb98c75ad1065edad87c099ffb9f5d87 Thanks for that. I just sent a v5, just before seeing your email, so this one still has this patch, but without any changes. So please ignore [PATCH v5 13/21]. Cheers, Andre > All being well this means that it will be integrated into the linux-next > tree (usually sometime in the next 24 hours) and sent to Linus during > the next merge window (or sooner if it is a bug fix), however if > problems are discovered then the patch may be dropped or reverted. > > You may get further e-mails resulting from automated or manual testing > and review of the tree, please engage with people reporting problems and > send followup patches addressing any issues that are reported if needed. > > If any updates are required or you are submitting further changes they > should be sent as incremental updates against current git, existing > patches will not be replaced. > > Please add any relevant lists and maintainers to the CCs when replying > to this mail. > > Thanks, > Mark