summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/boards/kvx.rst98
-rw-r--r--Documentation/boards/kvx/kalray-k200.rst11
-rw-r--r--Documentation/boards/stm32mp.rst1
-rw-r--r--LICENSES/preferred/MIT30
-rw-r--r--Makefile739
-rw-r--r--arch/arm/Makefile36
-rw-r--r--arch/arm/boards/Makefile1
-rw-r--r--arch/arm/boards/afi-gf/config.h22
-rw-r--r--arch/arm/boards/altera-socdk/config.h1
-rw-r--r--arch/arm/boards/archosg9/lowlevel.c2
-rw-r--r--arch/arm/boards/archosg9/mux.c3
-rw-r--r--arch/arm/boards/archosg9/mux.h2
-rw-r--r--arch/arm/boards/avnet-zedboard/lowlevel.c28
-rw-r--r--arch/arm/boards/ebv-socrates/config.h1
-rw-r--r--arch/arm/boards/edb93xx/early_udelay.h3
-rw-r--r--arch/arm/boards/edb93xx/edb93xx.c3
-rw-r--r--arch/arm/boards/edb93xx/edb93xx.h3
-rw-r--r--arch/arm/boards/edb93xx/flash_cfg.c3
-rw-r--r--arch/arm/boards/edb93xx/pll_cfg.c3
-rw-r--r--arch/arm/boards/edb93xx/pll_cfg.h3
-rw-r--r--arch/arm/boards/edb93xx/sdram_cfg.c3
-rw-r--r--arch/arm/boards/edb93xx/sdram_cfg.h3
-rw-r--r--arch/arm/boards/eukrea_cpuimx25/Makefile3
-rw-r--r--arch/arm/boards/eukrea_cpuimx25/eukrea_cpuimx25.c3
-rw-r--r--arch/arm/boards/eukrea_cpuimx25/lowlevel.c3
-rw-r--r--arch/arm/boards/eukrea_cpuimx35/Makefile3
-rw-r--r--arch/arm/boards/eukrea_cpuimx35/lowlevel.c3
-rw-r--r--arch/arm/boards/freescale-mx25-3ds/3stack.c3
-rw-r--r--arch/arm/boards/freescale-mx25-3ds/Makefile3
-rw-r--r--arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S3
-rw-r--r--arch/arm/boards/freescale-mx35-3ds/board-mx35_3stack.h3
-rw-r--r--arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S3
-rw-r--r--arch/arm/boards/friendlyarm-tiny210/lowlevel.c3
-rw-r--r--arch/arm/boards/globalscale-guruplug/Makefile1
-rw-r--r--arch/arm/boards/globalscale-guruplug/board.c17
-rw-r--r--arch/arm/boards/globalscale-mirabox/Makefile1
-rw-r--r--arch/arm/boards/globalscale-mirabox/board.c17
-rw-r--r--arch/arm/boards/guf-cupid/Makefile3
-rw-r--r--arch/arm/boards/guf-cupid/board.c3
-rw-r--r--arch/arm/boards/guf-cupid/lowlevel.c3
-rw-r--r--arch/arm/boards/guf-neso/lowlevel.c3
-rw-r--r--arch/arm/boards/karo-tx25/Makefile3
-rw-r--r--arch/arm/boards/karo-tx25/board.c3
-rw-r--r--arch/arm/boards/karo-tx25/lowlevel.c3
-rw-r--r--arch/arm/boards/karo-tx6x/pmic-ltc3676.c3
-rw-r--r--arch/arm/boards/karo-tx6x/pmic-rn5t567.c3
-rw-r--r--arch/arm/boards/karo-tx6x/pmic-rn5t618.c3
-rw-r--r--arch/arm/boards/kindle3/kindle3.c3
-rw-r--r--arch/arm/boards/kindle3/lowlevel.c3
-rw-r--r--arch/arm/boards/lubbock/board.c3
-rw-r--r--arch/arm/boards/lxa-mc1/Makefile2
-rw-r--r--arch/arm/boards/lxa-mc1/board.c58
-rw-r--r--arch/arm/boards/lxa-mc1/lowlevel.c26
-rw-r--r--arch/arm/boards/mainstone/board.c3
-rw-r--r--arch/arm/boards/marvell-armada-xp-gp/Makefile1
-rw-r--r--arch/arm/boards/marvell-armada-xp-gp/board.c17
-rw-r--r--arch/arm/boards/mioa701/board.c3
-rw-r--r--arch/arm/boards/mioa701/gpio0_poweroff.c3
-rw-r--r--arch/arm/boards/mioa701/mioa701.h3
-rw-r--r--arch/arm/boards/module-mb7707/board.c1
-rw-r--r--arch/arm/boards/module-mb7707/lowlevel.c1
-rw-r--r--arch/arm/boards/mx31moboard/Makefile3
-rw-r--r--arch/arm/boards/mx31moboard/lowlevel.c3
-rw-r--r--arch/arm/boards/mx31moboard/mx31moboard.c3
-rw-r--r--arch/arm/boards/netgear-rn104/Makefile1
-rw-r--r--arch/arm/boards/netgear-rn104/board.c1
-rw-r--r--arch/arm/boards/panda/lowlevel.c9
-rw-r--r--arch/arm/boards/panda/mux.c4
-rw-r--r--arch/arm/boards/panda/mux.h6
-rw-r--r--arch/arm/boards/phytec-phycard-omap3/Makefile3
-rw-r--r--arch/arm/boards/phytec-phycard-omap4/Makefile3
-rw-r--r--arch/arm/boards/phytec-phycard-omap4/lowlevel.c9
-rw-r--r--arch/arm/boards/phytec-phycard-omap4/mux.c4
-rw-r--r--arch/arm/boards/phytec-phycard-omap4/mux.h6
-rw-r--r--arch/arm/boards/phytec-phycore-imx27/lowlevel.c3
-rw-r--r--arch/arm/boards/phytec-phycore-imx31/Makefile3
-rw-r--r--arch/arm/boards/phytec-phycore-imx31/lowlevel.c3
-rw-r--r--arch/arm/boards/phytec-phycore-imx31/pcm037.c3
-rw-r--r--arch/arm/boards/phytec-phycore-imx35/Makefile3
-rw-r--r--arch/arm/boards/phytec-phycore-imx35/lowlevel.c3
-rw-r--r--arch/arm/boards/phytec-phycore-imx35/pcm043.c3
-rw-r--r--arch/arm/boards/phytec-phycore-omap4460/lowlevel.c9
-rw-r--r--arch/arm/boards/phytec-phycore-omap4460/mux.c4
-rw-r--r--arch/arm/boards/phytec-phycore-omap4460/mux.h6
-rw-r--r--arch/arm/boards/phytec-phycore-pxa270/board.c3
-rw-r--r--arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S3
-rw-r--r--arch/arm/boards/phytec-som-imx6/defaultenv-physom-imx6/boot/spi4
-rw-r--r--arch/arm/boards/plathome-openblocks-a6/Makefile1
-rw-r--r--arch/arm/boards/plathome-openblocks-a6/board.c1
-rw-r--r--arch/arm/boards/plathome-openblocks-ax3/Makefile1
-rw-r--r--arch/arm/boards/plathome-openblocks-ax3/board.c17
-rw-r--r--arch/arm/boards/solidrun-cubox/config.h4
-rw-r--r--arch/arm/boards/solidrun-microsom/1066mhz-4x128mx16.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/1066mhz-4x256mx16.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/1066mhz-64b.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/800mhz-2x128mx16.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/800mhz-32b.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/800mhz-4x128mx16.imxcfg3
-rw-r--r--arch/arm/boards/solidrun-microsom/800mhz-64b.imxcfg3
-rw-r--r--arch/arm/boards/terasic-de0-nano-soc/config.h1
-rw-r--r--arch/arm/boards/terasic-sockit/config.h1
-rw-r--r--arch/arm/boards/toshiba-ac100/board.c1
-rw-r--r--arch/arm/boards/turris-omnia/Makefile1
-rw-r--r--arch/arm/boards/turris-omnia/board.c1
-rw-r--r--arch/arm/boards/usi-topkick/Makefile1
-rw-r--r--arch/arm/boards/usi-topkick/board.c17
-rw-r--r--arch/arm/boards/virt2real/board.c1
-rw-r--r--arch/arm/boards/virt2real/lowlevel.c1
-rw-r--r--arch/arm/boards/zii-common/Makefile1
-rw-r--r--arch/arm/boards/zii-common/board.c4
-rw-r--r--arch/arm/boards/zii-common/defaultenv-zii-common/boot/net (renamed from arch/arm/boards/zii-imx51-rdu1/defaultenv-rdu1/boot/net)9
-rw-r--r--arch/arm/boards/zii-common/switch-cmd.c49
-rw-r--r--arch/arm/boards/zii-imx51-rdu1/board.c1
-rw-r--r--arch/arm/boards/zii-imx6q-rdu2/board.c11
-rw-r--r--arch/arm/boards/zii-imx6q-rdu2/defaultenv-rdu2/boot/net24
-rw-r--r--arch/arm/boards/zii-imx7d-dev/board.c14
-rw-r--r--arch/arm/boards/zii-imx8mq-dev/board.c16
-rw-r--r--arch/arm/boards/zii-imx8mq-dev/defaultenv-imx8mq-zii-dev/boot/net24
-rw-r--r--arch/arm/boards/zii-imx8mq-dev/defaultenv-imx8mq-zii-dev/network/eth0-discover4
-rw-r--r--arch/arm/boards/zii-vf610-dev/board.c11
-rw-r--r--arch/arm/boards/zylonite/board.c5
-rw-r--r--arch/arm/boards/zylonite/zylonite.h22
-rw-r--r--arch/arm/configs/imx28_defconfig16
-rw-r--r--arch/arm/configs/stm32mp_defconfig28
-rw-r--r--arch/arm/cpu/common.c3
-rw-r--r--arch/arm/cpu/cpu.c3
-rw-r--r--arch/arm/cpu/cpuinfo.c3
-rw-r--r--arch/arm/cpu/dtb.c3
-rw-r--r--arch/arm/cpu/exceptions.S28
-rw-r--r--arch/arm/cpu/interrupts.c3
-rw-r--r--arch/arm/cpu/interrupts_64.c28
-rw-r--r--arch/arm/cpu/mmu-early_64.c3
-rw-r--r--arch/arm/cpu/mmu.c3
-rw-r--r--arch/arm/cpu/mmu.h9
-rw-r--r--arch/arm/cpu/mmu_64.c13
-rw-r--r--arch/arm/cpu/mmu_64.h17
-rw-r--r--arch/arm/cpu/mmuinfo.c3
-rw-r--r--arch/arm/cpu/sm.c12
-rw-r--r--arch/arm/cpu/start.c3
-rw-r--r--arch/arm/cpu/uncompress.c3
-rw-r--r--arch/arm/dts/Makefile1
-rw-r--r--arch/arm/dts/at91-sama5d27_giantboard.dts2
-rw-r--r--arch/arm/dts/at91-sama5d27_som1_ek.dts1
-rw-r--r--arch/arm/dts/imx6qdl-phytec-pfla02.dtsi5
-rw-r--r--arch/arm/dts/imx6qdl-zii-rdu2.dtsi36
-rw-r--r--arch/arm/dts/imx7d-sdb.dts11
-rw-r--r--arch/arm/dts/imx7d-zii-rmu2.dts48
-rw-r--r--arch/arm/dts/imx7d-zii-rmu2.dtsi361
-rw-r--r--arch/arm/dts/imx7d-zii-rpu2.dts20
-rw-r--r--arch/arm/dts/imx7s-warp.dts16
-rw-r--r--arch/arm/dts/imx8mq-zii-ultra.dtsi12
-rw-r--r--arch/arm/dts/imx8mq.dtsi99
-rw-r--r--arch/arm/dts/rk3288-phycore-som.dts2
-rw-r--r--arch/arm/dts/sama5d2.dtsi8
-rw-r--r--arch/arm/dts/stm32mp151.dtsi12
-rw-r--r--arch/arm/dts/stm32mp157c-lxa-mc1.dts44
-rw-r--r--arch/arm/dts/stm32mp157c-lxa-mc1.dtsi362
-rw-r--r--arch/arm/dts/stm32mp15xx-osd32.dtsi229
-rw-r--r--arch/arm/dts/vexpress-v2p-ca9.dts26
-rw-r--r--arch/arm/include/asm/barebox-arm.h3
-rw-r--r--arch/arm/include/asm/processor.h131
-rw-r--r--arch/arm/lib/pbl.lds.S3
-rw-r--r--arch/arm/lib32/barebox.lds.S3
-rw-r--r--arch/arm/lib32/bootm.c15
-rw-r--r--arch/arm/lib32/div0.c3
-rw-r--r--arch/arm/lib64/barebox.lds.S3
-rw-r--r--arch/arm/lib64/div0.c3
-rw-r--r--arch/arm/mach-at91/Kconfig23
-rw-r--r--arch/arm/mach-at91/at91rm9200_time.c3
-rw-r--r--arch/arm/mach-at91/include/mach/board.h11
-rw-r--r--arch/arm/mach-bcm283x/include/mach/debug_ll.h1
-rw-r--r--arch/arm/mach-davinci/include/mach/debug_ll.h1
-rw-r--r--arch/arm/mach-digic/include/mach/debug_ll.h1
-rw-r--r--arch/arm/mach-digic/include/mach/digic4.h1
-rw-r--r--arch/arm/mach-digic/include/mach/uart.h1
-rw-r--r--arch/arm/mach-ep93xx/clocksource.c3
-rw-r--r--arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h2
-rw-r--r--arch/arm/mach-ep93xx/led.c3
-rw-r--r--arch/arm/mach-ep93xx/led.h3
-rw-r--r--arch/arm/mach-ep93xx/lowlevel_init.S3
-rw-r--r--arch/arm/mach-imx/Kconfig11
-rw-r--r--arch/arm/mach-imx/boot.c43
-rw-r--r--arch/arm/mach-imx/esdctl-v4.c3
-rw-r--r--arch/arm/mach-imx/esdctl.c3
-rw-r--r--arch/arm/mach-imx/imx-bbu-external-nand.c3
-rw-r--r--arch/arm/mach-imx/imx-bbu-internal.c3
-rw-r--r--arch/arm/mach-imx/include/mach/habv4-imx6-gencsf.h2
-rw-r--r--arch/arm/mach-imx/include/mach/habv4-imx8-gencsf.h2
-rw-r--r--arch/arm/mach-imx/include/mach/iim.h3
-rw-r--r--arch/arm/mach-imx/include/mach/imx25-regs.h3
-rw-r--r--arch/arm/mach-imx/include/mach/imx31-regs.h3
-rw-r--r--arch/arm/mach-imx/include/mach/imx35-regs.h3
-rw-r--r--arch/arm/mach-imx/include/mach/imx6.h4
-rw-r--r--arch/arm/mach-layerscape/icid.c6
-rw-r--r--arch/arm/mach-mxs/Kconfig8
-rw-r--r--arch/arm/mach-mxs/power-init.c2
-rw-r--r--arch/arm/mach-omap/Kconfig3
-rw-r--r--arch/arm/mach-omap/auxcr.S3
-rw-r--r--arch/arm/mach-omap/include/mach/omap4-mux.h3
-rw-r--r--arch/arm/mach-omap/include/mach/omap4-silicon.h3
-rw-r--r--arch/arm/mach-omap/include/mach/sdrc.h3
-rw-r--r--arch/arm/mach-omap/omap3_xload_usb.c3
-rw-r--r--arch/arm/mach-omap/omap4_rom_usb.c6
-rw-r--r--arch/arm/mach-pxa/Kconfig1
-rw-r--r--arch/arm/mach-pxa/clocksource.c3
-rw-r--r--arch/arm/mach-pxa/common.c3
-rw-r--r--arch/arm/mach-pxa/devices.c3
-rw-r--r--arch/arm/mach-pxa/include/mach/devices.h3
-rw-r--r--arch/arm/mach-samsung/clocks-s3c24xx.c3
-rw-r--r--arch/arm/mach-samsung/generic.c3
-rw-r--r--arch/arm/mach-samsung/include/mach/s3c-clocks.h3
-rw-r--r--arch/arm/mach-samsung/include/mach/s3c-iomap.h3
-rw-r--r--arch/arm/mach-samsung/include/mach/s3c-mci.h3
-rw-r--r--arch/arm/mach-samsung/mem-s3c24x0.c3
-rw-r--r--arch/arm/mach-samsung/s3c-timer.c3
-rw-r--r--arch/arm/mach-socfpga/Kconfig5
-rw-r--r--arch/arm/mach-stm32mp/Kconfig4
-rw-r--r--arch/arm/mach-stm32mp/include/mach/bsec.h6
-rw-r--r--arch/arm/mach-stm32mp/include/mach/revision.h18
-rw-r--r--arch/arm/mach-stm32mp/init.c123
-rw-r--r--arch/arm/mach-tegra/Kconfig3
-rw-r--r--arch/arm/mach-tegra/include/mach/debug_ll.h1
-rw-r--r--arch/arm/mach-uemd/include/mach/debug_ll.h1
-rw-r--r--arch/arm/tools/Makefile2
-rw-r--r--arch/kvx/Kconfig55
-rw-r--r--arch/kvx/Makefile37
-rw-r--r--arch/kvx/configs/generic_defconfig14
-rw-r--r--arch/kvx/cpu/Makefile7
-rw-r--r--arch/kvx/cpu/barebox.lds.S95
-rw-r--r--arch/kvx/cpu/cpu.c32
-rw-r--r--arch/kvx/cpu/exception.S24
-rw-r--r--arch/kvx/cpu/reset.c67
-rw-r--r--arch/kvx/cpu/start.S184
-rw-r--r--arch/kvx/dts/Makefile13
-rw-r--r--arch/kvx/dts/k200.dts110
-rw-r--r--arch/kvx/include/asm/barrier.h18
-rw-r--r--arch/kvx/include/asm/bitops.h27
-rw-r--r--arch/kvx/include/asm/bitsperlong.h12
-rw-r--r--arch/kvx/include/asm/byteorder.h12
-rw-r--r--arch/kvx/include/asm/common.h27
-rw-r--r--arch/kvx/include/asm/elf.h18
-rw-r--r--arch/kvx/include/asm/ftu.h24
-rw-r--r--arch/kvx/include/asm/io.h14
-rw-r--r--arch/kvx/include/asm/linkage.h10
-rw-r--r--arch/kvx/include/asm/posix_types.h12
-rw-r--r--arch/kvx/include/asm/privilege.h192
-rw-r--r--arch/kvx/include/asm/sections.h12
-rw-r--r--arch/kvx/include/asm/sfr.h47
-rw-r--r--arch/kvx/include/asm/sfr_defs.h5029
-rw-r--r--arch/kvx/include/asm/string.h14
-rw-r--r--arch/kvx/include/asm/swab.h14
-rw-r--r--arch/kvx/include/asm/sys_arch.h46
-rw-r--r--arch/kvx/include/asm/types.h14
-rw-r--r--arch/kvx/include/asm/unaligned.h17
-rw-r--r--arch/kvx/lib/Makefile6
-rw-r--r--arch/kvx/lib/asm-offsets.c11
-rw-r--r--arch/kvx/lib/board.c119
-rw-r--r--arch/kvx/lib/cpuinfo.c20
-rw-r--r--arch/kvx/lib/dtb.c29
-rw-r--r--arch/kvx/lib/poweroff.c43
-rw-r--r--arch/mips/Makefile41
-rw-r--r--arch/mips/boards/dlink-dir-320/Makefile1
-rw-r--r--arch/mips/boards/dlink-dir-320/board.c15
-rw-r--r--arch/mips/boards/loongson-ls1b/include/board/debug_ll.h22
-rw-r--r--arch/mips/boards/netgear-wg102/include/board/debug_ll.h21
-rw-r--r--arch/mips/boards/qemu-malta/include/board/debug_ll.h18
-rw-r--r--arch/mips/mach-ath79/Kconfig3
-rw-r--r--arch/mips/pbl/Makefile2
-rw-r--r--arch/nios2/Makefile2
-rw-r--r--arch/nios2/cpu/cpu.c3
-rw-r--r--arch/nios2/cpu/exceptions.S3
-rw-r--r--arch/nios2/cpu/start.S3
-rw-r--r--arch/nios2/cpu/traps.c3
-rw-r--r--arch/nios2/include/asm/io.h5
-rw-r--r--arch/nios2/include/asm/nios2-io.h3
-rw-r--r--arch/nios2/include/asm/nios2.h3
-rw-r--r--arch/nios2/include/asm/opcodes.h3
-rw-r--r--arch/nios2/include/asm/ptrace.h3
-rw-r--r--arch/nios2/include/asm/string.h3
-rw-r--r--arch/nios2/include/asm/system.h3
-rw-r--r--arch/nios2/lib/board.c3
-rw-r--r--arch/nios2/lib/bootm.c3
-rw-r--r--arch/nios2/lib/clock.c3
-rw-r--r--arch/nios2/lib/early_printf.c3
-rw-r--r--arch/openrisc/Makefile2
-rw-r--r--arch/openrisc/cpu/cpu.c3
-rw-r--r--arch/openrisc/lib/board.c3
-rw-r--r--arch/openrisc/lib/clock.c3
-rw-r--r--arch/openrisc/lib/cpuinfo.c3
-rw-r--r--arch/openrisc/lib/dtb.c3
-rw-r--r--arch/powerpc/Kbuild2
-rw-r--r--arch/powerpc/Kconfig (renamed from arch/ppc/Kconfig)4
-rw-r--r--arch/powerpc/Makefile (renamed from arch/ppc/Makefile)41
-rw-r--r--arch/powerpc/boards/.gitignore (renamed from arch/ppc/boards/.gitignore)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/Makefile (renamed from arch/ppc/boards/freescale-p1010rdb/Makefile)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/config.h (renamed from arch/ppc/boards/freescale-p1010rdb/config.h)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/ddr.c (renamed from arch/ppc/boards/freescale-p1010rdb/ddr.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init (renamed from arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/bin/init)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config (renamed from arch/ppc/boards/freescale-p1010rdb/defaultenv-freescale-p1010rdb/config)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/law.c (renamed from arch/ppc/boards/freescale-p1010rdb/law.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/p1010rdb.c (renamed from arch/ppc/boards/freescale-p1010rdb/p1010rdb.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/p1010rdb.h (renamed from arch/ppc/boards/freescale-p1010rdb/p1010rdb.h)0
-rw-r--r--arch/powerpc/boards/freescale-p1010rdb/tlb.c (renamed from arch/ppc/boards/freescale-p1010rdb/tlb.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/Makefile (renamed from arch/ppc/boards/freescale-p1022ds/Makefile)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/config.h (renamed from arch/ppc/boards/freescale-p1022ds/config.h)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/ddr.c (renamed from arch/ppc/boards/freescale-p1022ds/ddr.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init (renamed from arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/bin/init)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config (renamed from arch/ppc/boards/freescale-p1022ds/defaultenv-freescale-p1022ds/config)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/ics307_clk.c (renamed from arch/ppc/boards/freescale-p1022ds/ics307_clk.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/law.c (renamed from arch/ppc/boards/freescale-p1022ds/law.c)3
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/p1022ds.c (renamed from arch/ppc/boards/freescale-p1022ds/p1022ds.c)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/p1022ds.h (renamed from arch/ppc/boards/freescale-p1022ds/p1022ds.h)0
-rw-r--r--arch/powerpc/boards/freescale-p1022ds/tlb.c (renamed from arch/ppc/boards/freescale-p1022ds/tlb.c)0
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/Makefile (renamed from arch/ppc/boards/freescale-p2020rdb/Makefile)0
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/config.h (renamed from arch/ppc/boards/freescale-p2020rdb/config.h)3
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init (renamed from arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/bin/init)0
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config (renamed from arch/ppc/boards/freescale-p2020rdb/defaultenv-freescale-p2020rdb/config)0
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/law.c (renamed from arch/ppc/boards/freescale-p2020rdb/law.c)3
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/p2020rdb.c (renamed from arch/ppc/boards/freescale-p2020rdb/p2020rdb.c)3
-rw-r--r--arch/powerpc/boards/freescale-p2020rdb/tlb.c (renamed from arch/ppc/boards/freescale-p2020rdb/tlb.c)3
-rw-r--r--arch/powerpc/boards/owc-da923rc/Makefile (renamed from arch/ppc/boards/owc-da923rc/Makefile)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/config.h (renamed from arch/ppc/boards/owc-da923rc/config.h)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/da923rc.c (renamed from arch/ppc/boards/owc-da923rc/da923rc.c)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/ddr.c (renamed from arch/ppc/boards/owc-da923rc/ddr.c)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/boot)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/defaultenv-owc-da923rc/config (renamed from arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/config)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/law.c (renamed from arch/ppc/boards/owc-da923rc/law.c)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/nand.c (renamed from arch/ppc/boards/owc-da923rc/nand.c)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/product_data.c (renamed from arch/ppc/boards/owc-da923rc/product_data.c)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/product_data.h (renamed from arch/ppc/boards/owc-da923rc/product_data.h)0
-rw-r--r--arch/powerpc/boards/owc-da923rc/tlb.c (renamed from arch/ppc/boards/owc-da923rc/tlb.c)0
-rw-r--r--arch/powerpc/boards/pcm030/Makefile (renamed from arch/ppc/boards/pcm030/Makefile)0
-rw-r--r--arch/powerpc/boards/pcm030/barebox.lds.S (renamed from arch/ppc/boards/pcm030/barebox.lds.S)5
-rw-r--r--arch/powerpc/boards/pcm030/config.h (renamed from arch/ppc/boards/pcm030/config.h)3
-rw-r--r--arch/powerpc/boards/pcm030/eeprom.c (renamed from arch/ppc/boards/pcm030/eeprom.c)0
-rw-r--r--arch/powerpc/boards/pcm030/env/init/mtdparts-nor (renamed from arch/ppc/boards/pcm030/env/init/mtdparts-nor)0
-rw-r--r--arch/powerpc/boards/pcm030/env/nv/linux.bootargs.console (renamed from arch/ppc/boards/pcm030/env/nv/linux.bootargs.console)0
-rw-r--r--arch/powerpc/boards/pcm030/mt46v32m16-75.h (renamed from arch/ppc/boards/pcm030/mt46v32m16-75.h)3
-rw-r--r--arch/powerpc/boards/pcm030/pcm030.c (renamed from arch/ppc/boards/pcm030/pcm030.c)3
-rw-r--r--arch/powerpc/configs/owc_da923rc_defconfig (renamed from arch/ppc/configs/owc_da923rc_defconfig)0
-rw-r--r--arch/powerpc/configs/p1010rdb_defconfig (renamed from arch/ppc/configs/p1010rdb_defconfig)0
-rw-r--r--arch/powerpc/configs/p1022ds_defconfig (renamed from arch/ppc/configs/p1022ds_defconfig)0
-rw-r--r--arch/powerpc/configs/p2020rdb_defconfig (renamed from arch/ppc/configs/p2020rdb_defconfig)0
-rw-r--r--arch/powerpc/configs/pcm030_defconfig (renamed from arch/ppc/configs/pcm030_defconfig)2
-rw-r--r--arch/powerpc/cpu-85xx/Makefile (renamed from arch/ppc/cpu-85xx/Makefile)0
-rw-r--r--arch/powerpc/cpu-85xx/fixed_ivor.S (renamed from arch/ppc/cpu-85xx/fixed_ivor.S)3
-rw-r--r--arch/powerpc/cpu-85xx/mmu.c (renamed from arch/ppc/cpu-85xx/mmu.c)0
-rw-r--r--arch/powerpc/cpu-85xx/resetvec.S (renamed from arch/ppc/cpu-85xx/resetvec.S)0
-rw-r--r--arch/powerpc/cpu-85xx/start.S (renamed from arch/ppc/cpu-85xx/start.S)0
-rw-r--r--arch/powerpc/cpu-85xx/tlb.c (renamed from arch/ppc/cpu-85xx/tlb.c)3
-rw-r--r--arch/powerpc/cpu-85xx/traps.c (renamed from arch/ppc/cpu-85xx/traps.c)3
-rw-r--r--arch/powerpc/ddr-8xxx/Makefile (renamed from arch/ppc/ddr-8xxx/Makefile)0
-rw-r--r--arch/powerpc/ddr-8xxx/common_timing_params.h (renamed from arch/ppc/ddr-8xxx/common_timing_params.h)0
-rw-r--r--arch/powerpc/ddr-8xxx/ctrl_regs.c (renamed from arch/ppc/ddr-8xxx/ctrl_regs.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/ddr.h (renamed from arch/ppc/ddr-8xxx/ddr.h)0
-rw-r--r--arch/powerpc/ddr-8xxx/ddr2_dimm_params.c (renamed from arch/ppc/ddr-8xxx/ddr2_dimm_params.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/ddr3_dimm_params.c (renamed from arch/ppc/ddr-8xxx/ddr3_dimm_params.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/ddr_setctrl.c (renamed from arch/ppc/ddr-8xxx/ddr_setctrl.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/lc_common_dimm_params.c (renamed from arch/ppc/ddr-8xxx/lc_common_dimm_params.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/main.c (renamed from arch/ppc/ddr-8xxx/main.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/options.c (renamed from arch/ppc/ddr-8xxx/options.c)0
-rw-r--r--arch/powerpc/ddr-8xxx/util.c (renamed from arch/ppc/ddr-8xxx/util.c)0
-rw-r--r--arch/powerpc/include/asm/atomic.h (renamed from arch/ppc/include/asm/atomic.h)0
-rw-r--r--arch/powerpc/include/asm/bitops.h (renamed from arch/ppc/include/asm/bitops.h)0
-rw-r--r--arch/powerpc/include/asm/bitsperlong.h (renamed from arch/ppc/include/asm/bitsperlong.h)0
-rw-r--r--arch/powerpc/include/asm/byteorder.h (renamed from arch/ppc/include/asm/byteorder.h)0
-rw-r--r--arch/powerpc/include/asm/cache.h (renamed from arch/ppc/include/asm/cache.h)0
-rw-r--r--arch/powerpc/include/asm/common.h (renamed from arch/ppc/include/asm/common.h)0
-rw-r--r--arch/powerpc/include/asm/config.h (renamed from arch/ppc/include/asm/config.h)0
-rw-r--r--arch/powerpc/include/asm/dma.h (renamed from arch/ppc/include/asm/dma.h)0
-rw-r--r--arch/powerpc/include/asm/elf.h (renamed from arch/ppc/include/asm/elf.h)0
-rw-r--r--arch/powerpc/include/asm/fsl_ddr_dimm_params.h (renamed from arch/ppc/include/asm/fsl_ddr_dimm_params.h)0
-rw-r--r--arch/powerpc/include/asm/fsl_ddr_sdram.h (renamed from arch/ppc/include/asm/fsl_ddr_sdram.h)0
-rw-r--r--arch/powerpc/include/asm/fsl_ifc.h (renamed from arch/ppc/include/asm/fsl_ifc.h)0
-rw-r--r--arch/powerpc/include/asm/fsl_law.h (renamed from arch/ppc/include/asm/fsl_law.h)0
-rw-r--r--arch/powerpc/include/asm/fsl_lbc.h (renamed from arch/ppc/include/asm/fsl_lbc.h)3
-rw-r--r--arch/powerpc/include/asm/io.h (renamed from arch/ppc/include/asm/io.h)0
-rw-r--r--arch/powerpc/include/asm/mmu.h (renamed from arch/ppc/include/asm/mmu.h)0
-rw-r--r--arch/powerpc/include/asm/module.h (renamed from arch/ppc/include/asm/module.h)0
-rw-r--r--arch/powerpc/include/asm/pci_io.h (renamed from arch/ppc/include/asm/pci_io.h)0
-rw-r--r--arch/powerpc/include/asm/posix_types.h (renamed from arch/ppc/include/asm/posix_types.h)0
-rw-r--r--arch/powerpc/include/asm/ppc_asm.tmpl (renamed from arch/ppc/include/asm/ppc_asm.tmpl)3
-rw-r--r--arch/powerpc/include/asm/ppc_defs.h (renamed from arch/ppc/include/asm/ppc_defs.h)3
-rw-r--r--arch/powerpc/include/asm/processor.h (renamed from arch/ppc/include/asm/processor.h)0
-rw-r--r--arch/powerpc/include/asm/ptrace.h (renamed from arch/ppc/include/asm/ptrace.h)0
-rw-r--r--arch/powerpc/include/asm/sections.h (renamed from arch/ppc/include/asm/sections.h)0
-rw-r--r--arch/powerpc/include/asm/sigcontext.h (renamed from arch/ppc/include/asm/sigcontext.h)0
-rw-r--r--arch/powerpc/include/asm/signal.h (renamed from arch/ppc/include/asm/signal.h)0
-rw-r--r--arch/powerpc/include/asm/status_led.h (renamed from arch/ppc/include/asm/status_led.h)0
-rw-r--r--arch/powerpc/include/asm/string.h (renamed from arch/ppc/include/asm/string.h)0
-rw-r--r--arch/powerpc/include/asm/swab.h (renamed from arch/ppc/include/asm/swab.h)0
-rw-r--r--arch/powerpc/include/asm/types.h (renamed from arch/ppc/include/asm/types.h)0
-rw-r--r--arch/powerpc/include/asm/unaligned.h (renamed from arch/ppc/include/asm/unaligned.h)0
-rw-r--r--arch/powerpc/lib/Makefile (renamed from arch/ppc/lib/Makefile)0
-rw-r--r--arch/powerpc/lib/asm-offsets.c (renamed from arch/ppc/lib/asm-offsets.c)0
-rw-r--r--arch/powerpc/lib/bat_rw.c (renamed from arch/ppc/lib/bat_rw.c)3
-rw-r--r--arch/powerpc/lib/board.c (renamed from arch/ppc/lib/board.c)3
-rw-r--r--arch/powerpc/lib/crtsavres.S (renamed from arch/ppc/lib/crtsavres.S)0
-rw-r--r--arch/powerpc/lib/extable.c (renamed from arch/ppc/lib/extable.c)3
-rw-r--r--arch/powerpc/lib/kgdb.c (renamed from arch/ppc/lib/kgdb.c)0
-rw-r--r--arch/powerpc/lib/misc.S (renamed from arch/ppc/lib/misc.S)0
-rw-r--r--arch/powerpc/lib/module.c (renamed from arch/ppc/lib/module.c)0
-rw-r--r--arch/powerpc/lib/ppclinux.c (renamed from arch/ppc/lib/ppclinux.c)0
-rw-r--r--arch/powerpc/lib/ppcstring.S (renamed from arch/ppc/lib/ppcstring.S)0
-rw-r--r--arch/powerpc/lib/reloc.S (renamed from arch/ppc/lib/reloc.S)3
-rw-r--r--arch/powerpc/lib/ticks.S (renamed from arch/ppc/lib/ticks.S)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/Kconfig (renamed from arch/ppc/mach-mpc5xxx/Kconfig)13
-rw-r--r--arch/powerpc/mach-mpc5xxx/Makefile (renamed from arch/ppc/mach-mpc5xxx/Makefile)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/cpu.c (renamed from arch/ppc/mach-mpc5xxx/cpu.c)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/cpu_init.c (renamed from arch/ppc/mach-mpc5xxx/cpu_init.c)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/firmware_sc_task.impl.S (renamed from arch/ppc/mach-mpc5xxx/firmware_sc_task.impl.S)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S (renamed from arch/ppc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/include/mach/clock.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/clock.h)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/include/mach/mpc5xxx.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h)5
-rw-r--r--arch/powerpc/mach-mpc5xxx/include/mach/sdma.h (renamed from arch/ppc/mach-mpc5xxx/include/mach/sdma.h)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/io.S (renamed from arch/ppc/mach-mpc5xxx/io.S)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/loadtask.c (renamed from arch/ppc/mach-mpc5xxx/loadtask.c)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/pci_mpc5200.c (renamed from arch/ppc/mach-mpc5xxx/pci_mpc5200.c)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/reginfo.c (renamed from arch/ppc/mach-mpc5xxx/reginfo.c)0
-rw-r--r--arch/powerpc/mach-mpc5xxx/speed.c (renamed from arch/ppc/mach-mpc5xxx/speed.c)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/start.S (renamed from arch/ppc/mach-mpc5xxx/start.S)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/time.c (renamed from arch/ppc/mach-mpc5xxx/time.c)3
-rw-r--r--arch/powerpc/mach-mpc5xxx/traps.c (renamed from arch/ppc/mach-mpc5xxx/traps.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/.gitignore (renamed from arch/ppc/mach-mpc85xx/.gitignore)0
-rw-r--r--arch/powerpc/mach-mpc85xx/Kconfig (renamed from arch/ppc/mach-mpc85xx/Kconfig)0
-rw-r--r--arch/powerpc/mach-mpc85xx/Makefile (renamed from arch/ppc/mach-mpc85xx/Makefile)0
-rw-r--r--arch/powerpc/mach-mpc85xx/barebox.lds.S (renamed from arch/ppc/mach-mpc85xx/barebox.lds.S)4
-rw-r--r--arch/powerpc/mach-mpc85xx/cpu.c (renamed from arch/ppc/mach-mpc85xx/cpu.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/cpu_init.c (renamed from arch/ppc/mach-mpc85xx/cpu_init.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/cpuid.c (renamed from arch/ppc/mach-mpc85xx/cpuid.c)2
-rw-r--r--arch/powerpc/mach-mpc85xx/eth-devices.c (renamed from arch/ppc/mach-mpc85xx/eth-devices.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/fdt.c (renamed from arch/ppc/mach-mpc85xx/fdt.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/fsl_gpio.c (renamed from arch/ppc/mach-mpc85xx/fsl_gpio.c)0
-rw-r--r--arch/powerpc/mach-mpc85xx/fsl_i2c.c (renamed from arch/ppc/mach-mpc85xx/fsl_i2c.c)0
-rw-r--r--arch/powerpc/mach-mpc85xx/fsl_law.c (renamed from arch/ppc/mach-mpc85xx/fsl_law.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/clock.h (renamed from arch/ppc/mach-mpc85xx/include/mach/clock.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/config_mpc85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/config_mpc85xx.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/early_udelay.h (renamed from arch/ppc/mach-mpc85xx/include/mach/early_udelay.h)3
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/ffs64.h (renamed from arch/ppc/mach-mpc85xx/include/mach/ffs64.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/fsl_i2c.h (renamed from arch/ppc/mach-mpc85xx/include/mach/fsl_i2c.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/gianfar.h (renamed from arch/ppc/mach-mpc85xx/include/mach/gianfar.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/gpio.h (renamed from arch/ppc/mach-mpc85xx/include/mach/gpio.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/immap_85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h)3
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/mmu.h (renamed from arch/ppc/mach-mpc85xx/include/mach/mmu.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/include/mach/mpc85xx.h (renamed from arch/ppc/mach-mpc85xx/include/mach/mpc85xx.h)0
-rw-r--r--arch/powerpc/mach-mpc85xx/speed.c (renamed from arch/ppc/mach-mpc85xx/speed.c)3
-rw-r--r--arch/powerpc/mach-mpc85xx/time.c (renamed from arch/ppc/mach-mpc85xx/time.c)3
-rw-r--r--arch/riscv/Makefile19
-rw-r--r--arch/sandbox/Makefile12
-rw-r--r--arch/sandbox/board/board.c3
-rw-r--r--arch/sandbox/board/clock.c3
-rw-r--r--arch/sandbox/board/console.c3
-rw-r--r--arch/sandbox/board/dtb.c3
-rw-r--r--arch/sandbox/board/hostfile.c3
-rw-r--r--arch/sandbox/os/Makefile10
-rw-r--r--arch/sandbox/os/common.c3
-rw-r--r--arch/sandbox/os/tap.c3
-rw-r--r--arch/x86/Kconfig7
-rw-r--r--arch/x86/Makefile34
-rw-r--r--arch/x86/boot/Makefile2
-rw-r--r--arch/x86/lib/barebox.lds.S3
-rw-r--r--arch/x86/mach-i386/Kconfig15
-rw-r--r--commands/2048.c32
-rw-r--r--commands/Kconfig20
-rw-r--r--commands/automount.c22
-rw-r--r--commands/barebox-update.c22
-rw-r--r--commands/basename.c22
-rw-r--r--commands/blobgen.c3
-rw-r--r--commands/boot.c13
-rw-r--r--commands/bootchooser.c17
-rw-r--r--commands/bootm.c20
-rw-r--r--commands/cat.c18
-rw-r--r--commands/cd.c22
-rw-r--r--commands/clear.c22
-rw-r--r--commands/cmp.c20
-rw-r--r--commands/cp.c22
-rw-r--r--commands/crc.c22
-rw-r--r--commands/defaultenv.c18
-rw-r--r--commands/detect.c23
-rw-r--r--commands/devinfo.c16
-rw-r--r--commands/dfu.c23
-rw-r--r--commands/dhcp.c9
-rw-r--r--commands/dhrystone.c14
-rw-r--r--commands/digest.c7
-rw-r--r--commands/dirname.c22
-rw-r--r--commands/dmesg.c23
-rw-r--r--commands/drvinfo.c18
-rw-r--r--commands/echo.c22
-rw-r--r--commands/edit.c18
-rw-r--r--commands/exec.c22
-rw-r--r--commands/export.c18
-rw-r--r--commands/false.c20
-rw-r--r--commands/filetype.c7
-rw-r--r--commands/firmwareload.c14
-rw-r--r--commands/flash.c24
-rw-r--r--commands/global.c23
-rw-r--r--commands/go.c24
-rw-r--r--commands/gpio.c13
-rw-r--r--commands/hab.c11
-rw-r--r--commands/hashsum.c22
-rw-r--r--commands/help.c20
-rw-r--r--commands/i2c.c20
-rw-r--r--commands/imd.c19
-rw-r--r--commands/iomemport.c22
-rw-r--r--commands/ip-route-get.c11
-rw-r--r--commands/led.c23
-rw-r--r--commands/let.c20
-rw-r--r--commands/linux16.c17
-rw-r--r--commands/linux_exec.c18
-rw-r--r--commands/ln.c22
-rw-r--r--commands/loadb.c20
-rw-r--r--commands/loadenv.c18
-rw-r--r--commands/loads.c25
-rw-r--r--commands/loadxy.c20
-rw-r--r--commands/login.c18
-rw-r--r--commands/ls.c22
-rw-r--r--commands/lspci.c18
-rw-r--r--commands/md.c18
-rw-r--r--commands/memcmp.c18
-rw-r--r--commands/memcpy.c18
-rw-r--r--commands/meminfo.c23
-rw-r--r--commands/memset.c18
-rw-r--r--commands/memtest.c24
-rw-r--r--commands/menu.c19
-rw-r--r--commands/menutree.c12
-rw-r--r--commands/miitool.c23
-rw-r--r--commands/mkdir.c22
-rw-r--r--commands/mm.c18
-rw-r--r--commands/mmc_extcsd.c20
-rw-r--r--commands/mount.c22
-rw-r--r--commands/msleep.c15
-rw-r--r--commands/mw.c18
-rw-r--r--commands/nand-bitflip.c11
-rw-r--r--commands/nand.c19
-rw-r--r--commands/nandtest.c12
-rw-r--r--commands/nv.c23
-rw-r--r--commands/of_diff.c11
-rw-r--r--commands/of_display_timings.c21
-rw-r--r--commands/of_dump.c22
-rw-r--r--commands/of_fixup_status.c20
-rw-r--r--commands/of_node.c22
-rw-r--r--commands/of_overlay.c18
-rw-r--r--commands/of_property.c33
-rw-r--r--commands/oftree.c18
-rw-r--r--commands/partition.c18
-rw-r--r--commands/passwd.c18
-rw-r--r--commands/poweroff.c22
-rw-r--r--commands/printenv.c18
-rw-r--r--commands/pwd.c23
-rw-r--r--commands/readline.c20
-rw-r--r--commands/readlink.c22
-rw-r--r--commands/reginfo.c22
-rw-r--r--commands/regulator.c23
-rw-r--r--commands/reset.c22
-rw-r--r--commands/rm.c23
-rw-r--r--commands/saveenv.c18
-rw-r--r--commands/seed.c15
-rw-r--r--commands/setenv.c18
-rw-r--r--commands/sleep.c22
-rw-r--r--commands/smc.c2
-rw-r--r--commands/spd_decode.c21
-rw-r--r--commands/spi.c8
-rw-r--r--commands/state.c15
-rw-r--r--commands/stddev.c18
-rw-r--r--commands/test.c20
-rw-r--r--commands/tftp.c22
-rw-r--r--commands/timeout.c22
-rw-r--r--commands/trigger.c23
-rw-r--r--commands/true.c20
-rw-r--r--commands/ubiformat.c17
-rw-r--r--commands/ubsan.c3
-rw-r--r--commands/umount.c23
-rw-r--r--commands/uncompress.c22
-rw-r--r--commands/usb.c23
-rw-r--r--commands/usbgadget.c26
-rw-r--r--commands/usbserial.c26
-rw-r--r--commands/version.c20
-rw-r--r--commands/wd.c15
-rw-r--r--common/Kconfig27
-rw-r--r--common/Makefile4
-rw-r--r--common/bbu.c5
-rw-r--r--common/block.c5
-rw-r--r--common/blspec.c16
-rw-r--r--common/boot.c2
-rw-r--r--common/bootargs.c3
-rw-r--r--common/bootm.c22
-rw-r--r--common/bootsource.c4
-rw-r--r--common/clock.c5
-rw-r--r--common/command.c3
-rw-r--r--common/console.c3
-rw-r--r--common/console_common.c5
-rw-r--r--common/console_countdown.c3
-rw-r--r--common/date.c3
-rw-r--r--common/dlmalloc.c12
-rw-r--r--common/efi-devicepath.c2
-rw-r--r--common/efi/efi-image.c3
-rw-r--r--common/efi/efi.c3
-rw-r--r--common/env.c3
-rw-r--r--common/environment.c3
-rw-r--r--common/filetype.c7
-rw-r--r--common/hush.c4
-rw-r--r--common/image.c4
-rw-r--r--common/imd.c12
-rw-r--r--common/imx-bbu-nand-fcb.c4
-rw-r--r--common/memory.c3
-rw-r--r--common/memsize.c3
-rw-r--r--common/memtest.c5
-rw-r--r--common/menu.c3
-rw-r--r--common/misc.c3
-rw-r--r--common/module.lds.S3
-rw-r--r--common/oftree.c4
-rw-r--r--common/password.c3
-rw-r--r--common/poweroff.c3
-rw-r--r--common/ratp/getenv.c3
-rw-r--r--common/ratp/gpio.c3
-rw-r--r--common/ratp/i2c.c3
-rw-r--r--common/ratp/md.c3
-rw-r--r--common/ratp/mw.c3
-rw-r--r--common/ratp/ping.c3
-rw-r--r--common/ratp/ratp.c3
-rw-r--r--common/ratp/reset.c3
-rw-r--r--common/resource.c5
-rw-r--r--common/restart.c3
-rw-r--r--common/s_record.c3
-rw-r--r--common/serdev.c6
-rw-r--r--common/startup.c49
-rw-r--r--common/state/state.c2
-rw-r--r--common/tlsf_malloc.c1
-rw-r--r--common/ubiformat.c2
-rw-r--r--common/uimage.c5
-rw-r--r--crypto/digest.c3
-rw-r--r--defaultenv/defaultenv.c3
-rw-r--r--drivers/aiodev/Kconfig2
-rw-r--r--drivers/aiodev/core.c3
-rw-r--r--drivers/aiodev/imx_thermal.c3
-rw-r--r--drivers/aiodev/mc13xxx_adc.c3
-rw-r--r--drivers/ata/ahci.c3
-rw-r--r--drivers/ata/ahci.h3
-rw-r--r--drivers/base/driver.c3
-rw-r--r--drivers/base/platform.c3
-rw-r--r--drivers/base/regmap/internal.h4
-rw-r--r--drivers/base/regmap/regmap-mmio.c115
-rw-r--r--drivers/base/regmap/regmap.c64
-rw-r--r--drivers/base/resource.c3
-rw-r--r--drivers/bus/Kconfig4
-rw-r--r--drivers/clk/Kconfig1
-rw-r--r--drivers/clk/Makefile1
-rw-r--r--drivers/clk/at91/Makefile15
-rw-r--r--drivers/clk/at91/at91sam9260.c16
-rw-r--r--drivers/clk/at91/at91sam9rl.c4
-rw-r--r--drivers/clk/at91/at91sam9x5.c18
-rw-r--r--drivers/clk/at91/clk-audio-pll.c512
-rw-r--r--drivers/clk/at91/clk-generated.c68
-rw-r--r--drivers/clk/at91/clk-h32mx.c9
-rw-r--r--drivers/clk/at91/clk-i2s-mux.c87
-rw-r--r--drivers/clk/at91/clk-main.c25
-rw-r--r--drivers/clk/at91/clk-master.c16
-rw-r--r--drivers/clk/at91/clk-peripheral.c54
-rw-r--r--drivers/clk/at91/clk-pll.c21
-rw-r--r--drivers/clk/at91/clk-plldiv.c9
-rw-r--r--drivers/clk/at91/clk-programmable.c53
-rw-r--r--drivers/clk/at91/clk-sam9x60-pll.c322
-rw-r--r--drivers/clk/at91/clk-slow.c7
-rw-r--r--drivers/clk/at91/clk-smd.c9
-rw-r--r--drivers/clk/at91/clk-system.c9
-rw-r--r--drivers/clk/at91/clk-usb.c44
-rw-r--r--drivers/clk/at91/clk-utmi.c7
-rw-r--r--drivers/clk/at91/dt-compat.c140
-rw-r--r--drivers/clk/at91/pmc.c19
-rw-r--r--drivers/clk/at91/pmc.h91
-rw-r--r--drivers/clk/at91/sam9x60.c313
-rw-r--r--drivers/clk/at91/sama5d2.c79
-rw-r--r--drivers/clk/at91/sama5d4.c14
-rw-r--r--drivers/clk/at91/sckc.c387
-rw-r--r--drivers/clk/clk-ar933x.c13
-rw-r--r--drivers/clk/clk-ar9344.c10
-rw-r--r--drivers/clk/clk-composite.c13
-rw-r--r--drivers/clk/clk-conf.c5
-rw-r--r--drivers/clk/clk-divider.c12
-rw-r--r--drivers/clk/clk-fixed-factor.c12
-rw-r--r--drivers/clk/clk-fixed.c28
-rw-r--r--drivers/clk/clk-fractional-divider.c5
-rw-r--r--drivers/clk/clk-gate-shared.c12
-rw-r--r--drivers/clk/clk-gate.c12
-rw-r--r--drivers/clk/clk-gpio.c12
-rw-r--r--drivers/clk/clk-mux.c12
-rw-r--r--drivers/clk/clk-qoric.c5
-rw-r--r--drivers/clk/clk.c12
-rw-r--r--drivers/clk/clkdev.c5
-rw-r--r--drivers/clk/imx/Makefile1
-rw-r--r--drivers/clk/imx/clk-cpu.c8
-rw-r--r--drivers/clk/imx/clk-frac-pll.c8
-rw-r--r--drivers/clk/imx/clk-gate-exclusive.c5
-rw-r--r--drivers/clk/imx/clk-gate2.c12
-rw-r--r--drivers/clk/imx/clk-imx1.c14
-rw-r--r--drivers/clk/imx/clk-imx21.c15
-rw-r--r--drivers/clk/imx/clk-imx25.c15
-rw-r--r--drivers/clk/imx/clk-imx27.c1
-rw-r--r--drivers/clk/imx/clk-imx31.c14
-rw-r--r--drivers/clk/imx/clk-imx35.c6
-rw-r--r--drivers/clk/imx/clk-imx5.c6
-rw-r--r--drivers/clk/imx/clk-imx6.c8
-rw-r--r--drivers/clk/imx/clk-imx6sl.c8
-rw-r--r--drivers/clk/imx/clk-imx6sx.c8
-rw-r--r--drivers/clk/imx/clk-imx6ul.c8
-rw-r--r--drivers/clk/imx/clk-imx7.c10
-rw-r--r--drivers/clk/imx/clk-pfd.c8
-rw-r--r--drivers/clk/imx/clk-pllv1.c14
-rw-r--r--drivers/clk/imx/clk-pllv2.c14
-rw-r--r--drivers/clk/imx/clk-pllv3.c14
-rw-r--r--drivers/clk/imx/clk-sccg-pll.c8
-rw-r--r--drivers/clk/imx/clk-vf610.c7
-rw-r--r--drivers/clk/imx/clk.c1
-rw-r--r--drivers/clk/imx/clk.h1
-rw-r--r--drivers/clk/mvebu/Makefile1
-rw-r--r--drivers/clk/mvebu/armada-370.c5
-rw-r--r--drivers/clk/mvebu/armada-38x.c5
-rw-r--r--drivers/clk/mvebu/armada-xp.c5
-rw-r--r--drivers/clk/mvebu/common.c5
-rw-r--r--drivers/clk/mvebu/common.h5
-rw-r--r--drivers/clk/mvebu/corediv.c5
-rw-r--r--drivers/clk/mvebu/dove.c5
-rw-r--r--drivers/clk/mvebu/kirkwood.c5
-rw-r--r--drivers/clk/mxs/Makefile1
-rw-r--r--drivers/clk/mxs/clk-div.c8
-rw-r--r--drivers/clk/mxs/clk-frac.c8
-rw-r--r--drivers/clk/mxs/clk-imx23.c14
-rw-r--r--drivers/clk/mxs/clk-imx28.c79
-rw-r--r--drivers/clk/mxs/clk-lcdif.c1
-rw-r--r--drivers/clk/mxs/clk-pll.c8
-rw-r--r--drivers/clk/mxs/clk-ref.c8
-rw-r--r--drivers/clk/mxs/clk.h1
-rw-r--r--drivers/clk/rockchip/Makefile1
-rw-r--r--drivers/clk/rockchip/clk-cpu.c5
-rw-r--r--drivers/clk/rockchip/clk-pll.c11
-rw-r--r--drivers/clk/rockchip/clk-rk3188.c11
-rw-r--r--drivers/clk/rockchip/clk-rk3288.c11
-rw-r--r--drivers/clk/rockchip/clk.c11
-rw-r--r--drivers/clk/rockchip/clk.h11
-rw-r--r--drivers/clk/socfpga/Makefile1
-rw-r--r--drivers/clk/socfpga/clk-gate-a10.c13
-rw-r--r--drivers/clk/socfpga/clk-periph-a10.c13
-rw-r--r--drivers/clk/socfpga/clk-pll-a10.c13
-rw-r--r--drivers/clk/socfpga/clk.c10
-rw-r--r--drivers/clk/socfpga/clk.h11
-rw-r--r--drivers/clk/tegra/Makefile1
-rw-r--r--drivers/clk/tegra/clk-divider.c13
-rw-r--r--drivers/clk/tegra/clk-periph.c13
-rw-r--r--drivers/clk/tegra/clk-pll-out.c13
-rw-r--r--drivers/clk/tegra/clk-pll.c13
-rw-r--r--drivers/clk/tegra/clk-tegra124.c13
-rw-r--r--drivers/clk/tegra/clk-tegra20.c13
-rw-r--r--drivers/clk/tegra/clk-tegra30.c13
-rw-r--r--drivers/clk/tegra/clk.c13
-rw-r--r--drivers/clk/tegra/clk.h13
-rw-r--r--drivers/clk/vexpress/Makefile1
-rw-r--r--drivers/clk/vexpress/clk-sp810.c10
-rw-r--r--drivers/clk/vexpress/clk-vexpress-osc.c11
-rw-r--r--drivers/clk/zynq/Makefile1
-rw-r--r--drivers/clk/zynq/clkc.c13
-rw-r--r--drivers/clk/zynqmp/Makefile1
-rw-r--r--drivers/clocksource/Kconfig44
-rw-r--r--drivers/clocksource/Makefile1
-rw-r--r--drivers/clocksource/digic.c1
-rw-r--r--drivers/clocksource/kvx_timer.c59
-rw-r--r--drivers/clocksource/timer-atmel-pit.c3
-rw-r--r--drivers/clocksource/timer-imx-gpt.c3
-rw-r--r--drivers/clocksource/uemd.c1
-rw-r--r--drivers/crypto/caam/Kconfig2
-rw-r--r--drivers/crypto/imx-scc/Kconfig4
-rw-r--r--drivers/ddr/fsl/Kconfig2
-rw-r--r--drivers/ddr/fsl/ctrl_regs.c2
-rw-r--r--drivers/efi/efi-device.c3
-rw-r--r--drivers/gpio/Kconfig28
-rw-r--r--drivers/gpio/gpio-digic.c1
-rw-r--r--drivers/gpio/gpio-malta-fpga-i2c.c1
-rw-r--r--drivers/hab/habv4.c3
-rw-r--r--drivers/hw_random/Kconfig4
-rw-r--r--drivers/i2c/i2c.c13
-rw-r--r--drivers/input/Kconfig2
-rw-r--r--drivers/led/core.c3
-rw-r--r--drivers/led/led-gpio.c3
-rw-r--r--drivers/led/led-pwm.c22
-rw-r--r--drivers/led/led-triggers.c3
-rw-r--r--drivers/mci/Kconfig24
-rw-r--r--drivers/mci/Makefile1
-rw-r--r--drivers/mci/arasan-sdhci.c2
-rw-r--r--drivers/mci/atmel-sdhci-common.c407
-rw-r--r--drivers/mci/atmel-sdhci.c169
-rw-r--r--drivers/mci/atmel-sdhci.h28
-rw-r--r--drivers/mci/atmel_mci.c2
-rw-r--r--drivers/mci/dove-sdhci.c3
-rw-r--r--drivers/mci/imx-esdhc.c3
-rw-r--r--drivers/mci/mci-core.c13
-rw-r--r--drivers/mci/mxs.c9
-rw-r--r--drivers/mci/omap_hsmmc.c3
-rw-r--r--drivers/mci/sdhci.c11
-rw-r--r--drivers/mci/sdhci.h29
-rw-r--r--drivers/mci/stm32_sdmmc2.c18
-rw-r--r--drivers/memory/Kconfig2
-rw-r--r--drivers/mfd/Kconfig9
-rw-r--r--drivers/mfd/Makefile1
-rw-r--r--drivers/mfd/stm32-timers.c74
-rw-r--r--drivers/mfd/stpmic1.c2
-rw-r--r--drivers/mfd/syscon.c73
-rw-r--r--drivers/mtd/core.c3
-rw-r--r--drivers/mtd/mtdraw.c2
-rw-r--r--drivers/mtd/nand/Kconfig9
-rw-r--r--drivers/mtd/nand/nand-bb.c3
-rw-r--r--drivers/mtd/nand/nand_denali.c8
-rw-r--r--drivers/mtd/nor/cfi_flash.c3
-rw-r--r--drivers/mtd/nor/cfi_flash.h3
-rw-r--r--drivers/mtd/spi-nor/spi-nor.c3
-rw-r--r--drivers/mtd/ubi/build.c8
-rw-r--r--drivers/net/Kconfig13
-rw-r--r--drivers/net/cpsw.c154
-rw-r--r--drivers/net/designware_eqos.c10
-rw-r--r--drivers/net/enc28j60.c8
-rw-r--r--drivers/net/fec_imx.c7
-rw-r--r--drivers/net/fec_imx.h2
-rw-r--r--drivers/net/phy/Kconfig2
-rw-r--r--drivers/net/phy/mdio-mux.c5
-rw-r--r--drivers/net/phy/phy.c7
-rw-r--r--drivers/net/usb/Kconfig11
-rw-r--r--drivers/net/usb/Makefile1
-rw-r--r--drivers/net/usb/ax88179_178a.c753
-rw-r--r--drivers/net/usb/usbnet.c48
-rw-r--r--drivers/nvmem/bsec.c44
-rw-r--r--drivers/of/Kconfig6
-rw-r--r--drivers/of/address.c3
-rw-r--r--drivers/of/barebox.c3
-rw-r--r--drivers/of/base.c93
-rw-r--r--drivers/of/fdt.c3
-rw-r--r--drivers/of/of_path.c3
-rw-r--r--drivers/of/overlay.c2
-rw-r--r--drivers/of/partition.c3
-rw-r--r--drivers/of/platform.c3
-rw-r--r--drivers/of/resolver.c4
-rw-r--r--drivers/pci/Kconfig4
-rw-r--r--drivers/pci/Makefile2
-rw-r--r--drivers/pci/pci-layerscape.c4
-rw-r--r--drivers/phy/Kconfig2
-rw-r--r--drivers/phy/freescale/Kconfig2
-rw-r--r--drivers/pinctrl/Kconfig14
-rw-r--r--drivers/pinctrl/imx-iomux-v3.c3
-rw-r--r--drivers/pinctrl/mvebu/Kconfig15
-rw-r--r--drivers/pinctrl/pinctrl-at91.c3
-rw-r--r--drivers/pinctrl/pinctrl-mxs.c3
-rw-r--r--drivers/pinctrl/pinctrl-single.c3
-rw-r--r--drivers/pinctrl/pinctrl-vf610.c3
-rw-r--r--drivers/pinctrl/pinctrl.c3
-rw-r--r--drivers/pwm/Kconfig9
-rw-r--r--drivers/pwm/Makefile1
-rw-r--r--drivers/pwm/core.c178
-rw-r--r--drivers/pwm/pwm-imx.c32
-rw-r--r--drivers/pwm/pwm-mxs.c37
-rw-r--r--drivers/pwm/pwm-stm32.c400
-rw-r--r--drivers/pwm/pxa_pwm.c93
-rw-r--r--drivers/regulator/core.c3
-rw-r--r--drivers/regulator/fixed.c3
-rw-r--r--drivers/regulator/stpmic1_regulator.c2
-rw-r--r--drivers/reset/Kconfig2
-rw-r--r--drivers/serial/Kconfig1
-rw-r--r--drivers/serial/amba-pl011.c3
-rw-r--r--drivers/serial/efi-stdio.c3
-rw-r--r--drivers/serial/linux_console.c3
-rw-r--r--drivers/serial/serial_altera.c3
-rw-r--r--drivers/serial/serial_altera_jtag.c3
-rw-r--r--drivers/serial/serial_ar933x.c3
-rw-r--r--drivers/serial/serial_auart.c1
-rw-r--r--drivers/serial/serial_digic.c1
-rw-r--r--drivers/serial/serial_lpuart.c3
-rw-r--r--drivers/serial/serial_mpc5xxx.c3
-rw-r--r--drivers/serial/serial_ns16550.c3
-rw-r--r--drivers/serial/serial_ns16550_pci.c8
-rw-r--r--drivers/serial/serial_pl010.c3
-rw-r--r--drivers/serial/serial_pl010.h3
-rw-r--r--drivers/spi/Kconfig9
-rw-r--r--drivers/spi/Makefile1
-rw-r--r--drivers/spi/ath79_spi.c1
-rw-r--r--drivers/spi/omap3_spi.c3
-rw-r--r--drivers/spi/omap3_spi.h3
-rw-r--r--drivers/spi/spi-fsl-dspi.c655
-rw-r--r--drivers/spi/spi.c46
-rw-r--r--drivers/usb/core/hub.c290
-rw-r--r--drivers/usb/core/hub.h7
-rw-r--r--drivers/usb/core/of.c3
-rw-r--r--drivers/usb/core/usb.c256
-rw-r--r--drivers/usb/gadget/dfu.c210
-rw-r--r--drivers/usb/host/Kconfig8
-rw-r--r--drivers/usb/host/Makefile3
-rw-r--r--drivers/usb/host/ehci-atmel.c3
-rw-r--r--drivers/usb/host/ohci-at91.c3
-rw-r--r--drivers/usb/host/ohci-hcd.c3
-rw-r--r--drivers/usb/host/xhci-hcd.c1675
-rw-r--r--drivers/usb/host/xhci-hub.c646
-rw-r--r--drivers/usb/host/xhci-mem.c871
-rw-r--r--drivers/usb/host/xhci-pci.c40
-rw-r--r--drivers/usb/host/xhci-ring.c978
-rw-r--r--drivers/usb/host/xhci.c1437
-rw-r--r--drivers/usb/host/xhci.h1509
-rw-r--r--drivers/usb/imx/Kconfig8
-rw-r--r--drivers/usb/imx/Makefile3
-rw-r--r--drivers/usb/imx/chipidea-imx.c60
-rw-r--r--drivers/usb/imx/imx-usb-phy.c1
-rw-r--r--drivers/video/atmel_hlcdfb.c3
-rw-r--r--drivers/video/atmel_lcdfb.c3
-rw-r--r--drivers/video/atmel_lcdfb_core.c3
-rw-r--r--drivers/video/backlight-pwm.c5
-rw-r--r--drivers/video/imx-ipu-fb.c3
-rw-r--r--drivers/video/mtl017.c3
-rw-r--r--drivers/video/omap.c3
-rw-r--r--drivers/video/omap.h3
-rw-r--r--drivers/video/simple-panel.c3
-rw-r--r--drivers/video/ssd1307fb.c2
-rw-r--r--drivers/video/vpl.c3
-rw-r--r--drivers/watchdog/Kconfig24
-rw-r--r--drivers/watchdog/Makefile1
-rw-r--r--drivers/watchdog/im28wd.c9
-rw-r--r--drivers/watchdog/kvx_wdt.c94
-rw-r--r--dts/Bindings/.gitignore3
-rw-r--r--dts/Bindings/Makefile43
-rw-r--r--dts/Bindings/arm/altera/socfpga-clk-manager.yaml2
-rw-r--r--dts/Bindings/arm/amlogic/amlogic,meson-gx-ao-secure.yaml2
-rw-r--r--dts/Bindings/arm/arm,integrator.yaml86
-rw-r--r--dts/Bindings/arm/arm,realview.yaml123
-rw-r--r--dts/Bindings/arm/arm,versatile.yaml71
-rw-r--r--dts/Bindings/arm/arm,vexpress-juno.yaml223
-rw-r--r--dts/Bindings/arm/arm-boards237
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm11351-cpu-method.txt36
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm11351.txt10
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm11351.yaml21
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm21664.txt15
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm21664.yaml21
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm23550-cpu-method.txt36
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm23550.txt15
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm23550.yaml21
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm4708.txt15
-rw-r--r--dts/Bindings/arm/bcm/brcm,bcm4708.yaml88
-rw-r--r--dts/Bindings/arm/bcm/brcm,cygnus.txt31
-rw-r--r--dts/Bindings/arm/bcm/brcm,cygnus.yaml29
-rw-r--r--dts/Bindings/arm/bcm/brcm,hr2.txt14
-rw-r--r--dts/Bindings/arm/bcm/brcm,hr2.yaml28
-rw-r--r--dts/Bindings/arm/bcm/brcm,ns2.txt9
-rw-r--r--dts/Bindings/arm/bcm/brcm,ns2.yaml23
-rw-r--r--dts/Bindings/arm/bcm/brcm,nsp-cpu-method.txt39
-rw-r--r--dts/Bindings/arm/bcm/brcm,nsp.txt34
-rw-r--r--dts/Bindings/arm/bcm/brcm,nsp.yaml36
-rw-r--r--dts/Bindings/arm/bcm/brcm,stingray.txt12
-rw-r--r--dts/Bindings/arm/bcm/brcm,stingray.yaml24
-rw-r--r--dts/Bindings/arm/bcm/brcm,vulcan-soc.txt10
-rw-r--r--dts/Bindings/arm/bcm/brcm,vulcan-soc.yaml22
-rw-r--r--dts/Bindings/arm/coresight-cti.yaml336
-rw-r--r--dts/Bindings/arm/coresight.txt7
-rw-r--r--dts/Bindings/arm/cpus.yaml46
-rw-r--r--dts/Bindings/arm/freescale/fsl,scu.txt18
-rw-r--r--dts/Bindings/arm/fsl.yaml69
-rw-r--r--dts/Bindings/arm/l2c2x0.yaml45
-rw-r--r--dts/Bindings/arm/mrvl/mrvl.yaml5
-rw-r--r--dts/Bindings/arm/msm/qcom,llcc.yaml2
-rw-r--r--dts/Bindings/arm/pmu.yaml41
-rw-r--r--dts/Bindings/arm/psci.yaml5
-rw-r--r--dts/Bindings/arm/qcom.yaml8
-rw-r--r--dts/Bindings/arm/renesas,prr.yaml2
-rw-r--r--dts/Bindings/arm/renesas.yaml1
-rw-r--r--dts/Bindings/arm/rockchip.yaml12
-rw-r--r--dts/Bindings/arm/samsung/exynos-chipid.yaml2
-rw-r--r--dts/Bindings/arm/samsung/pmu.yaml2
-rw-r--r--dts/Bindings/arm/samsung/samsung-secure-firmware.yaml2
-rw-r--r--dts/Bindings/arm/socionext/cache-uniphier.txt60
-rw-r--r--dts/Bindings/arm/socionext/socionext,uniphier-system-cache.yaml102
-rw-r--r--dts/Bindings/arm/socionext/uniphier.txt47
-rw-r--r--dts/Bindings/arm/socionext/uniphier.yaml61
-rw-r--r--dts/Bindings/arm/stm32/st,stm32-syscon.yaml2
-rw-r--r--dts/Bindings/arm/sunxi.yaml26
-rw-r--r--dts/Bindings/arm/sunxi/allwinner,sun4i-a10-mbus.yaml7
-rw-r--r--dts/Bindings/arm/tegra/nvidia,tegra20-pmc.txt300
-rw-r--r--dts/Bindings/arm/tegra/nvidia,tegra20-pmc.yaml354
-rw-r--r--dts/Bindings/arm/vexpress.txt229
-rw-r--r--dts/Bindings/ata/renesas,rcar-sata.yaml71
-rw-r--r--dts/Bindings/ata/sata_rcar.txt36
-rw-r--r--dts/Bindings/bus/socionext,uniphier-system-bus.yaml96
-rw-r--r--dts/Bindings/bus/ti-sysc.txt1
-rw-r--r--dts/Bindings/bus/uniphier-system-bus.txt66
-rw-r--r--dts/Bindings/chrome/google,cros-ec-typec.yaml54
-rw-r--r--dts/Bindings/clock/arm,syscon-icst.yaml103
-rw-r--r--dts/Bindings/clock/arm-integrator.txt34
-rw-r--r--dts/Bindings/clock/arm-syscon-icst.txt70
-rw-r--r--dts/Bindings/clock/clock-bindings.txt2
-rw-r--r--dts/Bindings/clock/fsl,plldig.yaml5
-rw-r--r--dts/Bindings/clock/imx8mm-clock.txt29
-rw-r--r--dts/Bindings/clock/imx8mm-clock.yaml68
-rw-r--r--dts/Bindings/clock/imx8mn-clock.yaml50
-rw-r--r--dts/Bindings/clock/imx8mp-clock.yaml2
-rw-r--r--dts/Bindings/clock/imx8mq-clock.txt20
-rw-r--r--dts/Bindings/clock/imx8mq-clock.yaml72
-rw-r--r--dts/Bindings/clock/marvell,mmp2-clock.yaml64
-rw-r--r--dts/Bindings/clock/marvell,mmp2.txt21
-rw-r--r--dts/Bindings/clock/milbeaut-clock.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-apq8064.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-ipq8074.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-msm8996.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-msm8998.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-qcs404.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-sc7180.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-sm8150.yaml2
-rw-r--r--dts/Bindings/clock/qcom,gcc-sm8250.yaml72
-rw-r--r--dts/Bindings/clock/qcom,gcc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,mmcc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,msm8998-gpucc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,rpmcc.txt2
-rw-r--r--dts/Bindings/clock/qcom,rpmhcc.yaml3
-rw-r--r--dts/Bindings/clock/qcom,sc7180-dispcc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,sc7180-gpucc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,sc7180-mss.yaml62
-rw-r--r--dts/Bindings/clock/qcom,sc7180-videocc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,sdm845-dispcc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,sdm845-gpucc.yaml2
-rw-r--r--dts/Bindings/clock/qcom,sdm845-videocc.yaml2
-rw-r--r--dts/Bindings/clock/renesas,cpg-mssr.txt100
-rw-r--r--dts/Bindings/clock/renesas,cpg-mssr.yaml119
-rw-r--r--dts/Bindings/clock/renesas,rcar-usb2-clock-sel.txt17
-rw-r--r--dts/Bindings/clock/socionext,uniphier-clock.yaml94
-rw-r--r--dts/Bindings/clock/sprd,sc9860-clk.txt (renamed from dts/Bindings/clock/sprd.txt)2
-rw-r--r--dts/Bindings/clock/sprd,sc9863a-clk.yaml105
-rw-r--r--dts/Bindings/clock/ti,am654-ehrpwm-tbclk.yaml35
-rw-r--r--dts/Bindings/clock/uniphier-clock.txt132
-rw-r--r--dts/Bindings/connector/samsung,usb-connector-11pin.txt2
-rw-r--r--dts/Bindings/connector/usb-connector.txt135
-rw-r--r--dts/Bindings/connector/usb-connector.yaml206
-rw-r--r--dts/Bindings/crypto/allwinner,sun4i-a10-crypto.yaml2
-rw-r--r--dts/Bindings/crypto/fsl-dcp.txt2
-rw-r--r--dts/Bindings/crypto/fsl-imx-sahara.txt2
-rw-r--r--dts/Bindings/crypto/fsl-sec4.txt2
-rw-r--r--dts/Bindings/crypto/xlnx,zynqmp-aes.yaml37
-rw-r--r--dts/Bindings/display/allwinner,sun4i-a10-tcon.yaml6
-rw-r--r--dts/Bindings/display/amlogic,meson-vpu.yaml8
-rw-r--r--dts/Bindings/display/bridge/adi,adv7123.txt4
-rw-r--r--dts/Bindings/display/bridge/adi,adv7511.txt25
-rw-r--r--dts/Bindings/display/bridge/ps8640.yaml112
-rw-r--r--dts/Bindings/display/bridge/toshiba,tc358768.yaml159
-rw-r--r--dts/Bindings/display/connector/analog-tv-connector.txt6
-rw-r--r--dts/Bindings/display/etnaviv/etnaviv-drm.txt36
-rw-r--r--dts/Bindings/display/ilitek,ili9486.yaml73
-rw-r--r--dts/Bindings/display/mediatek/mediatek,dpi.txt1
-rw-r--r--dts/Bindings/display/msm/gmu.txt116
-rw-r--r--dts/Bindings/display/msm/gmu.yaml123
-rw-r--r--dts/Bindings/display/msm/gpu.txt55
-rw-r--r--dts/Bindings/display/panel/advantech,idk-1110wr.yaml69
-rw-r--r--dts/Bindings/display/panel/advantech,idk-2121wr.yaml122
-rw-r--r--dts/Bindings/display/panel/auo,b080uan01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b101aw03.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b101ean01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b101xtn01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b116xw03.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b133htn01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,b133xtn01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,g070vvn01.txt29
-rw-r--r--dts/Bindings/display/panel/auo,g101evn010.txt12
-rw-r--r--dts/Bindings/display/panel/auo,g104sn02.txt12
-rw-r--r--dts/Bindings/display/panel/auo,g133han01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,g185han01.txt7
-rw-r--r--dts/Bindings/display/panel/auo,p320hvn03.txt8
-rw-r--r--dts/Bindings/display/panel/auo,t215hvn01.txt7
-rw-r--r--dts/Bindings/display/panel/avic,tm070ddh03.txt7
-rw-r--r--dts/Bindings/display/panel/boe,hv070wsa-100.txt28
-rw-r--r--dts/Bindings/display/panel/boe,nv101wxmn51.txt7
-rw-r--r--dts/Bindings/display/panel/boe,tv080wum-nl0.txt7
-rw-r--r--dts/Bindings/display/panel/boe,tv101wum-nl6.yaml80
-rw-r--r--dts/Bindings/display/panel/cdtech,s043wq26h-ct7.txt12
-rw-r--r--dts/Bindings/display/panel/cdtech,s070wv95-ct16.txt12
-rw-r--r--dts/Bindings/display/panel/chunghwa,claa070wp03xg.txt7
-rw-r--r--dts/Bindings/display/panel/chunghwa,claa101wa01a.txt7
-rw-r--r--dts/Bindings/display/panel/chunghwa,claa101wb03.txt7
-rw-r--r--dts/Bindings/display/panel/dataimage,scf0700c48ggu18.txt8
-rw-r--r--dts/Bindings/display/panel/display-timing.txt124
-rw-r--r--dts/Bindings/display/panel/display-timings.yaml77
-rw-r--r--dts/Bindings/display/panel/dlc,dlc1010gig.txt12
-rw-r--r--dts/Bindings/display/panel/edt,et-series.txt55
-rw-r--r--dts/Bindings/display/panel/elida,kd35t133.yaml49
-rw-r--r--dts/Bindings/display/panel/evervision,vgg804821.txt12
-rw-r--r--dts/Bindings/display/panel/feixin,k101-im2ba02.yaml55
-rw-r--r--dts/Bindings/display/panel/foxlink,fl500wvr00-a0t.txt7
-rw-r--r--dts/Bindings/display/panel/friendlyarm,hd702e.txt32
-rw-r--r--dts/Bindings/display/panel/giantplus,gpg482739qs5.txt7
-rw-r--r--dts/Bindings/display/panel/hannstar,hsd070pww1.txt7
-rw-r--r--dts/Bindings/display/panel/hannstar,hsd100pxn1.txt7
-rw-r--r--dts/Bindings/display/panel/hit,tx23d38vm0caa.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,at043tn24.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,at070tn92.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,g070y2-l01.txt12
-rw-r--r--dts/Bindings/display/panel/innolux,g101ice-l01.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,g121i1-l01.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,g121x1-l03.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,n116bge.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,n156bge-l21.txt7
-rw-r--r--dts/Bindings/display/panel/innolux,zj070na-01p.txt7
-rw-r--r--dts/Bindings/display/panel/koe,tx14d24vm1bpa.txt42
-rw-r--r--dts/Bindings/display/panel/koe,tx31d200vm0baa.txt25
-rw-r--r--dts/Bindings/display/panel/kyo,tcg121xglp.txt7
-rw-r--r--dts/Bindings/display/panel/leadtek,ltk500hd1829.yaml3
-rw-r--r--dts/Bindings/display/panel/lemaker,bl035-rgb-002.txt12
-rw-r--r--dts/Bindings/display/panel/lg,lb070wv8.txt7
-rw-r--r--dts/Bindings/display/panel/lg,lp079qx1-sp0v.txt7
-rw-r--r--dts/Bindings/display/panel/lg,lp097qx1-spa1.txt7
-rw-r--r--dts/Bindings/display/panel/lg,lp120up1.txt7
-rw-r--r--dts/Bindings/display/panel/lg,lp129qe.txt7
-rw-r--r--dts/Bindings/display/panel/lvds.yaml10
-rw-r--r--dts/Bindings/display/panel/mitsubishi,aa070mc01.txt7
-rw-r--r--dts/Bindings/display/panel/nec,nl12880b20-05.txt8
-rw-r--r--dts/Bindings/display/panel/nec,nl4827hc19-05b.txt7
-rw-r--r--dts/Bindings/display/panel/netron-dy,e231732.txt7
-rw-r--r--dts/Bindings/display/panel/newhaven,nhd-4.3-480272ef-atxl.txt7
-rw-r--r--dts/Bindings/display/panel/nlt,nl192108ac18-02d.txt8
-rw-r--r--dts/Bindings/display/panel/novatek,nt35510.yaml56
-rw-r--r--dts/Bindings/display/panel/nvd,9128.txt7
-rw-r--r--dts/Bindings/display/panel/okaya,rs800480t-7x0gp.txt7
-rw-r--r--dts/Bindings/display/panel/olimex,lcd-olinuxino-43-ts.txt7
-rw-r--r--dts/Bindings/display/panel/ontat,yx700wv03.txt7
-rw-r--r--dts/Bindings/display/panel/orisetech,otm8009a.txt23
-rw-r--r--dts/Bindings/display/panel/orisetech,otm8009a.yaml53
-rw-r--r--dts/Bindings/display/panel/ortustech,com37h3m05dtc.txt12
-rw-r--r--dts/Bindings/display/panel/ortustech,com37h3m99dtc.txt12
-rw-r--r--dts/Bindings/display/panel/ortustech,com43h4m85ulc.txt7
-rw-r--r--dts/Bindings/display/panel/osddisplays,osd070t1718-19ts.txt12
-rw-r--r--dts/Bindings/display/panel/osddisplays,osd101t2045-53ts.txt11
-rw-r--r--dts/Bindings/display/panel/panasonic,vvx10f004b00.txt7
-rw-r--r--dts/Bindings/display/panel/panasonic,vvx10f034n00.txt20
-rw-r--r--dts/Bindings/display/panel/panel-common.yaml15
-rw-r--r--dts/Bindings/display/panel/panel-dpi.txt50
-rw-r--r--dts/Bindings/display/panel/panel-dpi.yaml71
-rw-r--r--dts/Bindings/display/panel/panel-simple-dsi.yaml67
-rw-r--r--dts/Bindings/display/panel/panel-simple.yaml209
-rw-r--r--dts/Bindings/display/panel/panel-timing.yaml227
-rw-r--r--dts/Bindings/display/panel/qiaodian,qd43003c0-40.txt7
-rw-r--r--dts/Bindings/display/panel/raydium,rm68200.txt25
-rw-r--r--dts/Bindings/display/panel/raydium,rm68200.yaml56
-rw-r--r--dts/Bindings/display/panel/rocktech,rk070er9427.txt25
-rw-r--r--dts/Bindings/display/panel/samsung,lsn122dl01-c01.txt7
-rw-r--r--dts/Bindings/display/panel/samsung,ltn101nt05.txt7
-rw-r--r--dts/Bindings/display/panel/samsung,ltn140at29-301.txt7
-rw-r--r--dts/Bindings/display/panel/samsung,s6e88a0-ams452ef01.yaml50
-rw-r--r--dts/Bindings/display/panel/sharp,lq035q7db03.txt12
-rw-r--r--dts/Bindings/display/panel/sharp,lq070y3dg3b.txt12
-rw-r--r--dts/Bindings/display/panel/sharp,lq101k1ly04.txt7
-rw-r--r--dts/Bindings/display/panel/sharp,lq123p1jx31.txt7
-rw-r--r--dts/Bindings/display/panel/shelly,sca07010-bfn-lnn.txt7
-rw-r--r--dts/Bindings/display/panel/starry,kr122ea0sra.txt7
-rw-r--r--dts/Bindings/display/panel/tianma,tm070jdhg30.txt7
-rw-r--r--dts/Bindings/display/panel/tianma,tm070rvhg71.txt29
-rw-r--r--dts/Bindings/display/panel/toshiba,lt089ac29000.txt8
-rw-r--r--dts/Bindings/display/panel/tpk,f07a-0102.txt8
-rw-r--r--dts/Bindings/display/panel/tpk,f10a-0102.txt8
-rw-r--r--dts/Bindings/display/panel/urt,umsh-8596md.txt16
-rw-r--r--dts/Bindings/display/panel/vl050_8048nt_c01.txt12
-rw-r--r--dts/Bindings/display/panel/winstar,wf35ltiacd.txt48
-rw-r--r--dts/Bindings/display/panel/xinpeng,xpp055c272.yaml3
-rw-r--r--dts/Bindings/display/rockchip/rockchip-drm.txt19
-rw-r--r--dts/Bindings/display/rockchip/rockchip-drm.yaml40
-rw-r--r--dts/Bindings/display/sitronix,st7735r.txt35
-rw-r--r--dts/Bindings/display/sitronix,st7735r.yaml78
-rw-r--r--dts/Bindings/display/ti/ti,am65x-dss.yaml152
-rw-r--r--dts/Bindings/display/ti/ti,j721e-dss.yaml208
-rw-r--r--dts/Bindings/display/ti/ti,k2g-dss.yaml106
-rw-r--r--dts/Bindings/dma/adi,axi-dmac.txt2
-rw-r--r--dts/Bindings/dma/renesas,usb-dmac.txt1
-rw-r--r--dts/Bindings/dma/sifive,fu540-c000-pdma.yaml2
-rw-r--r--dts/Bindings/dma/socionext,uniphier-mio-dmac.yaml63
-rw-r--r--dts/Bindings/dma/socionext,uniphier-xdmac.yaml62
-rw-r--r--dts/Bindings/dma/ti-edma.txt2
-rw-r--r--dts/Bindings/dma/ti/k3-udma.yaml19
-rw-r--r--dts/Bindings/dma/uniphier-mio-dmac.txt25
-rw-r--r--dts/Bindings/dsp/fsl,dsp.yaml2
-rw-r--r--dts/Bindings/edac/dmc-520.yaml59
-rw-r--r--dts/Bindings/eeprom/at24.yaml2
-rw-r--r--dts/Bindings/example-schema.yaml4
-rw-r--r--dts/Bindings/extcon/extcon-usbc-cros-ec.txt24
-rw-r--r--dts/Bindings/extcon/extcon-usbc-cros-ec.yaml56
-rw-r--r--dts/Bindings/firmware/intel,ixp4xx-network-processing-engine.yaml3
-rw-r--r--dts/Bindings/firmware/qcom,scm.txt1
-rw-r--r--dts/Bindings/fpga/fpga-region.txt5
-rw-r--r--dts/Bindings/fsi/ibm,fsi2spi.yaml36
-rw-r--r--dts/Bindings/gnss/gnss.txt2
-rw-r--r--dts/Bindings/gpio/brcm,xgs-iproc-gpio.yaml2
-rw-r--r--dts/Bindings/gpio/gpio-mvebu.txt2
-rw-r--r--dts/Bindings/gpio/gpio-uniphier.txt51
-rw-r--r--dts/Bindings/gpio/socionext,uniphier-gpio.yaml94
-rw-r--r--dts/Bindings/gpio/xylon,logicvc-gpio.yaml2
-rw-r--r--dts/Bindings/gpu/arm,mali-bifrost.yaml8
-rw-r--r--dts/Bindings/gpu/arm,mali-midgard.yaml5
-rw-r--r--dts/Bindings/gpu/arm,mali-utgard.yaml2
-rw-r--r--dts/Bindings/gpu/samsung-rotator.yaml2
-rw-r--r--dts/Bindings/gpu/vivante,gc.yaml69
-rw-r--r--dts/Bindings/hwmon/adi,adm1177.yaml2
-rw-r--r--dts/Bindings/hwmon/adi,axi-fan-control.yaml62
-rw-r--r--dts/Bindings/hwmon/adi,ltc2947.yaml2
-rw-r--r--dts/Bindings/hwmon/adt7475.yaml84
-rw-r--r--dts/Bindings/hwmon/ltc2978.txt22
-rw-r--r--dts/Bindings/hwmon/pmbus/ti,ucd90320.yaml2
-rw-r--r--dts/Bindings/hwmon/ti,tmp513.yaml2
-rw-r--r--dts/Bindings/i2c/brcm,brcmstb-i2c.yaml97
-rw-r--r--dts/Bindings/i2c/i2c-at91.txt10
-rw-r--r--dts/Bindings/i2c/i2c-brcmstb.txt26
-rw-r--r--dts/Bindings/i2c/i2c-rk3x.txt68
-rw-r--r--dts/Bindings/i2c/i2c-rk3x.yaml136
-rw-r--r--dts/Bindings/i2c/i2c-uniphier-f.txt25
-rw-r--r--dts/Bindings/i2c/i2c-uniphier.txt25
-rw-r--r--dts/Bindings/i2c/socionext,uniphier-fi2c.yaml50
-rw-r--r--dts/Bindings/i2c/socionext,uniphier-i2c.yaml50
-rw-r--r--dts/Bindings/iio/accel/adi,adxl345.yaml10
-rw-r--r--dts/Bindings/iio/accel/bosch,bma400.yaml2
-rw-r--r--dts/Bindings/iio/adc/adi,ad7192.yaml1
-rw-r--r--dts/Bindings/iio/adc/adi,ad7780.yaml2
-rw-r--r--dts/Bindings/iio/adc/adi,ad7923.yaml65
-rw-r--r--dts/Bindings/iio/adc/avia-hx711.yaml2
-rw-r--r--dts/Bindings/iio/adc/lltc,ltc2496.yaml2
-rw-r--r--dts/Bindings/iio/adc/max1363.txt63
-rw-r--r--dts/Bindings/iio/adc/maxim,max1238.yaml76
-rw-r--r--dts/Bindings/iio/adc/maxim,max1363.yaml50
-rw-r--r--dts/Bindings/iio/adc/microchip,mcp3911.yaml2
-rw-r--r--dts/Bindings/iio/adc/nuvoton,npcm-adc.txt2
-rw-r--r--dts/Bindings/iio/adc/st,stm32-adc.txt149
-rw-r--r--dts/Bindings/iio/adc/st,stm32-adc.yaml458
-rw-r--r--dts/Bindings/iio/adc/st,stm32-dfsdm-adc.yaml2
-rw-r--r--dts/Bindings/iio/amplifiers/adi,hmc425a.yaml49
-rw-r--r--dts/Bindings/iio/chemical/atlas,ec-sm.txt21
-rw-r--r--dts/Bindings/iio/chemical/atlas,orp-sm.txt21
-rw-r--r--dts/Bindings/iio/chemical/atlas,ph-sm.txt21
-rw-r--r--dts/Bindings/iio/chemical/atlas,sensor.yaml53
-rw-r--r--dts/Bindings/iio/chemical/plantower,pms7003.yaml2
-rw-r--r--dts/Bindings/iio/chemical/sensirion,sps30.yaml2
-rw-r--r--dts/Bindings/iio/dac/ad5755.txt2
-rw-r--r--dts/Bindings/iio/dac/adi,ad5770r.yaml180
-rw-r--r--dts/Bindings/iio/dac/lltc,ltc1660.yaml2
-rw-r--r--dts/Bindings/iio/dac/ltc2632.txt8
-rw-r--r--dts/Bindings/iio/imu/inv_mpu6050.txt5
-rw-r--r--dts/Bindings/iio/light/adux1020.yaml2
-rw-r--r--dts/Bindings/iio/light/bh1750.yaml2
-rw-r--r--dts/Bindings/iio/light/dynaimage,al3010.yaml43
-rw-r--r--dts/Bindings/iio/light/dynaimage,al3320a.yaml43
-rw-r--r--dts/Bindings/iio/light/isl29018.yaml2
-rw-r--r--dts/Bindings/iio/light/noa1305.yaml2
-rw-r--r--dts/Bindings/iio/light/sharp,gp2ap002.yaml85
-rw-r--r--dts/Bindings/iio/light/stk33xx.yaml2
-rw-r--r--dts/Bindings/iio/light/tsl2583.yaml2
-rw-r--r--dts/Bindings/iio/light/tsl2772.yaml2
-rw-r--r--dts/Bindings/iio/light/veml6030.yaml2
-rw-r--r--dts/Bindings/iio/pressure/asc,dlhl60d.yaml2
-rw-r--r--dts/Bindings/iio/pressure/bmp085.yaml5
-rw-r--r--dts/Bindings/iio/proximity/devantech-srf04.yaml20
-rw-r--r--dts/Bindings/iio/proximity/parallax-ping.yaml2
-rw-r--r--dts/Bindings/iio/temperature/adi,ltc2983.yaml40
-rw-r--r--dts/Bindings/input/cypress,tm2-touchkey.txt1
-rw-r--r--dts/Bindings/input/gpio-vibrator.yaml2
-rw-r--r--dts/Bindings/input/iqs62x-keys.yaml132
-rw-r--r--dts/Bindings/input/max77650-onkey.yaml3
-rw-r--r--dts/Bindings/input/st,stpmic1-onkey.txt28
-rw-r--r--dts/Bindings/input/touchscreen/edt-ft5x06.txt77
-rw-r--r--dts/Bindings/input/touchscreen/edt-ft5x06.yaml125
-rw-r--r--dts/Bindings/input/touchscreen/goodix.yaml2
-rw-r--r--dts/Bindings/interconnect/qcom,bcm-voter.yaml45
-rw-r--r--dts/Bindings/interconnect/qcom,osm-l3.yaml62
-rw-r--r--dts/Bindings/interconnect/qcom,sc7180.yaml85
-rw-r--r--dts/Bindings/interconnect/qcom,sdm845.txt24
-rw-r--r--dts/Bindings/interconnect/qcom,sdm845.yaml74
-rw-r--r--dts/Bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml2
-rw-r--r--dts/Bindings/interrupt-controller/loongson,htpic.yaml59
-rw-r--r--dts/Bindings/interrupt-controller/loongson,liointc.yaml92
-rw-r--r--dts/Bindings/interrupt-controller/msi.txt2
-rw-r--r--dts/Bindings/interrupt-controller/socionext,uniphier-aidet.txt32
-rw-r--r--dts/Bindings/interrupt-controller/socionext,uniphier-aidet.yaml61
-rw-r--r--dts/Bindings/iommu/samsung,sysmmu.yaml2
-rw-r--r--dts/Bindings/ipmi/aspeed-kcs-bmc.txt20
-rw-r--r--dts/Bindings/leds/common.yaml4
-rw-r--r--dts/Bindings/leds/leds-max77650.yaml3
-rw-r--r--dts/Bindings/leds/rohm,bd71828-leds.yaml3
-rw-r--r--dts/Bindings/mailbox/allwinner,sun6i-a31-msgbox.yaml80
-rw-r--r--dts/Bindings/mailbox/amlogic,meson-gxbb-mhu.yaml2
-rw-r--r--dts/Bindings/mailbox/fsl,mu.txt2
-rw-r--r--dts/Bindings/mailbox/mtk-gce.txt10
-rw-r--r--dts/Bindings/media/allwinner,sun8i-a83t-de2-rotate.yaml70
-rw-r--r--dts/Bindings/media/allwinner,sun8i-h3-deinterlace.yaml6
-rw-r--r--dts/Bindings/media/amlogic,gx-vdec.yaml2
-rw-r--r--dts/Bindings/media/amlogic,meson-gx-ao-cec.yaml11
-rw-r--r--dts/Bindings/media/aspeed-video.txt5
-rw-r--r--dts/Bindings/media/i2c/imx219.yaml114
-rw-r--r--dts/Bindings/media/i2c/tvp5150.txt146
-rw-r--r--dts/Bindings/media/nxp,imx8mq-vpu.yaml77
-rw-r--r--dts/Bindings/media/qcom,msm8916-venus.yaml119
-rw-r--r--dts/Bindings/media/qcom,msm8996-venus.yaml172
-rw-r--r--dts/Bindings/media/qcom,sc7180-venus.yaml140
-rw-r--r--dts/Bindings/media/qcom,sdm845-venus-v2.yaml140
-rw-r--r--dts/Bindings/media/qcom,sdm845-venus.yaml156
-rw-r--r--dts/Bindings/media/qcom,venus.txt120
-rw-r--r--dts/Bindings/media/rc.yaml1
-rw-r--r--dts/Bindings/media/renesas,ceu.yaml2
-rw-r--r--dts/Bindings/media/renesas,vin.txt217
-rw-r--r--dts/Bindings/media/renesas,vin.yaml402
-rw-r--r--dts/Bindings/media/rockchip-rga.txt5
-rw-r--r--dts/Bindings/memory-controllers/nvidia,tegra186-mc.yaml41
-rw-r--r--dts/Bindings/mfd/iqs62x.yaml179
-rw-r--r--dts/Bindings/mfd/max77650.yaml2
-rw-r--r--dts/Bindings/mfd/qcom-rpm.txt4
-rw-r--r--dts/Bindings/mfd/rn5t618.txt4
-rw-r--r--dts/Bindings/mfd/rohm,bd71828-pmic.yaml5
-rw-r--r--dts/Bindings/mfd/rohm,bd71837-pmic.txt90
-rw-r--r--dts/Bindings/mfd/rohm,bd71837-pmic.yaml238
-rw-r--r--dts/Bindings/mfd/rohm,bd71847-pmic.yaml224
-rw-r--r--dts/Bindings/mfd/st,stm32-lptimer.yaml16
-rw-r--r--dts/Bindings/mfd/st,stpmic1.txt61
-rw-r--r--dts/Bindings/mfd/st,stpmic1.yaml337
-rw-r--r--dts/Bindings/mips/loongson/devices.yaml27
-rw-r--r--dts/Bindings/misc/intel,ixp4xx-ahb-queue-manager.yaml2
-rw-r--r--dts/Bindings/mmc/cdns,sdhci.yaml143
-rw-r--r--dts/Bindings/mmc/fsl-imx-esdhc.txt5
-rw-r--r--dts/Bindings/mmc/mmc-controller.yaml2
-rw-r--r--dts/Bindings/mmc/mmci.txt2
-rw-r--r--dts/Bindings/mmc/sdhci-am654.txt21
-rw-r--r--dts/Bindings/mmc/sdhci-cadence.txt80
-rw-r--r--dts/Bindings/mmc/sdhci-msm.txt8
-rw-r--r--dts/Bindings/mmc/socionext,uniphier-sd.yaml99
-rw-r--r--dts/Bindings/mmc/synopsys-dw-mshc.yaml2
-rw-r--r--dts/Bindings/mmc/uniphier-sd.txt55
-rw-r--r--dts/Bindings/mtd/brcm,brcmnand.txt10
-rw-r--r--dts/Bindings/mtd/denali,nand.yaml148
-rw-r--r--dts/Bindings/mtd/denali-nand.txt61
-rw-r--r--dts/Bindings/mtd/nand-macronix.txt27
-rw-r--r--dts/Bindings/net/broadcom-bluetooth.txt2
-rw-r--r--dts/Bindings/net/can/bosch,m_can.yaml144
-rw-r--r--dts/Bindings/net/can/can-transceiver.txt24
-rw-r--r--dts/Bindings/net/can/can-transceiver.yaml18
-rw-r--r--dts/Bindings/net/can/m_can.txt75
-rw-r--r--dts/Bindings/net/can/tcan4x5x.txt2
-rw-r--r--dts/Bindings/net/dsa/ocelot.txt116
-rw-r--r--dts/Bindings/net/ethernet-phy.yaml3
-rw-r--r--dts/Bindings/net/fsl-fec.txt2
-rw-r--r--dts/Bindings/net/marvell,mvusb.yaml64
-rw-r--r--dts/Bindings/net/mediatek-bluetooth.txt2
-rw-r--r--dts/Bindings/net/qca,qca7000.txt2
-rw-r--r--dts/Bindings/net/qcom,ipa.yaml198
-rw-r--r--dts/Bindings/net/qcom,ipq8064-mdio.yaml54
-rw-r--r--dts/Bindings/net/qualcomm-bluetooth.txt4
-rw-r--r--dts/Bindings/net/ti,cpsw-switch.yaml25
-rw-r--r--dts/Bindings/net/ti,k3-am654-cpsw-nuss.yaml225
-rw-r--r--dts/Bindings/net/ti-bluetooth.txt3
-rw-r--r--dts/Bindings/net/wireless/mediatek,mt76.txt29
-rw-r--r--dts/Bindings/net/wireless/qcom,ath10k.txt7
-rw-r--r--dts/Bindings/net/wireless/ti,wl1251.txt3
-rw-r--r--dts/Bindings/nvmem/ingenic,jz4780-efuse.yaml45
-rw-r--r--dts/Bindings/opp/qcom-nvmem-cpufreq.txt3
-rw-r--r--dts/Bindings/pci/amlogic,meson-pcie.txt22
-rw-r--r--dts/Bindings/pci/cdns,cdns-pcie-ep.txt27
-rw-r--r--dts/Bindings/pci/cdns,cdns-pcie-ep.yaml49
-rw-r--r--dts/Bindings/pci/cdns,cdns-pcie-host.txt66
-rw-r--r--dts/Bindings/pci/cdns,cdns-pcie-host.yaml76
-rw-r--r--dts/Bindings/pci/cdns-pcie-host.yaml27
-rw-r--r--dts/Bindings/pci/cdns-pcie.yaml31
-rw-r--r--dts/Bindings/pci/layerscape-pcie-gen4.txt52
-rw-r--r--dts/Bindings/pci/nvidia,tegra194-pcie.txt127
-rw-r--r--dts/Bindings/pci/pci-ep.yaml41
-rw-r--r--dts/Bindings/phy/allwinner,sun50i-h6-usb3-phy.yaml2
-rw-r--r--dts/Bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml35
-rw-r--r--dts/Bindings/phy/amlogic,meson-axg-pcie.yaml52
-rw-r--r--dts/Bindings/phy/amlogic,meson-g12a-usb2-phy.yaml14
-rw-r--r--dts/Bindings/phy/amlogic,meson-g12a-usb3-pcie-phy.yaml2
-rw-r--r--dts/Bindings/phy/intel,lgm-emmc-phy.yaml2
-rw-r--r--dts/Bindings/phy/marvell,mmp3-hsic-phy.yaml2
-rw-r--r--dts/Bindings/phy/marvell,mmp3-usb-phy.yaml42
-rw-r--r--dts/Bindings/phy/nvidia,tegra124-xusb-padctl.txt24
-rw-r--r--dts/Bindings/phy/phy-cadence-dp.txt30
-rw-r--r--dts/Bindings/phy/phy-cadence-torrent.yaml143
-rw-r--r--dts/Bindings/phy/phy-mmp3-usb.txt13
-rw-r--r--dts/Bindings/phy/phy-mtk-tphy.txt32
-rw-r--r--dts/Bindings/phy/phy-rockchip-inno-usb2.txt81
-rw-r--r--dts/Bindings/phy/phy-rockchip-inno-usb2.yaml155
-rw-r--r--dts/Bindings/phy/qcom,qusb2-phy.yaml185
-rw-r--r--dts/Bindings/phy/qcom,usb-hs-28nm.yaml90
-rw-r--r--dts/Bindings/phy/qcom,usb-ss.yaml83
-rw-r--r--dts/Bindings/phy/qcom-dwc3-usb-phy.txt37
-rw-r--r--dts/Bindings/phy/qcom-qmp-phy.txt15
-rw-r--r--dts/Bindings/phy/qcom-qusb2-phy.txt68
-rw-r--r--dts/Bindings/phy/ti,phy-j721e-wiz.yaml4
-rw-r--r--dts/Bindings/phy/ti-phy-gmii-sel.txt1
-rw-r--r--dts/Bindings/phy/uniphier-pcie-phy.txt13
-rw-r--r--dts/Bindings/phy/uniphier-usb3-hsphy.txt6
-rw-r--r--dts/Bindings/phy/uniphier-usb3-ssphy.txt5
-rw-r--r--dts/Bindings/pinctrl/aspeed,ast2400-pinctrl.yaml2
-rw-r--r--dts/Bindings/pinctrl/aspeed,ast2500-pinctrl.yaml2
-rw-r--r--dts/Bindings/pinctrl/aspeed,ast2600-pinctrl.yaml2
-rw-r--r--dts/Bindings/pinctrl/atmel,at91-pinctrl.txt2
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mm-pinctrl.txt36
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mm-pinctrl.yaml82
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mn-pinctrl.txt39
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mn-pinctrl.yaml82
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mp-pinctrl.yaml25
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mq-pinctrl.txt36
-rw-r--r--dts/Bindings/pinctrl/fsl,imx8mq-pinctrl.yaml82
-rw-r--r--dts/Bindings/pinctrl/qcom,ipq6018-pinctrl.yaml153
-rw-r--r--dts/Bindings/pinctrl/socionext,uniphier-pinctrl.txt27
-rw-r--r--dts/Bindings/pinctrl/socionext,uniphier-pinctrl.yaml42
-rw-r--r--dts/Bindings/pinctrl/st,stm32-pinctrl.yaml2
-rw-r--r--dts/Bindings/power/amlogic,meson-ee-pwrc.yaml2
-rw-r--r--dts/Bindings/power/amlogic,meson-sec-pwrc.yaml40
-rw-r--r--dts/Bindings/power/power-domain.yaml28
-rw-r--r--dts/Bindings/power/renesas,apmu.txt35
-rw-r--r--dts/Bindings/power/renesas,apmu.yaml55
-rw-r--r--dts/Bindings/power/renesas,rcar-sysc.txt62
-rw-r--r--dts/Bindings/power/renesas,rcar-sysc.yaml73
-rw-r--r--dts/Bindings/power/reset/syscon-poweroff.yaml2
-rw-r--r--dts/Bindings/power/reset/syscon-reboot.yaml2
-rw-r--r--dts/Bindings/power/supply/max77650-charger.yaml3
-rw-r--r--dts/Bindings/ptp/ptp-idt82p33.yaml45
-rw-r--r--dts/Bindings/ptp/ptp-idtcm.yaml2
-rw-r--r--dts/Bindings/pwm/google,cros-ec-pwm.txt23
-rw-r--r--dts/Bindings/pwm/google,cros-ec-pwm.yaml47
-rw-r--r--dts/Bindings/pwm/iqs620a-pwm.yaml32
-rw-r--r--dts/Bindings/pwm/nvidia,tegra20-pwm.txt1
-rw-r--r--dts/Bindings/pwm/pwm-mediatek.txt5
-rw-r--r--dts/Bindings/pwm/renesas,tpu-pwm.yaml4
-rw-r--r--dts/Bindings/regulator/max77650-regulator.yaml5
-rw-r--r--dts/Bindings/regulator/mp886x.txt27
-rw-r--r--dts/Bindings/regulator/mps,mp5416.yaml77
-rw-r--r--dts/Bindings/regulator/mps,mpq7920.yaml3
-rw-r--r--dts/Bindings/regulator/qcom,smd-rpm-regulator.txt13
-rw-r--r--dts/Bindings/regulator/rohm,bd71828-regulator.yaml6
-rw-r--r--dts/Bindings/regulator/rohm,bd71837-regulator.txt162
-rw-r--r--dts/Bindings/regulator/rohm,bd71837-regulator.yaml107
-rw-r--r--dts/Bindings/regulator/rohm,bd71847-regulator.yaml101
-rw-r--r--dts/Bindings/regulator/st,stpmic1-regulator.txt64
-rw-r--r--dts/Bindings/regulator/vqmmc-ipq4019-regulator.yaml42
-rw-r--r--dts/Bindings/remoteproc/ti,omap-remoteproc.yaml324
-rw-r--r--dts/Bindings/reset/amlogic,meson-reset.yaml2
-rw-r--r--dts/Bindings/reset/brcm,bcm7216-pcie-sata-rescal.yaml2
-rw-r--r--dts/Bindings/reset/renesas,rst.txt48
-rw-r--r--dts/Bindings/reset/renesas,rst.yaml63
-rw-r--r--dts/Bindings/rng/amlogic,meson-rng.yaml2
-rw-r--r--dts/Bindings/rng/brcm,bcm2835.txt40
-rw-r--r--dts/Bindings/rng/brcm,bcm2835.yaml61
-rw-r--r--dts/Bindings/rtc/ingenic,jz4740-rtc.txt37
-rw-r--r--dts/Bindings/rtc/ingenic,rtc.yaml83
-rw-r--r--dts/Bindings/rtc/renesas,sh-rtc.yaml2
-rw-r--r--dts/Bindings/rtc/rtc-mt2712.txt14
-rw-r--r--dts/Bindings/rtc/st,stm32-rtc.yaml2
-rw-r--r--dts/Bindings/serial/amlogic,meson-uart.yaml2
-rw-r--r--dts/Bindings/serial/fsl-imx-uart.txt6
-rw-r--r--dts/Bindings/serial/fsl-lpuart.txt10
-rw-r--r--dts/Bindings/serial/renesas,hscif.yaml135
-rw-r--r--dts/Bindings/serial/renesas,sci-serial.txt150
-rw-r--r--dts/Bindings/serial/renesas,sci.yaml69
-rw-r--r--dts/Bindings/serial/renesas,scif.yaml172
-rw-r--r--dts/Bindings/serial/renesas,scifa.yaml107
-rw-r--r--dts/Bindings/serial/renesas,scifb.yaml98
-rw-r--r--dts/Bindings/serial/serial.txt56
-rw-r--r--dts/Bindings/serial/serial.yaml131
-rw-r--r--dts/Bindings/serial/slave-device.txt45
-rw-r--r--dts/Bindings/serial/snps-dw-apb-uart.yaml1
-rw-r--r--dts/Bindings/serial/socionext,uniphier-uart.yaml46
-rw-r--r--dts/Bindings/serial/uniphier-uart.txt22
-rw-r--r--dts/Bindings/soc/amlogic/amlogic,canvas.yaml2
-rw-r--r--dts/Bindings/soc/imx/fsl,aips-bus.yaml47
-rw-r--r--dts/Bindings/soc/mediatek/pwrap.txt1
-rw-r--r--dts/Bindings/soc/qcom/qcom,apr.txt50
-rw-r--r--dts/Bindings/sound/adi,adau7118.yaml2
-rw-r--r--dts/Bindings/sound/amlogic,aiu.yaml113
-rw-r--r--dts/Bindings/sound/amlogic,g12a-toacodec.yaml51
-rw-r--r--dts/Bindings/sound/amlogic,gx-sound-card.yaml113
-rw-r--r--dts/Bindings/sound/amlogic,t9015.yaml58
-rw-r--r--dts/Bindings/sound/brcm,bcm63xx-audio.txt29
-rw-r--r--dts/Bindings/sound/cirrus,cs42l51.yaml69
-rw-r--r--dts/Bindings/sound/cs42l51.txt33
-rw-r--r--dts/Bindings/sound/google,cros-ec-codec.txt44
-rw-r--r--dts/Bindings/sound/google,cros-ec-codec.yaml67
-rw-r--r--dts/Bindings/sound/ingenic,aic.yaml92
-rw-r--r--dts/Bindings/sound/ingenic,jz4740-i2s.txt23
-rw-r--r--dts/Bindings/sound/nvidia,tegra-audio-wm8903.txt1
-rw-r--r--dts/Bindings/sound/qcom,wcd934x.yaml2
-rw-r--r--dts/Bindings/sound/renesas,fsi.yaml2
-rw-r--r--dts/Bindings/sound/rockchip,rk3328-codec.txt7
-rw-r--r--dts/Bindings/sound/rockchip-i2s.txt49
-rw-r--r--dts/Bindings/sound/rockchip-i2s.yaml114
-rw-r--r--dts/Bindings/sound/rockchip-spdif.txt45
-rw-r--r--dts/Bindings/sound/rockchip-spdif.yaml101
-rw-r--r--dts/Bindings/sound/rt5682.txt18
-rw-r--r--dts/Bindings/sound/samsung,odroid.yaml2
-rw-r--r--dts/Bindings/sound/samsung-i2s.yaml2
-rw-r--r--dts/Bindings/sound/st,stm32-i2s.txt62
-rw-r--r--dts/Bindings/sound/st,stm32-i2s.yaml87
-rw-r--r--dts/Bindings/sound/st,stm32-spdifrx.txt56
-rw-r--r--dts/Bindings/sound/st,stm32-spdifrx.yaml80
-rw-r--r--dts/Bindings/sound/tas2562.txt2
-rw-r--r--dts/Bindings/sound/tlv320adcx140.yaml82
-rw-r--r--dts/Bindings/spi/allwinner,sun6i-a31-spi.yaml11
-rw-r--r--dts/Bindings/spi/amlogic,meson-gx-spicc.yaml22
-rw-r--r--dts/Bindings/spi/fsl-imx-cspi.txt5
-rw-r--r--dts/Bindings/spi/qca,ar934x-spi.yaml41
-rw-r--r--dts/Bindings/spi/qcom,spi-qcom-qspi.txt36
-rw-r--r--dts/Bindings/spi/qcom,spi-qcom-qspi.yaml88
-rw-r--r--dts/Bindings/spi/spi-controller.yaml10
-rw-r--r--dts/Bindings/spi/spi-fsl-dspi.txt19
-rw-r--r--dts/Bindings/spi/spi-mtk-nor.txt (renamed from dts/Bindings/mtd/mtk-quadspi.txt)15
-rw-r--r--dts/Bindings/spi/spi-mux.yaml89
-rw-r--r--dts/Bindings/spi/spi-nxp-fspi.txt3
-rw-r--r--dts/Bindings/spi/spi-rockchip.txt58
-rw-r--r--dts/Bindings/spi/spi-rockchip.yaml107
-rw-r--r--dts/Bindings/sram/qcom,ocmem.yaml14
-rw-r--r--dts/Bindings/thermal/amlogic,thermal.yaml4
-rw-r--r--dts/Bindings/thermal/armada-thermal.txt2
-rw-r--r--dts/Bindings/thermal/imx8mm-thermal.txt15
-rw-r--r--dts/Bindings/thermal/qcom-tsens.yaml39
-rw-r--r--dts/Bindings/thermal/rcar-gen3-thermal.txt1
-rw-r--r--dts/Bindings/thermal/rcar-thermal.txt78
-rw-r--r--dts/Bindings/thermal/rcar-thermal.yaml139
-rw-r--r--dts/Bindings/thermal/sprd-thermal.yaml107
-rw-r--r--dts/Bindings/thermal/thermal.txt2
-rw-r--r--dts/Bindings/timer/arm,arch_timer.yaml2
-rw-r--r--dts/Bindings/timer/arm,arch_timer_mmio.yaml4
-rw-r--r--dts/Bindings/timer/arm,global_timer.yaml2
-rw-r--r--dts/Bindings/timer/faraday,fttmr010.txt1
-rw-r--r--dts/Bindings/timer/ingenic,tcu.txt1
-rw-r--r--dts/Bindings/timer/intel,ixp4xx-timer.yaml2
-rw-r--r--dts/Bindings/timer/samsung,exynos4210-mct.yaml2
-rw-r--r--dts/Bindings/trivial-devices.yaml16
-rw-r--r--dts/Bindings/usb/amlogic,meson-g12a-usb-ctrl.yaml23
-rw-r--r--dts/Bindings/usb/aspeed,usb-vhub.yaml77
-rw-r--r--dts/Bindings/usb/dwc2.yaml49
-rw-r--r--dts/Bindings/usb/dwc3.txt7
-rw-r--r--dts/Bindings/usb/exynos-usb.txt9
-rw-r--r--dts/Bindings/usb/fcs,fusb302.txt2
-rw-r--r--dts/Bindings/usb/generic.txt8
-rw-r--r--dts/Bindings/usb/ingenic,jz4740-musb.txt32
-rw-r--r--dts/Bindings/usb/ingenic,jz4770-phy.yaml52
-rw-r--r--dts/Bindings/usb/ingenic,musb.yaml76
-rw-r--r--dts/Bindings/usb/maxim,max3420-udc.yaml69
-rw-r--r--dts/Bindings/usb/mediatek,mtu3.txt2
-rw-r--r--dts/Bindings/usb/mediatek,musb.txt2
-rw-r--r--dts/Bindings/usb/nvidia,tegra-xudc.yaml190
-rw-r--r--dts/Bindings/usb/qcom,dwc3.txt4
-rw-r--r--dts/Bindings/usb/renesas,usb3-peri.yaml1
-rw-r--r--dts/Bindings/usb/renesas,usbhs.yaml1
-rw-r--r--dts/Bindings/usb/richtek,rt1711h.txt2
-rw-r--r--dts/Bindings/usb/rockchip,dwc3.txt2
-rw-r--r--dts/Bindings/usb/ti,hd3ss3220.txt2
-rw-r--r--dts/Bindings/usb/typec-tcpci.txt2
-rw-r--r--dts/Bindings/usb/usb-conn-gpio.txt4
-rw-r--r--dts/Bindings/usb/usb-xhci.txt3
-rw-r--r--dts/Bindings/vendor-prefixes.yaml41
-rw-r--r--dts/Bindings/watchdog/st,stpmic1-wdt.txt11
-rw-r--r--dts/Bindings/watchdog/ti,rti-wdt.yaml65
-rw-r--r--dts/include/dt-bindings/arm/coresight-cti-dt.h37
-rw-r--r--dts/include/dt-bindings/bus/ti-sysc.h4
-rw-r--r--dts/include/dt-bindings/clock/dm814.h5
-rw-r--r--dts/include/dt-bindings/clock/g12a-clkc.h2
-rw-r--r--dts/include/dt-bindings/clock/gxbb-clkc.h1
-rw-r--r--dts/include/dt-bindings/clock/imx7d-clock.h3
-rw-r--r--dts/include/dt-bindings/clock/imx8mm-clock.h11
-rw-r--r--dts/include/dt-bindings/clock/imx8mn-clock.h8
-rw-r--r--dts/include/dt-bindings/clock/imx8mp-clock.h5
-rw-r--r--dts/include/dt-bindings/clock/imx8mq-clock.h9
-rw-r--r--dts/include/dt-bindings/clock/k210-clk.h20
-rw-r--r--dts/include/dt-bindings/clock/marvell,mmp2.h13
-rw-r--r--dts/include/dt-bindings/clock/qcom,gcc-sc7180.h7
-rw-r--r--dts/include/dt-bindings/clock/qcom,gcc-sm8150.h4
-rw-r--r--dts/include/dt-bindings/clock/qcom,gcc-sm8250.h271
-rw-r--r--dts/include/dt-bindings/clock/qcom,gpucc-sc7180.h3
-rw-r--r--dts/include/dt-bindings/clock/qcom,mss-sc7180.h12
-rw-r--r--dts/include/dt-bindings/clock/qcom,rpmcc.h4
-rw-r--r--dts/include/dt-bindings/clock/qcom,rpmh.h4
-rw-r--r--dts/include/dt-bindings/clock/sprd,sc9863a-clk.h334
-rw-r--r--dts/include/dt-bindings/clock/sun50i-a64-ccu.h2
-rw-r--r--dts/include/dt-bindings/clock/tegra114-car.h4
-rw-r--r--dts/include/dt-bindings/clock/tegra124-car-common.h4
-rw-r--r--dts/include/dt-bindings/clock/tegra210-car.h4
-rw-r--r--dts/include/dt-bindings/clock/tegra30-car.h4
-rw-r--r--dts/include/dt-bindings/display/sdtv-standards.h76
-rw-r--r--dts/include/dt-bindings/input/linux-event-codes.h5
-rw-r--r--dts/include/dt-bindings/interconnect/qcom,osm-l3.h12
-rw-r--r--dts/include/dt-bindings/interconnect/qcom,sc7180.h161
-rw-r--r--dts/include/dt-bindings/interconnect/qcom,sdm845.h263
-rw-r--r--dts/include/dt-bindings/leds/common.h36
-rw-r--r--dts/include/dt-bindings/media/tvp5150.h2
-rw-r--r--dts/include/dt-bindings/power/meson-a1-power.h32
-rw-r--r--dts/include/dt-bindings/soc/tegra-pmc.h16
-rw-r--r--dts/include/dt-bindings/sound/meson-aiu.h18
-rw-r--r--dts/include/dt-bindings/sound/meson-g12a-toacodec.h10
-rw-r--r--dts/src/arc/axs10x_mb.dtsi1
-rw-r--r--dts/src/arm/am33xx-l4.dtsi21
-rw-r--r--dts/src/arm/am33xx.dtsi133
-rw-r--r--dts/src/arm/am4372.dtsi191
-rw-r--r--dts/src/arm/am437x-l4.dtsi77
-rw-r--r--dts/src/arm/am57-pruss.dtsi50
-rw-r--r--dts/src/arm/am5718.dtsi1
-rw-r--r--dts/src/arm/am5728.dtsi1
-rw-r--r--dts/src/arm/am5748.dtsi1
-rw-r--r--dts/src/arm/arm-realview-pbx.dtsi2
-rw-r--r--dts/src/arm/aspeed-g4.dtsi2
-rw-r--r--dts/src/arm/aspeed-g5.dtsi2
-rw-r--r--dts/src/arm/aspeed-g6-pinctrl.dtsi25
-rw-r--r--dts/src/arm/aspeed-g6.dtsi45
-rw-r--r--dts/src/arm/at91-dvk_su60_somc_lcm.dtsi2
-rw-r--r--dts/src/arm/at91-sam9x60ek.dts5
-rw-r--r--dts/src/arm/at91-sama5d27_wlsom1_ek.dts12
-rw-r--r--dts/src/arm/at91-sama5d2_ptc_ek.dts33
-rw-r--r--dts/src/arm/at91-sama5d2_xplained.dts33
-rw-r--r--dts/src/arm/at91-sama5d4_ma5d4evk.dts2
-rw-r--r--dts/src/arm/at91sam9n12ek.dts2
-rw-r--r--dts/src/arm/at91sam9x5dm.dtsi2
-rw-r--r--dts/src/arm/bcm2711-rpi-4-b.dts74
-rw-r--r--dts/src/arm/bcm2711.dtsi25
-rw-r--r--dts/src/arm/bcm2835-rpi-zero-w.dts1
-rw-r--r--dts/src/arm/bcm2835-rpi.dtsi4
-rw-r--r--dts/src/arm/bcm283x.dtsi1
-rw-r--r--dts/src/arm/dm8148-evm.dts4
-rw-r--r--dts/src/arm/dm8148-t410.dts4
-rw-r--r--dts/src/arm/dm814x-clocks.dtsi14
-rw-r--r--dts/src/arm/dm814x.dtsi260
-rw-r--r--dts/src/arm/dm816x.dtsi148
-rw-r--r--dts/src/arm/dra62x-j5eco-evm.dts4
-rw-r--r--dts/src/arm/dra62x.dtsi6
-rw-r--r--dts/src/arm/dra7.dtsi220
-rw-r--r--dts/src/arm/dra72x.dtsi6
-rw-r--r--dts/src/arm/dra74x.dtsi10
-rw-r--r--dts/src/arm/ecx-2000.dts6
-rw-r--r--dts/src/arm/ecx-common.dtsi17
-rw-r--r--dts/src/arm/exynos3250-artik5.dtsi2
-rw-r--r--dts/src/arm/exynos4210-universal_c210.dts4
-rw-r--r--dts/src/arm/exynos4412-galaxy-s3.dtsi4
-rw-r--r--dts/src/arm/exynos4412-n710x.dts2
-rw-r--r--dts/src/arm/exynos4412-odroid-common.dtsi9
-rw-r--r--dts/src/arm/exynos5250-arndale.dts10
-rw-r--r--dts/src/arm/exynos5420-arndale-octa.dts2
-rw-r--r--dts/src/arm/exynos5422-cpus.dtsi8
-rw-r--r--dts/src/arm/exynos5422-odroid-core.dtsi1
-rw-r--r--dts/src/arm/exynos5422-odroidhc1.dts30
-rw-r--r--dts/src/arm/exynos5422-odroidxu3-common.dtsi59
-rw-r--r--dts/src/arm/gemini-dlink-dir-685.dts50
-rw-r--r--dts/src/arm/gemini-dlink-dns-313.dts2
-rw-r--r--dts/src/arm/gemini-nas4220b.dts4
-rw-r--r--dts/src/arm/gemini-sl93512r.dts4
-rw-r--r--dts/src/arm/gemini-sq201.dts2
-rw-r--r--dts/src/arm/gemini.dtsi8
-rw-r--r--dts/src/arm/highbank.dts11
-rw-r--r--dts/src/arm/imx23-olinuxino.dts2
-rw-r--r--dts/src/arm/imx23.dtsi10
-rw-r--r--dts/src/arm/imx25-pinfunc.h8
-rw-r--r--dts/src/arm/imx25.dtsi4
-rw-r--r--dts/src/arm/imx27.dtsi2
-rw-r--r--dts/src/arm/imx28-apx4devkit.dts10
-rw-r--r--dts/src/arm/imx28.dtsi2
-rw-r--r--dts/src/arm/imx31.dtsi4
-rw-r--r--dts/src/arm/imx35.dtsi4
-rw-r--r--dts/src/arm/imx50.dtsi4
-rw-r--r--dts/src/arm/imx51-zii-rdu1.dts5
-rw-r--r--dts/src/arm/imx51.dtsi17
-rw-r--r--dts/src/arm/imx53.dtsi4
-rw-r--r--dts/src/arm/imx6dl-colibri-eval-v3.dts40
-rw-r--r--dts/src/arm/imx6dl-pico-dwarf.dts17
-rw-r--r--dts/src/arm/imx6dl-pico-hobbit.dts17
-rw-r--r--dts/src/arm/imx6dl-pico-nymph.dts17
-rw-r--r--dts/src/arm/imx6dl-pico-pi.dts17
-rw-r--r--dts/src/arm/imx6dl-riotboard.dts16
-rw-r--r--dts/src/arm/imx6dl-yapp4-common.dtsi2
-rw-r--r--dts/src/arm/imx6dl.dtsi8
-rw-r--r--dts/src/arm/imx6q-apalis-eval.dts40
-rw-r--r--dts/src/arm/imx6q-apalis-ixora-v1.1.dts40
-rw-r--r--dts/src/arm/imx6q-apalis-ixora.dts40
-rw-r--r--dts/src/arm/imx6q-marsboard.dts16
-rw-r--r--dts/src/arm/imx6q-novena.dts2
-rw-r--r--dts/src/arm/imx6q-pico-dwarf.dts17
-rw-r--r--dts/src/arm/imx6q-pico-hobbit.dts17
-rw-r--r--dts/src/arm/imx6q-pico-nymph.dts17
-rw-r--r--dts/src/arm/imx6q-pico-pi.dts17
-rw-r--r--dts/src/arm/imx6q.dtsi6
-rw-r--r--dts/src/arm/imx6qdl-apalis.dtsi42
-rw-r--r--dts/src/arm/imx6qdl-colibri.dtsi40
-rw-r--r--dts/src/arm/imx6qdl-gw52xx.dtsi5
-rw-r--r--dts/src/arm/imx6qdl-gw53xx.dtsi5
-rw-r--r--dts/src/arm/imx6qdl-gw54xx.dtsi5
-rw-r--r--dts/src/arm/imx6qdl-gw553x.dtsi31
-rw-r--r--dts/src/arm/imx6qdl-gw5910.dtsi25
-rw-r--r--dts/src/arm/imx6qdl-phytec-phycore-som.dtsi9
-rw-r--r--dts/src/arm/imx6qdl-pico-dwarf.dtsi45
-rw-r--r--dts/src/arm/imx6qdl-pico-hobbit.dtsi37
-rw-r--r--dts/src/arm/imx6qdl-pico-nymph.dtsi54
-rw-r--r--dts/src/arm/imx6qdl-pico-pi.dtsi31
-rw-r--r--dts/src/arm/imx6qdl-pico.dtsi617
-rw-r--r--dts/src/arm/imx6qdl-sr-som-ti.dtsi1
-rw-r--r--dts/src/arm/imx6qdl-zii-rdu2.dtsi7
-rw-r--r--dts/src/arm/imx6qdl.dtsi36
-rw-r--r--dts/src/arm/imx6qp.dtsi3
-rw-r--r--dts/src/arm/imx6sl.dtsi28
-rw-r--r--dts/src/arm/imx6sll.dtsi12
-rw-r--r--dts/src/arm/imx6sx-nitrogen6sx.dts20
-rw-r--r--dts/src/arm/imx6sx-pinfunc.h286
-rw-r--r--dts/src/arm/imx6sx-sabreauto.dts4
-rw-r--r--dts/src/arm/imx6sx-sdb.dtsi12
-rw-r--r--dts/src/arm/imx6sx-softing-vining-2000.dts22
-rw-r--r--dts/src/arm/imx6sx-udoo-neo.dtsi28
-rw-r--r--dts/src/arm/imx6sx.dtsi34
-rw-r--r--dts/src/arm/imx6ul-ccimx6ulsbcpro.dts2
-rw-r--r--dts/src/arm/imx6ul-pico-dwarf.dts52
-rw-r--r--dts/src/arm/imx6ul-pico.dtsi39
-rw-r--r--dts/src/arm/imx6ul.dtsi28
-rw-r--r--dts/src/arm/imx6ull.dtsi2
-rw-r--r--dts/src/arm/imx7-colibri-aster.dtsi169
-rw-r--r--dts/src/arm/imx7-colibri-eval-v3.dtsi46
-rw-r--r--dts/src/arm/imx7-colibri.dtsi230
-rw-r--r--dts/src/arm/imx7d-cl-som-imx7.dts4
-rw-r--r--dts/src/arm/imx7d-colibri-aster.dts20
-rw-r--r--dts/src/arm/imx7d-colibri-emmc-aster.dts20
-rw-r--r--dts/src/arm/imx7d-colibri-emmc.dtsi26
-rw-r--r--dts/src/arm/imx7d-colibri-eval-v3.dts41
-rw-r--r--dts/src/arm/imx7d-colibri.dtsi41
-rw-r--r--dts/src/arm/imx7d-pico-dwarf.dts87
-rw-r--r--dts/src/arm/imx7d-pico-nymph.dts84
-rw-r--r--dts/src/arm/imx7s-colibri-aster.dts15
-rw-r--r--dts/src/arm/imx7s-colibri-eval-v3.dts41
-rw-r--r--dts/src/arm/imx7s-colibri.dtsi41
-rw-r--r--dts/src/arm/imx7s.dtsi38
-rw-r--r--dts/src/arm/imx7ulp-evk.dts3
-rw-r--r--dts/src/arm/imx7ulp.dtsi4
-rw-r--r--dts/src/arm/integratorap.dts1
-rw-r--r--dts/src/arm/mmp2-brownstone.dts332
-rw-r--r--dts/src/arm/mmp2.dtsi16
-rw-r--r--dts/src/arm/mmp3.dtsi16
-rw-r--r--dts/src/arm/motorola-mapphone-common.dtsi2
-rw-r--r--dts/src/arm/mt2701.dtsi2
-rw-r--r--dts/src/arm/mt7623.dtsi2
-rw-r--r--dts/src/arm/mt7629.dtsi16
-rw-r--r--dts/src/arm/omap3-n900.dts44
-rw-r--r--dts/src/arm/omap3-n950-n9.dtsi5
-rw-r--r--dts/src/arm/omap4-l4.dtsi1
-rw-r--r--dts/src/arm/omap4.dtsi279
-rw-r--r--dts/src/arm/omap5-l4-abe.dtsi16
-rw-r--r--dts/src/arm/omap5.dtsi242
-rw-r--r--dts/src/arm/ox810se.dtsi4
-rw-r--r--dts/src/arm/ox820.dtsi4
-rw-r--r--dts/src/arm/pxa168-aspenite.dts24
-rw-r--r--dts/src/arm/pxa168.dtsi15
-rw-r--r--dts/src/arm/pxa910-dkb.dts286
-rw-r--r--dts/src/arm/pxa910.dtsi15
-rw-r--r--dts/src/arm/qcom-apq8064.dtsi1
-rw-r--r--dts/src/arm/qcom-apq8084.dtsi1
-rw-r--r--dts/src/arm/qcom-ipq4019.dtsi1
-rw-r--r--dts/src/arm/qcom-ipq8064.dtsi1
-rw-r--r--dts/src/arm/qcom-mdm9615.dtsi1
-rw-r--r--dts/src/arm/qcom-msm8660.dtsi1
-rw-r--r--dts/src/arm/qcom-msm8960.dtsi1
-rw-r--r--dts/src/arm/qcom-msm8974-lge-nexus5-hammerhead.dts71
-rw-r--r--dts/src/arm/qcom-msm8974-sony-xperia-honami.dts25
-rw-r--r--dts/src/arm/qcom-msm8974.dtsi10
-rw-r--r--dts/src/arm/r7s72100-gr-peach.dts3
-rw-r--r--dts/src/arm/r7s72100.dtsi5
-rw-r--r--dts/src/arm/r8a73a4-ape6evm.dts7
-rw-r--r--dts/src/arm/r8a7743.dtsi5
-rw-r--r--dts/src/arm/r8a7744.dtsi5
-rw-r--r--dts/src/arm/r8a7745-iwg22d-sodimm-dbhd-ca.dts6
-rw-r--r--dts/src/arm/r8a7745-iwg22d-sodimm.dts93
-rw-r--r--dts/src/arm/r8a7745.dtsi3
-rw-r--r--dts/src/arm/r8a77470.dtsi5
-rw-r--r--dts/src/arm/r8a7790-lager.dts1
-rw-r--r--dts/src/arm/r8a7790-stout.dts1
-rw-r--r--dts/src/arm/r8a7790.dtsi2
-rw-r--r--dts/src/arm/r8a7791-koelsch.dts1
-rw-r--r--dts/src/arm/r8a7791-porter.dts1
-rw-r--r--dts/src/arm/r8a7791.dtsi5
-rw-r--r--dts/src/arm/r8a7792.dtsi5
-rw-r--r--dts/src/arm/r8a7793-gose.dts1
-rw-r--r--dts/src/arm/r8a7793.dtsi5
-rw-r--r--dts/src/arm/r8a7794-alt.dts1
-rw-r--r--dts/src/arm/r8a7794-silk.dts1
-rw-r--r--dts/src/arm/r8a7794.dtsi2
-rw-r--r--dts/src/arm/rk3036-kylin.dts2
-rw-r--r--dts/src/arm/rk3036.dtsi8
-rw-r--r--dts/src/arm/rk3066a.dtsi18
-rw-r--r--dts/src/arm/rk3188-bqedison2qc.dts29
-rw-r--r--dts/src/arm/rk3188.dtsi10
-rw-r--r--dts/src/arm/rk322x.dtsi17
-rw-r--r--dts/src/arm/rk3288-evb-act8846.dts1
-rw-r--r--dts/src/arm/rk3288-evb-rk808.dts1
-rw-r--r--dts/src/arm/rk3288-firefly-reload.dts1
-rw-r--r--dts/src/arm/rk3288-r89.dts1
-rw-r--r--dts/src/arm/rk3288-tinker.dtsi1
-rw-r--r--dts/src/arm/rk3288-vyasa.dts28
-rw-r--r--dts/src/arm/rk3288.dtsi26
-rw-r--r--dts/src/arm/rk3xxx.dtsi4
-rw-r--r--dts/src/arm/rv1108.dtsi12
-rw-r--r--dts/src/arm/sam9x60.dtsi8
-rw-r--r--dts/src/arm/sama5d2.dtsi2
-rw-r--r--dts/src/arm/sama5d3.dtsi33
-rw-r--r--dts/src/arm/sama5d4.dtsi35
-rw-r--r--dts/src/arm/sh73a0-kzm9g.dts9
-rw-r--r--dts/src/arm/socfpga_arria10.dtsi12
-rw-r--r--dts/src/arm/socfpga_arria10_socdk_nand.dts4
-rw-r--r--dts/src/arm/ste-ab8500.dtsi6
-rw-r--r--dts/src/arm/ste-ab8505.dtsi6
-rw-r--r--dts/src/arm/ste-dbx5x0.dtsi6
-rw-r--r--dts/src/arm/ste-href-stuib.dtsi2
-rw-r--r--dts/src/arm/ste-href-tvk1281618-r2.dtsi2
-rw-r--r--dts/src/arm/ste-href-tvk1281618-r3.dtsi2
-rw-r--r--dts/src/arm/ste-ux500-samsung-skomer.dts581
-rw-r--r--dts/src/arm/stm32746g-eval.dts2
-rw-r--r--dts/src/arm/stm32mp15-pinctrl.dtsi93
-rw-r--r--dts/src/arm/stm32mp151.dtsi16
-rw-r--r--dts/src/arm/stm32mp153.dtsi1
-rw-r--r--dts/src/arm/stm32mp157a-avenger96.dts11
-rw-r--r--dts/src/arm/stm32mp157c-dhcom-pdk2.dts265
-rw-r--r--dts/src/arm/stm32mp157c-dhcom-som.dtsi368
-rw-r--r--dts/src/arm/stm32mp157c-ed1.dts16
-rw-r--r--dts/src/arm/stm32mp157c-ev1.dts13
-rw-r--r--dts/src/arm/stm32mp15xx-dkx.dtsi10
-rw-r--r--dts/src/arm/sun5i-a13-pocketbook-touch-lux-3.dts257
-rw-r--r--dts/src/arm/sun5i.dtsi5
-rw-r--r--dts/src/arm/sun6i-a31.dtsi12
-rw-r--r--dts/src/arm/sun7i-a20-linutronix-testbox-v2.dts47
-rw-r--r--dts/src/arm/sun7i-a20.dtsi25
-rw-r--r--dts/src/arm/sun8i-a23-a33.dtsi3
-rw-r--r--dts/src/arm/sun8i-a33.dtsi4
-rw-r--r--dts/src/arm/sun8i-a83t-tbs-a711.dts8
-rw-r--r--dts/src/arm/sun8i-a83t.dtsi79
-rw-r--r--dts/src/arm/sun8i-h3.dtsi25
-rw-r--r--dts/src/arm/sun8i-r40.dtsi157
-rw-r--r--dts/src/arm/sun8i-v3s.dtsi2
-rw-r--r--dts/src/arm/sunxi-h3-h5.dtsi19
-rw-r--r--dts/src/arm/tango4-common.dtsi2
-rw-r--r--dts/src/arm/tegra114-dalmore.dts8
-rw-r--r--dts/src/arm/tegra114.dtsi4
-rw-r--r--dts/src/arm/tegra124-apalis-v1.2.dtsi8
-rw-r--r--dts/src/arm/tegra124-apalis.dtsi8
-rw-r--r--dts/src/arm/tegra124-jetson-tk1.dts14
-rw-r--r--dts/src/arm/tegra124-nyan.dtsi8
-rw-r--r--dts/src/arm/tegra124-venice2.dts8
-rw-r--r--dts/src/arm/tegra124.dtsi4
-rw-r--r--dts/src/arm/tegra20.dtsi4
-rw-r--r--dts/src/arm/tegra30-apalis-v1.1.dtsi8
-rw-r--r--dts/src/arm/tegra30-apalis.dtsi8
-rw-r--r--dts/src/arm/tegra30-beaver.dts8
-rw-r--r--dts/src/arm/tegra30-cardhu.dtsi8
-rw-r--r--dts/src/arm/tegra30-colibri.dtsi8
-rw-r--r--dts/src/arm/tegra30.dtsi4
-rw-r--r--dts/src/arm/uniphier-ld4.dtsi10
-rw-r--r--dts/src/arm/uniphier-pro4.dtsi12
-rw-r--r--dts/src/arm/uniphier-pro5.dtsi164
-rw-r--r--dts/src/arm/uniphier-pxs2.dtsi14
-rw-r--r--dts/src/arm/uniphier-ref-daughter.dtsi2
-rw-r--r--dts/src/arm/uniphier-sld8.dtsi10
-rw-r--r--dts/src/arm/versatile-ab-ib2.dts2
-rw-r--r--dts/src/arm/vexpress-v2m-rs1.dtsi2
-rw-r--r--dts/src/arm/vexpress-v2m.dtsi2
-rw-r--r--dts/src/arm/vexpress-v2p-ca15-tc1.dts2
-rw-r--r--dts/src/arm/vexpress-v2p-ca15_a7.dts2
-rw-r--r--dts/src/arm/vexpress-v2p-ca5s.dts2
-rw-r--r--dts/src/arm/vexpress-v2p-ca9.dts2
-rw-r--r--dts/src/arm/vf-colibri-eval-v3.dtsi40
-rw-r--r--dts/src/arm/vf-colibri.dtsi39
-rw-r--r--dts/src/arm/vf500-colibri-eval-v3.dts40
-rw-r--r--dts/src/arm/vf500-colibri.dtsi40
-rw-r--r--dts/src/arm/vf500.dtsi4
-rw-r--r--dts/src/arm/vf610-colibri-eval-v3.dts40
-rw-r--r--dts/src/arm/vf610-colibri.dtsi40
-rw-r--r--dts/src/arm/vf610-zii-cfu1.dts8
-rw-r--r--dts/src/arm/vf610-zii-dev.dtsi8
-rw-r--r--dts/src/arm/vf610-zii-spb4.dts8
-rw-r--r--dts/src/arm/vf610-zii-ssmb-dtu.dts8
-rw-r--r--dts/src/arm/vf610-zii-ssmb-spu3.dts8
-rw-r--r--dts/src/arm/vf610m4-colibri.dts39
-rw-r--r--dts/src/arm/vfxxx.dtsi4
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-olinuxino.dts17
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-pinebook.dts170
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-pinephone-1.0.dts11
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-pinephone-1.1.dts11
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-pinephone.dtsi379
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64-pinetab.dts460
-rw-r--r--dts/src/arm64/allwinner/sun50i-a64.dtsi44
-rw-r--r--dts/src/arm64/allwinner/sun50i-h5-orangepi-pc2.dts21
-rw-r--r--dts/src/arm64/allwinner/sun50i-h5.dtsi3
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6-beelink-gs1.dts11
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6-orangepi-3.dts20
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6-orangepi-one-plus.dts33
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6-orangepi.dtsi37
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6-pine-h64.dts30
-rw-r--r--dts/src/arm64/allwinner/sun50i-h6.dtsi66
-rw-r--r--dts/src/arm64/altera/socfpga_stratix10_socdk.dts6
-rw-r--r--dts/src/arm64/amlogic/meson-a1.dtsi6
-rw-r--r--dts/src/arm64/amlogic/meson-axg-s400.dts6
-rw-r--r--dts/src/arm64/amlogic/meson-g12-common.dtsi136
-rw-r--r--dts/src/arm64/amlogic/meson-g12.dtsi2
-rw-r--r--dts/src/arm64/amlogic/meson-g12a-sei510.dts4
-rw-r--r--dts/src/arm64/amlogic/meson-g12a-u200.dts2
-rw-r--r--dts/src/arm64/amlogic/meson-g12a-x96-max.dts2
-rw-r--r--dts/src/arm64/amlogic/meson-g12b-khadas-vim3.dtsi4
-rw-r--r--dts/src/arm64/amlogic/meson-g12b-odroid-n2.dts25
-rw-r--r--dts/src/arm64/amlogic/meson-g12b-ugoos-am6.dts2
-rw-r--r--dts/src/arm64/amlogic/meson-gx.dtsi52
-rw-r--r--dts/src/arm64/amlogic/meson-gxbb-kii-pro.dts4
-rw-r--r--dts/src/arm64/amlogic/meson-gxbb-odroidc2.dts1
-rw-r--r--dts/src/arm64/amlogic/meson-gxbb-vega-s95.dtsi3
-rw-r--r--dts/src/arm64/amlogic/meson-gxl-s905x-p212.dtsi9
-rw-r--r--dts/src/arm64/amlogic/meson-gxm-khadas-vim2.dts87
-rw-r--r--dts/src/arm64/amlogic/meson-gxm.dtsi28
-rw-r--r--dts/src/arm64/amlogic/meson-khadas-vim3.dtsi24
-rw-r--r--dts/src/arm64/amlogic/meson-sm1-sei610.dts2
-rw-r--r--dts/src/arm64/amlogic/meson-sm1.dtsi1
-rw-r--r--dts/src/arm64/arm/foundation-v8.dtsi2
-rw-r--r--dts/src/arm64/arm/fvp-base-revc.dts2
-rw-r--r--dts/src/arm64/arm/juno-base.dtsi2
-rw-r--r--dts/src/arm64/arm/juno-motherboard.dtsi2
-rw-r--r--dts/src/arm64/arm/rtsm_ve-aemv8a.dts2
-rw-r--r--dts/src/arm64/arm/rtsm_ve-motherboard-rs2.dtsi2
-rw-r--r--dts/src/arm64/arm/rtsm_ve-motherboard.dtsi2
-rw-r--r--dts/src/arm64/arm/vexpress-v2f-1xv7-ca53x2.dts2
-rw-r--r--dts/src/arm64/arm/vexpress-v2m-rs1.dtsi2
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts91
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-kontron-sl28-var2.dts72
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts117
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-kontron-sl28-var4.dts51
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-kontron-sl28.dts187
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-qds.dts1
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a-rdb.dts65
-rw-r--r--dts/src/arm64/freescale/fsl-ls1028a.dtsi259
-rw-r--r--dts/src/arm64/freescale/fsl-ls1043a-rdb.dts4
-rw-r--r--dts/src/arm64/freescale/fsl-ls1046a-rdb.dts4
-rw-r--r--dts/src/arm64/freescale/fsl-ls1088a-rdb.dts1
-rw-r--r--dts/src/arm64/freescale/fsl-ls1088a.dtsi4
-rw-r--r--dts/src/arm64/freescale/fsl-ls208xa.dtsi4
-rw-r--r--dts/src/arm64/freescale/fsl-lx2160a-cex7.dtsi37
-rw-r--r--dts/src/arm64/freescale/fsl-lx2160a-qds.dts15
-rw-r--r--dts/src/arm64/freescale/fsl-lx2160a-rdb.dts4
-rw-r--r--dts/src/arm64/freescale/fsl-lx2160a.dtsi168
-rw-r--r--dts/src/arm64/freescale/imx8mm-evk.dts2
-rw-r--r--dts/src/arm64/freescale/imx8mm.dtsi74
-rw-r--r--dts/src/arm64/freescale/imx8mn-evk.dtsi21
-rw-r--r--dts/src/arm64/freescale/imx8mn.dtsi81
-rw-r--r--dts/src/arm64/freescale/imx8mp-evk.dts270
-rw-r--r--dts/src/arm64/freescale/imx8mp-pinfunc.h931
-rw-r--r--dts/src/arm64/freescale/imx8mp.dtsi654
-rw-r--r--dts/src/arm64/freescale/imx8mq-evk.dts2
-rw-r--r--dts/src/arm64/freescale/imx8mq-librem5-devkit.dts148
-rw-r--r--dts/src/arm64/freescale/imx8mq-phanbell.dts104
-rw-r--r--dts/src/arm64/freescale/imx8mq.dtsi18
-rw-r--r--dts/src/arm64/freescale/imx8qxp.dtsi39
-rw-r--r--dts/src/arm64/freescale/s32v234.dtsi4
-rw-r--r--dts/src/arm64/intel/socfpga_agilex_socdk.dts6
-rw-r--r--dts/src/arm64/marvell/armada-3720-espressobin-emmc.dts2
-rw-r--r--dts/src/arm64/marvell/armada-3720-espressobin-v7-emmc.dts2
-rw-r--r--dts/src/arm64/marvell/armada-3720-espressobin-v7.dts2
-rw-r--r--dts/src/arm64/marvell/armada-3720-espressobin.dtsi8
-rw-r--r--dts/src/arm64/marvell/armada-8040-clearfog-gt-8k.dts1
-rw-r--r--dts/src/arm64/marvell/armada-8040-mcbin.dtsi3
-rw-r--r--dts/src/arm64/marvell/armada-ap806-dual.dtsi5
-rw-r--r--dts/src/arm64/marvell/armada-ap807-quad.dtsi8
-rw-r--r--dts/src/arm64/mediatek/mt2712e.dtsi8
-rw-r--r--dts/src/arm64/mediatek/mt6797.dtsi2
-rw-r--r--dts/src/arm64/mediatek/mt7622.dtsi2
-rw-r--r--dts/src/arm64/mediatek/mt8173.dtsi3
-rw-r--r--dts/src/arm64/mediatek/mt8183.dtsi53
-rw-r--r--dts/src/arm64/mediatek/mt8516-pinfunc.h663
-rw-r--r--dts/src/arm64/mediatek/mt8516-pumpkin.dts20
-rw-r--r--dts/src/arm64/mediatek/mt8516.dtsi457
-rw-r--r--dts/src/arm64/mediatek/pumpkin-common.dtsi221
-rw-r--r--dts/src/arm64/nvidia/tegra132.dtsi4
-rw-r--r--dts/src/arm64/nvidia/tegra186-p2771-0000.dts26
-rw-r--r--dts/src/arm64/nvidia/tegra186-p3310.dtsi1
-rw-r--r--dts/src/arm64/nvidia/tegra186.dtsi19
-rw-r--r--dts/src/arm64/nvidia/tegra194-p2888.dtsi36
-rw-r--r--dts/src/arm64/nvidia/tegra194-p2972-0000.dts81
-rw-r--r--dts/src/arm64/nvidia/tegra194.dtsi250
-rw-r--r--dts/src/arm64/nvidia/tegra210-p2180.dtsi3
-rw-r--r--dts/src/arm64/nvidia/tegra210-p2371-2180.dts2
-rw-r--r--dts/src/arm64/nvidia/tegra210-p2597.dtsi45
-rw-r--r--dts/src/arm64/nvidia/tegra210-p3450-0000.dts24
-rw-r--r--dts/src/arm64/nvidia/tegra210-smaug.dts2
-rw-r--r--dts/src/arm64/nvidia/tegra210.dtsi25
-rw-r--r--dts/src/arm64/qcom/apq8016-sbc.dtsi1
-rw-r--r--dts/src/arm64/qcom/apq8096-db820c.dtsi6
-rw-r--r--dts/src/arm64/qcom/ipq6018-cp01-c1.dts64
-rw-r--r--dts/src/arm64/qcom/ipq6018.dtsi443
-rw-r--r--dts/src/arm64/qcom/ipq8074.dtsi1
-rw-r--r--dts/src/arm64/qcom/msm8916-samsung-a2015-common.dtsi8
-rw-r--r--dts/src/arm64/qcom/msm8916.dtsi21
-rw-r--r--dts/src/arm64/qcom/msm8992.dtsi1
-rw-r--r--dts/src/arm64/qcom/msm8994.dtsi1
-rw-r--r--dts/src/arm64/qcom/msm8996.dtsi33
-rw-r--r--dts/src/arm64/qcom/msm8998-mtp.dtsi8
-rw-r--r--dts/src/arm64/qcom/msm8998.dtsi16
-rw-r--r--dts/src/arm64/qcom/pm6150.dtsi2
-rw-r--r--dts/src/arm64/qcom/pm8998.dtsi2
-rw-r--r--dts/src/arm64/qcom/qcs404-evb.dtsi1
-rw-r--r--dts/src/arm64/qcom/qcs404.dtsi4
-rw-r--r--dts/src/arm64/qcom/sc7180-idp.dts64
-rw-r--r--dts/src/arm64/qcom/sc7180.dtsi605
-rw-r--r--dts/src/arm64/qcom/sdm845-cheza.dtsi15
-rw-r--r--dts/src/arm64/qcom/sdm845-db845c.dts283
-rw-r--r--dts/src/arm64/qcom/sdm845-mtp.dts89
-rw-r--r--dts/src/arm64/qcom/sdm845.dtsi672
-rw-r--r--dts/src/arm64/qcom/sdm850-lenovo-yoga-c630.dts114
-rw-r--r--dts/src/arm64/qcom/sm8250-mtp.dts29
-rw-r--r--dts/src/arm64/qcom/sm8250.dtsi444
-rw-r--r--dts/src/arm64/renesas/r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts52
-rw-r--r--dts/src/arm64/renesas/r8a774a1.dtsi7
-rw-r--r--dts/src/arm64/renesas/r8a774b1.dtsi7
-rw-r--r--dts/src/arm64/renesas/r8a774c0.dtsi8
-rw-r--r--dts/src/arm64/renesas/r8a77950.dtsi2
-rw-r--r--dts/src/arm64/renesas/r8a77951.dtsi11
-rw-r--r--dts/src/arm64/renesas/r8a77960.dtsi16
-rw-r--r--dts/src/arm64/renesas/r8a77961-salvator-xs.dts2
-rw-r--r--dts/src/arm64/renesas/r8a77961-ulcb.dts32
-rw-r--r--dts/src/arm64/renesas/r8a77961.dtsi89
-rw-r--r--dts/src/arm64/renesas/r8a77965.dtsi31
-rw-r--r--dts/src/arm64/renesas/r8a77970.dtsi4
-rw-r--r--dts/src/arm64/renesas/r8a77980.dtsi7
-rw-r--r--dts/src/arm64/renesas/r8a77990.dtsi29
-rw-r--r--dts/src/arm64/renesas/r8a77995.dtsi14
-rw-r--r--dts/src/arm64/rockchip/px30.dtsi32
-rw-r--r--dts/src/arm64/rockchip/rk3308.dtsi10
-rw-r--r--dts/src/arm64/rockchip/rk3328-a1.dts1
-rw-r--r--dts/src/arm64/rockchip/rk3328-rock64.dts1
-rw-r--r--dts/src/arm64/rockchip/rk3328.dtsi7
-rw-r--r--dts/src/arm64/rockchip/rk3368-px5-evb.dts1
-rw-r--r--dts/src/arm64/rockchip/rk3368.dtsi3
-rw-r--r--dts/src/arm64/rockchip/rk3399-evb.dts270
-rw-r--r--dts/src/arm64/rockchip/rk3399-gru-chromebook.dtsi4
-rw-r--r--dts/src/arm64/rockchip/rk3399-gru.dtsi4
-rw-r--r--dts/src/arm64/rockchip/rk3399-hugsun-x99.dts39
-rw-r--r--dts/src/arm64/rockchip/rk3399-orangepi.dts43
-rw-r--r--dts/src/arm64/rockchip/rk3399-pinebook-pro.dts1096
-rw-r--r--dts/src/arm64/rockchip/rk3399-puma.dtsi2
-rw-r--r--dts/src/arm64/rockchip/rk3399-rock960.dtsi2
-rw-r--r--dts/src/arm64/rockchip/rk3399-sapphire-excavator.dts2
-rw-r--r--dts/src/arm64/rockchip/rk3399.dtsi11
-rw-r--r--dts/src/arm64/rockchip/rk3399pro-rock-pi-n10.dts3
-rw-r--r--dts/src/arm64/socionext/uniphier-ld11.dtsi10
-rw-r--r--dts/src/arm64/socionext/uniphier-ld20.dtsi20
-rw-r--r--dts/src/arm64/socionext/uniphier-pxs3-ref.dts10
-rw-r--r--dts/src/arm64/socionext/uniphier-pxs3.dtsi55
-rw-r--r--dts/src/arm64/sprd/sc9863a.dtsi2
-rw-r--r--dts/src/arm64/ti/k3-am65-main.dtsi4
-rw-r--r--dts/src/arm64/ti/k3-am65-mcu.dtsi61
-rw-r--r--dts/src/arm64/ti/k3-am65.dtsi1
-rw-r--r--dts/src/arm64/ti/k3-am654-base-board.dts42
-rw-r--r--dts/src/arm64/ti/k3-j721e-common-proc-board.dts43
-rw-r--r--dts/src/arm64/ti/k3-j721e-mcu-wakeup.dtsi69
-rw-r--r--dts/src/arm64/ti/k3-j721e.dtsi1
-rw-r--r--dts/src/mips/brcm/bcm7425.dtsi4
-rw-r--r--dts/src/mips/ingenic/ci20.dts19
-rw-r--r--dts/src/mips/loongson/loongson3-package.dtsi64
-rw-r--r--dts/src/mips/loongson/loongson3_4core_rs780e.dts25
-rw-r--r--dts/src/mips/loongson/loongson3_8core_rs780e.dts25
-rw-r--r--dts/src/mips/loongson/rs780e-pch.dtsi26
-rw-r--r--dts/src/nios2/10m50_devboard.dts6
-rw-r--r--dts/src/powerpc/arches.dts3
-rw-r--r--dts/src/riscv/kendryte/k210.dts23
-rw-r--r--dts/src/riscv/kendryte/k210.dtsi123
-rw-r--r--firmware/Makefile2
-rw-r--r--fs/devfs-core.c3
-rw-r--r--fs/devfs.c3
-rw-r--r--fs/efi.c3
-rw-r--r--fs/efivarfs.c3
-rw-r--r--fs/ext4/ext_barebox.c3
-rw-r--r--fs/fat/fat.c3
-rw-r--r--fs/fs.c4
-rw-r--r--fs/nfs.c96
-rw-r--r--fs/ramfs.c3
-rw-r--r--fs/tftp.c3
-rw-r--r--images/.gitignore1
-rw-r--r--images/Makefile6
-rw-r--r--images/Makefile.stm32mp5
-rw-r--r--include/aiodev.h3
-rw-r--r--include/asm-generic/io.h4
-rw-r--r--include/ata_drive.h4
-rw-r--r--include/command.h3
-rw-r--r--include/common.h32
-rw-r--r--include/console.h3
-rw-r--r--include/digest.h3
-rw-r--r--include/disks.h4
-rw-r--r--include/driver.h3
-rw-r--r--include/environment.h3
-rw-r--r--include/filetype.h1
-rw-r--r--include/hab.h3
-rw-r--r--include/i2c/i2c.h3
-rw-r--r--include/image.h3
-rw-r--r--include/int_sqrt.h4
-rw-r--r--include/linux/barebox-wrapper.h2
-rw-r--r--include/linux/clk.h13
-rw-r--r--include/linux/clk/at91_pmc.h59
-rw-r--r--include/linux/export.h39
-rw-r--r--include/linux/iopoll.h29
-rw-r--r--include/linux/kernel.h13
-rw-r--r--include/linux/libfdt.h2
-rw-r--r--include/linux/libfdt_env.h7
-rw-r--r--include/linux/mfd/stm32-timers.h97
-rw-r--r--include/linux/phy/phy.h8
-rw-r--r--include/mci.h3
-rw-r--r--include/menu.h3
-rw-r--r--include/mfd/mc13892.h3
-rw-r--r--include/mfd/syscon.h5
-rw-r--r--include/module.h28
-rw-r--r--include/net.h7
-rw-r--r--include/of.h20
-rw-r--r--include/part.h3
-rw-r--r--include/password.h3
-rw-r--r--include/platform_data/atmel-mci.h15
-rw-r--r--include/platform_data/ide.h3
-rw-r--r--include/pwm.h62
-rw-r--r--include/regmap.h29
-rw-r--r--include/rtc.h3
-rw-r--r--include/s_record.h3
-rw-r--r--include/scsi.h3
-rw-r--r--include/serial/lpuart.h3
-rw-r--r--include/spi/spi.h4
-rw-r--r--include/usb/ch9.h20
-rw-r--r--include/usb/chipidea-imx.h13
-rw-r--r--include/usb/usb.h37
-rw-r--r--include/usb/usb_defs.h6
-rw-r--r--include/usb/usbnet.h2
-rw-r--r--include/usb/xhci.h6
-rw-r--r--lib/Kconfig5
-rw-r--r--lib/cmdlinepart.c3
-rw-r--r--lib/ctype.c3
-rw-r--r--lib/display_options.c3
-rw-r--r--lib/gui/bmp_layout.h3
-rw-r--r--lib/int_sqrt.c3
-rw-r--r--lib/libfile.c3
-rw-r--r--lib/libgen.c3
-rw-r--r--lib/logo/logo.c3
-rw-r--r--lib/misc.c3
-rw-r--r--lib/parameter.c3
-rw-r--r--lib/process_escape_sequence.c3
-rw-r--r--lib/readkey.c3
-rw-r--r--lib/show_progress.c3
-rw-r--r--lib/uncompress.c3
-rw-r--r--lib/wchar.c3
-rw-r--r--lib/xfuncs.c3
-rw-r--r--net/dhcp.c4
-rw-r--r--net/eth.c58
-rw-r--r--net/ifup.c78
-rw-r--r--net/lib.c3
-rw-r--r--net/net.c3
-rw-r--r--net/netconsole.c3
-rw-r--r--net/rarp.h3
-rw-r--r--scripts/.gitignore1
-rw-r--r--scripts/Kbuild.include123
-rw-r--r--scripts/Makefile4
-rw-r--r--scripts/Makefile.build76
-rw-r--r--scripts/Makefile.clean19
-rw-r--r--scripts/Makefile.host54
-rw-r--r--scripts/Makefile.lib54
-rw-r--r--scripts/Makefile.modpost2
-rw-r--r--scripts/bareboxcrc32.c3
-rw-r--r--scripts/bareboxenv.c3
-rw-r--r--scripts/bareboximd.c19
-rw-r--r--scripts/basic/.gitignore2
-rw-r--r--scripts/basic/Makefile19
-rw-r--r--scripts/basic/fixdep.c61
-rwxr-xr-xscripts/checkpatch.pl4
-rw-r--r--scripts/dtc/dtc-lexer.l1
-rw-r--r--scripts/imx/imx-image.c3
-rw-r--r--scripts/imx/imx.c3
-rwxr-xr-xscripts/kconfig-lint.py329
-rw-r--r--scripts/kconfig/.gitignore4
-rw-r--r--scripts/kconfig/Makefile56
-rw-r--r--scripts/kconfig/conf.c29
-rw-r--r--scripts/kconfig/confdata.c62
-rw-r--r--scripts/kconfig/expr.c10
-rw-r--r--scripts/kconfig/expr.h2
-rw-r--r--scripts/kconfig/gconf.c1
-rw-r--r--scripts/kconfig/lkc.h4
-rwxr-xr-xscripts/kconfig/mconf-cfg.sh3
-rw-r--r--scripts/kconfig/mconf.c1
-rw-r--r--scripts/kconfig/menu.c185
-rwxr-xr-xscripts/kconfig/merge_config.sh12
-rwxr-xr-xscripts/kconfig/nconf-cfg.sh3
-rw-r--r--scripts/kconfig/nconf.c1
-rw-r--r--scripts/kconfig/parser.y22
-rw-r--r--scripts/kconfig/qconf.cc92
-rw-r--r--scripts/kconfig/qconf.h2
-rwxr-xr-xscripts/kconfig/streamline_config.pl4
-rw-r--r--scripts/kconfig/symbol.c31
-rwxr-xr-xscripts/mkmakefile43
-rw-r--r--scripts/mod/Makefile2
-rw-r--r--scripts/mod/mk_elfconfig.c11
-rw-r--r--scripts/mod/modpost.c2
-rw-r--r--scripts/s5p_cksum.c3
-rwxr-xr-xscripts/tags.sh282
-rw-r--r--scripts/tegra/aes_ref.c3
-rw-r--r--scripts/tegra/bct_dump.c3
-rw-r--r--scripts/tegra/cbootimage.c3
-rw-r--r--scripts/tegra/cbootimage.h3
-rw-r--r--scripts/tegra/context.c3
-rw-r--r--scripts/tegra/context.h3
-rw-r--r--scripts/tegra/crypto.c3
-rw-r--r--scripts/tegra/crypto.h3
-rw-r--r--scripts/tegra/data_layout.c3
-rw-r--r--scripts/tegra/data_layout.h3
-rw-r--r--scripts/tegra/nvaes_ref.h3
-rw-r--r--scripts/tegra/parse.c3
-rw-r--r--scripts/tegra/parse.h3
-rw-r--r--scripts/tegra/set.c3
-rw-r--r--scripts/tegra/set.h3
-rw-r--r--scripts/tegra/t114/nvbctlib_t114.c3
-rw-r--r--scripts/tegra/t114/nvboot_bct_t114.h3
-rw-r--r--scripts/tegra/t114/nvboot_sdram_param_t114.h3
-rw-r--r--scripts/tegra/t114/parse_t114.c3
-rw-r--r--scripts/tegra/t124/nvbctlib_t124.c3
-rw-r--r--scripts/tegra/t124/nvboot_bct_t124.h3
-rw-r--r--scripts/tegra/t124/nvboot_sdram_param_t124.h3
-rw-r--r--scripts/tegra/t124/parse_t124.c3
-rw-r--r--scripts/tegra/t20/nvbctlib_t20.c3
-rw-r--r--scripts/tegra/t20/nvboot_bct_t20.h3
-rw-r--r--scripts/tegra/t20/nvboot_sdram_param_t20.h3
-rw-r--r--scripts/tegra/t20/parse_t20.c3
-rw-r--r--scripts/tegra/t30/nvbctlib_t30.c3
-rw-r--r--scripts/tegra/t30/nvboot_bct_t30.h3
-rw-r--r--scripts/tegra/t30/nvboot_sdram_param_t30.h3
-rw-r--r--scripts/tegra/t30/parse_t30.c3
-rw-r--r--scripts/zynq_mkimage.c9
2216 files changed, 60138 insertions, 20102 deletions
diff --git a/Documentation/boards/kvx.rst b/Documentation/boards/kvx.rst
new file mode 100644
index 0000000..2641b00
--- /dev/null
+++ b/Documentation/boards/kvx.rst
@@ -0,0 +1,98 @@
+KVX
+===
+
+The Kalray VLIW processor family (KVX) has the following features:
+ - 32/64 bits execution mode
+ - 6-issue VLIW architecture
+ - 64 x 64bits general purpose registers
+ - SIMD instructions
+ - little-endian
+ - deep learning co-processor
+
+Kalray kv3 core which is the third of the KVX family is embedded in Kalray
+MPPA3-80 SoC currently used on K200 boards.
+
+This SoC contains 5 clusters which are each made of:
+ - 4MiB of on-chip memory
+ - 1 dedicated safety/security core (kv3 core).
+ - 16 PEs (Processing Elements) (kv3 cores).
+ - 16 Co-processors (one per PE)
+ - 2 x Crypto accelerators
+
+MPPA3-80 SoC contains the following features:
+ - 5 x Clusters
+ - 2 x 100G Ethernet controllers
+ - 8 x PCIe GEN4 controllers (Root Complex and Endpoint capable)
+ - 2 x USB 2.0 controllers
+ - 1 x Octal SPI-NOR flash controller
+ - 1 x eMMC controller
+ - 3 x Quad SPI controllers
+ - 6 x UART
+ - 5 x I2C controllers (3 x SMBus capable)
+ - 4 x CAN controller
+ - 1 x OTP memory
+
+The Kalray VLIW architecture barebox port allows to boot it as a second stage
+bootloader (SSBL). It is loaded after the FSBL which initialize DDR and needed
+peripherals. FSBL always start on the Security Core of Cluster 0
+
+The FSBL can load elf files and pass them a device tree loaded from SPI NOR
+flash. As such, barebox should be flashed as an elf file into the SSBL
+partition.
+
+KVX boards
+----------
+
+.. toctree::
+ :glob:
+ :maxdepth: 1
+
+ kvx/*
+
+Getting a toolchain
+-------------------
+
+Pre-built toolchain are available from github ([#f1]_). In order to build one
+from scratch, build scripts are available on github too ([#f2]_).
+Once built or downloaded, a ``kvx-elf-`` toolchain will be available and should
+be added to your ``PATH``.
+
+Building barebox
+----------------
+
+Currently, kvx port is provided with a defconfig named ``generic_defconfig``.
+To build it, first generate the config and then run the build:
+
+.. code-block:: sh
+
+ make ARCH=kvx O=$PWD/build defconfig
+ make ARCH=kvx O=$PWD/build all
+
+This will generate a ``barebox`` elf file. By default barebox for kvx is
+compiled to be run at address 0x110000000.
+
+Booting barebox
+---------------
+
+``barebox`` elf file can be loaded using ``kvx-jtag-runner`` to execute the
+image via JTAG on an existing board.
+
+Depending on your board and barebox version, you should see the following
+message appearing on the serial console.
+
+.. code-block:: console
+
+ barebox 2020.03.0-00126-ga74988bf5 #3 Wed Apr 15 11:31:28 CEST 2020
+
+ Board: KONIC 200 (K200)
+ malloc space: 0x110050fe0 -> 0x200000000 (size 3.7 GiB)
+
+ Hit any to stop autoboot: 3
+ barebox:/
+
+
+.. rubric:: References
+
+.. [#f1] `Toolchain releases <https://github.com/build-scripts/releases>`_
+.. [#f2] `Build scripts <https://github.com/kalray/build-scripts/>`_
+
diff --git a/Documentation/boards/kvx/kalray-k200.rst b/Documentation/boards/kvx/kalray-k200.rst
new file mode 100644
index 0000000..9d97fa2
--- /dev/null
+++ b/Documentation/boards/kvx/kalray-k200.rst
@@ -0,0 +1,11 @@
+Kalray K200
+===========
+
+This board is based on a MPPA3-80 SoC. The board is shipped with:
+
+ - 128MiB NOR flash Memory
+ - 8GiB DDR4 SDRAM
+ - 2 x 100G Ethernet controllers supporting 8 x 1G, 10 and 25G
+ - PCIe GEN4 X16 port
+
+See https://www.kalrayinc.com/portfolio/boards/ for more information.
diff --git a/Documentation/boards/stm32mp.rst b/Documentation/boards/stm32mp.rst
index de793ab..607c59f 100644
--- a/Documentation/boards/stm32mp.rst
+++ b/Documentation/boards/stm32mp.rst
@@ -30,6 +30,7 @@ The resulting images will be placed under ``images/``:
::
barebox-stm32mp157c-dk2.img
+ barebox-stm32mp157c-lxa-mc1.img
Flashing barebox
diff --git a/LICENSES/preferred/MIT b/LICENSES/preferred/MIT
new file mode 100644
index 0000000..f33a68c
--- /dev/null
+++ b/LICENSES/preferred/MIT
@@ -0,0 +1,30 @@
+Valid-License-Identifier: MIT
+SPDX-URL: https://spdx.org/licenses/MIT.html
+Usage-Guide:
+ To use the MIT License put the following SPDX tag/value pair into a
+ comment according to the placement guidelines in the licensing rules
+ documentation:
+ SPDX-License-Identifier: MIT
+License-Text:
+
+MIT License
+
+Copyright (c) <year> <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a
+copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation
+the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/Makefile b/Makefile
index 3b42769..7a620b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0
VERSION = 2020
-PATCHLEVEL = 03
+PATCHLEVEL = 05
SUBLEVEL = 0
EXTRAVERSION =
NAME = None
@@ -10,11 +11,9 @@ NAME = None
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.
-# Do not:
-# o use make's built-in rules and variables
-# (this increases performance and avoids hard-to-debug behaviour);
-# o print "Entering directory ...";
-MAKEFLAGS += -rR --no-print-directory
+# That's our default target when none is given on the command line
+PHONY := _all
+_all:
# We are using a recursive build, so we need to do a little thinking
# to get the ordering right.
@@ -22,8 +21,8 @@ MAKEFLAGS += -rR --no-print-directory
# Most importantly: sub-Makefiles should only ever modify files in
# their own directory. If in some directory we have a dependency on
# a file in another dir (which doesn't happen often, but it's often
-# unavoidable when linking the built-in.o targets which finally
-# turn into barebox), we will call a sub make in that other dir, and
+# unavoidable when linking the built-in.a targets which finally
+# turn into vmlinux), we will call a sub make in that other dir, and
# after that we are sure that everything which is in that other dir
# is now up to date.
#
@@ -32,6 +31,45 @@ MAKEFLAGS += -rR --no-print-directory
# descending is started. They are now explicitly listed as the
# prepare rule.
+ifneq ($(sub_make_done),1)
+
+# Do not use make's built-in rules and variables
+# (this increases performance and avoids hard-to-debug behaviour)
+MAKEFLAGS += -rR
+
+# Avoid funny character set dependencies
+unexport LC_ALL
+LC_COLLATE=C
+LC_NUMERIC=C
+export LC_COLLATE LC_NUMERIC
+
+# Avoid interference with shell env settings
+unexport GREP_OPTIONS
+
+# Beautify output
+# ---------------------------------------------------------------------------
+#
+# Normally, we echo the whole command before executing it. By making
+# that echo $($(quiet)$(cmd)), we now have the possibility to set
+# $(quiet) to choose other forms of output instead, e.g.
+#
+# quiet_cmd_cc_o_c = Compiling $(RELDIR)/$@
+# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
+#
+# If $(quiet) is empty, the whole command will be printed.
+# If it is set to "quiet_", only the short version will be printed.
+# If it is set to "silent_", nothing will be printed at all, since
+# the variable $(silent_cmd_cc_o_c) doesn't exist.
+#
+# A simple variant is to prefix commands with $(Q) - that's useful
+# for commands that shall be hidden in non-verbose mode.
+#
+# $(Q)ln $@ :<
+#
+# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
+# If KBUILD_VERBOSE equals 1 then the above command is displayed.
+# If KBUILD_VERBOSE equals 2 then give the reason why each target is rebuilt.
+#
# To put more focus on warnings, be less verbose as default
# Use 'make V=1' to see the full commands
@@ -42,6 +80,119 @@ ifndef KBUILD_VERBOSE
KBUILD_VERBOSE = 0
endif
+ifeq ($(KBUILD_VERBOSE),1)
+ quiet =
+ Q =
+else
+ quiet=quiet_
+ Q = @
+endif
+
+# If the user is running make -s (silent mode), suppress echoing of
+# commands
+
+ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
+ quiet=silent_
+endif
+
+export quiet Q KBUILD_VERBOSE
+
+# Kbuild will save output files in the current working directory.
+# This does not need to match to the root of the kernel source tree.
+#
+# For example, you can do this:
+#
+# cd /dir/to/store/output/files; make -f /dir/to/kernel/source/Makefile
+#
+# If you want to save output files in a different location, there are
+# two syntaxes to specify it.
+#
+# 1) O=
+# Use "make O=dir/to/store/output/files/"
+#
+# 2) Set KBUILD_OUTPUT
+# Set the environment variable KBUILD_OUTPUT to point to the output directory.
+# export KBUILD_OUTPUT=dir/to/store/output/files/; make
+#
+# The O= assignment takes precedence over the KBUILD_OUTPUT environment
+# variable.
+
+# Do we want to change the working directory?
+ifeq ("$(origin O)", "command line")
+ KBUILD_OUTPUT := $(O)
+endif
+
+ifneq ($(KBUILD_OUTPUT),)
+# Make's built-in functions such as $(abspath ...), $(realpath ...) cannot
+# expand a shell special character '~'. We use a somewhat tedious way here.
+abs_objtree := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) && pwd)
+$(if $(abs_objtree),, \
+ $(error failed to create output directory "$(KBUILD_OUTPUT)"))
+
+# $(realpath ...) resolves symlinks
+abs_objtree := $(realpath $(abs_objtree))
+else
+abs_objtree := $(CURDIR)
+endif # ifneq ($(KBUILD_OUTPUT),)
+
+ifeq ($(abs_objtree),$(CURDIR))
+# Suppress "Entering directory ..." unless we are changing the work directory.
+MAKEFLAGS += --no-print-directory
+else
+need-sub-make := 1
+endif
+
+abs_srctree := $(realpath $(dir $(lastword $(MAKEFILE_LIST))))
+
+ifneq ($(words $(subst :, ,$(abs_srctree))), 1)
+$(error source directory cannot contain spaces or colons)
+endif
+
+ifneq ($(abs_srctree),$(abs_objtree))
+# Look for make include files relative to root of kernel src
+#
+# This does not become effective immediately because MAKEFLAGS is re-parsed
+# once after the Makefile is read. We need to invoke sub-make.
+MAKEFLAGS += --include-dir=$(abs_srctree)
+need-sub-make := 1
+endif
+
+ifneq ($(filter 3.%,$(MAKE_VERSION)),)
+# 'MAKEFLAGS += -rR' does not immediately become effective for GNU Make 3.x
+# We need to invoke sub-make to avoid implicit rules in the top Makefile.
+need-sub-make := 1
+# Cancel implicit rules for this Makefile.
+$(lastword $(MAKEFILE_LIST)): ;
+endif
+
+export abs_srctree abs_objtree
+export sub_make_done := 1
+
+ifeq ($(need-sub-make),1)
+
+PHONY += $(MAKECMDGOALS) sub-make
+
+$(filter-out _all sub-make $(lastword $(MAKEFILE_LIST)), $(MAKECMDGOALS)) _all: sub-make
+ @:
+
+# Invoke a second make in the output directory, passing relevant variables
+sub-make:
+ $(Q)$(MAKE) -C $(abs_objtree) -f $(abs_srctree)/Makefile $(MAKECMDGOALS)
+
+endif # need-sub-make
+endif # sub_make_done
+
+# We process the rest of the Makefile if this is the final invocation of make
+ifeq ($(need-sub-make),)
+
+# CDPATH can have sideeffects; disable, since we do know where we want to cd to
+export CDPATH=
+
+# Do not print "Entering directory ...",
+# but we want to display it when entering to the output directory
+# so that IDEs/editors are able to understand relative filenames.
+MAKEFLAGS += --no-print-directory
+
# Call a source code checker (by default, "sparse") as part of the
# C compilation.
#
@@ -49,8 +200,8 @@ endif
# Use 'make C=2' to enable checking of *all* source files, regardless
# of whether they are re-compiled or not.
#
-# See the file "Documentation/sparse.txt" for more details, including
-# where to get the "sparse" utility.
+# See the file "Documentation/dev-tools/sparse.rst" for more details,
+# including where to get the "sparse" utility.
ifeq ("$(origin C)", "command line")
KBUILD_CHECKSRC = $(C)
@@ -59,91 +210,108 @@ ifndef KBUILD_CHECKSRC
KBUILD_CHECKSRC = 0
endif
-# Use make M=dir to specify directory of external module to build
-# Old syntax make ... SUBDIRS=$PWD is still supported
-# Setting the environment variable KBUILD_EXTMOD take precedence
-ifdef SUBDIRS
- KBUILD_EXTMOD ?= $(SUBDIRS)
-endif
+# Use make M=dir or set the environment variable KBUILD_EXTMOD to specify the
+# directory of external module to build. Setting M= takes precedence.
ifeq ("$(origin M)", "command line")
KBUILD_EXTMOD := $(M)
endif
+export KBUILD_CHECKSRC KBUILD_EXTMOD
-# kbuild supports saving output files in a separate directory.
-# To locate output files in a separate directory two syntaxes are supported.
-# In both cases the working directory must be the root of the kernel src.
-# 1) O=
-# Use "make O=dir/to/store/output/files/"
-#
-# 2) Set KBUILD_OUTPUT
-# Set the environment variable KBUILD_OUTPUT to point to the directory
-# where the output files shall be placed.
-# export KBUILD_OUTPUT=dir/to/store/output/files/
-# make
-#
-# The O= assignment takes precedence over the KBUILD_OUTPUT environment
-# variable.
+ifeq ($(abs_srctree),$(abs_objtree))
+ # building in the source tree
+ building_out_of_srctree :=
+else
+ building_out_of_srctree := 1
+endif
+srctree := $(abs_srctree)
+objtree := $(abs_objtree)
+src := $(srctree)
+obj := $(objtree)
-# KBUILD_SRC is set on invocation of make in OBJ directory
-# KBUILD_SRC is not intended to be used by the regular user (for now)
-ifeq ($(KBUILD_SRC),)
+VPATH := $(srctree)
-# OK, Make called in directory where kernel src resides
-# Do we want to locate output files in a separate directory?
-ifeq ("$(origin O)", "command line")
- KBUILD_OUTPUT := $(O)
-endif
+export building_out_of_srctree srctree objtree VPATH
-# That's our default target when none is given on the command line
-PHONY := _all
-_all:
+# To make sure we do not include .config for any of the *config targets
+# catch them early, and hand them over to scripts/kconfig/Makefile
+# It is allowed to specify more targets when calling make, including
+# mixing *config targets and build targets.
+# For example 'make oldconfig all'.
+# Detect when mixed targets is specified, and make a second invocation
+# of make so .config is not included in this case either (for *config).
-ifneq ($(KBUILD_OUTPUT),)
-# Invoke a second make in the output directory, passing relevant variables
-# check that the output directory actually exists
-saved-output := $(KBUILD_OUTPUT)
-KBUILD_OUTPUT := $(shell mkdir -p $(KBUILD_OUTPUT) && cd $(KBUILD_OUTPUT) \
- && /bin/pwd)
-$(if $(KBUILD_OUTPUT),, \
- $(error failed to create output directory "$(saved-output)"))
+version_h := include/generated/version.h
-PHONY += $(MAKECMDGOALS) sub-make
+clean-targets := %clean mrproper cleandocs
+no-dot-config-targets := $(clean-targets) \
+ cscope gtags TAGS tags help% %docs \
+ $(version_h) kernelversion outputmakefile
+no-sync-config-targets := $(no-dot-config-targets) install %install \
+ kernelrelease
-$(filter-out _all sub-make,$(MAKECMDGOALS)) _all: sub-make
- @:
+config-build :=
+mixed-build :=
+need-config := 1
+may-sync-config := 1
+
+ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
+ ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
+ need-config :=
+ endif
+endif
-sub-make: FORCE
- $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
- KBUILD_SRC=$(CURDIR) \
- KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \
- $(filter-out _all sub-make,$(MAKECMDGOALS))
+ifneq ($(filter $(no-sync-config-targets), $(MAKECMDGOALS)),)
+ ifeq ($(filter-out $(no-sync-config-targets), $(MAKECMDGOALS)),)
+ may-sync-config :=
+ endif
+endif
-# Leave processing to above invocation of make
-skip-makefile := 1
-endif # ifneq ($(KBUILD_OUTPUT),)
-endif # ifeq ($(KBUILD_SRC),)
+ifneq ($(KBUILD_EXTMOD),)
+ may-sync-config :=
+endif
-# We process the rest of the Makefile if this is the final invocation of make
-ifeq ($(skip-makefile),)
+ifeq ($(KBUILD_EXTMOD),)
+ ifneq ($(filter config %config,$(MAKECMDGOALS)),)
+ config-build := 1
+ ifneq ($(words $(MAKECMDGOALS)),1)
+ mixed-build := 1
+ endif
+ endif
+endif
-# If building an external module we do not care about the all: rule
-# but instead _all depend on modules
-PHONY += all
-_all: all
+# For "make -j clean all", "make -j mrproper defconfig all", etc.
+ifneq ($(filter $(clean-targets),$(MAKECMDGOALS)),)
+ ifneq ($(filter-out $(clean-targets),$(MAKECMDGOALS)),)
+ mixed-build := 1
+ endif
+endif
-# CDPATH can have sideeffects; disable, since we do know where we want to cd to
-export CDPATH=
+ifdef mixed-build
+# ===========================================================================
+# We're called with mixed targets (*config and build targets).
+# Handle them one by one.
-srctree := $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
-objtree := $(CURDIR)
-src := $(srctree)
-obj := $(objtree)
+PHONY += $(MAKECMDGOALS) __build_one_by_one
+
+$(filter-out __build_one_by_one, $(MAKECMDGOALS)): __build_one_by_one
+ @:
+
+__build_one_by_one:
+ $(Q)set -e; \
+ for i in $(MAKECMDGOALS); do \
+ $(MAKE) -f $(srctree)/Makefile $$i; \
+ done
+
+else # !mixed-build
-VPATH := $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
+include scripts/Kbuild.include
-export srctree objtree VPATH
+# Read KERNELRELEASE from include/config/kernel.release (if it exists)
+KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
+KERNELVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
+export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
# Cross compiling and selecting different set of gcc/bin-utils
# ---------------------------------------------------------------------------
@@ -170,8 +338,20 @@ CROSS_COMPILE ?=
UTS_MACHINE := $(ARCH)
SRCARCH := $(ARCH)
+ifeq ($(ARCH),arm64)
+ SRCARCH := arm
+endif
+
+# Support ARCH=ppc for backward compatibility
+ifeq ($(ARCH),ppc)
+ SRCARCH := powerpc
+endif
+
KCONFIG_CONFIG ?= .config
+# Default file for 'make defconfig'. This may be overridden by arch-Makefile.
+export KBUILD_DEFCONFIG := defconfig
+
# SHELL used by kbuild
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
else if [ -x /bin/bash ]; then echo /bin/bash; \
@@ -183,84 +363,12 @@ HOST_LFS_LIBS := $(shell getconf LFS_LIBS 2>/dev/null)
HOSTCC = gcc
HOSTCXX = g++
-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer $(HOST_LFS_CFLAGS)
-HOSTCXXFLAGS = -O2 $(HOST_LFS_CFLAGS)
-HOSTLDFLAGS = $(HOST_LFS_LDFLAGS)
-HOST_LOADLIBES = $(HOST_LFS_LIBS)
-
-# Decide whether to build built-in, modular, or both.
-# Normally, just do built-in.
-
-KBUILD_MODULES :=
-KBUILD_BUILTIN := 1
-
-# If we have only "make modules", don't compile built-in objects.
-# When we're building modules with modversions, we need to consider
-# the built-in objects during the descend as well, in order to
-# make sure the checksums are up to date before we record them.
-
-ifeq ($(MAKECMDGOALS),modules)
- KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
-endif
-
-# If we have "make <whatever> modules", compile modules
-# in addition to whatever we do anyway.
-# Just "make" or "make all" shall build modules as well
-
-ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
- KBUILD_MODULES := 1
-endif
-
-export KBUILD_MODULES KBUILD_BUILTIN
-export KBUILD_CHECKSRC KBUILD_SRC
-
-# Beautify output
-# ---------------------------------------------------------------------------
-#
-# Normally, we echo the whole command before executing it. By making
-# that echo $($(quiet)$(cmd)), we now have the possibility to set
-# $(quiet) to choose other forms of output instead, e.g.
-#
-# quiet_cmd_cc_o_c = Compiling $(RELDIR)/$@
-# cmd_cc_o_c = $(CC) $(c_flags) -c -o $@ $<
-#
-# If $(quiet) is empty, the whole command will be printed.
-# If it is set to "quiet_", only the short version will be printed.
-# If it is set to "silent_", nothing will be printed at all, since
-# the variable $(silent_cmd_cc_o_c) doesn't exist.
-#
-# A simple variant is to prefix commands with $(Q) - that's useful
-# for commands that shall be hidden in non-verbose mode.
-#
-# $(Q)ln $@ :<
-#
-# If KBUILD_VERBOSE equals 0 then the above command will be hidden.
-# If KBUILD_VERBOSE equals 1 then the above command is displayed.
-
-ifeq ($(KBUILD_VERBOSE),1)
- quiet =
- Q =
-else
- quiet=quiet_
- Q = @
-endif
-
-# If the user is running make -s (silent mode), suppress echoing of
-# commands
-
-ifneq ($(findstring s,$(MAKEFLAGS)),)
- quiet=silent_
-endif
-
-export quiet Q KBUILD_VERBOSE
-
-
-# Look for make include files relative to root of kernel src
-MAKEFLAGS += --include-dir=$(srctree)
-
-# We need some generic definitions.
-include $(srctree)/scripts/Kbuild.include
-include $(srctree)/scripts/Makefile.lib
+KBUILD_HOSTCFLAGS := -Wall -Wstrict-prototypes -O2 \
+ -fomit-frame-pointer $(HOST_LFS_CFLAGS) \
+ $(HOSTCFLAGS)
+KBUILD_HOSTCXXFLAGS := -Wall -O2 $(HOST_LFS_CFLAGS) $(HOSTCXXFLAGS)
+KBUILD_HOSTLDFLAGS := $(HOST_LFS_LDFLAGS) $(HOSTLDFLAGS)
+KBUILD_HOSTLDLIBS := $(HOST_LFS_LIBS) $(HOSTLDLIBS)
# Make variables (CC, etc...)
@@ -282,6 +390,7 @@ KALLSYMS = scripts/kallsyms
PERL = perl
PYTHON3 = python3
CHECK = sparse
+BASH = bash
CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise $(CF)
CFLAGS_KERNEL =
@@ -297,17 +406,18 @@ export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_ve
# Use LINUXINCLUDE when you must reference the include/ directory.
# Needed to be compatible with the O= option
LINUXINCLUDE := -Iinclude -I$(srctree)/dts/include \
- $(if $(KBUILD_SRC), -I$(srctree)/include) \
- -I$(srctree)/arch/$(ARCH)/include \
- -I$(objtree)/arch/$(ARCH)/include \
+ $(if $(building_out_of_srctree), -I$(srctree)/include) \
+ -I$(srctree)/arch/$(SRCARCH)/include \
+ -I$(objtree)/arch/$(SRCARCH)/include \
-include $(srctree)/include/linux/kconfig.h
-CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
+KBUILD_CPPFLAGS := -D__KERNEL__ -D__BAREBOX__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
-CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
- -Werror-implicit-function-declaration \
- -fno-strict-aliasing -fno-common -Os -pipe -Wmissing-prototypes
-AFLAGS := -D__ASSEMBLY__
+KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
+ -fno-strict-aliasing -fno-common \
+ -Werror=implicit-function-declaration -Werror=implicit-int \
+ -Os -pipe -Wmissing-prototypes
+KBUILD_AFLAGS := -D__ASSEMBLY__
LDFLAGS_barebox := -Map barebox.map
@@ -315,19 +425,15 @@ LDFLAGS_barebox := -Map barebox.map
LDFLAGS_barebox += $(call ld-option, --no-dynamic-linker)
LDFLAGS_pbl += $(call ld-option, --no-dynamic-linker)
-# Read KERNELRELEASE from include/config/kernel.release (if it exists)
-KERNELRELEASE = $(shell cat include/config/kernel.release 2> /dev/null)
-KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
-
-export VERSION PATCHLEVEL SUBLEVEL KERNELRELEASE KERNELVERSION
-export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC
+export ARCH SRCARCH CONFIG_SHELL BASH HOSTCC KBUILD_HOSTCFLAGS CROSS_COMPILE AS LD CC
export CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL PYTHON3 UTS_MACHINE
export LEX YACC
-export HOSTCXX HOSTCXXFLAGS HOSTLDFLAGS HOST_LOADLIBES LDFLAGS_MODULE CHECK CHECKFLAGS
+export HOSTCXX CHECK CHECKFLAGS
+export KBUILD_HOSTCXXFLAGS KBUILD_HOSTLDFLAGS KBUILD_HOSTLDLIBS LDFLAGS_MODULE
-export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
-export CFLAGS CFLAGS_KERNEL
-export AFLAGS AFLAGS_KERNEL
+export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS KBUILD_LDFLAGS
+export KBUILD_CFLAGS CFLAGS_KERNEL
+export KBUILD_AFLAGS AFLAGS_KERNEL
export LDFLAGS_barebox
export LDFLAGS_pbl
@@ -335,78 +441,45 @@ export CFLAGS_UBSAN
# Files to ignore in find ... statements
-RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS -o -name .pc -o -name .hg -o -name .git \) -prune -o
-export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn --exclude CVS --exclude .pc --exclude .hg --exclude .git
+export RCS_FIND_IGNORE := \( -name SCCS -o -name BitKeeper -o -name .svn -o \
+ -name CVS -o -name .pc -o -name .hg -o -name .git \) \
+ -prune -o
+export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \
+ --exclude CVS --exclude .pc --exclude .hg --exclude .git
# ===========================================================================
# Rules shared between *config targets and build targets
-# Basic helpers built in scripts/
+# Basic helpers built in scripts/basic/
PHONY += scripts_basic
scripts_basic:
$(Q)$(MAKE) $(build)=scripts/basic
-# To avoid any implicit rule to kick in, define an empty command.
-scripts/basic/%: scripts_basic ;
-
PHONY += outputmakefile
+# Before starting out-of-tree build, make sure the source tree is clean.
# outputmakefile generates a Makefile in the output directory, if using a
# separate output directory. This allows convenient use of make in the
# output directory.
+# At the same time when output Makefile generated, generate .gitignore to
+# ignore whole output directory
outputmakefile:
-ifneq ($(KBUILD_SRC),)
- $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
- $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
-endif
-
-# To make sure we do not include .config for any of the *config targets
-# catch them early, and hand them over to scripts/kconfig/Makefile
-# It is allowed to specify more targets when calling make, including
-# mixing *config targets and build targets.
-# For example 'make oldconfig all'.
-# Detect when mixed targets is specified, and make a second invocation
-# of make so .config is not included in this case either (for *config).
-
-no-dot-config-targets := clean mrproper distclean \
- cscope TAGS tags help %docs check% \
- include/generated/version.h headers_% \
- kernelrelease kernelversion
-
-config-targets := 0
-mixed-targets := 0
-dot-config := 1
-
-ifneq ($(filter $(no-dot-config-targets), $(MAKECMDGOALS)),)
- ifeq ($(filter-out $(no-dot-config-targets), $(MAKECMDGOALS)),)
- dot-config := 0
- endif
-endif
-
-ifneq ($(filter config %config,$(MAKECMDGOALS)),)
- config-targets := 1
- ifneq ($(filter-out config %config,$(MAKECMDGOALS)),)
- mixed-targets := 1
- endif
+ifdef building_out_of_srctree
+ $(Q)if [ -f $(srctree)/.config -o \
+ -d $(srctree)/include/config -o \
+ -d $(srctree)/arch/$(SRCARCH)/include/generated ]; then \
+ echo >&2 "***"; \
+ echo >&2 "*** The source tree is not clean, please run 'make$(if $(findstring command line, $(origin ARCH)), ARCH=$(ARCH)) mrproper'"; \
+ echo >&2 "*** in $(abs_srctree)";\
+ echo >&2 "***"; \
+ false; \
+ fi
+ $(Q)ln -fsn $(srctree) source
+ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree)
+ $(Q)test -e .gitignore || \
+ { echo "# this is build directory, ignore it"; echo "*"; } > .gitignore
endif
-ifeq ($(mixed-targets),1)
-# ===========================================================================
-# We're called with mixed targets (*config and build targets).
-# Handle them one by one.
-
-PHONY += $(MAKECMDGOALS) __build_one_by_one
-
-$(filter-out __build_one_by_one, $(MAKECMDGOALS)): __build_one_by_one
- @:
-
-__build_one_by_one:
- $(Q)set -e; \
- for i in $(MAKECMDGOALS); do \
- $(MAKE) -f $(srctree)/Makefile $$i; \
- done
-
-else
-ifeq ($(config-targets),1)
+ifdef config-build
# ===========================================================================
# *config targets only - make sure prerequisites are updated, and descend
# in scripts/kconfig to make the *config target
@@ -414,33 +487,68 @@ ifeq ($(config-targets),1)
# Read arch specific Makefile to set KBUILD_DEFCONFIG as needed.
# KBUILD_DEFCONFIG may point out an alternative default configuration
# used for 'make defconfig'
-include $(srctree)/arch/$(ARCH)/Makefile
+include $(srctree)/arch/$(SRCARCH)/Makefile
export KBUILD_DEFCONFIG
-config: scripts_basic outputmakefile FORCE
+config: outputmakefile scripts_basic FORCE
$(Q)$(MAKE) $(build)=scripts/kconfig $@
-%config: scripts_basic outputmakefile FORCE
+%config: outputmakefile scripts_basic FORCE
$(Q)$(MAKE) $(build)=scripts/kconfig $@
-else
+else #!config-build
# ===========================================================================
# Build targets only - this includes barebox, arch specific targets, clean
# targets and others. In general all targets except *config targets.
-# Additional helpers built in scripts/
-# Carefully list dependencies so we do not try to build scripts twice
-# in parallel
-PHONY += scripts
-scripts: scripts_basic
- $(Q)$(MAKE) $(build)=$(@)
+# If building an external module we do not care about the all: rule
+# but instead _all depend on modules
+PHONY += all
+ifeq ($(KBUILD_EXTMOD),)
+_all: all
+else
+_all: modules
+endif
+
+# Decide whether to build built-in, modular, or both.
+# Normally, just do built-in.
+
+KBUILD_MODULES :=
+KBUILD_BUILTIN := 1
+
+# If we have only "make modules", don't compile built-in objects.
+# When we're building modules with modversions, we need to consider
+# the built-in objects during the descend as well, in order to
+# make sure the checksums are up to date before we record them.
+
+ifeq ($(MAKECMDGOALS),modules)
+ KBUILD_BUILTIN := $(if $(CONFIG_MODVERSIONS),1)
+endif
+
+# If we have "make <whatever> modules", compile modules
+# in addition to whatever we do anyway.
+# Just "make" or "make all" shall build modules as well
+
+ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
+ KBUILD_MODULES := 1
+endif
+
+export KBUILD_MODULES KBUILD_BUILTIN
+
+ifdef need-config
+include include/config/auto.conf
+endif
+
+# We need some generic definitions.
+include $(srctree)/scripts/Makefile.lib
# Objects we will link into barebox / subdirs we need to visit
common-y := common/ drivers/ commands/ lib/ crypto/ net/ fs/ firmware/
-ifeq ($(dot-config),1)
-include include/config/auto.conf
+include $(srctree)/arch/$(SRCARCH)/Makefile
+ifdef need-config
+ifdef may-sync-config
# Read in dependencies to all Kconfig* files, make sure to run syncconfig if
# changes are detected. This should be included after arch/$(SRCARCH)/Makefile
# because some architectures define CROSS_COMPILE there.
@@ -461,39 +569,54 @@ $(KCONFIG_CONFIG):
#
# This exploits the 'multi-target pattern rule' trick.
# The syncconfig should be executed only once to make all the targets.
-%/auto.conf %/auto.conf.cmd %/tristate.conf: $(KCONFIG_CONFIG)
+# (Note: use the grouped target '&:' when we bump to GNU Make 4.3)
+%/auto.conf %/auto.conf.cmd: $(KCONFIG_CONFIG)
$(Q)$(MAKE) -f $(srctree)/Makefile syncconfig
-endif # $(dot-config)
-
-include $(srctree)/arch/$(ARCH)/Makefile
-
-CFLAGS += -ggdb3
+else # !may-sync-config
+# External modules and some install targets need include/generated/autoconf.h
+# and include/config/auto.conf but do not care if they are up-to-date.
+# Use auto.conf to trigger the test
+PHONY += include/config/auto.conf
+
+include/config/auto.conf:
+ $(Q)test -e include/generated/autoconf.h -a -e $@ || ( \
+ echo >&2; \
+ echo >&2 " ERROR: Kernel configuration is invalid."; \
+ echo >&2 " include/generated/autoconf.h or $@ are missing.";\
+ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
+ echo >&2 ; \
+ /bin/false)
+
+endif # may-sync-config
+endif # need-config
+
+KBUILD_CFLAGS += -ggdb3
# Force gcc to behave correct even for buggy distributions
-CFLAGS += $(call cc-option, -fno-stack-protector)
+KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
# This warning generated too much noise in a regular build.
# Use make W=1 to enable this warning (see scripts/Makefile.build)
-CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
+KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
-CFLAGS += $(call cc-disable-warning, trampolines)
+KBUILD_CFLAGS += $(call cc-disable-warning, trampolines)
-CFLAGS += $(call cc-option, -fno-delete-null-pointer-checks,)
+KBUILD_CFLAGS += $(call cc-option, -fno-delete-null-pointer-checks,)
-CFLAGS += $(call cc-disable-warning, address-of-packed-member)
+KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
# arch Makefile may override CC so keep this after arch Makefile is included
NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
CHECKFLAGS += $(NOSTDINC_FLAGS)
# warn about C99 declaration after statement
-CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
+KBUILD_CFLAGS += $(call cc-option,-Wdeclaration-after-statement,)
# disable pointer signed / unsigned warnings in gcc 4.0
-CFLAGS += $(call cc-option,-Wno-pointer-sign,)
+KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
# change __FILE__ to the relative path from the srctree
-CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
+KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=)
include $(srctree)/scripts/Makefile.ubsan
@@ -507,7 +630,7 @@ export KBUILD_IMAGE ?= barebox.bin
export KBUILD_BINARY ?= barebox.bin
# KBUILD_IMAGE and _BINARY may be overruled on the command line or
# set in the environment.
-# Also any assignments in arch/$(ARCH)/Makefile take precedence over
+# Also any assignments in arch/$(SRCARCH)/Makefile take precedence over
# the default value.
barebox-flash-image: $(KBUILD_IMAGE) FORCE
@@ -561,7 +684,7 @@ export DEFAULT_COMPRESSION_SUFFIX
# ---------------------------------------------------------------------------
# barebox is built from the objects selected by $(barebox-init) and
# $(barebox-main). Most are built-in.o files from top-level directories
-# in the kernel tree, others are specified in arch/$(ARCH)Makefile.
+# in the kernel tree, others are specified in arch/$(SRCARCH)/Makefile.
# Ordering when linking is important, and $(barebox-init) must be first.
#
# FIXME: This picture is wrong for barebox. We have no init, driver, mm
@@ -588,9 +711,9 @@ export BAREBOX_PBL_OBJS := $(pbl-common-y)
BAREBOX_LDS := $(lds-y)
# Rule to link barebox
-# May be overridden by arch/$(ARCH)/Makefile
+# May be overridden by arch/$(SRCARCH)/Makefile
quiet_cmd_barebox__ ?= LD $@
- cmd_barebox__ ?= $(LD) $(LDFLAGS) $(LDFLAGS_barebox) -o $@ \
+ cmd_barebox__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_barebox) -o $@ \
-T $(BAREBOX_LDS) \
--start-group $(BAREBOX_OBJS) --end-group \
$(filter-out $(BAREBOX_LDS) $(BAREBOX_OBJS) FORCE ,$^)
@@ -608,28 +731,18 @@ quiet_cmd_barebox_version = GEN .version
$(MAKE) $(build)=common
# Generate System.map
-quiet_cmd_sysmap = SYSMAP
- cmd_sysmap = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap
+quiet_cmd_sysmap = SYSMAP System.map
+ cmd_sysmap = $(CONFIG_SHELL) $(srctree)/scripts/mksysmap $@ System.map
# Link of barebox
# If CONFIG_KALLSYMS is set .version is already updated
# Generate System.map and verify that the content is consistent
# Use + in front of the barebox_version rule to silent warning with make -j2
-# First command is ':' to allow us to use + in front of the rule
define rule_barebox__
- :
$(if $(CONFIG_KALLSYMS),,+$(call cmd,barebox_version))
$(call cmd,barebox__)
-
$(Q)echo 'cmd_$@ := $(cmd_barebox__)' > $(@D)/.$(@F).cmd
-
- $(Q)$(if $($(quiet)cmd_sysmap), \
- echo ' $($(quiet)cmd_sysmap) System.map' &&) \
- $(cmd_sysmap) $@ System.map; \
- if [ $$? -ne 0 ]; then \
- rm -f $@; \
- false; \
- fi;
+ $(call cmd,sysmap)
endef
ifdef CONFIG_KALLSYMS
@@ -670,10 +783,8 @@ endef
# Update barebox version before link
# Use + in front of this rule to silent warning about make -j1
-# First command is ':' to allow us to use + in front of this rule
cmd_ksym_ld = $(cmd_barebox__)
define rule_ksym_ld
- :
+$(call cmd,barebox_version)
$(call cmd,barebox__)
$(Q)echo 'cmd_$@ := $(cmd_barebox__)' > $(@D)/.$(@F).cmd
@@ -729,7 +840,7 @@ UIMAGE_BASE ?= $(shell printf "0x%08x" $$(($(CONFIG_TEXT_BASE) - 0x200000)))
# For development provide a target which makes barebox loadable by an
# unmodified u-boot
quiet_cmd_barebox_mkimage = MKIMAGE $@
- cmd_barebox_mkimage = $(srctree)/scripts/mkimage -A $(ARCH) -T firmware -C none \
+ cmd_barebox_mkimage = $(srctree)/scripts/mkimage -A $(SRCARCH) -T firmware -C none \
-O barebox -a $(UIMAGE_BASE) -e $(UIMAGE_BASE) \
-n "barebox $(KERNELRELEASE)" -d $< $@
@@ -793,6 +904,13 @@ include/config/kernel.release: FORCE
$(Q)rm -f $@
$(Q)echo $(KERNELVERSION)$(localversion) > $@
+# Additional helpers built in scripts/
+# Carefully list dependencies so we do not try to build scripts twice
+# in parallel
+PHONY += scripts
+scripts: scripts_basic
+ $(Q)$(MAKE) $(build)=$(@)
+
# Things we need to do before we recursively start building the kernel
# or the modules are listed in "prepare".
# A multi level approach is used. prepareN is processed before prepareN-1.
@@ -800,47 +918,25 @@ include/config/kernel.release: FORCE
# version.h and scripts_basic is processed / created.
# Listed in dependency order
-PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
-
-# prepare-all is deprecated, use prepare as valid replacement
-PHONY += prepare-all
-
-# prepare3 is used to check if we are building in a separate output directory,
-# and if so do:
-# 1) Check that make has not been executed in the kernel src $(srctree)
-prepare3: include/config/kernel.release
-ifneq ($(KBUILD_SRC),)
- @echo ' Using $(srctree) as source for barebox'
- $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
- echo " $(srctree) is not clean, please run 'make mrproper'";\
- echo " in the '$(srctree)' directory.";\
- false; \
- fi;
-endif
+PHONY += prepare archprepare prepare0
-# prepare2 creates a makefile if using a separate output directory
-prepare2: prepare3 outputmakefile
-
-prepare1: prepare2 include/generated/version.h include/generated/utsrelease.h \
- include/config.h
+archprepare: outputmakefile scripts_basic include/config/kernel.release \
+ $(version_h) include/generated/utsrelease.h include/config.h
+prepare0: archprepare FORCE
ifneq ($(KBUILD_MODULES),)
$(Q)mkdir -p $(MODVERDIR)
$(Q)rm -f $(MODVERDIR)/*
endif
-
-archprepare: prepare1 scripts_basic
-
-prepare0: archprepare FORCE
$(Q)$(MAKE) $(build)=.
# All the preparing..
-prepare prepare-all: prepare0
+prepare: prepare0
# Leave this as default for preprocessing barebox.lds.S, which is now
-# done in arch/$(ARCH)/kernel/Makefile
+# done in arch/$(SRCARCH)/kernel/Makefile
-export CPPFLAGS_barebox.lds += -C -U$(ARCH)
+export CPPFLAGS_barebox.lds += -C -U$(SRCARCH)
define symlink-config-h
if [ -f $(srctree)/$(BOARD)/config.h ]; then \
@@ -869,16 +965,16 @@ define filechk_utsrelease.h
echo '"$(KERNELRELEASE)" exceeds $(uts_len) characters' >&2; \
exit 1; \
fi; \
- (echo \#define UTS_RELEASE \"$(KERNELRELEASE)\";)
+ echo \#define UTS_RELEASE \"$(KERNELRELEASE)\"
endef
define filechk_version.h
- (echo \#define LINUX_VERSION_CODE $(shell \
- expr $(VERSION) \* 65536 + $(PATCHLEVEL) \* 256 + $(SUBLEVEL)); \
- echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
+ echo \#define LINUX_VERSION_CODE $(shell \
+ expr $(VERSION) \* 65536 + 0$(PATCHLEVEL) \* 256 + 0$(SUBLEVEL)); \
+ echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))'
endef
-include/generated/version.h: $(srctree)/Makefile FORCE
+include/generated/version.h: FORCE
$(call filechk,version.h)
include/generated/utsrelease.h: include/config/kernel.release FORCE
@@ -1039,7 +1135,7 @@ rpm: include/config/kernel.release FORCE
# Brief documentation of the typical targets used
# ---------------------------------------------------------------------------
-boards := $(wildcard $(srctree)/arch/$(ARCH)/configs/*_defconfig)
+boards := $(wildcard $(srctree)/arch/$(SRCARCH)/configs/*_defconfig)
boards := $(sort $(notdir $(boards)))
help:
@@ -1066,13 +1162,10 @@ help:
@echo 'Static analysers'
@echo ' checkstack - Generate a list of stack hogs'
@echo ' namespacecheck - Name space analysis on compiled kernel'
- @if [ -r include/asm-$(ARCH)/Kbuild ]; then \
- echo ' headers_check - Sanity check on exported headers'; \
- fi
@echo ''
- @echo 'Architecture specific targets ($(ARCH)):'
+ @echo 'Architecture specific targets ($(SRCARCH)):'
@$(if $(archhelp),$(archhelp),\
- echo ' No architecture specific help defined for $(ARCH)')
+ echo ' No architecture specific help defined for $(SRCARCH)')
@echo ''
@$(if $(boards), \
$(foreach b, $(boards), \
@@ -1091,9 +1184,9 @@ help:
# Generate tags for editors
# ---------------------------------------------------------------------------
quiet_cmd_tags = GEN $@
- cmd_tags = $(CONFIG_SHELL) $(srctree)/scripts/tags.sh $@
+ cmd_tags = $(BASH) $(srctree)/scripts/tags.sh $@
-tags TAGS cscope: FORCE
+tags TAGS cscope gtags: FORCE
$(call cmd,tags)
SPHINXBUILD = sphinx-build
@@ -1105,9 +1198,6 @@ docs: FORCE
@$(SPHINXBUILD) -b html -d $(objtree)/doctrees $(srctree)/Documentation \
$(objtree)/Documentation/html
-endif #ifeq ($(config-targets),1)
-endif #ifeq ($(mixed-targets),1)
-
# Single targets
# ---------------------------------------------------------------------------
# Single targets are compatible with:
@@ -1154,8 +1244,8 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files))
cmd_rmfiles = rm -f $(rm-files)
-a_flags = -Wp,-MD,$(depfile) $(AFLAGS) $(AFLAGS_KERNEL) \
- $(NOSTDINC_FLAGS) $(CPPFLAGS) \
+a_flags = -Wp,-MD,$(depfile) $(KBUILD_AFLAGS) $(AFLAGS_KERNEL) \
+ $(NOSTDINC_FLAGS) $(KBUILD_CPPFLAGS) \
$(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(basetarget).o)
quiet_cmd_as_o_S = AS $@
@@ -1171,14 +1261,13 @@ ifneq ($(cmd_files),)
include $(cmd_files)
endif
-endif # skip-makefile
+endif # config-build
+endif # mixed-build
+endif # need-sub-make
PHONY += FORCE
FORCE:
-# Cancel implicit rules on top Makefile, `-rR' will apply to sub-makes.
-Makefile: ;
-
# Declare the contents of the PHONY variable as phony. We keep that
# information in a variable so we can use it in if_changed and friends.
.PHONY: $(PHONY)
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index 29fd8e2..6c7373c 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -1,19 +1,19 @@
KBUILD_DEFCONFIG := qemu_virt64_defconfig
-CPPFLAGS += -D__ARM__ -fno-strict-aliasing
+KBUILD_CPPFLAGS += -D__ARM__ -fno-strict-aliasing
# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb:
ifeq ($(CONFIG_CPU_V8),y)
-CPPFLAGS +=$(call cc-option,-maarch64,)
+KBUILD_CPPFLAGS +=$(call cc-option,-maarch64,)
else
-CPPFLAGS +=$(call cc-option,-marm,)
+KBUILD_CPPFLAGS +=$(call cc-option,-marm,)
endif
ifeq ($(CONFIG_CPU_BIG_ENDIAN),y)
-CPPFLAGS += -mbig-endian
+KBUILD_CPPFLAGS += -mbig-endian
AS += -EB
LD += -EB
else
-CPPFLAGS += -mlittle-endian
+KBUILD_CPPFLAGS += -mlittle-endian
AS += -EL
LD += -EL
endif
@@ -23,14 +23,14 @@ endif
# conservative and instruct the compiler not to generate any unaligned
# accesses
ifneq ($(CONFIG_CPU_V8),y)
-CFLAGS += -mno-unaligned-access
+KBUILD_CFLAGS += -mno-unaligned-access
else
-CFLAGS += -mstrict-align
+KBUILD_CFLAGS += -mstrict-align
endif
# Prevent use of floating point and Advanced SIMD registers.
ifeq ($(CONFIG_CPU_V8),y)
-CFLAGS += -mgeneral-regs-only
+KBUILD_CFLAGS += -mgeneral-regs-only
endif
# This selects which instruction set is used.
@@ -70,12 +70,12 @@ AFLAGS_THUMB2 :=$(CFLAGS_THUMB2) -Wa$(comma)-mthumb
endif
ifeq ($(CONFIG_CPU_V8), y)
-CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y)
-AFLAGS += -include asm/unified.h
+KBUILD_CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y)
+KBUILD_AFLAGS += -include asm/unified.h
export S64 = _64
else
-CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float $(CFLAGS_THUMB2)
-AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2)
+KBUILD_CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float $(CFLAGS_THUMB2)
+KBUILD_AFLAGS += -include asm/unified.h -msoft-float $(AFLAGS_THUMB2)
endif
# Machine directory name. This list is sorted alphanumerically
@@ -127,23 +127,19 @@ board-$(CONFIG_MACH_TINY6410) += friendlyarm-tiny6410
machdirs := $(patsubst %,arch/arm/mach-%/,$(machine-y))
-ifeq ($(KBUILD_SRC),)
-CPPFLAGS += $(patsubst %,-I%include,$(machdirs))
-else
-CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))
-endif
+KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%include,$(machdirs))
TEXT_BASE = $(CONFIG_TEXT_BASE)
-CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE)
+KBUILD_CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE)
# Add cleanup flags
-CPPFLAGS += -fdata-sections -ffunction-sections
+KBUILD_CPPFLAGS += -fdata-sections -ffunction-sections
LDFLAGS_barebox += --gc-sections
LDFLAGS_pbl += --gc-sections
# early code often runs at addresses we are not linked at
-CPPFLAGS += -fPIE
+KBUILD_CPPFLAGS += -fPIE
ifdef CONFIG_RELOCATABLE
LDFLAGS_barebox += -pie
diff --git a/arch/arm/boards/Makefile b/arch/arm/boards/Makefile
index 9fe458e..e9e9163 100644