From c9f02412c3badd15b2c2fe12e8b92cbfef6d712d Mon Sep 17 00:00:00 2001 From: Nixevol Date: Tue, 1 Dec 2026 13:56:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=8A=E5=86=85=E6=A0=B8=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E6=88=90=20GitHub=20=E5=8E=9F=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../debian/UFI003_MB_V02/kernel/.clippy.toml | 22 +-- .../debian/UFI003_MB_V02/kernel/.editorconfig | 58 ++++---- .../debian/UFI003_MB_V02/kernel/.rustfmt.toml | 24 ++-- image/debian/UFI003_MB_V02/kernel/COPYING | 40 +++--- .../kernel/Documentation/ABI/obsolete/o2cb | 22 +-- .../Documentation/ABI/obsolete/procfs-i8k | 20 +-- .../Documentation/ABI/obsolete/sysfs-cpuidle | 18 +-- .../ABI/obsolete/sysfs-driver-hid-roccat-lua | 14 +- .../ABI/obsolete/sysfs-firmware-acpi | 16 +-- .../obsolete/sysfs-kernel-fadump_registered | 20 +-- .../obsolete/sysfs-kernel-fadump_release_mem | 20 +-- .../kernel/Documentation/ABI/removed/devfs | 26 ++-- .../kernel/Documentation/ABI/removed/o2cb | 20 +-- .../ABI/removed/sysfs-class-rfkill | 26 ++-- .../ABI/removed/sysfs-firmware-efi-vars | 24 ++-- .../kernel/Documentation/ABI/stable/o2cb | 20 +-- .../kernel/Documentation/ABI/stable/syscalls | 20 +-- .../Documentation/ABI/stable/sysfs-bus-w1 | 24 ++-- .../ABI/stable/sysfs-driver-qla2xxx | 16 +-- .../ABI/stable/sysfs-driver-w1_ds2438 | 26 ++-- .../ABI/testing/configfs-usb-gadget-acm | 30 ++-- .../ABI/testing/configfs-usb-gadget-ecm | 40 +++--- .../ABI/testing/configfs-usb-gadget-eem | 32 ++--- .../ABI/testing/configfs-usb-gadget-ffs | 34 ++--- .../ABI/testing/configfs-usb-gadget-hid | 26 ++-- .../ABI/testing/configfs-usb-gadget-midi | 28 ++-- .../ABI/testing/configfs-usb-gadget-ncm | 30 ++-- .../testing/configfs-usb-gadget-sourcesink | 32 ++--- .../ABI/testing/configfs-usb-gadget-subset | 32 ++--- .../testing/configfs-usb-gadget-uac1_legacy | 24 ++-- .../Documentation/ABI/testing/debugfs-ideapad | 38 ++--- .../ABI/testing/debugfs-iio-backend | 40 +++--- .../ABI/testing/debugfs-msi-wmi-platform | 28 ++-- .../Documentation/ABI/testing/debugfs-olpc | 32 ++--- .../Documentation/ABI/testing/debugfs-pktcdvd | 36 ++--- .../ABI/testing/debugfs-turris-mox-rwtm | 28 ++-- .../Documentation/ABI/testing/sysfs-amd-pmc | 26 ++-- .../Documentation/ABI/testing/sysfs-amd-pmf | 26 ++-- .../ABI/testing/sysfs-bus-auxiliary | 18 +-- .../sysfs-bus-coresight-devices-funnel | 24 ++-- .../testing/sysfs-bus-coresight-devices-trbe | 28 ++-- .../Documentation/ABI/testing/sysfs-bus-dfl | 34 ++--- .../sysfs-bus-event_source-devices-uncore | 26 ++-- .../ABI/testing/sysfs-bus-fsi-devices-sbefifo | 20 +-- .../ABI/testing/sysfs-bus-i2c-devices-lm3533 | 30 ++-- .../ABI/testing/sysfs-bus-iio-adc-ad7280a | 26 ++-- .../ABI/testing/sysfs-bus-iio-adc-max11410 | 26 ++-- .../ABI/testing/sysfs-bus-iio-adc-pac1934 | 18 +-- .../ABI/testing/sysfs-bus-iio-cdc-ad7746 | 22 +-- .../ABI/testing/sysfs-bus-iio-chemical-sgp40 | 34 ++--- .../ABI/testing/sysfs-bus-iio-distance-srf08 | 34 ++--- .../ABI/testing/sysfs-bus-iio-humidity | 20 +-- .../ABI/testing/sysfs-bus-iio-light-tsl2772 | 26 ++-- .../testing/sysfs-bus-iio-proximity-as3935 | 30 ++-- .../ABI/testing/sysfs-bus-iio-sx9310 | 20 +-- .../ABI/testing/sysfs-bus-iio-vf610 | 32 ++--- .../ABI/testing/sysfs-bus-moxtet-devices | 34 ++--- .../ABI/testing/sysfs-bus-pci-devices-catpt | 34 ++--- .../Documentation/ABI/testing/sysfs-bus-peci | 32 ++--- .../ABI/testing/sysfs-cfq-target-latency | 16 +-- .../Documentation/ABI/testing/sysfs-class | 32 ++--- .../ABI/testing/sysfs-class-backlight-lm3639 | 22 +-- .../ABI/testing/sysfs-class-fpga-bridge | 22 +-- .../ABI/testing/sysfs-class-fpga-region | 18 +-- .../ABI/testing/sysfs-class-gnss | 34 ++--- .../ABI/testing/sysfs-class-iommu | 34 ++--- .../ABI/testing/sysfs-class-iommu-amd-iommu | 28 ++-- .../testing/sysfs-class-led-trigger-usbport | 26 ++-- .../ABI/testing/sysfs-class-leds-gt683r | 36 ++--- .../Documentation/ABI/testing/sysfs-class-mux | 32 ++--- .../ABI/testing/sysfs-class-power-surface | 30 ++-- .../ABI/testing/sysfs-class-rc-nuvoton | 30 ++-- .../ABI/testing/sysfs-class-stm_source | 22 +-- .../ABI/testing/sysfs-devices-consumer | 18 +-- .../ABI/testing/sysfs-devices-coredump | 20 +-- .../testing/sysfs-devices-power_resources_D0 | 26 ++-- .../testing/sysfs-devices-power_resources_D1 | 28 ++-- .../testing/sysfs-devices-power_resources_D2 | 28 ++-- .../sysfs-devices-power_resources_wakeup | 26 ++-- .../ABI/testing/sysfs-devices-resource_in_use | 24 ++-- .../ABI/testing/sysfs-devices-software_node | 20 +-- .../ABI/testing/sysfs-devices-sun | 28 ++-- .../ABI/testing/sysfs-devices-supplier | 18 +-- .../ABI/testing/sysfs-driver-eud | 18 +-- .../ABI/testing/sysfs-driver-fsi-master-gpio | 20 +-- .../ABI/testing/sysfs-driver-hid-corsair | 30 ++-- .../ABI/testing/sysfs-driver-hid-multitouch | 18 +-- .../ABI/testing/sysfs-driver-input-axp-pek | 22 +-- .../testing/sysfs-driver-panfrost-profiling | 20 +-- .../Documentation/ABI/testing/sysfs-driver-st | 24 ++-- .../ABI/testing/sysfs-driver-tegra-fuse | 22 +-- .../ABI/testing/sysfs-kernel-mm-hugepages | 34 ++--- .../sysfs-kernel-mm-transparent-hugepage | 36 ++--- .../ABI/testing/sysfs-kernel-vmcoreinfo | 28 ++-- .../ABI/testing/sysfs-platform-brcmstb-memc | 30 ++-- .../ABI/testing/sysfs-platform-dell-smbios | 42 +++--- .../sysfs-platform-intel-wmi-sbl-fw-update | 26 ++-- .../sysfs-platform-intel-wmi-thunderbolt | 24 ++-- .../testing/sysfs-platform-phy-rcar-gen3-usb2 | 34 ++--- .../testing/sysfs-platform-power-on-reason | 24 ++-- .../ABI/testing/sysfs-platform-renesas_usb3 | 34 ++--- .../ABI/testing/sysfs-platform-sst-atom | 52 +++---- .../ABI/testing/sysfs-platform-tahvo-usb | 32 ++--- .../kernel/Documentation/RCU/index.rst | 74 +++++----- .../Documentation/accel/qaic/aic080.rst | 28 ++-- .../Documentation/admin-guide/abi-stable.rst | 28 ++-- .../admin-guide/aoe/examples.rst | 46 +++---- .../admin-guide/blockdev/drbd/index.rst | 38 ++--- .../blockdev/drbd/peer-states-8.dot | 16 +-- .../admin-guide/cgroup-v1/index.rst | 62 ++++----- .../admin-guide/device-mapper/index.rst | 96 ++++++------- .../admin-guide/hw-vuln/index.rst | 52 +++---- .../Documentation/admin-guide/kdump/index.rst | 40 +++--- .../admin-guide/media/cx18-cardlist.rst | 34 ++--- .../media/dvb-usb-af9005-cardlist.rst | 40 +++--- .../media/dvb-usb-az6007-cardlist.rst | 40 +++--- .../media/dvb-usb-az6027-cardlist.rst | 48 +++---- .../media/dvb-usb-ce6230-cardlist.rst | 36 ++--- .../media/dvb-usb-dtt200u-cardlist.rst | 44 +++--- .../media/dvb-usb-gl861-cardlist.rst | 40 +++--- .../media/dvb-usb-gp8psk-cardlist.rst | 44 +++--- .../media/dvb-usb-lmedm04-cardlist.rst | 40 +++--- .../media/dvb-usb-m920x-cardlist.rst | 52 +++---- .../media/dvb-usb-pctv452e-cardlist.rst | 40 +++--- .../media/dvb-usb-ttusb2-cardlist.rst | 48 +++---- .../media/dvb-usb-vp7045-cardlist.rst | 36 ++--- .../admin-guide/media/opera-firmware.rst | 66 ++++----- .../admin-guide/media/v4l-drivers.rst | 72 +++++----- .../admin-guide/media/zoran-cardlist.rst | 102 +++++++------- .../admin-guide/mm/damon/index.rst | 34 ++--- .../Documentation/admin-guide/perf/index.rst | 56 ++++---- .../Documentation/arch/arm/omap/omap.rst | 36 ++--- .../arch/arm/sti/stih407-overview.rst | 38 ++--- .../arch/arm/sti/stih418-overview.rst | 42 +++--- .../arch/arm/stm32/stm32mp157-overview.rst | 40 +++--- .../kernel/Documentation/arch/arm64/index.rst | 78 +++++------ .../kernel/Documentation/arch/index.rst | 54 ++++---- .../kernel/Documentation/arch/riscv/acpi.rst | 20 +-- .../kernel/Documentation/arch/s390/index.rst | 62 ++++----- .../kernel/Documentation/arch/sh/booting.rst | 24 ++-- .../kernel/Documentation/arch/x86/index.rst | 90 ++++++------ .../Documentation/block/kyber-iosched.rst | 30 ++-- .../bpf/standardization/index.rst | 36 ++--- .../core-api/wrappers/memory-barriers.rst | 36 ++--- .../kernel/Documentation/crypto/api-rng.rst | 28 ++-- .../crypto/device_drivers/octeontx2.rst | 50 +++---- .../kernel/Documentation/crypto/index.rst | 56 ++++---- .../dev-tools/kunit/api/resource.rst | 44 +++--- .../devicetree/bindings/arc/pct.txt | 40 +++--- .../arm/altera/socfpga-clk-manager.yaml | 66 ++++----- .../arm/altera/socfpga-sdram-edac.txt | 30 ++-- .../bindings/arm/altera/socfpga-system.txt | 50 +++---- .../devicetree/bindings/arm/amd,pensando.yaml | 52 +++---- .../devicetree/bindings/arm/axxia.yaml | 46 +++---- .../bindings/arm/bcm/brcm,bcm11351.yaml | 46 +++---- .../bindings/arm/bcm/brcm,bcm21664.yaml | 46 +++---- .../bindings/arm/bcm/brcm,bcm23550.yaml | 46 +++---- .../devicetree/bindings/arm/bcm/brcm,ns2.yaml | 50 +++---- .../bindings/arm/bcm/brcm,stingray.yaml | 52 +++---- .../bindings/arm/bcm/brcm,vulcan-soc.yaml | 48 +++---- .../devicetree/bindings/arm/bitmain.yaml | 46 +++---- .../devicetree/bindings/arm/calxeda.yaml | 48 +++---- .../devicetree/bindings/arm/digicolor.yaml | 40 +++--- .../hisilicon/controller/hip04-fabric.yaml | 54 ++++---- .../arm/hisilicon/controller/pctrl.yaml | 68 ++++----- .../devicetree/bindings/arm/hpe,gxp.yaml | 54 ++++---- .../bindings/arm/intel,keembay.yaml | 48 +++---- .../bindings/arm/linux,dummy-virt.yaml | 40 +++--- .../arm/marvell/armada-370-xp-pmsu.txt | 42 +++--- .../marvell/armada-380-mpcore-soc-ctrl.txt | 28 ++-- .../bindings/arm/marvell/armada-8kp.txt | 30 ++-- .../bindings/arm/marvell/armada-cpu-reset.txt | 28 ++-- .../bindings/arm/marvell/mvebu-cpu-config.txt | 40 +++--- .../arm/marvell/mvebu-system-controller.txt | 36 ++--- .../devicetree/bindings/arm/moxart.yaml | 40 +++--- .../devicetree/bindings/arm/nxp/lpc32xx.yaml | 52 +++---- .../devicetree/bindings/arm/omap/counter.txt | 30 ++-- .../devicetree/bindings/arm/omap/iva.txt | 38 ++--- .../devicetree/bindings/arm/rda.yaml | 48 +++---- .../bindings/arm/socionext/milbeaut.yaml | 50 +++---- .../bindings/arm/socionext/synquacer.yaml | 56 ++++---- .../devicetree/bindings/arm/spear.yaml | 56 ++++---- .../arm/sunxi/allwinner,sun9i-a80-prcm.yaml | 66 ++++----- .../devicetree/bindings/arm/tesla.yaml | 54 ++++---- .../devicetree/bindings/arm/ti/nspire.yaml | 54 ++++---- .../devicetree/bindings/arm/vt8500.yaml | 50 +++---- .../devicetree/bindings/ata/marvell.txt | 44 +++--- .../devicetree/bindings/board/fsl,bcsr.yaml | 64 ++++----- .../bindings/bus/ti,da850-mstpri.txt | 40 +++--- .../bindings/cache/marvell,feroceon-cache.txt | 32 ++--- .../bindings/cache/marvell,tauros2-cache.txt | 34 ++--- .../bindings/clock/brcm,bcm63xx-clocks.txt | 48 +++---- .../devicetree/bindings/clock/pxa-clock.txt | 30 ++-- .../bindings/counter/ftm-quaddec.txt | 36 ++--- .../devicetree/bindings/crypto/amd-ccp.txt | 34 ++--- .../bindings/crypto/artpec6-crypto.txt | 32 ++--- .../devicetree/bindings/display/fsl,tcon.txt | 34 ++--- .../bindings/display/google,goldfish-fb.txt | 34 ++--- .../bindings/display/marvell,pxa300-gcu.txt | 34 ++--- .../display/panel/arm,rtsm-display.yaml | 54 ++++---- .../display/panel/bananapi,s070wv20-ct16.yaml | 62 ++++----- .../display/panel/dlc,dlc0700yzg-1.yaml | 62 ++++----- .../display/panel/pda,91-00156-a0.yaml | 62 ++++----- .../devicetree/bindings/display/ssd1289fb.txt | 26 ++-- .../bindings/display/ti/ti,opa362.txt | 76 +++++----- .../bindings/dma/dma-controller.yaml | 44 +++--- .../firmware/cznic,turris-mox-rwtm.txt | 38 ++--- .../bindings/fpga/altera-socfpga-fpga-mgr.txt | 34 ++--- .../fpga/intel-stratix10-soc-fpga-mgr.txt | 36 ++--- .../devicetree/bindings/goldfish/audio.txt | 34 ++--- .../devicetree/bindings/goldfish/battery.txt | 34 ++--- .../devicetree/bindings/goldfish/events.txt | 34 ++--- .../devicetree/bindings/goldfish/pipe.txt | 34 ++--- .../devicetree/bindings/goldfish/tty.txt | 34 ++--- .../gpio/cirrus,clps711x-mctrl-gpio.txt | 34 ++--- .../bindings/gpio/gateworks,pld-gpio.txt | 38 ++--- .../devicetree/bindings/gpio/gpio-moxtet.txt | 36 ++--- .../devicetree/bindings/gpio/gpio-ts4800.txt | 40 +++--- .../hwinfo/samsung,s5pv210-chipid.yaml | 60 ++++---- .../bindings/hwmon/apm-xgene-hwmon.txt | 28 ++-- .../bindings/hwmon/hwmon-common.yaml | 38 ++--- .../hwmon/kontron,sl28cpld-hwmon.yaml | 54 ++++---- .../bindings/hwmon/nxp,mc34vr500.yaml | 72 +++++----- .../devicetree/bindings/hwmon/syna,as370.yaml | 64 ++++----- .../devicetree/bindings/hwmon/vexpress.txt | 46 +++---- .../bindings/i2c/arm,i2c-versatile.yaml | 58 ++++---- .../devicetree/bindings/i2c/i2c-cbus-gpio.txt | 54 ++++---- .../devicetree/bindings/i2c/i2c-iop3xx.txt | 40 +++--- .../devicetree/bindings/i2c/i2c-wmt.txt | 48 +++---- .../bindings/i2c/i2c-xgene-slimpro.txt | 30 ++-- .../bindings/iio/adc/mediatek,mt6360-adc.yaml | 62 ++++----- .../bindings/input/cpcap-pwrbutton.txt | 40 +++--- .../bindings/input/dlink,dir685-touchkeys.txt | 42 +++--- .../bindings/input/gpio-beeper.yaml | 66 ++++----- .../bindings/input/ps2keyb-mouse-apbps2.txt | 32 ++--- .../bindings/input/raydium_i2c_ts.txt | 38 ++--- .../bindings/input/spear-keyboard.txt | 40 +++--- .../bindings/input/sprd,sc27xx-vibrator.yaml | 62 ++++----- .../bindings/input/touchscreen/ar1021.txt | 30 ++-- .../bindings/input/touchscreen/egalax-ts.txt | 36 ++--- .../input/touchscreen/lpc32xx-tsc.txt | 32 ++--- .../input/touchscreen/max11801-ts.txt | 34 ++--- .../input/touchscreen/melfas_mip4.txt | 40 +++--- .../bindings/input/touchscreen/sx8654.txt | 46 +++---- .../bindings/input/touchscreen/ts4800-ts.txt | 22 +-- .../bindings/input/zii,rave-sp-pwrbutton.txt | 44 +++--- .../interrupt-controller/cdns,xtensa-mx.txt | 36 ++--- .../interrupt-controller/ezchip,nps400-ic.txt | 34 ++--- .../interrupt-controller/lsi,zevio-intc.txt | 36 ++--- .../interrupt-controller/snps,arc700-intc.txt | 48 +++---- .../interrupt-controller/snps,archs-intc.txt | 44 +++--- .../technologic,ts4800.txt | 28 ++-- .../interrupt-controller/via,vt8500-intc.txt | 32 ++--- .../leds/backlight/zii,rave-sp-backlight.txt | 46 +++---- .../devicetree/bindings/leds/leds-powernv.txt | 52 +++---- .../marvell,armada-3700-rwtm-mailbox.txt | 32 ++--- .../devicetree/bindings/media/i2c/ad5820.txt | 56 ++++---- .../bindings/media/i2c/melexis,mlx90640.txt | 40 +++--- .../bindings/media/i2c/panasonic,amg88xx.txt | 38 ++--- .../bindings/media/spi/sony-cxd2880.txt | 36 ++--- .../devicetree/bindings/media/st,st-delta.txt | 34 ++--- .../devicetree/bindings/mfd/aspeed-gfx.txt | 34 ++--- .../devicetree/bindings/mfd/atmel-gpbr.txt | 36 ++--- .../devicetree/bindings/mfd/qriox.txt | 34 ++--- .../bindings/mfd/ti-keystone-devctrl.txt | 38 ++--- .../devicetree/bindings/mips/ath79-soc.txt | 42 +++--- .../bindings/mips/cavium/dma-engine.txt | 42 +++--- .../bindings/mips/img/pistachio-marduk.txt | 20 +-- .../bindings/mips/lantiq/lantiq,cgu.yaml | 64 ++++----- .../bindings/mips/lantiq/lantiq,dma-xway.yaml | 64 ++++----- .../bindings/mips/lantiq/lantiq,ebu.yaml | 64 ++++----- .../bindings/mips/lantiq/lantiq,pmu.yaml | 64 ++++----- .../bindings/misc/fsl,dpaa2-console.yaml | 52 +++---- .../devicetree/bindings/misc/lwn-bk4.txt | 52 +++---- .../devicetree/bindings/mmc/pxa-mmc.txt | 50 +++---- .../devicetree/bindings/mmc/sdhci-spear.txt | 36 ++--- .../devicetree/bindings/mmc/vt8500-sdmmc.txt | 46 +++---- .../bindings/mtd/atmel-dataflash.txt | 34 ++--- .../devicetree/bindings/mtd/diskonchip.txt | 30 ++-- .../bindings/mtd/microchip,mchp23k256.txt | 36 ++--- .../devicetree/bindings/mtd/spi-nand.yaml | 56 ++++---- .../devicetree/bindings/net/anarion-gmac.txt | 50 +++---- .../devicetree/bindings/net/can/atmel-can.txt | 30 ++-- .../bindings/net/can/can-controller.yaml | 54 ++++---- .../bindings/net/can/can-transceiver.yaml | 40 +++--- .../devicetree/bindings/net/can/ifi_canfd.txt | 30 ++-- .../devicetree/bindings/net/cirrus,cs89x0.txt | 26 ++-- .../bindings/net/ethernet-switch-port.yaml | 52 +++---- .../devicetree/bindings/net/ezchip_enet.txt | 30 ++-- .../devicetree/bindings/net/faraday,ftmac.txt | 48 +++---- .../bindings/net/hisilicon-femac-mdio.txt | 44 +++--- .../bindings/net/ieee802154/adf7242.txt | 36 ++--- .../bindings/net/ieee802154/mcr20a.txt | 46 +++---- .../bindings/net/ieee802154/mrf24j40.txt | 40 +++--- .../devicetree/bindings/net/micrel-ks8995.txt | 40 +++--- .../bindings/net/nxp,lpc1850-dwmac.txt | 40 +++--- .../devicetree/bindings/net/via-rhine.txt | 34 ++--- .../devicetree/bindings/net/via-velocity.txt | 40 +++--- .../devicetree/bindings/nvmem/brcm,ocotp.txt | 34 ++--- .../devicetree/bindings/nvmem/lpc1850-otp.txt | 40 +++--- .../bindings/nvmem/nvmem-provider.yaml | 36 ++--- .../devicetree/bindings/nvmem/vf610-ocotp.txt | 38 ++--- .../devicetree/bindings/pci/cdns-pcie-ep.yaml | 48 +++---- .../devicetree/bindings/pci/cdns-pcie.yaml | 50 +++---- .../bindings/pci/spear13xx-pcie.txt | 28 ++-- .../phy/amlogic,g12a-mipi-dphy-analog.yaml | 46 +++---- .../amlogic,meson-axg-mipi-pcie-analog.yaml | 46 +++---- .../bindings/phy/berlin-usb-phy.txt | 32 ++--- .../devicetree/bindings/phy/phy-ath79-usb.txt | 36 ++--- .../bindings/phy/phy-hi6220-usb.txt | 32 ++--- .../devicetree/bindings/phy/phy-pxa-usb.txt | 36 ++--- .../bindings/phy/st-spear-miphy.txt | 30 ++-- .../bindings/power/reset/axxia-reset.txt | 40 +++--- .../power/reset/brcm,bcm21664-resetmgr.yaml | 62 ++++----- .../bindings/power/reset/gemini-poweroff.txt | 34 ++--- .../bindings/power/reset/mt6323-poweroff.txt | 40 +++--- .../bindings/power/reset/ocelot-reset.txt | 38 ++--- .../bindings/power/reset/qnap-poweroff.txt | 30 ++-- .../bindings/power/supply/olpc-battery.yaml | 54 ++++---- .../bindings/powerpc/4xx/reboot.txt | 36 ++--- .../bindings/powerpc/fsl/mcu-mpc8349emitx.txt | 34 ++--- .../devicetree/bindings/powerpc/fsl/scfg.txt | 36 ++--- .../bindings/powerpc/opal/oppanel-opal.txt | 28 ++-- .../bindings/pwm/cirrus,clps711x-pwm.txt | 30 ++-- .../devicetree/bindings/pwm/pwm-berlin.txt | 34 ++--- .../devicetree/bindings/pwm/spear-pwm.txt | 34 ++--- .../devicetree/bindings/pwm/st,stmpe-pwm.txt | 36 ++--- .../devicetree/bindings/pwm/ti,twl-pwm.txt | 34 ++--- .../devicetree/bindings/pwm/ti,twl-pwmled.txt | 34 ++--- .../devicetree/bindings/pwm/vt8500-pwm.txt | 36 ++--- .../devicetree/bindings/regulator/88pg86x.txt | 44 +++--- .../devicetree/bindings/regulator/mp8859.txt | 44 +++--- .../bindings/regulator/sky81452-regulator.txt | 36 ++--- .../bindings/reset/brcm,bcm63138-pmb.txt | 38 ++--- .../bindings/rng/brcm,iproc-rng200.yaml | 60 ++++---- .../bindings/rng/microchip,pic32-rng.txt | 34 ++--- .../devicetree/bindings/rng/st,rng.yaml | 70 +++++----- .../devicetree/bindings/rtc/cpcap-rtc.txt | 36 ++--- .../devicetree/bindings/rtc/dallas,ds1390.txt | 36 ++--- .../bindings/rtc/microchip,pic32-rtc.txt | 42 +++--- .../bindings/rtc/moxa,moxart-rtc.txt | 34 ++--- .../bindings/rtc/mstar,ssd202d-rtc.yaml | 70 +++++----- .../bindings/rtc/realtek,rtd119x.txt | 32 ++--- .../devicetree/bindings/rtc/rtc-opal.txt | 34 ++--- .../devicetree/bindings/serial/arc-uart.txt | 50 +++---- .../bindings/serial/arm,mps2-uart.txt | 38 ++--- .../bindings/serial/arm_sbsa_uart.txt | 20 +-- .../bindings/serial/milbeaut-uart.txt | 42 +++--- .../bindings/serio/snps-arc_ps2.txt | 32 ++--- .../bindings/siox/eckelmann,siox-gpio.txt | 38 ++--- .../bindings/soc/fsl/cpm_qe/cpm/brg.txt | 42 +++--- .../bindings/soc/fsl/cpm_qe/cpm/pic.txt | 36 ++--- .../bindings/soc/fsl/cpm_qe/uqe_serial.txt | 34 ++--- .../devicetree/bindings/sound/adi,ssm2305.txt | 28 ++-- .../devicetree/bindings/sound/adi,ssm2602.txt | 38 ++--- .../devicetree/bindings/sound/ak4118.txt | 44 +++--- .../devicetree/bindings/sound/ak5386.txt | 46 +++---- .../devicetree/bindings/sound/alc5623.txt | 50 +++---- .../bindings/sound/asahi-kasei,ak4554.yaml | 54 ++++---- .../bindings/sound/cdns,xtfpga-i2s.txt | 36 ++--- .../devicetree/bindings/sound/cs42l73.txt | 44 +++--- .../devicetree/bindings/sound/cs4341.txt | 44 +++--- .../devicetree/bindings/sound/da9055.txt | 44 +++--- .../devicetree/bindings/sound/dai-common.yaml | 36 ++--- .../bindings/sound/google,chv3-codec.yaml | 62 ++++----- .../sound/img,pistachio-internal-dac.txt | 36 ++--- .../devicetree/bindings/sound/inno-rk3036.txt | 40 +++--- .../devicetree/bindings/sound/max9860.txt | 56 ++++---- .../bindings/sound/mt8173-max98090.txt | 30 ++-- .../bindings/sound/mt8173-rt5650-rt5514.txt | 30 ++-- .../bindings/sound/mt8173-rt5650-rt5676.txt | 32 ++--- .../devicetree/bindings/sound/omap-dmic.txt | 40 +++--- .../devicetree/bindings/sound/pcm1789.txt | 44 +++--- .../devicetree/bindings/sound/pcm179x.txt | 54 ++++---- .../devicetree/bindings/sound/pcm3060.txt | 46 +++---- .../bindings/sound/rockchip-rt5645.txt | 34 ++--- .../devicetree/bindings/sound/rt274.txt | 66 ++++----- .../devicetree/bindings/sound/sound-dai.yaml | 40 +++--- .../devicetree/bindings/sound/ssm4567.txt | 30 ++-- .../devicetree/bindings/sound/storm.txt | 46 +++---- .../devicetree/bindings/sound/tda7419.txt | 76 +++++----- .../devicetree/bindings/sound/ti,tas6424.txt | 44 +++--- .../devicetree/bindings/sound/tscs42xx.txt | 44 +++--- .../devicetree/bindings/sound/tscs454.txt | 46 +++---- .../devicetree/bindings/sound/uda1334.txt | 34 ++--- .../devicetree/bindings/sound/widgets.txt | 40 +++--- .../devicetree/bindings/sound/wm8741.txt | 58 ++++---- .../devicetree/bindings/spi/spi_oc_tiny.txt | 24 ++-- .../bindings/thermal/dove-thermal.txt | 36 ++--- .../bindings/timer/altr,timer-1.0.txt | 36 ++--- .../bindings/timer/digicolor-timer.txt | 36 ++--- .../bindings/timer/ezchip,nps400-timer0.txt | 34 ++--- .../bindings/timer/marvell,orion-timer.txt | 32 ++--- .../timer/socionext,milbeaut-timer.txt | 34 ++--- .../bindings/timer/via,vt8500-timer.txt | 30 ++-- .../devicetree/bindings/usb/isp1301.txt | 48 +++---- .../devicetree/bindings/usb/ohci-da8xx.txt | 46 +++---- .../devicetree/bindings/usb/ulpi.txt | 40 +++--- .../devicetree/bindings/usb/usb4604.txt | 38 ++--- .../devicetree/bindings/w1/omap-hdq.txt | 44 +++--- .../devicetree/bindings/w1/w1.txt | 50 +++---- .../watchdog/atmel,at91rm9200-wdt.yaml | 66 ++++----- .../bindings/watchdog/microchip,pic32-dmt.txt | 38 ++--- .../bindings/watchdog/microchip,pic32-wdt.txt | 36 ++--- .../watchdog/moxa,moxart-watchdog.txt | 30 ++-- .../bindings/watchdog/nxp,pnx4008-wdt.yaml | 68 ++++----- .../devicetree/bindings/watchdog/omap-wdt.txt | 30 ++-- .../bindings/watchdog/qca,ar7130-wdt.yaml | 66 ++++----- .../bindings/watchdog/ts4800-wdt.txt | 50 +++---- .../devicetree/bindings/xillybus/xillybus.txt | 36 ++--- .../kernel/Documentation/devicetree/index.rst | 60 ++++---- .../Documentation/doc-guide/svg_image.svg | 20 +-- .../driver-api/80211/introduction.rst | 34 ++--- .../driver-api/media/drivers/index.rst | 82 +++++------ .../driver-api/media/drivers/vimc-devel.rst | 30 ++-- .../driver-api/media/v4l2-core.rst | 58 ++++---- .../Documentation/driver-api/mei/index.rst | 36 ++--- .../surface_aggregator/clients/index.rst | 46 +++---- .../Documentation/driver-api/tty/n_tty.rst | 44 +++--- .../driver-api/tty/tty_internals.rst | 62 ++++----- .../Documentation/driver-api/usb/index.rst | 60 ++++---- .../kernel/Documentation/fb/index.rst | 98 ++++++------- .../Documentation/features/arch-support.txt | 24 ++-- .../kernel/Documentation/filesystems/ext3.rst | 28 ++-- .../Documentation/filesystems/splice.rst | 44 +++--- .../firmware-guide/acpi/index.rst | 62 ++++----- .../firmware_class/hotplug-script | 34 ++--- .../gpu/amdgpu/display/trace-groups-table.csv | 58 ++++---- .../kernel/Documentation/gpu/amdgpu/index.rst | 38 ++--- .../Documentation/gpu/bridge/dw-hdmi.rst | 30 ++-- .../kernel/Documentation/gpu/driver-uapi.rst | 58 ++++---- .../kernel/Documentation/gpu/drivers.rst | 62 ++++----- .../kernel/Documentation/gpu/index.rst | 60 ++++---- .../kernel/Documentation/gpu/xe/index.rst | 54 ++++---- .../kernel/Documentation/gpu/xe/xe_mm.rst | 58 ++++---- .../kernel/Documentation/gpu/xe/xe_rtp.rst | 40 +++--- .../Documentation/hwmon/cros_ec_hwmon.rst | 52 +++---- .../Documentation/hwmon/raspberrypi-hwmon.rst | 50 +++---- .../Documentation/hwmon/sy7636a-hwmon.rst | 52 +++---- .../kernel/Documentation/hwmon/tc74.rst | 46 +++---- .../Documentation/i2c/busses/i2c-amd-mp2.rst | 50 +++---- .../i2c/busses/i2c-nvidia-gpu.rst | 40 +++--- .../Documentation/i2c/busses/i2c-pca-isa.rst | 52 +++---- .../kernel/Documentation/i2c/busses/index.rst | 64 ++++----- .../kernel/Documentation/iio/index.rst | 58 ++++---- .../kernel/Documentation/isdn/m_isdn.rst | 18 +-- .../kernel/Documentation/kbuild/index.rst | 60 ++++---- .../kernel/Documentation/leds/index.rst | 62 ++++----- ...ter_atomic-is-stronger-than-acquire.litmus | 64 ++++----- ...c-RMW-ops-are-atomic-WRT-atomic_set.litmus | 50 +++---- .../atomic/cmpxchg-fail-ordered-1.litmus | 70 +++++----- .../atomic/cmpxchg-fail-ordered-2.litmus | 60 ++++---- .../atomic/cmpxchg-fail-unordered-1.litmus | 68 ++++----- .../atomic/cmpxchg-fail-unordered-2.litmus | 60 ++++---- .../kernel/Documentation/livepatch/api.rst | 60 ++++---- .../kernel/Documentation/locking/index.rst | 66 ++++----- .../kernel/Documentation/maintainer/index.rst | 38 ++--- .../Documentation/misc-devices/index.rst | 60 ++++---- .../kernel/Documentation/mm/damon/api.rst | 40 +++--- .../kernel/Documentation/mm/page_cache.rst | 30 ++-- .../kernel/Documentation/networking/atm.rst | 28 ++-- .../networking/device_drivers/can/index.rst | 44 +++--- .../ethernet/mellanox/mlx5/index.rst | 50 +++---- .../device_drivers/ethernet/wangxun/ngbe.rst | 28 ++-- .../device_drivers/ethernet/wangxun/txgbe.rst | 40 +++--- .../networking/device_drivers/index.rst | 52 +++---- .../devlink/am65-nuss-cpsw-switch.rst | 52 +++---- .../networking/devlink/ionic.rst | 58 ++++---- .../Documentation/networking/devlink/qed.rst | 52 +++---- .../Documentation/networking/ioam6-sysctl.rst | 52 +++---- .../networking/netfilter-sysctl.rst | 34 ++--- .../process/maintainer-handbooks.rst | 44 +++--- .../kernel/Documentation/scheduler/index.rst | 68 ++++----- .../kernel/Documentation/scsi/ppa.rst | 36 ++--- .../kernel/Documentation/sound/index.rst | 46 +++---- .../sphinx-static/theme_rtd_colors.css | 74 +++++----- .../kernel/Documentation/sphinx/kernellog.py | 44 +++--- .../sphinx/templates/translations.html | 30 ++-- .../kernel/Documentation/tee/tee.rst | 44 +++--- .../tools/rtla/common_hist_options.rst | 46 +++---- .../tools/rtla/common_osnoise_description.rst | 16 +-- .../rtla/common_timerlat_description.rst | 20 +-- .../kernel/Documentation/tools/rtla/index.rst | 54 ++++---- .../Documentation/tools/rv/common_ikm.rst | 42 +++--- .../kernel/Documentation/tools/rv/index.rst | 48 +++---- .../kernel/Documentation/trace/index.rst | 76 +++++----- .../translations/it_IT/core-api/index.rst | 60 ++++---- .../translations/it_IT/doc-guide/index.rst | 48 +++---- .../translations/it_IT/i2c/index.rst | 92 ++++++------- .../it_IT/process/applying-patches.rst | 30 ++-- .../it_IT/process/maintainers.rst | 26 ++-- .../core-api/wrappers/memory-barriers.rst | 36 ++--- .../translations/sp_SP/disclaimer-sp.rst | 18 +-- .../translations/sp_SP/process/index.rst | 64 ++++----- .../sp_SP/wrappers/memory-barriers.rst | 38 ++--- .../translations/zh_CN/PCI/index.rst | 68 ++++----- .../zh_CN/admin-guide/mm/damon/index.rst | 58 ++++---- .../translations/zh_CN/arch/index.rst | 56 ++++---- .../zh_CN/arch/loongarch/index.rst | 54 ++++---- .../translations/zh_CN/arch/mips/index.rst | 58 ++++---- .../zh_CN/arch/openrisc/index.rst | 64 ++++----- .../translations/zh_CN/arch/parisc/index.rst | 62 ++++----- .../translations/zh_CN/arch/riscv/index.rst | 62 ++++----- .../zh_CN/core-api/generic-radix-tree.rst | 46 +++---- .../translations/zh_CN/disclaimer-zh_CN.rst | 18 +-- .../translations/zh_CN/doc-guide/index.rst | 56 ++++---- .../translations/zh_CN/infiniband/index.rst | 80 +++++------ .../translations/zh_CN/infiniband/sysfs.rst | 42 +++--- .../translations/zh_CN/kbuild/index.rst | 70 +++++----- .../translations/zh_CN/maintainer/index.rst | 42 +++--- .../translations/zh_CN/mm/damon/api.rst | 64 ++++----- .../translations/zh_CN/rust/index.rst | 56 ++++---- .../translations/zh_CN/scheduler/index.rst | 90 ++++++------ .../translations/zh_CN/sound/index.rst | 44 +++--- .../zh_CN/userspace-api/ebpf/index.rst | 44 +++--- .../translations/zh_CN/virt/acrn/index.rst | 50 +++---- .../translations/zh_CN/virt/index.rst | 76 +++++----- .../zh_TW/admin-guide/clearing-warn-once.rst | 32 ++--- .../zh_TW/admin-guide/mm/damon/index.rst | 60 ++++---- .../translations/zh_TW/arch/arm64/index.rst | 46 +++---- .../translations/zh_TW/arch/index.rst | 58 ++++---- .../zh_TW/arch/loongarch/index.rst | 56 ++++---- .../translations/zh_TW/arch/mips/index.rst | 60 ++++---- .../zh_TW/arch/openrisc/index.rst | 66 ++++----- .../translations/zh_TW/arch/parisc/index.rst | 64 ++++----- .../translations/zh_TW/disclaimer-zh_TW.rst | 22 +-- .../kernel/Documentation/usb/index.rst | 80 +++++------ .../kernel/Documentation/usb/usb-help.rst | 34 ++--- .../userspace-api/ebpf/index.rst | 34 ++--- .../Documentation/userspace-api/isapnp.rst | 30 ++-- .../userspace-api/media/cec/cec-funcs.rst | 46 +++---- .../userspace-api/media/dvb/demux.rst | 46 +++---- .../userspace-api/media/dvb/dmx_fcalls.rst | 60 ++++---- .../userspace-api/media/dvb/examples.rst | 32 ++--- .../media/dvb/frontend_fcalls.rst | 48 +++---- .../media/dvb/frontend_legacy_dvbv3_api.rst | 36 ++--- .../userspace-api/media/dvb/headers.rst | 32 ++--- .../media/dvb/query-dvb-frontend-info.rst | 26 ++-- .../media/mediactl/media-funcs.rst | 52 +++---- .../userspace-api/media/net.h.rst.exceptions | 26 ++-- .../userspace-api/media/rc/lirc-func.rst | 52 +++---- .../media/rc/rc-table-change.rst | 36 ++--- .../userspace-api/media/v4l/hsv-formats.rst | 38 ++--- .../userspace-api/media/v4l/meta-formats.rst | 46 +++---- .../media/v4l/pixfmt-sdr-ru12le.rst | 64 ++++----- .../userspace-api/media/v4l/sdr-formats.rst | 44 +++--- .../media/v4l/selection-api-targets.rst | 40 +++--- .../userspace-api/media/v4l/selection-api.rst | 32 ++--- .../media/v4l/v4l2grab-example.rst | 34 ++--- .../userspace-api/netlink/index.rst | 42 +++--- .../kernel/Documentation/virt/index.rst | 50 +++---- .../Documentation/w1/masters/mxc-w1.rst | 34 ++--- .../kernel/Documentation/watchdog/index.rst | 50 +++---- .../Documentation/wmi/devices/index.rst | 44 +++--- image/debian/UFI003_MB_V02/kernel/Kconfig | 64 ++++----- .../kernel/arch/alpha/boot/bootloader.lds | 50 +++---- .../arch/alpha/include/asm/asm-prototypes.h | 38 ++--- .../kernel/arch/alpha/include/asm/barrier.h | 46 +++---- .../kernel/arch/alpha/include/asm/bug.h | 50 +++---- .../kernel/arch/alpha/include/asm/cache.h | 46 +++---- .../kernel/arch/alpha/include/asm/parport.h | 38 ++--- .../kernel/arch/alpha/include/asm/percpu.h | 38 ++--- .../kernel/arch/alpha/include/asm/sparsemem.h | 36 ++--- .../arch/alpha/include/asm/spinlock_types.h | 42 +++--- .../kernel/arch/alpha/include/asm/switch_to.h | 30 ++-- .../kernel/arch/alpha/include/asm/syscall.h | 36 ++--- .../kernel/arch/alpha/include/asm/ucontext.h | 28 ++-- .../kernel/arch/alpha/include/asm/unistd.h | 44 +++--- .../arch/alpha/include/uapi/asm/posix_types.h | 36 ++--- .../arch/alpha/include/uapi/asm/sockios.h | 34 ++--- .../arch/alpha/include/uapi/asm/unistd.h | 34 ++--- .../kernel/arch/alpha/lib/clear_page.S | 82 +++++------ .../kernel/arch/alpha/lib/dbg_current.S | 60 ++++---- .../kernel/arch/alpha/lib/dbg_stackcheck.S | 56 ++++---- .../kernel/arch/alpha/lib/dbg_stackkill.S | 72 +++++----- .../kernel/arch/alpha/lib/srm_puts.c | 48 +++---- .../kernel/arch/alpha/lib/strcpy.S | 50 +++---- .../kernel/arch/arc/Kconfig.debug | 20 +-- .../kernel/arch/arc/boot/dts/Makefile | 32 ++--- .../kernel/arch/arc/boot/dts/axs101.dts | 38 ++--- .../kernel/arch/arc/boot/dts/axs103.dts | 44 +++--- .../kernel/arch/arc/boot/dts/axs103_idu.dts | 44 +++--- .../kernel/arch/arc/boot/dts/vdk_hs38.dts | 38 ++--- .../kernel/arch/arc/boot/dts/vdk_hs38_smp.dts | 38 ++--- .../kernel/arch/arc/include/asm/current.h | 50 +++---- .../kernel/arch/arc/include/asm/irqflags.h | 32 ++--- .../kernel/arch/arc/include/asm/mmu.h | 48 +++---- .../kernel/arch/arc/include/asm/module.h | 42 +++--- .../kernel/arch/arc/include/asm/pci.h | 38 ++--- .../kernel/arch/arc/include/asm/serial.h | 38 ++--- .../kernel/arch/arc/include/asm/switch_to.h | 54 ++++---- .../kernel/arch/arc/include/asm/syscalls.h | 44 +++--- .../kernel/arch/arc/include/asm/timex.h | 30 ++-- .../arch/arc/include/uapi/asm/byteorder.h | 38 ++--- .../kernel/arch/arc/include/uapi/asm/unistd.h | 20 +-- .../kernel/arch/arc/kernel/reset.c | 62 ++++----- .../kernel/arch/arc/kernel/sys.c | 38 ++--- .../kernel/arch/arc/lib/Makefile | 30 ++-- .../kernel/arch/arc/mm/extable.c | 48 +++---- .../kernel/arch/arc/plat-tb10x/Kconfig | 40 +++--- .../kernel/arch/arc/plat-tb10x/tb10x.c | 40 +++--- .../UFI003_MB_V02/kernel/arch/arm/Kbuild | 28 ++-- .../kernel/arch/arm/boot/bootp/bootp.lds | 54 ++++---- .../boot/dts/actions/owl-s500-cubieboard6.dts | 72 +++++----- .../dts/actions/owl-s500-guitar-bb-rev-b.dts | 50 +++---- .../dts/actions/owl-s500-labrador-base-m.dts | 56 ++++---- .../dts/actions/owl-s500-labrador-v2.dtsi | 44 +++--- .../arm/boot/dts/actions/owl-s500-sparky.dts | 72 +++++----- .../dts/allwinner/sun8i-s3-elimo-initium.dts | 58 ++++---- .../arm/boot/dts/amlogic/meson6-atv1200.dts | 66 ++++----- .../kernel/arch/arm/boot/dts/armv7-m.dtsi | 46 +++---- .../boot/dts/aspeed/aspeed-ast2600-evb-a1.dts | 32 ++--- .../dts/aspeed/openbmc-flash-layout-128.dtsi | 64 ++++----- .../aspeed/openbmc-flash-layout-64-alt.dtsi | 70 +++++----- .../dts/aspeed/openbmc-flash-layout-64.dtsi | 70 +++++----- .../boot/dts/aspeed/openbmc-flash-layout.dtsi | 64 ++++----- .../boot/dts/broadcom/bcm2835-rpi-common.dtsi | 44 +++--- .../dts/broadcom/bcm283x-rpi-wifi-bt.dtsi | 68 ++++----- .../broadcom/bcm4708-buffalo-wzr-1166dhp.dts | 52 +++---- .../broadcom/bcm4708-buffalo-wzr-1166dhp2.dts | 52 +++---- .../arch/arm/boot/dts/broadcom/bcm47081.dtsi | 74 +++++----- .../dts/broadcom/bcm47094-asus-rt-ac3100.dts | 68 ++++----- .../arch/arm/boot/dts/broadcom/bcm47094.dtsi | 62 ++++----- .../dts/broadcom/bcm5301x-nand-cs0-bch8.dtsi | 34 ++--- .../boot/dts/broadcom/bcm5301x-nand-cs0.dtsi | 42 +++--- .../arch/arm/boot/dts/broadcom/bcm947622.dts | 88 ++++++------ .../dts/broadcom/bcm958625-meraki-mx64-a0.dts | 50 +++---- .../dts/broadcom/bcm958625-meraki-mx64.dts | 48 +++---- .../broadcom/bcm958625-meraki-mx64w-a0.dts | 66 ++++----- .../dts/broadcom/bcm958625-meraki-mx64w.dts | 64 ++++----- .../dts/broadcom/bcm958625-meraki-mx65.dts | 48 +++---- .../dts/broadcom/bcm958625-meraki-mx65w.dts | 64 ++++----- .../arch/arm/boot/dts/broadcom/bcm963138.dts | 82 +++++------ .../arch/arm/boot/dts/broadcom/bcm963148.dts | 88 ++++++------ .../arch/arm/boot/dts/broadcom/bcm963178.dts | 88 ++++++------ .../arch/arm/boot/dts/broadcom/bcm96756.dts | 88 ++++++------ .../arch/arm/boot/dts/broadcom/bcm96846.dts | 88 ++++++------ .../arch/arm/boot/dts/broadcom/bcm96855.dts | 88 ++++++------ .../arch/arm/boot/dts/broadcom/bcm96878.dts | 88 ++++++------ .../arch/arm/boot/dts/cros-ec-keyboard.dtsi | 46 +++---- .../arm/boot/dts/hisilicon/hi3519-demb.dts | 58 ++++---- .../arch/arm/boot/dts/hisilicon/hip04-d01.dts | 58 ++++---- .../arm/boot/dts/hpe/hpe-bmc-dl360gen10.dts | 52 +++---- .../boot/dts/intel/axm/axm5516-amarillo.dts | 94 ++++++------- .../arm/boot/dts/intel/ixp/intel-ixp43x.dtsi | 50 +++---- .../arch/arm/boot/dts/intel/socfpga/Makefile | 34 ++--- .../socfpga/socfpga_arria10_socdk_nand.dts | 52 +++---- .../socfpga/socfpga_arria10_socdk_sdmmc.dts | 56 ++++---- .../dts/intel/socfpga/socfpga_arria5.dtsi | 74 +++++----- .../dts/intel/socfpga/socfpga_cyclone5.dtsi | 74 +++++----- .../intel/socfpga/socfpga_cyclone5_mcv.dtsi | 46 +++---- .../dts/marvell/armada-388-clearfog-pro.dts | 28 ++-- .../arch/arm/boot/dts/marvell/armada-390.dtsi | 46 +++---- .../boot/dts/marvell/kirkwood-db-88f6281.dts | 52 +++---- .../boot/dts/marvell/kirkwood-db-88f6282.dts | 60 ++++---- .../boot/dts/marvell/kirkwood-ds409slim.dts | 78 +++++------ .../boot/dts/marvell/kirkwood-km_fixedeth.dts | 48 +++---- .../boot/dts/marvell/kirkwood-km_kirkwood.dts | 62 ++++----- .../dts/marvell/kirkwood-linkstation-lsvl.dts | 40 +++--- .../marvell/kirkwood-linkstation-lswsxl.dts | 40 +++--- .../arm/boot/dts/marvell/kirkwood-lschlv2.dts | 40 +++--- .../arm/boot/dts/marvell/kirkwood-lsxhl.dts | 40 +++--- .../dts/marvell/kirkwood-rd88f6281-z0.dts | 68 ++++----- .../arm/boot/dts/marvell/kirkwood-rs409.dts | 86 ++++++------ .../boot/dts/marvell/kirkwood-ts419-6282.dts | 38 ++--- .../arm/boot/dts/marvell/pxa168-aspenite.dts | 66 ++++----- .../arch/arm/boot/dts/mediatek/Makefile | 30 ++-- .../arm/boot/dts/mediatek/mt6580-evbp1.dts | 64 ++++----- .../mediatek/mt6582-prestigio-pmt5008-3g.dts | 86 ++++++------ .../arm/boot/dts/mediatek/mt6589-aquaris5.dts | 66 ++++----- .../dts/mediatek/mt6589-fairphone-fp1.dts | 60 ++++---- .../arm/boot/dts/mediatek/mt8127-moose.dts | 46 +++---- .../arm/boot/dts/microchip/at91-kizbox2-2.dts | 52 +++---- .../boot/dts/microchip/at91-kizboxmini-mb.dts | 52 +++---- .../arm/boot/dts/microchip/at91sam9g20ek.dts | 56 ++++---- .../arm/boot/dts/microchip/at91sam9xe.dtsi | 52 +++---- .../arch/arm/boot/dts/microchip/sama5d29.dtsi | 32 ++--- .../arch/arm/boot/dts/microchip/sama5d31.dtsi | 30 ++-- .../arch/arm/boot/dts/microchip/sama5d34.dtsi | 30 ++-- .../arch/arm/boot/dts/microchip/sama5d35.dtsi | 34 ++--- .../arch/arm/boot/dts/microchip/sama5d36.dtsi | 38 ++--- .../boot/dts/microchip/sama5d3xmb_emac.dtsi | 50 +++---- .../arch/arm/boot/dts/microchip/tny_a9260.dts | 28 ++-- .../arch/arm/boot/dts/microchip/tny_a9g20.dts | 28 ++-- .../arch/arm/boot/dts/microchip/usb_a9g20.dts | 26 ++-- .../boot/dts/microchip/usb_a9g20_common.dtsi | 54 ++++---- .../arch/arm/boot/dts/nxp/imx/imx31-bug.dts | 44 +++--- .../arm/boot/dts/nxp/imx/imx6dl-apf6dev.dts | 36 ++--- .../boot/dts/nxp/imx/imx6dl-dfi-fs700-m60.dts | 46 +++---- .../boot/dts/nxp/imx/imx6dl-dhcom-picoitx.dts | 40 +++--- .../boot/dts/nxp/imx/imx6dl-icore-mipi.dts | 50 +++---- .../arm/boot/dts/nxp/imx/imx6dl-icore.dts | 64 ++++----- .../arm/boot/dts/nxp/imx/imx6dl-mba6.dtsi | 44 +++--- .../arm/boot/dts/nxp/imx/imx6dl-mba6a.dts | 42 +++--- .../arm/boot/dts/nxp/imx/imx6dl-mba6b.dts | 42 +++--- .../boot/dts/nxp/imx/imx6dl-nitrogen6x.dts | 30 ++-- .../dts/nxp/imx/imx6dl-phytec-pfla02.dtsi | 34 ++--- .../boot/dts/nxp/imx/imx6dl-pico-dwarf.dts | 34 ++--- .../boot/dts/nxp/imx/imx6dl-pico-hobbit.dts | 34 ++--- .../boot/dts/nxp/imx/imx6dl-pico-nymph.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6dl-pico-pi.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6dl-rex-basic.dts | 54 ++++---- .../arm/boot/dts/nxp/imx/imx6dl-sabreauto.dts | 56 ++++---- .../arm/boot/dts/nxp/imx/imx6dl-sabresd.dts | 36 ++--- .../boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dts | 28 ++-- .../dts/nxp/imx/imx6dl-wandboard-revb1.dts | 38 ++--- .../dts/nxp/imx/imx6dl-wandboard-revd1.dts | 38 ++--- .../arm/boot/dts/nxp/imx/imx6dl-wandboard.dts | 38 ++--- .../boot/dts/nxp/imx/imx6dl-yapp4-phoenix.dts | 84 +++++------ .../arm/boot/dts/nxp/imx/imx6q-apf6dev.dts | 44 +++--- .../boot/dts/nxp/imx/imx6q-dfi-fs700-m60.dts | 46 +++---- .../arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dts | 50 +++---- .../arch/arm/boot/dts/nxp/imx/imx6q-ds.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6q-icore-mipi.dts | 66 ++++----- .../arm/boot/dts/nxp/imx/imx6q-icore-rqs.dts | 38 ++--- .../arm/boot/dts/nxp/imx/imx6q-kp-tpc.dts | 46 +++---- .../arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dts | 40 +++--- .../arch/arm/boot/dts/nxp/imx/imx6q-mba6b.dts | 40 +++--- .../arm/boot/dts/nxp/imx/imx6q-nitrogen6x.dts | 38 ++--- .../boot/dts/nxp/imx/imx6q-phytec-pbab01.dts | 42 +++--- .../boot/dts/nxp/imx/imx6q-phytec-pfla02.dtsi | 34 ++--- .../arm/boot/dts/nxp/imx/imx6q-pico-dwarf.dts | 34 ++--- .../boot/dts/nxp/imx/imx6q-pico-hobbit.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6q-pico-nymph.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6q-pico-pi.dts | 34 ++--- .../arm/boot/dts/nxp/imx/imx6q-rex-pro.dts | 62 ++++----- .../arm/boot/dts/nxp/imx/imx6q-sabrelite.dts | 48 +++---- .../arm/boot/dts/nxp/imx/imx6q-sabresd.dts | 46 +++---- .../dts/nxp/imx/imx6q-wandboard-revb1.dts | 46 +++---- .../dts/nxp/imx/imx6q-wandboard-revd1.dts | 46 +++---- .../arm/boot/dts/nxp/imx/imx6q-wandboard.dts | 46 +++---- .../arm/boot/dts/nxp/imx/imx6q-zii-rdu2.dts | 40 +++--- .../boot/dts/nxp/imx/imx6qdl-pico-hobbit.dtsi | 74 +++++----- .../arm/boot/dts/nxp/imx/imx6qdl-pico-pi.dtsi | 62 ++++----- .../arm/boot/dts/nxp/imx/imx6qp-mba6b.dts | 36 ++--- .../boot/dts/nxp/imx/imx6qp-nitrogen6_max.dts | 44 +++--- .../dts/nxp/imx/imx6qp-wandboard-revd1.dts | 46 +++---- .../arm/boot/dts/nxp/imx/imx6qp-zii-rdu2.dts | 50 +++---- .../arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dts | 60 ++++---- .../dts/nxp/imx/imx6sx-udoo-neo-basic.dts | 66 ++++----- .../dts/nxp/imx/imx6sx-udoo-neo-extended.dts | 52 +++---- .../boot/dts/nxp/imx/imx6sx-udoo-neo-full.dts | 82 +++++------ .../boot/dts/nxp/imx/imx6ul-kontron-bl.dts | 32 ++--- .../boot/dts/nxp/imx/imx6ul-kontron-sl.dtsi | 28 ++-- .../dts/nxp/imx/imx6ul-tqma6ul2-mba6ulx.dts | 30 ++-- .../dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dts | 30 ++-- .../boot/dts/nxp/imx/imx6ull-14x14-evk.dts | 36 ++--- .../nxp/imx/imx6ull-colibri-emmc-aster.dts | 32 ++--- .../nxp/imx/imx6ull-colibri-emmc-eval-v3.dts | 32 ++--- .../nxp/imx/imx6ull-colibri-emmc-iris-v2.dts | 32 ++--- .../dts/nxp/imx/imx6ull-colibri-emmc-iris.dts | 32 ++--- .../dts/nxp/imx/imx6ull-colibri-eval-v3.dts | 76 +++++----- .../dts/nxp/imx/imx6ull-colibri-iris-v2.dtsi | 54 ++++---- .../boot/dts/nxp/imx/imx6ull-colibri-iris.dts | 80 +++++------ .../nxp/imx/imx6ull-colibri-wifi-eval-v3.dts | 76 +++++----- .../dts/nxp/imx/imx6ull-colibri-wifi-iris.dts | 80 +++++------ .../boot/dts/nxp/imx/imx6ull-kontron-bl.dts | 30 ++-- .../nxp/imx/imx6ull-myir-mys-6ulx-eval.dts | 38 ++--- .../nxp/imx/imx6ull-phytec-phycore-som.dtsi | 48 +++---- .../imx/imx6ull-phytec-segin-peb-av-02.dtsi | 52 +++---- .../imx/imx6ull-phytec-segin-peb-eval-01.dtsi | 38 ++--- .../dts/nxp/imx/imx6ull-phytec-tauri-emmc.dts | 40 +++--- .../dts/nxp/imx/imx6ull-phytec-tauri-nand.dts | 40 +++--- .../imx/imx6ull-seeed-npi-dev-board-emmc.dts | 38 ++--- .../imx/imx6ull-seeed-npi-dev-board-nand.dts | 38 ++--- .../dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dts | 30 ++-- .../nxp/imx/imx6ull-tqma6ull2l-mba6ulx.dts | 30 ++-- .../boot/dts/nxp/imx/imx6ulz-14x14-evk.dts | 44 +++--- .../boot/dts/nxp/imx/imx7d-colibri-aster.dts | 82 +++++------ .../dts/nxp/imx/imx7d-colibri-emmc-aster.dts | 44 +++--- .../nxp/imx/imx7d-colibri-emmc-eval-v3.dts | 42 +++--- .../nxp/imx/imx7d-colibri-emmc-iris-v2.dts | 42 +++--- .../dts/nxp/imx/imx7d-colibri-emmc-iris.dts | 42 +++--- .../arm/boot/dts/nxp/imx/imx7d-colibri.dtsi | 70 +++++----- .../nxp/imx/imx7d-flex-concentrator-mfg.dts | 50 +++---- .../arm/boot/dts/nxp/imx/imx7d-tqma7.dtsi | 30 ++-- .../boot/dts/nxp/imx/imx7s-colibri-aster.dts | 72 +++++----- .../arch/arm/boot/dts/nxp/imx/imx7s-mba7.dts | 36 ++--- .../arch/arm/boot/dts/nxp/mxs/mxs-pinfunc.h | 50 +++---- .../kernel/arch/arm/boot/dts/nxp/vf/Makefile | 32 ++--- .../boot/dts/nxp/vf/vf500-colibri-eval-v3.dts | 36 ++--- .../arm/boot/dts/nxp/vf/vf610-colibri.dtsi | 44 +++--- .../arch/arm/boot/dts/nxp/vf/vf610.dtsi | 40 +++--- .../kernel/arch/arm/boot/dts/qcom/pm8821.dtsi | 44 +++--- .../boot/dts/qcom/qcom-apq8084-ifc6540.dts | 68 ++++----- .../arm/boot/dts/qcom/qcom-apq8084-mtp.dts | 46 +++---- .../dts/qcom/qcom-ipq4019-ap.dk04.1-c1.dts | 38 ++--- .../dts/qcom/qcom-ipq4019-ap.dk07.1-c2.dts | 50 +++---- .../arm/boot/dts/qcom/qcom-ipq8064-ap148.dts | 54 ++++---- .../qcom/qcom-msm8226-microsoft-dempsey.dts | 34 ++--- .../qcom/qcom-msm8226-microsoft-makepeace.dts | 34 ++--- .../dts/qcom/qcom-msm8226-samsung-s3ve3g.dts | 48 +++---- .../arm/boot/dts/qcom/qcom-msm8960-pins.dtsi | 42 +++--- .../dts/qcom/qcom-msm8974pro-samsung-klte.dts | 32 ++--- .../qcom/qcom-msm8974pro-samsung-kltechn.dts | 32 ++--- .../arm/boot/dts/qcom/qcom-msm8974pro.dtsi | 38 ++--- .../boot/dts/realtek/rtd1195-horseradish.dts | 64 ++++----- .../boot/dts/realtek/rtd1195-mele-x1000.dts | 64 ++++----- .../dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dts | 40 +++--- .../boot/dts/renesas/r8a7743-iwg20d-q7.dts | 38 ++--- .../dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dts | 34 ++--- .../boot/dts/renesas/r8a7744-iwg20d-q7.dts | 30 ++-- .../boot/dts/rockchip/rk3288-firefly-beta.dts | 68 ++++----- .../arm/boot/dts/rockchip/rk3288-firefly.dts | 68 ++++----- .../boot/dts/rockchip/rk3288-rock-pi-n8.dts | 34 ++--- .../arm/boot/dts/rockchip/rk3288-tinker-s.dts | 60 ++++---- .../rk3288-veyron-broadcom-bluetooth.dtsi | 44 +++--- .../arch/arm/boot/dts/rockchip/rv1109.dtsi | 46 +++---- .../boot/dts/rockchip/rv1126-sonoff-ihost.dts | 58 ++++---- .../samsung/exynos-mfc-reserved-memory.dtsi | 64 ++++----- .../dts/samsung/exynos-syscon-restart.dtsi | 40 +++--- .../dts/samsung/exynos4212-tab3-wifi8.dts | 52 +++---- .../arm/boot/dts/samsung/exynos4412-i9300.dts | 54 ++++---- .../arm/boot/dts/samsung/exynos4412-i9305.dts | 42 +++--- .../boot/dts/samsung/exynos4412-odroidx2.dts | 44 +++--- .../dts/samsung/exynos4412-p4note-n8010.dts | 36 ++--- .../arch/arm/boot/dts/sigmastar/Makefile | 20 +-- .../mstar-infinity-msc313-breadbee_crust.dts | 52 +++---- .../mstar-infinity2m-ssd201-som2d01.dtsi | 40 +++--- ...nfinity2m-ssd202d-100ask-dongshanpione.dts | 50 +++---- .../mstar-infinity2m-ssd202d-miyoo-mini.dts | 50 +++---- .../mstar-infinity2m-ssd202d-ssd201htv2.dts | 50 +++---- .../mstar-infinity2m-ssd202d-unitv2.dts | 50 +++---- ...sd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts | 46 +++---- ...ity2m-ssd202d-wirelesstag-ido-som2d01.dtsi | 56 ++++---- .../mstar-infinity3-msc313e-breadbee.dts | 52 +++---- .../mstar-mercury5-ssc8336n-midrived08.dts | 50 +++---- .../arch/arm/boot/dts/socionext/Makefile | 26 ++-- .../boot/dts/socionext/milbeaut-m10v-evb.dts | 64 ++++----- .../arch/arm/boot/dts/st/spear320s.dtsi | 48 +++---- .../arch/arm/boot/dts/st/stih407-b2120.dts | 54 ++++---- .../arch/arm/boot/dts/st/stih410-pinctrl.dtsi | 62 ++++----- .../arch/arm/boot/dts/st/stm32f469.dtsi | 36 ++--- .../arch/arm/boot/dts/st/stm32mp13xc.dtsi | 34 ++--- .../arch/arm/boot/dts/st/stm32mp13xf.dtsi | 34 ++--- .../dts/st/stm32mp151a-dhcor-testbench.dts | 34 ++--- .../arch/arm/boot/dts/st/stm32mp157a-dk1.dts | 50 +++---- .../arch/arm/boot/dts/st/stm32mp15xc.dtsi | 34 ++--- .../dts/sunplus/sunplus-sp7021-demo-v3.dts | 60 ++++---- .../arch/arm/boot/dts/ti/omap/am335x-bone.dts | 46 +++---- .../dts/ti/omap/am335x-boneblack-common.dtsi | 60 ++++---- .../arm/boot/dts/ti/omap/am335x-bonegreen.dts | 28 ++-- .../boot/dts/ti/omap/am335x-phycore-rdk.dts | 56 ++++---- .../boot/dts/ti/omap/am3517_mt_ventoux.dts | 48 +++---- .../arch/arm/boot/dts/ti/omap/am5718.dtsi | 58 ++++---- .../arch/arm/boot/dts/ti/omap/am5728.dtsi | 68 ++++----- .../arch/arm/boot/dts/ti/omap/am5748.dtsi | 68 ++++----- .../dts/ti/omap/am57xx-commercial-grade.dtsi | 48 +++---- .../dts/ti/omap/am57xx-industrial-grade.dtsi | 48 +++---- .../boot/dts/ti/omap/dra7-dspeve-thermal.dtsi | 48 +++---- .../boot/dts/ti/omap/dra7-iva-thermal.dtsi | 48 +++---- .../ti/omap/logicpd-torpedo-35xx-devkit.dts | 42 +++--- .../omap/motorola-mapphone-mz607-mz617.dtsi | 42 +++--- .../arch/arm/boot/dts/ti/omap/omap3-ha.dts | 50 +++---- .../boot/dts/ti/omap/omap3-overo-alto35.dts | 38 ++--- .../dts/ti/omap/omap3-overo-storm-alto35.dts | 36 ++--- .../dts/ti/omap/omap3-overo-storm-summit.dts | 54 ++++---- .../dts/ti/omap/omap3-overo-storm-tobi.dts | 38 ++--- .../dts/ti/omap/omap3-overo-storm-tobiduo.dts | 36 ++--- .../ti/omap/omap3-overo-summit-common.dtsi | 58 ++++---- .../boot/dts/ti/omap/omap3-overo-summit.dts | 54 ++++---- .../arm/boot/dts/ti/omap/omap3-overo-tobi.dts | 38 ++--- .../boot/dts/ti/omap/omap3-overo-tobiduo.dts | 36 ++--- .../arm/boot/dts/ti/omap/omap4-panda-a4.dts | 34 ++--- .../boot/dts/ti/omap/omap4-sdp-es23plus.dts | 28 ++-- .../boot/dts/ti/omap/omap4-var-stk-om44.dts | 28 ++-- .../arm/boot/dts/ti/omap/omap443x-clocks.dtsi | 32 ++--- .../arm/boot/dts/ti/omap/omap446x-clocks.dtsi | 52 +++---- .../boot/dts/ti/omap/omap5-core-thermal.dtsi | 50 +++---- .../boot/dts/ti/omap/omap5-gpu-thermal.dtsi | 50 +++---- .../arm/boot/dts/vt8500/wm8750-apc8750.dts | 58 ++++---- .../kernel/arch/arm/boot/dts/xilinx/Makefile | 34 ++--- .../kernel/arch/arm/common/Makefile | 34 ++--- .../kernel/arch/arm/common/firmware.c | 30 ++-- .../kernel/arch/arm/common/vlock.h | 42 +++--- .../kernel/arch/arm/crypto/aes-cipher.h | 26 ++-- .../kernel/arch/arm/crypto/sha1.h | 28 ++-- .../kernel/arch/arm/crypto/sha256_glue.h | 30 ++-- .../kernel/arch/arm/include/asm/arm-cci.h | 62 ++++----- .../kernel/arch/arm/include/asm/bitrev.h | 42 +++--- .../kernel/arch/arm/include/asm/cpu.h | 44 +++--- .../kernel/arch/arm/include/asm/device.h | 58 ++++---- .../kernel/arch/arm/include/asm/dmi.h | 30 ++-- .../kernel/arch/arm/include/asm/exception.h | 30 ++-- .../kernel/arch/arm/include/asm/glue.h | 44 +++--- .../arm/include/asm/hardware/cache-uniphier.h | 42 +++--- .../arch/arm/include/asm/hardware/memc.h | 46 +++---- .../arch/arm/include/asm/hardware/ssp.h | 50 +++---- .../kernel/arch/arm/include/asm/hugetlb.h | 48 +++---- .../kernel/arch/arm/include/asm/hw_irq.h | 34 ++--- .../kernel/arch/arm/include/asm/hwcap.h | 32 ++--- .../kernel/arch/arm/include/asm/idmap.h | 30 ++-- .../kernel/arch/arm/include/asm/mach/irq.h | 60 ++++---- .../arch/arm/include/asm/mcs_spinlock.h | 48 +++---- .../kernel/arch/arm/include/asm/mman.h | 28 ++-- .../kernel/arch/arm/include/asm/mtd-xip.h | 40 +++--- .../kernel/arch/arm/include/asm/opcodes-sec.h | 34 ++--- .../kernel/arch/arm/include/asm/paravirt.h | 44 +++--- .../kernel/arch/arm/include/asm/patch.h | 36 ++--- .../kernel/arch/arm/include/asm/prom.h | 50 +++---- .../kernel/arch/arm/include/asm/psci.h | 36 ++--- .../kernel/arch/arm/include/asm/shmparam.h | 34 ++--- .../kernel/arch/arm/include/asm/smp_twd.h | 44 +++--- .../arch/arm/include/asm/spinlock_types.h | 68 ++++----- .../kernel/arch/arm/include/asm/suspend.h | 36 ++--- .../kernel/arch/arm/include/asm/timex.h | 32 ++--- .../kernel/arch/arm/include/asm/vdso.h | 62 ++++----- .../arch/arm/include/asm/vdso/processor.h | 44 +++--- .../kernel/arch/arm/include/asm/vga.h | 30 ++-- .../kernel/arch/arm/include/uapi/asm/fcntl.h | 24 ++-- .../arch/arm/include/uapi/asm/perf_regs.h | 48 +++---- .../kernel/arch/arm/include/uapi/asm/statfs.h | 26 ++-- .../kernel/arch/arm/kernel/atags.h | 30 ++-- .../kernel/arch/arm/kernel/paravirt.c | 46 +++---- .../kernel/arch/arm/kernel/v7m.c | 32 ++--- .../kernel/arch/arm/lib/csumipv6.S | 60 ++++---- .../kernel/arch/arm/lib/memchr.S | 46 +++---- .../kernel/arch/arm/lib/strchr.S | 48 +++---- .../kernel/arch/arm/lib/strrchr.S | 46 +++---- .../kernel/arch/arm/lib/testchangebit.S | 32 ++--- .../kernel/arch/arm/lib/testclearbit.S | 32 ++--- .../kernel/arch/arm/lib/testsetbit.S | 32 ++--- .../kernel/arch/arm/mach-actions/Kconfig | 32 ++--- .../kernel/arch/arm/mach-alpine/Kconfig | 28 ++-- .../arch/arm/mach-alpine/alpine_cpu_pm.h | 34 ++--- .../kernel/arch/arm/mach-artpec/Kconfig | 44 +++--- .../kernel/arch/arm/mach-at91/sam_secure.h | 38 ++--- .../kernel/arch/arm/mach-at91/samv7.c | 34 ++--- .../kernel/arch/arm/mach-axxia/Kconfig | 30 ++-- .../kernel/arch/arm/mach-axxia/axxia.c | 38 ++--- .../kernel/arch/arm/mach-bcm/bcm2711.c | 50 +++---- .../kernel/arch/arm/mach-bcm/bcm_cygnus.c | 30 ++-- .../kernel/arch/arm/mach-bcm/bcm_kona_smc.h | 44 +++--- .../kernel/arch/arm/mach-bcm/board_bcm21664.c | 42 +++--- .../kernel/arch/arm/mach-bcm/board_bcm2835.c | 58 ++++---- .../kernel/arch/arm/mach-berlin/berlin.c | 52 +++---- .../kernel/arch/arm/mach-berlin/headsmp.S | 42 +++--- .../kernel/arch/arm/mach-davinci/Makefile | 44 +++--- .../kernel/arch/arm/mach-dove/Kconfig | 56 ++++---- .../kernel/arch/arm/mach-exynos/Makefile | 28 ++-- .../kernel/arch/arm/mach-exynos/exynos-smc.S | 40 +++--- .../kernel/arch/arm/mach-footbridge/Makefile | 36 ++--- .../kernel/arch/arm/mach-footbridge/common.h | 30 ++-- .../mach-footbridge/include/mach/isa-dma.h | 36 ++--- .../kernel/arch/arm/mach-gemini/Kconfig | 40 +++--- .../kernel/arch/arm/mach-highbank/Kconfig | 34 ++--- .../kernel/arch/arm/mach-highbank/core.h | 36 ++--- .../kernel/arch/arm/mach-highbank/smc.S | 50 +++---- .../kernel/arch/arm/mach-highbank/system.c | 44 +++--- .../kernel/arch/arm/mach-hisi/core.h | 38 ++--- .../kernel/arch/arm/mach-imx/irq-common.c | 62 ++++----- .../kernel/arch/arm/mach-imx/mach-imx1.c | 50 +++---- .../kernel/arch/arm/mach-imx/mach-imx31.c | 36 ++--- .../kernel/arch/arm/mach-imx/mach-imx35.c | 46 +++---- .../kernel/arch/arm/mach-imx/mach-imx50.c | 52 +++---- .../kernel/arch/arm/mach-imx/mach-imx7d-cm4.c | 36 ++--- .../kernel/arch/arm/mach-imx/mach-imxrt.c | 38 ++--- .../kernel/arch/arm/mach-imx/mach-ls1021a.c | 36 ++--- .../kernel/arch/arm/mach-imx/mx31.h | 36 ++--- .../kernel/arch/arm/mach-imx/mx35.h | 36 ++--- .../kernel/arch/arm/mach-imx/pm-imx25.c | 70 +++++----- .../kernel/arch/arm/mach-imx/resume-imx6.S | 52 +++---- .../kernel/arch/arm/mach-imx/ssi-fiq-ksym.c | 34 ++--- .../kernel/arch/arm/mach-ixp4xx/Kconfig | 38 ++--- .../kernel/arch/arm/mach-ixp4xx/ixp4xx-of.c | 44 +++--- .../kernel/arch/arm/mach-keystone/Kconfig | 32 ++--- .../kernel/arch/arm/mach-lpc18xx/board-dt.c | 38 ++--- .../kernel/arch/arm/mach-meson/Kconfig | 58 ++++---- .../kernel/arch/arm/mach-meson/meson.c | 40 +++--- .../kernel/arch/arm/mach-milbeaut/Kconfig | 40 +++--- .../kernel/arch/arm/mach-mmp/mmp3.c | 50 +++---- .../kernel/arch/arm/mach-mstar/Kconfig | 46 +++---- .../kernel/arch/arm/mach-mv78xx0/Kconfig | 48 +++---- .../kernel/arch/arm/mach-mvebu/Makefile | 36 ++--- .../arch/arm/mach-mvebu/armada-370-xp.h | 40 +++--- .../kernel/arch/arm/mach-mvebu/coherency.h | 40 +++--- .../kernel/arch/arm/mach-mvebu/headsmp-a9.S | 40 +++--- .../kernel/arch/arm/mach-mvebu/kirkwood-pm.h | 36 ++--- .../kernel/arch/arm/mach-mvebu/kirkwood.h | 38 ++--- .../kernel/arch/arm/mach-mxs/Kconfig | 56 ++++---- .../kernel/arch/arm/mach-mxs/pm.c | 64 ++++----- .../kernel/arch/arm/mach-nomadik/Makefile | 24 ++-- .../kernel/arch/arm/mach-npcm/headsmp.S | 38 ++--- .../kernel/arch/arm/mach-npcm/npcm7xx.c | 44 +++--- .../kernel/arch/arm/mach-omap1/flash.c | 52 +++---- .../kernel/arch/arm/mach-omap1/mmc.h | 38 ++--- .../kernel/arch/arm/mach-omap1/opp.h | 52 +++---- .../kernel/arch/arm/mach-omap2/am33xx.h | 38 ++--- .../kernel/arch/arm/mach-omap2/clock2xxx.h | 34 ++--- .../kernel/arch/arm/mach-omap2/display.h | 44 +++--- .../kernel/arch/arm/mach-omap2/hdq1w.h | 46 +++---- .../kernel/arch/arm/mach-omap2/l3_2xxx.h | 30 ++-- .../kernel/arch/arm/mach-omap2/l3_3xxx.h | 30 ++-- .../kernel/arch/arm/mach-omap2/mmc.h | 36 ++--- .../mach-omap2/powerdomains2xxx_3xxx_data.h | 38 ++--- .../arm/mach-omap2/voltagedomains2xxx_data.c | 58 ++++---- .../arch/arm/mach-orion5x/tsx09-common.h | 42 +++--- .../kernel/arch/arm/mach-pxa/mfp.h | 36 ++--- .../kernel/arch/arm/mach-rockchip/headsmp.S | 32 ++--- .../kernel/arch/arm/mach-rpc/fiq.S | 36 ++--- .../kernel/arch/arm/mach-rpc/floppydma.S | 58 ++++---- .../arch/arm/mach-rpc/include/mach/isa-dma.h | 52 +++---- .../kernel/arch/arm/mach-rpc/io-acorn.S | 56 ++++---- .../kernel/arch/arm/mach-s3c/Makefile | 46 +++---- .../kernel/arch/arm/mach-s3c/map-s5p.h | 40 +++--- .../kernel/arch/arm/mach-s3c/pwm-core.h | 38 ++--- .../kernel/arch/arm/mach-s3c/regs-irqtype.h | 34 ++--- .../arm/mach-s3c/setup-fb-24bpp-s3c64xx.c | 46 +++---- .../arch/arm/mach-s3c/setup-i2c0-s3c64xx.c | 48 +++---- .../arch/arm/mach-s3c/setup-i2c1-s3c64xx.c | 48 +++---- .../arch/arm/mach-s3c/setup-keypad-s3c64xx.c | 40 +++--- .../arch/arm/mach-s3c/setup-spi-s3c64xx.c | 36 ++--- .../kernel/arch/arm/mach-s3c/usb-phy.h | 26 ++-- .../kernel/arch/arm/mach-s5pv210/Kconfig | 60 ++++---- .../kernel/arch/arm/mach-s5pv210/common.h | 38 ++--- .../kernel/arch/arm/mach-s5pv210/sleep.S | 64 ++++----- .../kernel/arch/arm/mach-sa1100/Makefile | 40 +++--- .../arch/arm/mach-sa1100/include/mach/reset.h | 36 ++--- .../arch/arm/mach-shmobile/setup-r7s72100.c | 52 +++---- .../arch/arm/mach-shmobile/setup-r7s9210.c | 54 ++++---- .../arch/arm/mach-shmobile/setup-r8a73a4.c | 46 +++---- .../kernel/arch/arm/mach-spear/misc_regs.h | 34 ++--- .../kernel/arch/arm/mach-spear/pl080.h | 36 ++--- .../kernel/arch/arm/mach-tegra/Kconfig | 38 ++--- .../kernel/arch/arm/mach-tegra/board.h | 48 +++---- .../kernel/arch/arm/mach-tegra/common.h | 30 ++-- .../kernel/arch/arm/mach-tegra/irammap.h | 42 +++--- .../kernel/arch/arm/mach-tegra/pm-tegra20.c | 48 +++---- .../kernel/arch/arm/mach-tegra/pm-tegra30.c | 48 +++---- .../kernel/arch/arm/mach-versatile/platsmp.h | 22 +-- .../kernel/arch/arm/mach-versatile/realview.c | 48 +++---- .../kernel/arch/arm/mach-versatile/spc.h | 36 ++--- .../kernel/arch/arm/mach-zynq/Kconfig | 34 ++--- .../kernel/arch/arm/mach-zynq/headsmp.S | 46 +++---- .../kernel/arch/arm/mm/abort-ev7.S | 44 +++--- .../kernel/arch/arm/mm/abort-nommu.S | 42 +++--- .../kernel/arch/arm/mm/extable.c | 44 +++--- .../kernel/arch/arm/mm/l2c-common.c | 34 ++--- .../kernel/arch/arm/mm/pabort-legacy.S | 44 +++--- .../kernel/arch/arm/mm/pabort-v6.S | 44 +++--- .../kernel/arch/arm/mm/pabort-v7.S | 44 +++--- .../kernel/arch/arm/mm/ptdump_debugfs.c | 38 ++--- .../kernel/arch/arm/nwfpe/Makefile | 38 ++--- .../arch/arm/plat-orion/include/plat/irq.h | 30 ++-- .../arch/arm/plat-orion/include/plat/time.h | 40 +++--- .../kernel/arch/arm/probes/kprobes/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/arch/arm/vdso/note.c | 30 ++-- .../UFI003_MB_V02/kernel/arch/arm/vdso/vdso.S | 46 +++---- .../arch/arm64/boot/dts/airoha/en7581-evb.dts | 52 +++---- .../allwinner/sun50i-a64-olinuxino-emmc.dts | 50 +++---- .../dts/allwinner/sun50i-a64-pine64-lts.dts | 50 +++---- .../allwinner/sun50i-a64-pinephone-1.0.dts | 40 +++--- .../sun50i-a64-pinetab-early-adopter.dts | 52 +++---- .../sun50i-h5-libretech-all-h3-cc.dts | 34 ++--- .../sun50i-h616-bigtreetech-cb1-manta.dts | 70 +++++----- .../arm64/boot/dts/amazon/alpine-v3-evp.dts | 48 +++---- .../arch/arm64/boot/dts/amd/elba-asic.dts | 56 ++++---- .../arm64/boot/dts/amlogic/meson-a1-ad401.dts | 60 ++++---- .../amlogic/meson-g12a-fbx8am-realtek.dtso | 42 +++--- .../dts/amlogic/meson-g12b-dreambox-two.dts | 40 +++--- .../dts/amlogic/meson-gxbb-vega-s95-telos.dts | 36 ++--- .../boot/dts/amlogic/meson-gxl-mali.dtsi | 34 ++--- .../boot/dts/amlogic/meson-gxl-s805x.dtsi | 46 +++---- .../amlogic/meson-gxl-s905d-libretech-pc.dts | 32 ++--- .../boot/dts/amlogic/meson-gxl-s905d-p231.dts | 56 ++++---- .../amlogic/meson-gxl-s905d-phicomm-n1.dts | 70 +++++----- .../boot/dts/amlogic/meson-gxl-s905w-p281.dts | 52 +++---- .../boot/dts/amlogic/meson-gxl-s905x.dtsi | 36 ++--- .../arm64/boot/dts/amlogic/meson-gxm-q201.dts | 56 ++++---- .../arch/arm64/boot/dts/apple/multi-die-cpp.h | 44 +++--- .../arch/arm64/boot/dts/apple/t6000-j314s.dts | 36 ++--- .../arch/arm64/boot/dts/apple/t6000-j316s.dts | 36 ++--- .../arch/arm64/boot/dts/apple/t6000.dtsi | 36 ++--- .../arch/arm64/boot/dts/apple/t6001-j314c.dts | 36 ++--- .../arch/arm64/boot/dts/apple/t6001-j316c.dts | 36 ++--- .../kernel/arch/arm64/boot/dts/arm/Makefile | 18 +-- .../boot/dts/arm/foundation-v8-gicv2.dtsi | 38 ++--- .../dts/arm/foundation-v8-spin-table.dtsi | 50 +++---- .../arch/arm64/boot/dts/arm/juno-r1-scmi.dts | 54 ++++---- .../arch/arm64/boot/dts/arm/juno-r2-scmi.dts | 54 ++++---- .../boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi | 68 ++++----- .../arch/arm64/boot/dts/broadcom/Makefile | 36 ++--- .../arm64/boot/dts/broadcom/bcmbca/Makefile | 28 ++-- .../bcmbca/bcm4908-netgear-raxe500.dts | 100 +++++++------- .../boot/dts/broadcom/bcmbca/bcm94908.dts | 86 ++++++------ .../boot/dts/broadcom/bcmbca/bcm94912.dts | 88 ++++++------ .../boot/dts/broadcom/bcmbca/bcm963146.dts | 88 ++++++------ .../boot/dts/broadcom/bcmbca/bcm963158.dts | 88 ++++++------ .../boot/dts/broadcom/bcmbca/bcm96813.dts | 88 ++++++------ .../boot/dts/broadcom/bcmbca/bcm96856.dts | 88 ++++++------ .../boot/dts/broadcom/bcmbca/bcm96858.dts | 88 ++++++------ .../dts/broadcom/stingray/bcm958802a802x.dts | 52 +++---- .../arm64/boot/dts/cavium/thunder2-99xx.dts | 60 ++++---- .../fsl-ls1028a-kontron-sl28-var3.dts | 36 ++--- .../boot/dts/freescale/fsl-ls2080a-qds.dts | 50 +++---- .../boot/dts/freescale/fsl-ls2080a-simu.dts | 58 ++++---- .../boot/dts/freescale/fsl-ls2088a-qds.dts | 48 +++---- ...l-lx2160a-tqmlx2160a-mblx2160a_12_x_x.dtso | 58 ++++---- ...sl-lx2160a-tqmlx2160a-mblx2160a_x_8_x.dtso | 94 ++++++------- .../arm64/boot/dts/freescale/imx8-ss-ddr.dtsi | 36 ++--- .../boot/dts/freescale/imx8dx-colibri.dtsi | 44 +++--- .../dts/freescale/imx8dxp-tqma8xdp-mba8xx.dts | 32 ++--- .../boot/dts/freescale/imx8dxp-tqma8xdp.dtsi | 48 +++---- .../arm64/boot/dts/freescale/imx8dxp.dtsi | 48 +++---- .../boot/dts/freescale/imx8mm-emcon-avari.dts | 46 +++---- .../dts/freescale/imx8mm-venice-gw71xx-0x.dts | 38 ++--- .../dts/freescale/imx8mm-venice-gw72xx-0x.dts | 38 ++--- .../dts/freescale/imx8mm-venice-gw73xx-0x.dts | 38 ++--- .../dts/freescale/imx8mm-venice-gw75xx-0x.dts | 56 ++++---- .../imx8mm-verdin-nonwifi-dahlia.dts | 36 ++--- .../freescale/imx8mm-verdin-nonwifi-dev.dts | 36 ++--- .../imx8mm-verdin-nonwifi-mallow.dts | 36 ++--- .../freescale/imx8mm-verdin-nonwifi-yavia.dts | 36 ++--- .../freescale/imx8mm-verdin-wifi-dahlia.dts | 36 ++--- .../dts/freescale/imx8mm-verdin-wifi-dev.dts | 36 ++--- .../freescale/imx8mm-verdin-wifi-mallow.dts | 36 ++--- .../freescale/imx8mm-verdin-wifi-yavia.dts | 36 ++--- .../boot/dts/freescale/imx8mn-overdrive.dtsi | 36 ++--- .../dts/freescale/imx8mp-skov-revb-hdmi.dts | 40 +++--- .../dts/freescale/imx8mp-venice-gw71xx-2x.dts | 38 ++--- .../dts/freescale/imx8mp-venice-gw72xx-2x.dts | 38 ++--- .../dts/freescale/imx8mp-venice-gw73xx-2x.dts | 38 ++--- .../dts/freescale/imx8mp-venice-gw75xx-2x.dts | 56 ++++---- .../imx8mp-verdin-nonwifi-dahlia.dts | 36 ++--- .../freescale/imx8mp-verdin-nonwifi-dev.dts | 36 ++--- .../imx8mp-verdin-nonwifi-mallow.dts | 36 ++--- .../freescale/imx8mp-verdin-nonwifi-yavia.dts | 36 ++--- .../freescale/imx8mp-verdin-wifi-dahlia.dts | 36 ++--- .../dts/freescale/imx8mp-verdin-wifi-dev.dts | 36 ++--- .../freescale/imx8mp-verdin-wifi-mallow.dts | 36 ++--- .../freescale/imx8mp-verdin-wifi-yavia.dts | 36 ++--- .../boot/dts/freescale/imx8mq-librem5-r2.dts | 54 ++++---- .../boot/dts/freescale/imx8mq-librem5-r4.dts | 54 ++++---- .../imx8qm-apalis-v1.1-eval-v1.2.dts | 52 +++---- .../dts/freescale/imx8qm-apalis-v1.1-eval.dts | 32 ++--- .../imx8qm-apalis-v1.1-ixora-v1.1.dts | 32 ++--- .../imx8qm-apalis-v1.1-ixora-v1.2.dts | 32 ++--- .../boot/dts/freescale/imx8qm-ss-mipi.dtsi | 36 ++--- .../boot/dts/freescale/imx8qxp-ss-adma.dtsi | 74 +++++----- .../boot/dts/freescale/imx8qxp-ss-conn.dtsi | 50 +++---- .../boot/dts/freescale/imx8qxp-ss-vpu.dtsi | 50 +++---- .../dts/freescale/imx8qxp-tqma8xqp-mba8xx.dts | 32 ++--- .../arm64/boot/dts/freescale/s32g274a-evb.dts | 78 +++++------ .../arm64/boot/dts/freescale/s32v234-evb.dts | 50 +++---- .../arch/arm64/boot/dts/intel/keembay-evm.dts | 74 +++++----- .../boot/dts/intel/socfpga_agilex5_socdk.dts | 78 +++++------ .../arch/arm64/boot/dts/lg/lg1312-ref.dts | 74 +++++----- .../arch/arm64/boot/dts/lg/lg1313-ref.dts | 74 +++++----- .../arm64/boot/dts/marvell/armada-371x.dtsi | 34 ++--- .../dts/marvell/armada-3720-espressobin.dts | 40 +++--- .../arm64/boot/dts/marvell/armada-372x.dtsi | 54 ++++---- .../arm64/boot/dts/marvell/armada-7020.dtsi | 32 ++--- .../arm64/boot/dts/marvell/armada-8080-db.dts | 56 ++++---- .../arm64/boot/dts/marvell/armada-8080.dtsi | 28 ++-- .../arm64/boot/dts/marvell/armada-ap806.dtsi | 60 ++++---- .../arm64/boot/dts/marvell/armada-common.dtsi | 22 +-- .../arm64/boot/dts/marvell/cn9130-db-B.dts | 44 +++--- .../arch/arm64/boot/dts/marvell/cn9130-db.dts | 44 +++--- .../arm64/boot/dts/marvell/cn9131-db-B.dts | 44 +++--- .../arch/arm64/boot/dts/marvell/cn9131-db.dts | 44 +++--- .../arm64/boot/dts/marvell/cn9132-db-B.dts | 44 +++--- .../arch/arm64/boot/dts/marvell/cn9132-db.dts | 44 +++--- .../arm64/boot/dts/mediatek/mt6755-evb.dts | 62 ++++----- .../arm64/boot/dts/mediatek/mt6779-evb.dts | 64 ++++----- .../arm64/boot/dts/mediatek/mt6795-evb.dts | 68 ++++----- .../arm64/boot/dts/mediatek/mt6797-evb.dts | 62 ++++----- .../mt7986a-bananapi-bpi-r3-emmc.dtso | 50 +++---- .../boot/dts/mediatek/mt8167-pumpkin.dts | 42 +++--- .../dts/mediatek/mt8173-elm-hana-rev7.dts | 56 ++++---- .../arm64/boot/dts/mediatek/mt8173-elm.dts | 30 ++-- .../mediatek/mt8183-kukui-audio-ts3a227e.dtsi | 62 ++++----- .../mediatek/mt8183-kukui-jacuzzi-fennel.dtsi | 60 ++++---- .../mt8183-kukui-jacuzzi-fennel14-sku2.dts | 36 ++--- .../mt8183-kukui-jacuzzi-fennel14.dts | 36 ++--- .../mt8183-kukui-jacuzzi-juniper.dtsi | 54 ++++---- .../mediatek/mt8183-kukui-jacuzzi-kappa.dts | 36 ++--- .../mediatek/mt8183-kukui-jacuzzi-kenzo.dts | 58 ++++---- .../mt8183-kukui-jacuzzi-makomo-sku0.dts | 48 +++---- .../mt8183-kukui-jacuzzi-makomo-sku1.dts | 48 +++---- .../mediatek/mt8183-kukui-kodama-sku16.dts | 44 +++--- .../mediatek/mt8183-kukui-kodama-sku272.dts | 44 +++--- .../mediatek/mt8183-kukui-kodama-sku288.dts | 44 +++--- .../mediatek/mt8183-kukui-kodama-sku32.dts | 44 +++--- .../dts/mediatek/mt8183-kukui-krane-sku0.dts | 48 +++---- .../mediatek/mt8183-kukui-krane-sku176.dts | 48 +++---- .../mt8186-corsola-magneton-sku393218.dts | 52 +++---- .../mt8186-corsola-rusty-sku196608.dts | 52 +++---- .../mt8186-corsola-steelix-sku131072.dts | 36 ++--- .../mt8186-corsola-steelix-sku131073.dts | 36 ++--- .../mt8186-corsola-tentacool-sku327683.dts | 48 +++---- .../mt8186-corsola-voltorb-sku589825.dts | 50 +++---- .../arm64/boot/dts/mediatek/mt8192-evb.dts | 60 ++++---- .../dts/mediatek/mt8195-cherry-tomato-r1.dts | 58 ++++---- .../boot/dts/mediatek/mt8516-pumpkin.dts | 40 +++--- .../arm64/boot/dts/microchip/sparx5_nand.dtsi | 62 ++++----- .../boot/dts/microchip/sparx5_pcb134.dts | 36 ++--- .../boot/dts/microchip/sparx5_pcb135.dts | 36 ++--- .../boot/dts/microchip/sparx5_pcb_common.dtsi | 62 ++++----- .../boot/dts/nuvoton/nuvoton-npcm845-evb.dts | 60 ++++---- .../boot/dts/nvidia/tegra194-p3668-0001.dtsi | 46 +++---- .../boot/dts/nvidia/tegra234-p3701-0000.dtsi | 60 ++++---- .../boot/dts/nvidia/tegra234-p3701-0008.dtsi | 58 ++++---- .../nvidia/tegra234-p3768-0000+p3767-0000.dts | 38 ++--- .../nvidia/tegra234-p3768-0000+p3767-0005.dts | 38 ++--- .../boot/dts/nvidia/tegra234-sim-vdk.dts | 80 +++++------ ...q8094-sony-xperia-kitakami-karin_windy.dts | 48 +++---- .../arm64/boot/dts/qcom/ipq9574-rdp449.dts | 34 ++--- .../arm64/boot/dts/qcom/ipq9574-rdp453.dts | 34 ++--- .../arm64/boot/dts/qcom/ipq9574-rdp454.dts | 32 ++--- .../dts/qcom/msm8216-samsung-fortuna3g.dts | 50 +++---- .../arch/arm64/boot/dts/qcom/msm8916-mtp.dts | 54 ++++---- .../boot/dts/qcom/msm8916-samsung-a5-zt.dts | 60 ++++---- .../qcom/msm8916-samsung-grandprimelte.dts | 60 ++++---- .../boot/dts/qcom/msm8916-thwc-uf896.dts | 70 +++++----- .../boot/dts/qcom/msm8916-yiming-uz801v3.dts | 70 +++++----- .../qcom/msm8956-sony-xperia-loire-suzu.dts | 34 ++--- .../arch/arm64/boot/dts/qcom/msm8956.dtsi | 44 +++--- .../msm8992-msft-lumia-octagon-talkman.dts | 32 ++--- .../msm8994-msft-lumia-octagon-cityman.dts | 32 ++--- .../qcom/msm8994-sony-xperia-kitakami-ivy.dts | 54 ++++---- .../msm8994-sony-xperia-kitakami-satsuki.dts | 38 ++--- .../msm8994-sony-xperia-kitakami-suzuran.dts | 42 +++--- .../arch/arm64/boot/dts/qcom/msm8996-mtp.dts | 68 ++++----- .../qcom/msm8996-sony-xperia-tone-dora.dts | 56 ++++---- .../qcom/msm8996-sony-xperia-tone-kagura.dts | 32 ++--- .../qcom/msm8996-sony-xperia-tone-keyaki.dts | 54 ++++---- .../boot/dts/qcom/msm8998-hp-envy-x2.dts | 64 ++++----- .../dts/qcom/msm8998-oneplus-dumpling.dts | 52 +++---- .../arch/arm64/boot/dts/qcom/pm8004.dtsi | 48 +++---- .../arch/arm64/boot/dts/qcom/pmi8996.dtsi | 30 ++-- .../arch/arm64/boot/dts/qcom/qru1000.dtsi | 52 +++---- .../arch/arm64/boot/dts/qcom/sc7180-lite.dtsi | 52 +++---- .../dts/qcom/sc7180-trogdor-coachz-r1-lte.dts | 36 ++--- .../dts/qcom/sc7180-trogdor-coachz-r3-lte.dts | 36 ++--- .../dts/qcom/sc7180-trogdor-homestar-r2.dts | 44 +++--- .../dts/qcom/sc7180-trogdor-homestar-r3.dts | 34 ++--- .../dts/qcom/sc7180-trogdor-homestar-r4.dts | 42 +++--- ...sc7180-trogdor-lazor-limozeen-nots-r10.dts | 58 ++++---- .../sc7180-trogdor-lazor-limozeen-nots-r9.dts | 58 ++++---- .../dts/qcom/sc7180-trogdor-lazor-r1-lte.dts | 44 +++--- .../boot/dts/qcom/sc7180-trogdor-lazor-r1.dts | 54 ++++---- .../dts/qcom/sc7180-trogdor-lazor-r10-kb.dts | 46 +++---- .../dts/qcom/sc7180-trogdor-lazor-r10-lte.dts | 54 ++++---- .../dts/qcom/sc7180-trogdor-lazor-r10.dts | 38 ++--- .../dts/qcom/sc7180-trogdor-lazor-r3-kb.dts | 52 +++---- .../boot/dts/qcom/sc7180-trogdor-lazor-r3.dts | 42 +++--- .../dts/qcom/sc7180-trogdor-lazor-r9-kb.dts | 46 +++---- .../dts/qcom/sc7180-trogdor-lazor-r9-lte.dts | 54 ++++---- .../boot/dts/qcom/sc7180-trogdor-lazor-r9.dts | 38 ++--- .../boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi | 58 ++++---- .../sc7180-trogdor-pazquel-lte-parade.dts | 46 +++---- .../qcom/sc7180-trogdor-pazquel-lte-ti.dts | 46 +++---- .../qcom/sc7180-trogdor-pazquel-parade.dts | 36 ++--- .../dts/qcom/sc7180-trogdor-pazquel-ti.dts | 36 ++--- .../qcom/sc7180-trogdor-pazquel360-lte.dts | 44 +++--- .../qcom/sc7180-trogdor-pazquel360-wifi.dts | 34 ++--- .../qcom/sc7180-trogdor-quackingstick-r0.dts | 52 +++---- ...0-trogdor-wormdingler-rev1-inx-rt5682s.dts | 46 +++---- .../sc7180-trogdor-wormdingler-rev1-inx.dts | 46 +++---- .../dts/qcom/sc7280-herobrine-crd-pro.dts | 28 ++-- .../qcom/sc7280-herobrine-zombie-nvme-lte.dts | 34 ++--- .../dts/qcom/sc7280-herobrine-zombie-nvme.dts | 34 ++--- .../qcom/sdm630-sony-xperia-nile-voyager.dts | 44 +++--- .../sdm636-sony-xperia-ganges-mermaid.dts | 50 +++---- .../arch/arm64/boot/dts/qcom/sdm850.dtsi | 40 +++--- .../arch/arm64/boot/dts/qcom/sm4250.dtsi | 76 +++++----- .../arch/arm64/boot/dts/qcom/sm4450-qrd.dts | 64 ++++----- .../arch/arm64/boot/dts/qcom/sm7125.dtsi | 32 ++--- .../sm8150-sony-xperia-kumano-bahamut.dts | 40 +++--- .../boot/dts/qcom/sm8250-xiaomi-elish-boe.dts | 36 ++--- .../dts/qcom/sm8250-xiaomi-elish-csot.dts | 36 ++--- .../arch/arm64/boot/dts/realtek/Makefile | 30 ++-- .../arm64/boot/dts/realtek/rtd1293-ds418j.dts | 60 ++++---- .../boot/dts/realtek/rtd1295-mele-v9.dts | 62 ++++----- .../boot/dts/realtek/rtd1295-probox2-ava.dts | 62 ++++----- .../boot/dts/realtek/rtd1295-xnano-x5.dts | 60 ++++---- .../boot/dts/realtek/rtd1295-zidoo-x9s.dts | 70 +++++----- .../arm64/boot/dts/realtek/rtd1296-ds418.dts | 60 ++++---- .../arm64/boot/dts/realtek/rtd1395-bpi-m4.dts | 60 ++++---- .../boot/dts/realtek/rtd1395-lionskin.dts | 72 +++++----- .../renesas/draak-ebisu-panel-aa104xd12.dtso | 72 +++++----- .../boot/dts/renesas/panel-aa104xd12.dtsi | 60 ++++---- .../r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts | 30 ++-- .../dts/renesas/r8a774a1-hihope-rzg2m-ex.dts | 42 +++--- ...a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts | 30 ++-- .../renesas/r8a774a1-hihope-rzg2m-rev2-ex.dts | 40 +++--- .../r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts | 30 ++-- .../r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts | 32 ++--- .../dts/renesas/r8a774b1-hihope-rzg2n-ex.dts | 42 +++--- ...a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts | 30 ++-- .../renesas/r8a774b1-hihope-rzg2n-rev2-ex.dts | 30 ++-- .../arm64/boot/dts/renesas/r8a774c0-ek874.dts | 28 ++-- .../r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts | 30 ++-- .../r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts | 32 ++--- .../dts/renesas/r8a774e1-hihope-rzg2h-ex.dts | 40 +++--- .../boot/dts/renesas/r8a77951-ulcb-kf.dts | 32 ++--- .../boot/dts/renesas/r8a77960-ulcb-kf.dts | 32 ++--- .../boot/dts/renesas/r8a77961-ulcb-kf.dts | 30 ++-- .../boot/dts/renesas/r8a77965-ulcb-kf.dts | 32 ++--- .../boot/dts/renesas/r8a77980-condor.dts | 32 ++--- .../boot/dts/renesas/r8a77980a-condor-i.dts | 38 ++--- .../arm64/boot/dts/renesas/r8a77995-draak.dts | 32 ++--- .../boot/dts/renesas/r8a779f0-spider.dts | 48 +++---- .../dts/renesas/r8a779g0-white-hawk-cpu.dtsi | 28 ++-- .../boot/dts/renesas/r8a779g0-white-hawk.dts | 30 ++-- .../renesas/r8a779g2-white-hawk-single.dts | 32 ++--- .../boot/dts/renesas/r8a779m1-ulcb-kf.dts | 38 ++--- .../arch/arm64/boot/dts/renesas/r8a779m1.dtsi | 48 +++---- .../boot/dts/renesas/r8a779m3-ulcb-kf.dts | 36 ++--- .../arch/arm64/boot/dts/renesas/r8a779m3.dtsi | 48 +++---- .../arch/arm64/boot/dts/renesas/r8a779m5.dtsi | 48 +++---- .../r9a07g043u11-smarc-cru-csi-ov5645.dtso | 42 +++--- .../arm64/boot/dts/renesas/r9a07g044c1.dtsi | 50 +++---- .../r9a07g044c2-smarc-cru-csi-ov5645.dtso | 42 +++--- .../arm64/boot/dts/renesas/r9a07g044c2.dtsi | 40 +++--- .../arm64/boot/dts/renesas/r9a07g044l1.dtsi | 36 ++--- .../r9a07g044l2-smarc-cru-csi-ov5645.dtso | 42 +++--- .../arm64/boot/dts/renesas/r9a07g054l1.dtsi | 36 ++--- .../boot/dts/renesas/r9a08g045s33-smarc.dts | 36 ++--- .../dts/renesas/salvator-panel-aa104xd12.dtso | 72 +++++----- .../arm64/boot/dts/renesas/salvator-x.dtsi | 58 ++++---- .../dts/renesas/ulcb-audio-graph-card2.dtsi | 52 +++---- .../dts/rockchip/px30-engicam-ctouch2.dtsi | 60 ++++---- .../px30-engicam-px30-core-ctouch2.dts | 44 +++--- .../dts/rockchip/rk3326-anbernic-rg351m.dts | 42 +++--- .../dts/rockchip/rk3328-nanopi-r2s-plus.dts | 60 ++++---- .../rockchip/rk3399-khadas-edge-captain.dts | 62 ++++----- .../dts/rockchip/rk3399-khadas-edge-v.dts | 62 ++++----- .../rockchip/rk3399-nanopi-r4s-enterprise.dts | 58 ++++---- .../dts/rockchip/rk3399-rock-pi-4a-plus.dts | 50 +++---- .../boot/dts/rockchip/rk3399-rock-pi-4a.dts | 48 +++---- .../dts/rockchip/rk3399pro-rock-pi-n10.dts | 42 +++--- .../dts/rockchip/rk3566-anbernic-rg-arc-s.dts | 38 ++--- .../dts/rockchip/rk3566-orangepi-3b-v1.1.dts | 58 ++++---- .../dts/rockchip/rk3566-pinetab2-v0.1.dts | 56 ++++---- .../arch/arm64/boot/dts/rockchip/rk3566.dtsi | 70 +++++----- .../dts/rockchip/rk3568-fastrhino-r66s.dts | 62 ++++----- .../dts/rockchip/rk3588-edgeble-neu6a-io.dts | 30 ++-- .../dts/rockchip/rk3588-edgeble-neu6b-io.dts | 30 ++-- .../dts/rockchip/rk3588-rock-5b-pcie-ep.dtso | 50 +++---- .../rockchip/rk3588-rock-5b-pcie-srns.dtso | 32 ++--- .../boot/dts/rockchip/rk3588-turing-rk1.dts | 42 +++--- .../arch/arm64/boot/dts/sprd/sp9863a-1h10.dts | 78 +++++------ .../arch/arm64/boot/dts/sprd/ums9620-2h10.dts | 76 +++++----- .../boot/dts/synaptics/berlin4ct-dmp.dts | 58 ++++---- .../boot/dts/synaptics/berlin4ct-stb.dts | 58 ++++---- .../boot/dts/ti/k3-am62-verdin-nonwifi.dtsi | 40 +++--- .../k3-am625-phyboard-lyra-1-4-ghz-opp.dtso | 40 +++--- .../dts/ti/k3-am625-phyboard-lyra-rdk.dts | 36 ++--- .../dts/ti/k3-am625-verdin-nonwifi-dahlia.dts | 44 +++--- .../dts/ti/k3-am625-verdin-nonwifi-dev.dts | 44 +++--- .../dts/ti/k3-am625-verdin-nonwifi-mallow.dts | 44 +++--- .../dts/ti/k3-am625-verdin-nonwifi-yavia.dts | 44 +++--- .../dts/ti/k3-am625-verdin-wifi-dahlia.dts | 44 +++--- .../boot/dts/ti/k3-am625-verdin-wifi-dev.dts | 44 +++--- .../dts/ti/k3-am625-verdin-wifi-mallow.dts | 44 +++--- .../dts/ti/k3-am625-verdin-wifi-yavia.dts | 44 +++--- .../dts/ti/k3-am62a7-phyboard-lyra-rdk.dts | 36 ++--- .../ti/k3-am64-tqma64xxl-mbax4xxl-wlan.dtso | 44 +++--- ...48-iot2050-advanced-m2-bkey-ekey-pcie.dtso | 54 ++++---- .../ti/k3-am6xx-phycore-disable-eth-phy.dtso | 38 ++--- .../boot/dts/xilinx/avnet-ultra96-rev1.dts | 38 ++--- .../boot/dts/xilinx/zynqmp-smk-k26-revA.dts | 46 +++---- .../arch/arm64/configs/hardening.config | 46 +++---- .../kernel/arch/arm64/crypto/sm4-ce.h | 26 ++-- .../kernel/arch/arm64/include/asm/Kbuild | 38 ++--- .../kernel/arch/arm64/include/asm/acenv.h | 30 ++-- .../kernel/arch/arm64/include/asm/bitrev.h | 40 +++--- .../kernel/arch/arm64/include/asm/boot.h | 40 +++--- .../kernel/arch/arm64/include/asm/bug.h | 56 ++++---- .../kernel/arch/arm64/include/asm/current.h | 58 ++++---- .../arch/arm64/include/asm/hypervisor.h | 42 +++--- .../kernel/arch/arm64/include/asm/insn-def.h | 46 +++---- .../kernel/arch/arm64/include/asm/irq.h | 52 +++---- .../kernel/arch/arm64/include/asm/kasan.h | 52 +++---- .../kernel/arch/arm64/include/asm/kvm_ras.h | 50 +++---- .../arch/arm64/include/asm/mem_encrypt.h | 30 ++-- .../kernel/arch/arm64/include/asm/mte-def.h | 36 ++--- .../kernel/arch/arm64/include/asm/neon.h | 38 ++--- .../kernel/arch/arm64/include/asm/page-def.h | 36 ++--- .../kernel/arch/arm64/include/asm/paravirt.h | 58 ++++---- .../kernel/arch/arm64/include/asm/patching.h | 34 ++--- .../kernel/arch/arm64/include/asm/pci.h | 48 +++---- .../kernel/arch/arm64/include/asm/proc-fns.h | 50 +++---- .../arch/arm64/include/asm/pvclock-abi.h | 34 ++--- .../kernel/arch/arm64/include/asm/semihost.h | 48 +++---- .../arch/arm64/include/asm/set_memory.h | 36 ++--- .../kernel/arch/arm64/include/asm/shmparam.h | 34 ++--- .../kernel/arch/arm64/include/asm/spinlock.h | 54 ++++---- .../arch/arm64/include/asm/spinlock_types.h | 30 ++-- .../kernel/arch/arm64/include/asm/uprobes.h | 62 ++++----- .../arch/arm64/include/asm/xen/events.h | 56 ++++---- .../kernel/arch/arm64/include/uapi/asm/mman.h | 38 ++--- .../arm64/kernel/probes/kprobes_trampoline.S | 40 +++--- .../kernel/arch/arm64/kernel/vdso-wrap.S | 48 +++---- .../arm64/kernel/vdso/gen_vdso_offsets.sh | 32 ++--- .../kernel/arch/arm64/kernel/vdso/note.S | 46 +++---- .../arch/arm64/kernel/vdso/vgetrandom.c | 30 ++-- .../kernel/arch/arm64/kernel/vdso32-wrap.S | 38 ++--- .../kernel/arch/arm64/kernel/vdso32/note.c | 30 ++-- .../kernel/arch/arm64/kvm/hyp/fpsimd.S | 66 ++++----- .../arm64/kvm/hyp/include/nvhe/early_alloc.h | 28 ++-- .../arch/arm64/kvm/hyp/include/nvhe/ffa.h | 34 ++--- .../arm64/kvm/hyp/include/nvhe/trap_handler.h | 40 +++--- .../kernel/arch/arm64/kvm/hyp/vhe/Makefile | 26 ++-- .../kernel/arch/arm64/kvm/hyp/vhe/debug-sr.c | 52 +++---- .../kernel/arch/arm64/lib/error-inject.c | 36 ++--- .../kernel/arch/arm64/mm/ptdump_debugfs.c | 38 ++--- .../kernel/arch/csky/abiv1/inc/abi/reg_ops.h | 52 +++---- .../kernel/arch/csky/abiv1/inc/abi/regdef.h | 62 ++++----- .../kernel/arch/csky/abiv1/inc/abi/string.h | 30 ++-- .../kernel/arch/csky/abiv2/Makefile | 28 ++-- .../kernel/arch/csky/abiv2/inc/abi/regdef.h | 62 ++++----- .../arch/csky/abiv2/inc/abi/switch_context.h | 62 ++++----- .../kernel/arch/csky/abiv2/sysdep.h | 58 ++++---- .../kernel/arch/csky/include/asm/bug.h | 56 ++++---- .../kernel/arch/csky/include/asm/perf_event.h | 28 ++-- .../kernel/arch/csky/include/asm/probes.h | 48 +++---- .../kernel/arch/csky/include/asm/reg_ops.h | 52 +++---- .../arch/csky/include/asm/stackprotector.h | 42 +++--- .../kernel/arch/csky/include/asm/syscalls.h | 28 ++-- .../arch/csky/include/asm/vdso/vsyscall.h | 44 +++--- .../kernel/arch/csky/kernel/power.c | 56 ++++---- .../arch/csky/kernel/probes/decode-insn.h | 40 +++--- .../kernel/arch/csky/kernel/syscall_table.c | 32 ++--- .../kernel/arch/csky/mm/Makefile | 38 ++--- .../kernel/arch/csky/mm/ioremap.c | 38 ++--- .../kernel/arch/hexagon/include/asm/cache.h | 46 +++---- .../kernel/arch/hexagon/include/asm/exec.h | 30 ++-- .../kernel/arch/hexagon/include/asm/fixmap.h | 36 ++--- .../arch/hexagon/include/asm/intrinsics.h | 26 ++-- .../kernel/arch/hexagon/include/asm/irq.h | 52 +++---- .../kernel/arch/hexagon/include/asm/mmu.h | 48 +++---- .../arch/hexagon/include/asm/spinlock_types.h | 54 ++++---- .../kernel/arch/hexagon/include/asm/string.h | 38 ++--- .../arch/hexagon/include/asm/switch_to.h | 42 +++--- .../kernel/arch/hexagon/include/asm/timex.h | 46 +++---- .../kernel/arch/hexagon/include/asm/traps.h | 32 ++--- .../arch/hexagon/include/asm/vm_fault.h | 26 ++-- .../kernel/arch/hexagon/kernel/Makefile | 38 ++--- .../kernel/arch/hexagon/kernel/reset.c | 50 +++---- .../kernel/arch/hexagon/kernel/trampoline.S | 44 +++--- .../kernel/arch/loongarch/include/asm/acenv.h | 34 ++--- .../loongarch/include/asm/asm-prototypes.h | 28 ++-- .../arch/loongarch/include/asm/branch.h | 40 +++--- .../kernel/arch/loongarch/include/asm/cache.h | 30 ++-- .../arch/loongarch/include/asm/cpufeature.h | 48 +++---- .../kernel/arch/loongarch/include/asm/delay.h | 52 +++---- .../kernel/arch/loongarch/include/asm/dmi.h | 48 +++---- .../arch/loongarch/include/asm/fixmap.h | 56 ++++---- .../arch/loongarch/include/asm/hw_irq.h | 38 ++--- .../arch/loongarch/include/asm/irq_regs.h | 54 ++++---- .../arch/loongarch/include/asm/orc_header.h | 36 ++--- .../kernel/arch/loongarch/include/asm/pci.h | 50 +++---- .../arch/loongarch/include/asm/perf_event.h | 38 ++--- .../arch/loongarch/include/asm/prefetch.h | 58 ++++---- .../arch/loongarch/include/asm/seccomp.h | 40 +++--- .../kernel/arch/loongarch/include/asm/timex.h | 52 +++---- .../kernel/arch/loongarch/include/asm/types.h | 38 ++--- .../arch/loongarch/include/asm/vermagic.h | 38 ++--- .../arch/loongarch/include/uapi/asm/auxvec.h | 34 ++--- .../loongarch/include/uapi/asm/byteorder.h | 26 ++-- .../arch/loongarch/kernel/access-helper.h | 26 ++-- .../kernel/arch/loongarch/kernel/crash_dump.c | 46 +++---- .../kernel/arch/loongarch/kernel/dma.c | 50 +++---- .../kernel/arch/loongarch/kernel/elf.c | 50 +++---- .../kernel/arch/loongarch/kernel/image-vars.h | 40 +++--- .../kernel/arch/loongarch/kernel/jump_label.c | 44 +++--- .../kernel/arch/loongarch/kernel/topology.c | 36 ++--- .../kernel/arch/loongarch/kvm/Makefile | 44 +++--- .../kernel/arch/loongarch/lib/Makefile | 26 ++-- .../kernel/arch/loongarch/mm/Makefile | 26 ++-- .../arch/loongarch/vdso/gen_vdso_offsets.sh | 26 ++-- .../kernel/arch/loongarch/vdso/sigreturn.S | 48 +++---- .../kernel/arch/loongarch/vdso/vdso.S | 44 +++--- .../arch/loongarch/vdso/vgettimeofday.c | 46 +++---- .../kernel/arch/m68k/68000/Makefile | 40 +++--- .../kernel/arch/m68k/atari/atari.h | 30 ++-- .../kernel/arch/m68k/fpsp040/Makefile | 24 ++-- .../kernel/arch/m68k/hp300/README.hp300 | 28 ++-- .../kernel/arch/m68k/hp300/reboot.S | 32 ++--- .../kernel/arch/m68k/ifpsp060/src/README-SRC | 24 ++-- .../arch/m68k/include/asm/atari_joystick.h | 46 +++---- .../arch/m68k/include/asm/atari_stdma.h | 46 +++---- .../arch/m68k/include/asm/atari_stram.h | 38 ++--- .../kernel/arch/m68k/include/asm/fpu.h | 48 +++---- .../kernel/arch/m68k/include/asm/hwtest.h | 32 ++--- .../kernel/arch/m68k/include/asm/mac_asc.h | 56 ++++---- .../kernel/arch/m68k/include/asm/machw.h | 48 +++---- .../arch/m68k/include/asm/mc146818rtc.h | 54 ++++---- .../kernel/arch/m68k/include/asm/natfeat.h | 46 +++---- .../kernel/arch/m68k/include/asm/pgalloc.h | 44 +++--- .../kernel/arch/m68k/include/asm/sun3-head.h | 22 +-- .../kernel/arch/m68k/include/asm/ucontext.h | 62 ++++----- .../kernel/arch/m68k/include/asm/virt.h | 50 +++---- .../m68k/include/uapi/asm/bootinfo-apollo.h | 58 ++++---- .../arch/m68k/include/uapi/asm/bootinfo-q40.h | 34 ++--- .../arch/m68k/include/uapi/asm/cachectl.h | 30 ++-- .../kernel/arch/m68k/include/uapi/asm/fcntl.h | 24 ++-- .../kernel/arch/m68k/include/uapi/asm/setup.h | 34 ++--- .../UFI003_MB_V02/kernel/arch/m68k/mac/mac.h | 50 +++---- .../kernel/arch/m68k/sun3/sun3.h | 44 +++--- .../kernel/arch/m68k/sun3x/time.h | 38 ++--- .../kernel/arch/microblaze/boot/dts/Makefile | 40 +++--- .../arch/microblaze/include/asm/asm-compat.h | 36 ++--- .../kernel/arch/microblaze/include/asm/elf.h | 54 ++++---- .../arch/microblaze/include/asm/ptrace.h | 48 +++---- .../arch/microblaze/include/asm/sections.h | 40 +++--- .../arch/microblaze/include/asm/string.h | 46 +++---- .../arch/microblaze/include/asm/switch_to.h | 42 +++--- .../arch/microblaze/include/asm/unwind.h | 54 ++++---- .../arch/microblaze/include/uapi/asm/setup.h | 40 +++--- .../microblaze/include/uapi/asm/sigcontext.h | 42 +++--- .../arch/microblaze/include/uapi/asm/unistd.h | 32 ++--- .../kernel/arch/microblaze/lib/Makefile | 48 +++---- .../kernel/arch/microblaze/lib/ashldi3.c | 58 ++++---- .../kernel/arch/microblaze/lib/ashrdi3.c | 62 ++++----- .../kernel/arch/microblaze/lib/cmpdi2.c | 54 ++++---- .../kernel/arch/microblaze/lib/lshrdi3.c | 58 ++++---- .../kernel/arch/microblaze/lib/ucmpdi2.c | 42 +++--- .../kernel/arch/microblaze/mm/consistent.c | 46 +++---- .../UFI003_MB_V02/kernel/arch/mips/Kbuild | 50 +++---- .../arch/mips/alchemy/devboards/platform.h | 44 +++--- .../kernel/arch/mips/ath25/Kconfig | 34 ++--- .../kernel/arch/mips/ath25/Makefile | 32 ++--- .../kernel/arch/mips/ath25/ar2315.h | 46 +++---- .../kernel/arch/mips/ath25/ar5312.h | 46 +++---- .../kernel/arch/mips/ath25/prom.c | 44 +++--- .../kernel/arch/mips/ath79/Kconfig | 64 ++++----- .../kernel/arch/mips/ath79/common.h | 42 +++--- .../arch/mips/bcm47xx/bcm47xx_private.h | 52 +++---- .../arch/mips/boot/compressed/decompress.h | 48 +++---- .../mips/boot/dts/brcm/bcm93384wvg_viper.dts | 52 +++---- .../arch/mips/boot/dts/brcm/bcm96368mvwg.dts | 64 ++++----- .../dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi | 52 +++---- .../boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi | 52 +++---- .../arch/mips/boot/dts/brcm/bcm9ejtagprb.dts | 46 +++---- .../arch/mips/boot/dts/ingenic/Makefile | 18 +-- .../arch/mips/boot/dts/loongson/Makefile | 18 +-- .../dts/loongson/loongson64c_4core_rs780e.dts | 50 +++---- .../dts/loongson/loongson64c_8core_rs780e.dts | 50 +++---- .../mips/boot/dts/mobileye/eyeq5-epm5.dts | 46 +++---- .../mips/boot/dts/mobileye/eyeq6h-epm6.dts | 44 +++--- .../arch/mips/boot/dts/mscc/luton_pcb091.dts | 60 ++++---- .../kernel/arch/mips/boot/dts/ralink/Makefile | 28 ++-- .../mips/boot/dts/realtek/cisco_sg220-26.dts | 50 +++---- .../arch/mips/boot/dts/realtek/rtl838x.dtsi | 44 +++--- .../kernel/arch/mips/boot/tools/relocs_32.c | 36 ++--- .../kernel/arch/mips/cavium-octeon/Makefile | 40 +++--- .../configs/generic/board-ni169445.config | 58 ++++---- .../mips/configs/generic/board-ranchu.config | 58 ++++---- .../mips/configs/generic/board-sead-3.config | 68 ++++----- .../mips/configs/generic/board-xilfpga.config | 44 +++--- .../kernel/arch/mips/dec/prom/dectypes.h | 30 ++-- .../kernel/arch/mips/dec/prom/locore.S | 60 ++++---- .../kernel/arch/mips/fw/arc/Makefile | 30 ++-- .../kernel/arch/mips/fw/arc/env.c | 42 +++--- .../kernel/arch/mips/fw/arc/file.c | 50 +++---- .../kernel/arch/mips/generic/Makefile | 32 ++--- .../arch/mips/generic/board-boston.its.S | 44 +++--- .../arch/mips/generic/board-luton.its.S | 46 +++---- .../arch/mips/generic/board-marduk.its.S | 44 +++--- .../arch/mips/generic/board-ni169445.its.S | 44 +++--- .../arch/mips/generic/board-serval.its.S | 48 +++---- .../arch/mips/generic/board-xilfpga.its.S | 44 +++--- .../kernel/arch/mips/generic/proc.c | 60 ++++---- .../kernel/arch/mips/generic/vmlinux.its.S | 64 ++++----- .../kernel/arch/mips/include/asm/Kbuild | 30 ++-- .../kernel/arch/mips/include/asm/amon.h | 24 ++-- .../kernel/arch/mips/include/asm/bitrev.h | 62 ++++----- .../kernel/arch/mips/include/asm/bugs.h | 60 ++++---- .../kernel/arch/mips/include/asm/cpufeature.h | 44 +++--- .../kernel/arch/mips/include/asm/debug.h | 36 ++--- .../kernel/arch/mips/include/asm/dec/system.h | 30 ++-- .../arch/mips/include/asm/dma-mapping.h | 36 ++--- .../kernel/arch/mips/include/asm/dmi.h | 40 +++--- .../kernel/arch/mips/include/asm/errno.h | 34 ++--- .../kernel/arch/mips/include/asm/exec.h | 34 ++--- .../kernel/arch/mips/include/asm/hardirq.h | 36 ++--- .../kernel/arch/mips/include/asm/hw_irq.h | 40 +++--- .../kernel/arch/mips/include/asm/irq_cpu.h | 40 +++--- .../kernel/arch/mips/include/asm/irq_regs.h | 56 ++++---- .../kernel/arch/mips/include/asm/isa-rev.h | 48 +++---- .../kernel/arch/mips/include/asm/isadep.h | 70 +++++----- .../mips/include/asm/mach-au1x00/au1550_spi.h | 32 ++--- .../mips/include/asm/mach-au1x00/au1xxx_eth.h | 38 ++--- .../include/asm/mach-bcm63xx/bcm63xx_cs.h | 22 +-- .../asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h | 36 ++--- .../include/asm/mach-bcm63xx/bcm63xx_irq.h | 28 ++-- .../include/asm/mach-bcm63xx/bcm63xx_reset.h | 44 +++--- .../include/asm/mach-bcm63xx/bcm63xx_timer.h | 24 ++-- .../mips/include/asm/mach-bcm63xx/spaces.h | 34 ++--- .../asm/mach-bmips/cpu-feature-overrides.h | 30 ++-- .../arch/mips/include/asm/mach-bmips/spaces.h | 36 ++--- .../arch/mips/include/asm/mach-db1x00/irq.h | 46 +++---- .../asm/mach-generic/cpu-feature-overrides.h | 26 ++-- .../mips/include/asm/mach-generic/ioremap.h | 42 +++--- .../mips/include/asm/mach-generic/kmalloc.h | 26 ++-- .../arch/mips/include/asm/mach-ip22/spaces.h | 34 ++--- .../arch/mips/include/asm/mach-ip27/mmzone.h | 54 ++++---- .../arch/mips/include/asm/mach-ip28/spaces.h | 36 ++--- .../arch/mips/include/asm/mach-ip30/spaces.h | 40 +++--- .../asm/mach-lantiq/falcon/falcon_irq.h | 42 +++--- .../include/asm/mach-lantiq/xway/lantiq_irq.h | 44 +++--- .../include/asm/mach-loongson2ef/machine.h | 46 +++---- .../asm/mach-loongson64/builtin_dtbs.h | 34 ++--- .../mips/include/asm/mach-loongson64/irq.h | 32 ++--- .../mips/include/asm/mach-loongson64/pci.h | 38 ++--- .../mips/include/asm/mach-loongson64/spaces.h | 34 ++--- .../include/asm/mach-loongson64/topology.h | 50 +++---- .../include/asm/mach-malta/mach-gt64120.h | 40 +++--- .../arch/mips/include/asm/mach-pic32/irq.h | 28 ++-- .../arch/mips/include/asm/mach-pic32/spaces.h | 30 ++-- .../mips/include/asm/mach-rc32434/rc32434.h | 40 +++--- .../mips/include/asm/mach-tx49xx/spaces.h | 34 ++--- .../arch/mips/include/asm/mc146818rtc.h | 32 ++--- .../arch/mips/include/asm/mips-boards/sim.h | 54 ++++---- .../kernel/arch/mips/include/asm/mmu.h | 50 +++---- .../kernel/arch/mips/include/asm/mmzone.h | 50 +++---- .../kernel/arch/mips/include/asm/r4k-timer.h | 50 +++---- .../kernel/arch/mips/include/asm/reboot.h | 30 ++-- .../kernel/arch/mips/include/asm/sgi/seeq.h | 42 +++--- .../kernel/arch/mips/include/asm/sgi/wd.h | 40 +++--- .../kernel/arch/mips/include/asm/shmparam.h | 26 ++-- .../arch/mips/include/asm/sibyte/sentosa.h | 54 ++++---- .../arch/mips/include/asm/sn/klkernvars.h | 58 ++++---- .../kernel/arch/mips/include/asm/sparsemem.h | 36 ++--- .../kernel/arch/mips/include/asm/tlb.h | 52 +++---- .../kernel/arch/mips/include/asm/tlbdebug.h | 34 ++--- .../kernel/arch/mips/include/asm/topology.h | 42 +++--- .../kernel/arch/mips/include/asm/txx9pio.h | 58 ++++---- .../kernel/arch/mips/include/asm/types.h | 32 ++--- .../arch/mips/include/uapi/asm/auxvec.h | 40 +++--- .../arch/mips/include/uapi/asm/byteorder.h | 40 +++--- .../kernel/arch/mips/include/uapi/asm/param.h | 34 ++--- .../kernel/arch/mips/kernel/access-helper.h | 38 ++--- .../kernel/arch/mips/kernel/crash_dump.c | 38 ++--- .../kernel/arch/mips/kernel/topology.c | 56 ++++---- .../kernel/arch/mips/kvm/Makefile | 40 +++--- .../kernel/arch/mips/lantiq/prom.h | 54 ++++---- .../kernel/arch/mips/lib/Makefile | 36 ++--- .../arch/mips/loongson2ef/common/Makefile | 56 ++++---- .../arch/mips/loongson2ef/common/setup.c | 60 ++++---- .../arch/mips/loongson2ef/fuloong-2e/reset.c | 38 ++--- .../arch/mips/loongson32/common/setup.c | 52 +++---- .../kernel/arch/mips/loongson32/common/time.c | 46 +++---- .../kernel/arch/mips/loongson32/ls1c/board.c | 46 +++---- .../kernel/arch/mips/loongson64/Kconfig | 30 ++-- .../kernel/arch/mips/loongson64/Makefile | 28 ++-- .../kernel/arch/mips/loongson64/setup.c | 46 +++---- .../kernel/arch/mips/loongson64/sleeper.S | 42 +++--- .../kernel/arch/mips/mm/extable.c | 50 +++---- .../kernel/arch/mips/mm/highmem.c | 34 ++--- .../kernel/arch/mips/mm/ioremap64.c | 46 +++---- .../kernel/arch/mips/mobileye/Kconfig | 52 +++---- .../kernel/arch/mips/mobileye/Platform | 32 ++--- .../arch/mips/mobileye/board-epm5.its.S | 48 +++---- .../kernel/arch/mips/mobileye/vmlinux.its.S | 64 ++++----- .../kernel/arch/mips/mti-malta/Makefile | 34 ++--- .../kernel/arch/mips/pci/fixup-ath79.c | 36 ++--- .../kernel/arch/mips/pci/fixup-bcm63xx.c | 42 +++--- .../kernel/arch/mips/pci/pci-lantiq.h | 32 ++--- .../arch/mips/pic32/pic32mzda/pic32mzda.h | 42 +++--- .../kernel/arch/mips/ralink/bootrom.c | 58 ++++---- .../kernel/arch/mips/ralink/common.h | 56 ++++---- .../kernel/arch/mips/ralink/irq-gic.c | 48 +++---- .../kernel/arch/mips/ralink/timer-gic.c | 48 +++---- .../kernel/arch/mips/sgi-ip22/Makefile | 24 ++-- .../kernel/arch/mips/sgi-ip30/ip30-console.c | 50 +++---- .../kernel/arch/mips/sgi-ip32/Platform | 20 +-- .../kernel/arch/mips/sgi-ip32/ip32-common.h | 30 ++-- .../kernel/arch/mips/sibyte/swarm/swarm-i2c.c | 62 ++++----- .../arch/mips/vdso/config-n32-o32-env.c | 38 ++--- .../kernel/arch/mips/vdso/sigreturn.S | 70 +++++----- .../kernel/arch/nios2/Kconfig.debug | 24 ++-- .../arch/nios2/boot/compressed/Makefile | 38 ++--- .../kernel/arch/nios2/include/asm/delay.h | 42 +++--- .../kernel/arch/nios2/include/asm/mmu.h | 32 ++--- .../kernel/arch/nios2/include/asm/setup.h | 46 +++---- .../kernel/arch/nios2/include/asm/string.h | 48 +++---- .../kernel/arch/nios2/include/asm/timex.h | 30 ++-- .../kernel/arch/nios2/include/asm/traps.h | 42 +++--- .../kernel/arch/nios2/kernel/Makefile | 52 +++---- .../kernel/arch/nios2/kernel/syscall_table.c | 40 +++--- .../arch/openrisc/include/asm/bitops/__ffs.h | 58 ++++---- .../arch/openrisc/include/asm/bitops/__fls.h | 58 ++++---- .../arch/openrisc/include/asm/bitops/ffs.h | 56 ++++---- .../arch/openrisc/include/asm/bitops/fls.h | 58 ++++---- .../kernel/arch/openrisc/include/asm/delay.h | 40 +++--- .../kernel/arch/openrisc/include/asm/fpu.h | 44 +++--- .../kernel/arch/openrisc/include/asm/irq.h | 46 +++---- .../arch/openrisc/include/asm/linkage.h | 42 +++--- .../kernel/arch/openrisc/include/asm/mmu.h | 44 +++--- .../arch/openrisc/include/asm/unwinder.h | 40 +++--- .../kernel/arch/openrisc/kernel/Makefile | 34 ++--- .../kernel/arch/parisc/boot/Makefile | 34 ++--- .../arch/parisc/include/asm/compat_ucontext.h | 36 ++--- .../kernel/arch/parisc/include/asm/current.h | 42 +++--- .../kernel/arch/parisc/include/asm/delay.h | 46 +++---- .../kernel/arch/parisc/include/asm/dwarf.h | 40 +++--- .../kernel/arch/parisc/include/asm/eisa_bus.h | 36 ++--- .../kernel/arch/parisc/include/asm/kbdleds.h | 40 +++--- .../kernel/arch/parisc/include/asm/module.h | 50 +++---- .../kernel/arch/parisc/include/asm/parport.h | 38 ++--- .../kernel/arch/parisc/include/asm/patch.h | 26 ++-- .../arch/parisc/include/asm/rt_sigframe.h | 32 ++--- .../kernel/arch/parisc/include/asm/signal.h | 30 ++-- .../kernel/arch/parisc/include/asm/timex.h | 44 +++--- .../kernel/arch/parisc/include/asm/topology.h | 38 ++--- .../kernel/arch/parisc/include/asm/vdso.h | 48 +++---- .../arch/parisc/include/uapi/asm/cachectl.h | 24 ++-- .../arch/parisc/include/uapi/asm/sigcontext.h | 42 +++--- .../kernel/arch/parisc/kernel/compat_audit.c | 56 ++++---- .../parisc/kernel/vdso32/gen_vdso_offsets.sh | 30 ++-- .../parisc/kernel/vdso64/gen_vdso_offsets.sh | 30 ++-- .../kernel/arch/parisc/lib/ucmpdi2.c | 54 ++++---- .../kernel/arch/parisc/math-emu/math-emu.h | 28 ++-- .../UFI003_MB_V02/kernel/arch/powerpc/Kbuild | 44 +++--- .../kernel/arch/powerpc/boot/.gitignore | 96 ++++++------- .../kernel/arch/powerpc/boot/cuboot-bamboo.c | 56 ++++---- .../kernel/arch/powerpc/boot/cuboot.h | 30 ++-- .../arch/powerpc/boot/dts/fsl/bsc9131rdb.dts | 60 ++++---- .../powerpc/boot/dts/fsl/t1040rdb-rev-a.dts | 58 ++++---- .../kernel/arch/powerpc/boot/dts/o2i.dts | 58 ++++---- .../kernel/arch/powerpc/boot/dts/o2mnt.dts | 58 ++++---- .../arch/powerpc/boot/fixup-headers.sed | 24 ++-- .../kernel/arch/powerpc/boot/gamecube.c | 60 ++++---- .../kernel/arch/powerpc/boot/microwatt.c | 48 +++---- .../kernel/arch/powerpc/boot/mvme5100.c | 46 +++---- .../kernel/arch/powerpc/boot/stdio.h | 40 +++--- .../kernel/arch/powerpc/boot/ugecon.h | 38 ++--- .../arch/powerpc/configs/mpc85xx_base.config | 40 +++--- .../arch/powerpc/configs/security.config | 34 ++--- .../arch/powerpc/include/asm/archrandom.h | 32 ++--- .../arch/powerpc/include/asm/asm-const.h | 30 ++-- .../include/asm/book3s/64/pgtable-64k.h | 36 ++--- .../powerpc/include/asm/book3s/64/pkeys.h | 50 +++---- .../arch/powerpc/include/asm/book3s/pgalloc.h | 30 ++-- .../powerpc/include/asm/code-patching-asm.h | 36 ++--- .../kernel/arch/powerpc/include/asm/copro.h | 54 ++++---- .../arch/powerpc/include/asm/dma-direct.h | 28 ++-- .../kernel/arch/powerpc/include/asm/elfnote.h | 48 +++---- .../kernel/arch/powerpc/include/asm/fpu.h | 56 ++++---- .../arch/powerpc/include/asm/fsl_pamu_stash.h | 42 +++--- .../kernel/arch/powerpc/include/asm/i8259.h | 26 ++-- .../arch/powerpc/include/asm/kvm_guest.h | 50 +++---- .../kernel/arch/powerpc/include/asm/linkage.h | 32 ++--- .../arch/powerpc/include/asm/livepatch.h | 46 +++---- .../arch/powerpc/include/asm/mem_encrypt.h | 42 +++--- .../kernel/arch/powerpc/include/asm/mmiowb.h | 36 ++--- .../kernel/arch/powerpc/include/asm/mpc5xxx.h | 48 +++---- .../kernel/arch/powerpc/include/asm/nmi.h | 28 ++-- .../arch/powerpc/include/asm/nohash/mmu.h | 32 ++--- .../kernel/arch/powerpc/include/asm/powernv.h | 42 +++--- .../kernel/arch/powerpc/include/asm/rio.h | 36 ++--- .../arch/powerpc/include/asm/secure_boot.h | 58 ++++---- .../kernel/arch/powerpc/include/asm/serial.h | 42 +++--- .../kernel/arch/powerpc/include/asm/setjmp.h | 30 ++-- .../kernel/arch/powerpc/include/asm/signal.h | 34 ++--- .../include/asm/simple_spinlock_types.h | 42 +++--- .../arch/powerpc/include/asm/spinlock.h | 42 +++--- .../arch/powerpc/include/asm/spinlock_types.h | 32 ++--- .../arch/powerpc/include/asm/stackprotector.h | 60 ++++---- .../kernel/arch/powerpc/include/asm/svm.h | 66 ++++----- .../kernel/arch/powerpc/include/asm/swiotlb.h | 40 +++--- .../arch/powerpc/include/asm/task_size_32.h | 42 +++--- .../kernel/arch/powerpc/include/asm/timex.h | 50 +++---- .../arch/powerpc/include/asm/trace_clock.h | 34 ++--- .../kernel/arch/powerpc/include/asm/types.h | 40 +++--- .../kernel/arch/powerpc/include/asm/uic.h | 34 ++--- .../arch/powerpc/include/asm/vermagic.h | 44 +++--- .../kernel/arch/powerpc/include/asm/video.h | 34 ++--- .../kernel/arch/powerpc/include/asm/vmalloc.h | 48 +++---- .../arch/powerpc/include/uapi/asm/byteorder.h | 34 ++--- .../arch/powerpc/include/uapi/asm/fcntl.h | 24 ++-- .../arch/powerpc/include/uapi/asm/papr-vpd.h | 44 +++--- .../powerpc/include/uapi/asm/perf_event.h | 38 ++--- .../powerpc/include/uapi/asm/posix_types.h | 42 +++--- .../arch/powerpc/include/uapi/asm/socket.h | 42 +++--- .../arch/powerpc/include/uapi/asm/swab.h | 48 +++---- .../arch/powerpc/include/uapi/asm/unistd.h | 38 ++--- .../kernel/arch/powerpc/kernel/cacheinfo.h | 26 ++-- .../arch/powerpc/kernel/cpu_setup_pa6t.S | 62 ++++----- .../kernel/arch/powerpc/kernel/cpu_specs.h | 50 +++---- .../arch/powerpc/kernel/cpu_specs_8xx.h | 46 +++---- .../kernel/arch/powerpc/kernel/jump_label.c | 40 +++--- .../arch/powerpc/kernel/ptrace/Makefile | 42 +++--- .../kernel/arch/powerpc/kernel/secvar-ops.c | 46 +++---- .../kernel/arch/powerpc/kernel/suspend.c | 46 +++---- .../kernel/arch/powerpc/kernel/swsusp_64.c | 42 +++--- .../powerpc/kernel/vdso/gen_vdso32_offsets.sh | 32 ++--- .../powerpc/kernel/vdso/gen_vdso64_offsets.sh | 32 ++--- .../arch/powerpc/kernel/vdso/vgetrandom.c | 28 ++-- .../kernel/arch/powerpc/kexec/Makefile | 38 ++--- .../kernel/arch/powerpc/kvm/book3s_exports.c | 38 ++--- .../kernel/arch/powerpc/kvm/e500_mmu_host.h | 30 ++-- .../kernel/arch/powerpc/lib/error-inject.c | 32 ++--- .../kernel/arch/powerpc/math-emu/fctiw.c | 56 ++++---- .../kernel/arch/powerpc/math-emu/fctiwz.c | 70 +++++----- .../kernel/arch/powerpc/math-emu/frsp.c | 60 ++++---- .../kernel/arch/powerpc/math-emu/lfd.c | 40 +++--- .../kernel/arch/powerpc/math-emu/mcrfs.c | 66 ++++----- .../kernel/arch/powerpc/math-emu/mtfsb0.c | 40 +++--- .../kernel/arch/powerpc/math-emu/mtfsb1.c | 40 +++--- .../kernel/arch/powerpc/math-emu/mtfsfi.c | 50 +++---- .../kernel/arch/powerpc/mm/book3s32/kuap.c | 44 +++--- .../kernel/arch/powerpc/mm/nohash/Makefile | 32 ++--- .../kernel/arch/powerpc/mm/nohash/kup.c | 54 ++++---- .../kernel/arch/powerpc/mm/ptdump/Makefile | 28 ++-- .../kernel/arch/powerpc/mm/ptdump/ptdump.h | 44 +++--- .../kernel/arch/powerpc/perf/internal.h | 28 ++-- .../kernel/arch/powerpc/perf/req-gen/_begin.h | 32 ++--- .../powerpc/perf/req-gen/_request-begin.h | 32 ++--- .../arch/powerpc/platforms/44x/Makefile | 36 ++--- .../arch/powerpc/platforms/44x/misc_44x.S | 82 +++++------ .../arch/powerpc/platforms/512x/Makefile | 20 +-- .../arch/powerpc/platforms/512x/mpc5121_ads.h | 24 ++-- .../arch/powerpc/platforms/512x/mpc512x.h | 36 ++--- .../arch/powerpc/platforms/52xx/Makefile | 32 ++--- .../arch/powerpc/platforms/85xx/mpc85xx.h | 48 +++---- .../arch/powerpc/platforms/86xx/mpc86xx.h | 38 ++--- .../arch/powerpc/platforms/8xx/Makefile | 24 ++-- .../kernel/arch/powerpc/platforms/8xx/pic.h | 38 ++--- .../arch/powerpc/platforms/amigaone/Kconfig | 38 ++--- .../arch/powerpc/platforms/book3s/Kconfig | 30 ++-- .../arch/powerpc/platforms/cell/pervasive.h | 52 +++---- .../arch/powerpc/platforms/chrp/Kconfig | 32 ++--- .../powerpc/platforms/embedded6xx/Makefile | 24 ++-- .../platforms/embedded6xx/flipper-pic.h | 40 +++--- .../powerpc/platforms/embedded6xx/hlwd-pic.h | 34 ++--- .../platforms/embedded6xx/usbgecko_udbg.h | 54 ++++---- .../arch/powerpc/platforms/maple/Kconfig | 38 ++--- .../arch/powerpc/platforms/maple/maple.h | 28 ++-- .../arch/powerpc/platforms/ps3/exports.c | 26 ++-- .../powerpc/platforms/pseries/cc_platform.c | 52 +++---- .../kernel/arch/powerpc/purgatory/Makefile | 34 ++--- .../kernel/arch/powerpc/sysdev/Kconfig | 62 ++++----- .../kernel/arch/powerpc/tools/checkpatch.sh | 44 +++--- .../kernel/arch/powerpc/xmon/nonstdio.h | 26 ++-- .../kernel/arch/riscv/Kconfig.vendor | 38 ++--- .../arch/riscv/boot/dts/allwinner/Makefile | 22 +-- .../boot/dts/allwinner/sunxi-d1-t113.dtsi | 30 ++-- .../arch/riscv/boot/dts/microchip/Makefile | 14 +- .../dts/microchip/mpfs-tysom-m-fabric.dtsi | 36 ++--- .../arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 54 ++++---- .../arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 56 ++++---- .../dts/starfive/jh7100-beaglev-starlight.dts | 48 +++---- .../jh7110-starfive-visionfive-2.dtsi | 84 +++++------ .../boot/dts/thead/th1520-lichee-pi-4a.dts | 74 +++++----- .../kernel/arch/riscv/errata/Makefile | 34 ++--- .../kernel/arch/riscv/include/asm/Kbuild | 30 ++-- .../kernel/arch/riscv/include/asm/cacheinfo.h | 40 +++--- .../arch/riscv/include/asm/cpu_ops_sbi.h | 54 ++++---- .../kernel/arch/riscv/include/asm/cpuidle.h | 48 +++---- .../kernel/arch/riscv/include/asm/delay.h | 40 +++--- .../kernel/arch/riscv/include/asm/fence.h | 38 ++--- .../kernel/arch/riscv/include/asm/mmiowb.h | 30 ++-- .../kernel/arch/riscv/include/asm/paravirt.h | 56 ++++---- .../kernel/arch/riscv/include/asm/patch.h | 32 ++--- .../arch/riscv/include/asm/perf_event.h | 40 +++--- .../kernel/arch/riscv/include/asm/probes.h | 48 +++---- .../kernel/arch/riscv/include/asm/seccomp.h | 40 +++--- .../kernel/arch/riscv/include/asm/semihost.h | 52 +++---- .../kernel/arch/riscv/include/asm/signal32.h | 36 ++--- .../arch/riscv/include/asm/stackprotector.h | 44 +++--- .../kernel/arch/riscv/include/asm/vdso/data.h | 34 ++--- .../arch/riscv/include/asm/vdso/processor.h | 56 ++++---- .../include/asm/vendor_extensions/andes.h | 38 ++--- .../kernel/arch/riscv/include/asm/vmalloc.h | 50 +++---- .../arch/riscv/include/uapi/asm/bitsperlong.h | 28 ++-- .../kernel/arch/riscv/kernel/copy-unaligned.h | 26 ++-- .../kernel/arch/riscv/kernel/crash_dump.c | 56 ++++---- .../kernel/arch/riscv/kernel/head.h | 46 +++---- .../arch/riscv/kernel/kernel_mode_fpu.c | 56 ++++---- .../arch/riscv/kernel/pi/archrandom_early.c | 60 ++++---- .../kernel/arch/riscv/kernel/pi/pi.h | 40 +++--- .../kernel/arch/riscv/kernel/probes/Makefile | 14 +- .../arch/riscv/kernel/probes/decode-insn.h | 36 ++--- .../kernel/arch/riscv/kernel/reset.c | 68 ++++----- .../kernel/arch/riscv/kernel/riscv_ksyms.c | 34 ++--- .../riscv/kernel/tests/module_test/Makefile | 30 ++-- .../kernel/tests/module_test/test_uleb128.S | 62 ++++----- .../arch/riscv/kernel/vdso/flush_icache.S | 44 +++--- .../kernel/arch/riscv/kernel/vdso/getcpu.S | 36 ++--- .../kernel/arch/riscv/kernel/vdso/vdso.S | 46 +++---- .../arch/riscv/kernel/vdso/vgettimeofday.c | 52 +++---- .../riscv/kernel/vendor_extensions/andes.c | 36 ++--- .../kernel/arch/riscv/mm/cache-ops.c | 34 ++--- .../kernel/arch/riscv/tools/relocs_check.sh | 52 +++---- .../kernel/arch/s390/crypto/arch_random.c | 38 ++--- .../kernel/arch/s390/crypto/crc32-vx.h | 24 ++-- .../kernel/arch/s390/hypfs/Makefile | 28 ++-- .../kernel/arch/s390/include/asm/asm-const.h | 24 ++-- .../arch/s390/include/asm/asm-prototypes.h | 28 ++-- .../kernel/arch/s390/include/asm/boot_data.h | 36 ++--- .../kernel/arch/s390/include/asm/cache.h | 38 ++--- .../kernel/arch/s390/include/asm/cmb.h | 28 ++-- .../kernel/arch/s390/include/asm/cpu.h | 56 ++++---- .../arch/s390/include/asm/cpu_mf-insn.h | 44 +++--- .../kernel/arch/s390/include/asm/cpufeature.h | 46 +++---- .../kernel/arch/s390/include/asm/cputime.h | 42 +++--- .../kernel/arch/s390/include/asm/current.h | 38 ++--- .../kernel/arch/s390/include/asm/dma.h | 28 ++-- .../kernel/arch/s390/include/asm/idle.h | 54 ++++---- .../kernel/arch/s390/include/asm/kasan.h | 36 ++--- .../kernel/arch/s390/include/asm/kdebug.h | 56 ++++---- .../kernel/arch/s390/include/asm/maccess.h | 40 +++--- .../kernel/arch/s390/include/asm/msi.h | 34 ++--- .../kernel/arch/s390/include/asm/numa.h | 50 +++---- .../kernel/arch/s390/include/asm/pfault.h | 52 +++---- .../kernel/arch/s390/include/asm/schid.h | 44 +++--- .../arch/s390/include/asm/softirq_stack.h | 28 ++-- .../arch/s390/include/asm/spinlock_types.h | 44 +++--- .../kernel/arch/s390/include/asm/uprobes.h | 66 ++++----- .../arch/s390/include/asm/vdso-symbols.h | 34 ++--- .../kernel/arch/s390/include/asm/vdso.h | 44 +++--- .../kernel/arch/s390/include/asm/vtime.h | 46 +++---- .../kernel/arch/s390/include/asm/xor.h | 42 +++--- .../kernel/arch/s390/include/uapi/asm/chpid.h | 46 +++---- .../kernel/arch/s390/include/uapi/asm/clp.h | 58 ++++---- .../arch/s390/include/uapi/asm/kvm_perf.h | 44 +++--- .../kernel/arch/s390/include/uapi/asm/schid.h | 40 +++--- .../arch/s390/include/uapi/asm/sclp_ctl.h | 50 +++---- .../kernel/arch/s390/include/uapi/asm/types.h | 60 ++++---- .../arch/s390/include/uapi/asm/virtio-ccw.h | 36 ++--- .../kernel/arch/s390/kernel/audit.h | 32 ++--- .../s390/kernel/vdso32/gen_vdso_offsets.sh | 30 ++-- .../s390/kernel/vdso32/vdso_user_wrapper.S | 44 +++--- .../s390/kernel/vdso64/gen_vdso_offsets.sh | 30 ++-- .../kernel/arch/s390/kernel/vdso64/getcpu.c | 42 +++--- .../arch/s390/kernel/vdso64/vdso64_generic.c | 38 ++--- .../arch/s390/kernel/vdso64/vgetrandom.c | 28 ++-- .../kernel/arch/s390/kvm/Makefile | 28 ++-- .../kernel/arch/s390/lib/error-inject.c | 28 ++-- .../kernel/arch/s390/mm/Makefile | 28 ++-- .../kernel/arch/s390/mm/physaddr.c | 30 ++-- .../arch/s390/tools/gcc-thunk-extern.sh | 48 +++---- .../kernel/arch/sh/boards/board-titan.c | 42 +++--- .../arch/sh/boards/mach-highlander/Kconfig | 52 +++---- .../boards/mach-highlander/pinmux-r7785rp.c | 36 ++--- .../arch/sh/boards/mach-hp6xx/pm_wakeup.S | 78 +++++------ .../kernel/arch/sh/boards/mach-lboxre2/irq.c | 54 ++++---- .../kernel/arch/sh/boards/mach-r2d/Kconfig | 48 +++---- .../kernel/arch/sh/boards/mach-rsk/Kconfig | 58 ++++---- .../kernel/arch/sh/boards/mach-se/Makefile | 22 +-- .../arch/sh/boards/mach-se/board-se7619.c | 54 ++++---- .../kernel/arch/sh/drivers/Kconfig | 40 +++--- .../arch/sh/drivers/pci/fixups-r7780rp.c | 36 ++--- .../kernel/arch/sh/include/asm/clock.h | 34 ++--- .../kernel/arch/sh/include/asm/cmpxchg-cas.h | 50 +++---- .../kernel/arch/sh/include/asm/device.h | 34 ++--- .../kernel/arch/sh/include/asm/dmabrg.h | 48 +++---- .../kernel/arch/sh/include/asm/futex-irq.h | 50 +++---- .../kernel/arch/sh/include/asm/heartbeat.h | 38 ++--- .../kernel/arch/sh/include/asm/i2c-sh7760.h | 42 +++--- .../kernel/arch/sh/include/asm/kdebug.h | 38 ++--- .../arch/sh/include/asm/pgtable-2level.h | 48 +++---- .../kernel/arch/sh/include/asm/reboot.h | 44 +++--- .../kernel/arch/sh/include/asm/seccomp.h | 42 +++--- .../kernel/arch/sh/include/asm/shmparam.h | 38 ++--- .../kernel/arch/sh/include/asm/siu.h | 40 +++--- .../kernel/arch/sh/include/asm/spinlock.h | 38 ++--- .../arch/sh/include/asm/spinlock_types.h | 44 +++--- .../arch/sh/include/asm/stackprotector.h | 42 +++--- .../kernel/arch/sh/include/asm/stacktrace.h | 42 +++--- .../kernel/arch/sh/include/asm/syscalls.h | 30 ++-- .../kernel/arch/sh/include/asm/traps.h | 36 ++--- .../kernel/arch/sh/include/asm/vmlinux.lds.h | 36 ++--- .../sh/include/cpu-common/cpu/addrspace.h | 32 ++--- .../arch/sh/include/cpu-common/cpu/pfc.h | 36 ++--- .../sh/include/cpu-common/cpu/sigcontext.h | 36 ++--- .../kernel/arch/sh/include/cpu-sh3/cpu/adc.h | 58 ++++---- .../kernel/arch/sh/include/cpu-sh3/cpu/dma.h | 38 ++--- .../kernel/arch/sh/include/cpu-sh3/cpu/freq.h | 48 +++---- .../arch/sh/include/cpu-sh3/cpu/watchdog.h | 44 +++--- .../kernel/arch/sh/include/cpu-sh4/cpu/dma.h | 34 ++--- .../kernel/arch/sh/include/cpu-sh4/cpu/rtc.h | 28 ++-- .../arch/sh/include/cpu-sh4/cpu/sigcontext.h | 50 +++---- .../sh/include/mach-common/mach/lboxre2.h | 48 +++---- .../arch/sh/include/mach-common/mach/titan.h | 40 +++--- .../arch/sh/include/mach-dreamcast/mach/pci.h | 48 +++---- .../sh/include/mach-kfr2r09/mach/romimage.h | 62 ++++----- .../arch/sh/include/mach-migor/mach/migor.h | 32 ++--- .../arch/sh/include/mach-sh03/mach/io.h | 52 +++---- .../arch/sh/include/mach-sh03/mach/sh03.h | 38 ++--- .../arch/sh/include/uapi/asm/sigcontext.h | 50 +++---- .../kernel/arch/sh/include/uapi/asm/signal.h | 36 ++--- .../kernel/arch/sh/include/uapi/asm/sockios.h | 36 ++--- .../kernel/arch/sh/kernel/cpu/Makefile | 42 +++--- .../kernel/arch/sh/kernel/cpu/pfc.c | 50 +++---- .../arch/sh/kernel/cpu/sh2a/pinmux-sh7203.c | 54 ++++---- .../arch/sh/kernel/cpu/sh2a/pinmux-sh7264.c | 54 ++++---- .../arch/sh/kernel/cpu/sh2a/pinmux-sh7269.c | 56 ++++---- .../arch/sh/kernel/cpu/sh3/pinmux-sh7720.c | 54 ++++---- .../arch/sh/kernel/cpu/sh3/serial-sh7710.c | 42 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7722.c | 42 +++--- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7723.c | 54 ++++---- .../arch/sh/kernel/cpu/sh4a/pinmux-sh7785.c | 54 ++++---- .../arch/sh/kernel/cpu/sh4a/pinmux-shx3.c | 52 +++---- .../arch/sh/kernel/cpu/sh4a/serial-sh7722.c | 48 +++---- .../kernel/arch/sh/kernel/ioport.c | 60 ++++---- .../kernel/arch/sh/kernel/syscalls_32.S | 34 ++--- .../UFI003_MB_V02/kernel/arch/sh/lib/div64.S | 94 ++++++------- .../UFI003_MB_V02/kernel/arch/sh/lib/libgcc.h | 54 ++++---- .../UFI003_MB_V02/kernel/arch/sh/lib/memchr.S | 54 ++++---- .../kernel/arch/sh/mm/extable_32.c | 48 +++---- .../UFI003_MB_V02/kernel/arch/sh/mm/ioremap.h | 46 +++---- .../kernel/arch/sh/tools/Makefile | 32 ++--- .../kernel/arch/sparc/crypto/crc32c_asm.S | 42 +++--- .../kernel/arch/sparc/crypto/crop_devid.c | 30 ++-- .../kernel/arch/sparc/include/asm/bug.h | 60 ++++---- .../arch/sparc/include/asm/cacheflush.h | 26 ++-- .../arch/sparc/include/asm/clocksource.h | 34 ++--- .../arch/sparc/include/asm/compat_signal.h | 48 +++---- .../kernel/arch/sparc/include/asm/cpu_type.h | 58 ++++---- .../kernel/arch/sparc/include/asm/cpudata.h | 38 ++--- .../kernel/arch/sparc/include/asm/delay_64.h | 36 ++--- .../kernel/arch/sparc/include/asm/device.h | 58 ++++---- .../arch/sparc/include/asm/hardirq_64.h | 38 ++--- .../kernel/arch/sparc/include/asm/hibernate.h | 48 +++---- .../kernel/arch/sparc/include/asm/ioctls.h | 28 ++-- .../kernel/arch/sparc/include/asm/irq_32.h | 48 +++---- .../kernel/arch/sparc/include/asm/kdebug_64.h | 48 +++---- .../kernel/arch/sparc/include/asm/leon_pci.h | 46 +++---- .../kernel/arch/sparc/include/asm/percpu_64.h | 54 ++++---- .../arch/sparc/include/asm/scratchpad.h | 30 ++-- .../kernel/arch/sparc/include/asm/signal.h | 34 ++--- .../arch/sparc/include/asm/spinlock_64.h | 38 ++--- .../arch/sparc/include/asm/spinlock_types.h | 50 +++---- .../kernel/arch/sparc/include/asm/starfire.h | 40 +++--- .../kernel/arch/sparc/include/asm/string_32.h | 30 ++-- .../kernel/arch/sparc/include/asm/string_64.h | 30 ++-- .../kernel/arch/sparc/include/asm/timex_64.h | 40 +++--- .../kernel/arch/sparc/include/asm/traps.h | 50 +++---- .../kernel/arch/sparc/include/asm/vdso.h | 44 +++--- .../arch/sparc/include/uapi/asm/auxvec.h | 30 ++-- .../arch/sparc/include/uapi/asm/siginfo.h | 32 ++--- .../kernel/arch/sparc/kernel/getsetcc.S | 50 +++---- .../kernel/arch/sparc/kernel/sigutil.h | 20 +-- .../kernel/arch/sparc/kernel/sun4v_mcd.S | 34 ++--- .../kernel/arch/sparc/kernel/sys32.S | 40 +++--- .../kernel/arch/sparc/kernel/systbls_32.S | 36 ++--- .../kernel/arch/sparc/kernel/utrap.S | 58 ++++---- .../kernel/arch/sparc/lib/GENcopy_from_user.S | 62 ++++----- .../kernel/arch/sparc/lib/NG4fls.S | 60 ++++---- .../kernel/arch/sparc/lib/U3copy_from_user.S | 54 ++++---- .../kernel/arch/sparc/lib/ashldi3.S | 76 +++++----- .../arch/sparc/lib/csum_copy_from_user.S | 44 +++--- .../kernel/arch/sparc/lib/csum_copy_to_user.S | 44 +++--- .../kernel/arch/sparc/lib/iomap.c | 56 ++++---- .../kernel/arch/sparc/lib/lshrdi3.S | 60 ++++---- .../kernel/arch/sparc/lib/memcmp.S | 60 ++++---- .../kernel/arch/sparc/lib/strncmp_64.S | 66 ++++----- .../kernel/arch/sparc/mm/Makefile | 36 ++--- .../kernel/arch/sparc/mm/execmem.c | 42 +++--- .../kernel/arch/sparc/mm/mm_32.h | 40 +++--- .../kernel/arch/sparc/prom/Makefile | 34 ++--- .../kernel/arch/sparc/vdso/vdso.lds.S | 54 ++++---- .../arch/sparc/vdso/vdso32/vclock_gettime.c | 44 +++--- .../arch/sparc/vdso/vdso32/vdso32.lds.S | 52 +++---- .../kernel/arch/sparc/video/video-common.c | 50 +++---- .../kernel/arch/um/Makefile-skas | 34 ++--- .../kernel/arch/um/drivers/daemon.h | 58 ++++---- .../kernel/arch/um/drivers/port.h | 40 +++--- .../kernel/arch/um/drivers/rtc.h | 30 ++-- .../kernel/arch/um/drivers/slip.h | 42 +++--- .../kernel/arch/um/drivers/ubd.h | 40 +++--- .../kernel/arch/um/drivers/umcast.h | 54 ++++---- .../kernel/arch/um/drivers/vde.h | 64 ++++----- .../kernel/arch/um/include/asm/archrandom.h | 50 +++---- .../kernel/arch/um/include/asm/cache.h | 36 ++--- .../kernel/arch/um/include/asm/fpu/api.h | 40 +++--- .../kernel/arch/um/include/asm/futex.h | 28 ++-- .../kernel/arch/um/include/asm/io.h | 52 +++---- .../kernel/arch/um/include/asm/mmu.h | 38 ++--- .../kernel/arch/um/include/asm/pci.h | 38 ++--- .../kernel/arch/um/include/shared/arch.h | 30 ++-- .../kernel/arch/um/include/shared/elf_user.h | 38 ++--- .../arch/um/include/shared/frame_kern.h | 30 ++-- .../kernel/arch/um/include/shared/irq_user.h | 48 +++---- .../kernel/arch/um/include/shared/kern.h | 44 +++--- .../kernel/arch/um/include/shared/longjmp.h | 48 +++---- .../kernel/arch/um/include/shared/mem.h | 44 +++--- .../arch/um/include/shared/ptrace_user.h | 30 ++-- .../kernel/arch/um/include/shared/skas/skas.h | 38 ++--- .../kernel/arch/um/include/shared/um_malloc.h | 40 +++--- .../kernel/arch/um/kernel/config.c.in | 52 +++---- .../kernel/arch/um/kernel/skas/Makefile | 32 ++--- .../kernel/arch/um/os-Linux/drivers/etap.h | 42 +++--- .../kernel/arch/um/os-Linux/drivers/tuntap.h | 42 +++--- .../UFI003_MB_V02/kernel/arch/x86/Kbuild | 68 ++++----- .../arch/x86/boot/compressed/kernel_info.S | 44 +++--- .../kernel/arch/x86/boot/compressed/pgtable.h | 36 ++--- .../kernel/arch/x86/boot/cpuflags.h | 44 +++--- .../kernel/arch/x86/boot/mtools.conf.in | 42 +++--- .../kernel/arch/x86/boot/version.c | 40 +++--- .../kernel/arch/x86/coco/sev/Makefile | 30 ++-- .../kernel/arch/x86/configs/hardening.config | 34 ++--- .../kernel/arch/x86/crypto/serpent-avx.h | 42 +++--- .../kernel/arch/x86/crypto/sm4-avx.h | 40 +++--- .../kernel/arch/x86/entry/thunk.S | 30 ++-- .../x86/entry/vdso/vdso32/fake_32bit_build.h | 50 +++---- .../kernel/arch/x86/entry/vdso/vdso32/note.S | 36 ++--- .../kernel/arch/x86/entry/vdso/vdsox32.lds.S | 54 ++++---- .../kernel/arch/x86/entry/vdso/vgetcpu.c | 44 +++--- .../kernel/arch/x86/entry/vdso/vgetrandom.c | 30 ++-- .../arch/x86/entry/vsyscall/vsyscall_emu_64.S | 78 +++++------ .../arch/x86/entry/vsyscall/vsyscall_trace.h | 60 ++++---- .../kernel/arch/x86/events/amd/Makefile | 20 +-- .../kernel/arch/x86/events/intel/Makefile | 16 +-- .../kernel/arch/x86/include/asm/amd_hsmp.h | 32 ++--- .../arch/x86/include/asm/asm-prototypes.h | 50 +++---- .../kernel/arch/x86/include/asm/audit.h | 28 ++-- .../kernel/arch/x86/include/asm/cacheinfo.h | 36 ++--- .../kernel/arch/x86/include/asm/clocksource.h | 42 +++--- .../kernel/arch/x86/include/asm/cmdline.h | 26 ++-- .../kernel/arch/x86/include/asm/dmi.h | 44 +++--- .../kernel/arch/x86/include/asm/doublefault.h | 34 ++--- .../kernel/arch/x86/include/asm/edac.h | 38 ++--- .../arch/x86/include/asm/emulate_prefix.h | 28 ++-- .../kernel/arch/x86/include/asm/espfix.h | 36 ++--- .../kernel/arch/x86/include/asm/iomap.h | 44 +++--- .../kernel/arch/x86/include/asm/irq_work.h | 38 ++--- .../arch/x86/include/asm/jailhouse_para.h | 52 +++---- .../kernel/arch/x86/include/asm/kaslr.h | 30 ++-- .../kernel/arch/x86/include/asm/kbdleds.h | 36 ++--- .../arch/x86/include/asm/kvm_vcpu_regs.h | 50 +++---- .../kernel/arch/x86/include/asm/kvmclock.h | 38 ++--- .../kernel/arch/x86/include/asm/math_emu.h | 30 ++-- .../kernel/arch/x86/include/asm/mman.h | 30 ++-- .../kernel/arch/x86/include/asm/mmconfig.h | 26 ++-- .../arch/x86/include/asm/numachip/numachip.h | 40 +++--- .../kernel/arch/x86/include/asm/orc_header.h | 38 ++--- .../kernel/arch/x86/include/asm/pm-trace.h | 48 +++---- .../arch/x86/include/asm/processor-cyrix.h | 36 ++--- .../kernel/arch/x86/include/asm/pti.h | 30 ++-- .../kernel/arch/x86/include/asm/sections.h | 38 ++--- .../kernel/arch/x86/include/asm/setup_data.h | 64 ++++----- .../kernel/arch/x86/include/asm/sta2x11.h | 26 ++-- .../kernel/arch/x86/include/asm/suspend.h | 28 ++-- .../kernel/arch/x86/include/asm/syscalls.h | 30 ++-- .../kernel/arch/x86/include/asm/thermal.h | 30 ++-- .../kernel/arch/x86/include/asm/time.h | 28 ++-- .../kernel/arch/x86/include/asm/timex.h | 44 +++--- .../kernel/arch/x86/include/asm/trace_clock.h | 42 +++--- .../arch/x86/include/asm/vdso/processor.h | 54 ++++---- .../kernel/arch/x86/include/asm/vgtod.h | 38 ++--- .../kernel/arch/x86/include/asm/video.h | 42 +++--- .../kernel/arch/x86/include/asm/vmalloc.h | 52 +++---- .../arch/x86/include/asm/xen/swiotlb-xen.h | 22 +-- .../arch/x86/include/asm/xen/trace_types.h | 38 ++--- .../kernel/arch/x86/include/uapi/asm/auxvec.h | 40 +++--- .../kernel/arch/x86/include/uapi/asm/elf.h | 32 ++--- .../arch/x86/include/uapi/asm/kvm_perf.h | 34 ++--- .../kernel/arch/x86/include/uapi/asm/mman.h | 26 ++-- .../kernel/arch/x86/include/uapi/asm/msr.h | 28 ++-- .../x86/include/uapi/asm/posix_types_64.h | 40 +++--- .../x86/include/uapi/asm/posix_types_x32.h | 40 +++--- .../arch/x86/include/uapi/asm/siginfo.h | 30 ++-- .../kernel/arch/x86/include/uapi/asm/statfs.h | 26 ++-- .../kernel/arch/x86/kernel/acpi/sleep.h | 42 +++--- .../kernel/arch/x86/kernel/cpu/mce/Makefile | 28 ++-- .../kernel/arch/x86/kernel/cpu/umc.c | 52 +++---- .../kernel/arch/x86/kernel/eisa.c | 50 +++---- .../kernel/arch/x86/kernel/ibt_selftest.S | 34 ++--- .../kernel/arch/x86/kernel/tls.h | 36 ++--- .../kernel/arch/x86/kernel/tracepoint.c | 42 +++--- .../kernel/arch/x86/kernel/vmcore_info_64.c | 48 +++---- .../kernel/arch/x86/kvm/svm/hyperv.c | 36 ++--- .../kernel/arch/x86/lib/cache-smp.c | 44 +++--- .../kernel/arch/x86/lib/error-inject.c | 50 +++---- .../kernel/arch/x86/lib/memcpy_32.c | 38 ++--- .../kernel/arch/x86/lib/pc-conf-reg.c | 26 ++-- .../arch/x86/platform/efi/efi_stub_64.S | 54 ++++---- .../arch/x86/platform/geode/geode-common.h | 42 +++--- .../kernel/arch/x86/power/Makefile | 24 ++-- .../kernel/arch/x86/purgatory/stack.S | 36 ++--- .../kernel/arch/x86/realmode/Makefile | 44 +++--- .../kernel/arch/x86/realmode/rm/realmode.h | 44 +++--- .../arch/x86/realmode/rm/trampoline_common.S | 28 ++-- .../kernel/arch/x86/realmode/rmpiggy.S | 38 ++--- .../kernel/arch/x86/tools/relocs_32.c | 36 ++--- .../kernel/arch/x86/tools/relocs_64.c | 36 ++--- .../kernel/arch/x86/um/asm/checksum_64.h | 38 ++--- .../kernel/arch/x86/um/asm/desc.h | 34 ++--- .../kernel/arch/x86/um/asm/syscall.h | 42 +++--- .../kernel/arch/x86/um/ptrace_user.c | 42 +++--- .../arch/x86/um/shared/sysdep/archsetjmp_32.h | 46 +++---- .../arch/x86/um/shared/sysdep/archsetjmp_64.h | 50 +++---- .../arch/x86/um/shared/sysdep/mcontext.h | 62 ++++----- .../arch/x86/um/shared/sysdep/ptrace_32.h | 40 +++--- .../arch/x86/um/shared/sysdep/syscalls_32.h | 28 ++-- .../kernel/arch/x86/um/stub_segv.c | 40 +++--- .../UFI003_MB_V02/kernel/arch/x86/um/tls_64.c | 36 ++--- .../kernel/arch/x86/xen/suspend_hvm.c | 54 ++++---- .../UFI003_MB_V02/kernel/arch/x86/xen/trace.c | 42 +++--- .../kernel/arch/xtensa/boot/dts/Makefile | 26 ++-- .../arch/xtensa/boot/dts/kc705_nommu.dts | 36 ++--- .../xtensa/boot/dts/xtfpga-flash-128m.dtsi | 58 ++++---- .../xtensa/boot/dts/xtfpga-flash-16m.dtsi | 58 ++++---- .../arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi | 42 +++--- .../kernel/arch/xtensa/include/asm/flat.h | 38 ++--- .../kernel/arch/xtensa/include/asm/mmu.h | 44 +++--- .../kernel/arch/xtensa/include/asm/mtd-xip.h | 28 ++-- .../kernel/arch/xtensa/include/asm/serial.h | 36 ++--- .../kernel/arch/xtensa/include/asm/shmparam.h | 42 +++--- .../kernel/arch/xtensa/include/asm/signal.h | 46 +++---- .../kernel/arch/xtensa/include/asm/spinlock.h | 40 +++--- .../arch/xtensa/include/asm/switch_to.h | 44 +++--- .../kernel/arch/xtensa/include/asm/sysmem.h | 38 ++--- .../kernel/arch/xtensa/include/asm/tlb.h | 46 +++---- .../kernel/arch/xtensa/include/asm/ucontext.h | 44 +++--- .../kernel/arch/xtensa/include/asm/vermagic.h | 34 ++--- .../arch/xtensa/include/uapi/asm/poll.h | 42 +++--- .../arch/xtensa/include/uapi/asm/setup.h | 34 ++--- .../kernel/arch/xtensa/kernel/hibernate.c | 50 +++---- .../kernel/arch/xtensa/lib/Makefile | 22 +-- .../kernel/arch/xtensa/lib/ashldi3.S | 58 ++++---- .../kernel/arch/xtensa/lib/ashrdi3.S | 58 ++++---- .../kernel/arch/xtensa/lib/bswapdi2.S | 44 +++--- .../kernel/arch/xtensa/lib/lshrdi3.S | 58 ++++---- .../kernel/arch/xtensa/mm/Makefile | 28 ++-- .../platforms/iss/include/platform/serial.h | 30 ++-- .../arch/xtensa/platforms/xtfpga/Makefile | 22 +-- .../xtfpga/include/platform/serial.h | 36 ++--- .../UFI003_MB_V02/kernel/block/blk-wbt.h | 56 ++++---- .../kernel/certs/default_x509.genkey | 34 ++--- .../kernel/certs/revocation_certificates.S | 42 +++--- .../UFI003_MB_V02/kernel/crypto/aegis-neon.h | 34 ++--- .../crypto/asymmetric_keys/asymmetric_keys.h | 34 ++--- .../kernel/crypto/async_tx/Kconfig | 56 ++++---- .../debian/UFI003_MB_V02/kernel/crypto/hash.h | 36 ++--- .../kernel/crypto/rsaprivkey.asn1 | 36 ++--- .../UFI003_MB_V02/kernel/crypto/skcipher.h | 36 ++--- .../debian/UFI003_MB_V02/kernel/fs/9p/cache.h | 52 +++---- .../UFI003_MB_V02/kernel/fs/afs/Makefile | 86 ++++++------ .../kernel/fs/bcachefs/bbpos_types.h | 36 ++--- .../kernel/fs/bcachefs/btree_gc_types.h | 68 ++++----- .../kernel/fs/bcachefs/btree_node_scan.h | 22 +-- .../fs/bcachefs/buckets_waiting_for_journal.h | 30 ++-- .../buckets_waiting_for_journal_types.h | 46 +++---- .../fs/bcachefs/disk_accounting_types.h | 38 ++--- .../kernel/fs/bcachefs/disk_groups_types.h | 36 ++--- .../kernel/fs/bcachefs/ec_format.h | 52 +++---- .../kernel/fs/bcachefs/extent_update.h | 24 ++-- .../kernel/fs/bcachefs/fs-io-direct.h | 32 ++--- .../UFI003_MB_V02/kernel/fs/bcachefs/fsck.h | 34 ++--- .../bcachefs/journal_seq_blacklist_format.h | 30 ++-- .../kernel/fs/bcachefs/logged_ops.h | 40 +++--- .../kernel/fs/bcachefs/logged_ops_format.h | 60 ++++---- .../kernel/fs/bcachefs/lru_format.h | 50 +++---- .../kernel/fs/bcachefs/movinggc.h | 24 ++-- .../kernel/fs/bcachefs/nocow_locking_types.h | 40 +++--- .../kernel/fs/bcachefs/recovery_passes.h | 34 ++--- .../kernel/fs/bcachefs/sb-counters.h | 32 ++--- .../kernel/fs/bcachefs/sb-downgrade.h | 24 ++-- .../kernel/fs/bcachefs/sb-downgrade_format.h | 34 ++--- .../kernel/fs/bcachefs/sb-errors.h | 42 +++--- .../kernel/fs/bcachefs/sb-members_types.h | 42 +++--- .../kernel/fs/bcachefs/super_types.h | 58 ++++---- .../fs/bcachefs/thread_with_file_types.h | 40 +++--- .../UFI003_MB_V02/kernel/fs/bcachefs/trace.c | 36 ++--- .../UFI003_MB_V02/kernel/fs/befs/datastream.h | 40 +++--- .../UFI003_MB_V02/kernel/fs/btrfs/direct-io.h | 28 ++-- .../UFI003_MB_V02/kernel/fs/btrfs/export.h | 58 ++++---- .../UFI003_MB_V02/kernel/fs/btrfs/orphan.h | 32 ++--- .../kernel/fs/btrfs/print-tree.h | 38 ++--- .../UFI003_MB_V02/kernel/fs/btrfs/uuid-tree.h | 38 ++--- .../kernel/fs/cachefiles/Makefile | 42 +++--- .../UFI003_MB_V02/kernel/fs/ceph/Makefile | 30 ++-- .../UFI003_MB_V02/kernel/fs/ceph/ceph_frag.c | 46 +++---- .../debian/UFI003_MB_V02/kernel/fs/ceph/io.h | 24 ++-- .../UFI003_MB_V02/kernel/fs/coda/Makefile | 28 ++-- .../UFI003_MB_V02/kernel/fs/coda/coda_int.h | 62 ++++----- .../UFI003_MB_V02/kernel/fs/configfs/Kconfig | 24 ++-- .../UFI003_MB_V02/kernel/fs/dlm/Kconfig | 34 ++--- .../UFI003_MB_V02/kernel/fs/dlm/Makefile | 42 +++--- .../UFI003_MB_V02/kernel/fs/dlm/lvb_table.h | 32 ++--- .../debian/UFI003_MB_V02/kernel/fs/dlm/user.h | 34 ++--- .../debian/UFI003_MB_V02/kernel/fs/dlm/util.h | 36 ++--- .../UFI003_MB_V02/kernel/fs/efivarfs/Kconfig | 28 ++-- .../UFI003_MB_V02/kernel/fs/erofs/Makefile | 22 +-- .../UFI003_MB_V02/kernel/fs/ext2/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/fs/f2fs/Makefile | 24 ++-- .../UFI003_MB_V02/kernel/fs/fuse/Makefile | 36 ++--- .../debian/UFI003_MB_V02/kernel/fs/gfs2/acl.h | 38 ++--- .../UFI003_MB_V02/kernel/fs/gfs2/gfs2.h | 46 +++---- .../debian/UFI003_MB_V02/kernel/fs/gfs2/sys.h | 44 +++--- .../UFI003_MB_V02/kernel/fs/hfs/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/fs/hfsplus/Kconfig | 32 ++--- .../UFI003_MB_V02/kernel/fs/hfsplus/Makefile | 20 +-- .../UFI003_MB_V02/kernel/fs/iomap/Makefile | 34 ++--- .../UFI003_MB_V02/kernel/fs/isofs/zisofs.h | 32 ++--- .../UFI003_MB_V02/kernel/fs/jffs2/ioctl.c | 44 +++--- .../UFI003_MB_V02/kernel/fs/jffs2/symlink.c | 38 ++--- .../UFI003_MB_V02/kernel/fs/jfs/Makefile | 30 ++-- .../UFI003_MB_V02/kernel/fs/jfs/jfs_acl.h | 48 +++---- .../UFI003_MB_V02/kernel/fs/jfs/jfs_extent.h | 32 ++--- .../UFI003_MB_V02/kernel/fs/jfs/symlink.c | 44 +++--- .../UFI003_MB_V02/kernel/fs/lockd/Makefile | 26 ++-- .../UFI003_MB_V02/kernel/fs/lockd/netns.h | 44 +++--- .../UFI003_MB_V02/kernel/fs/lockd/procfs.h | 54 ++++---- .../UFI003_MB_V02/kernel/fs/netfs/Makefile | 66 ++++----- .../UFI003_MB_V02/kernel/fs/nfs/nfstrace.c | 30 ++-- .../kernel/fs/nfs_common/Makefile | 30 ++-- .../UFI003_MB_V02/kernel/fs/nfsd/auth.h | 34 ++--- .../UFI003_MB_V02/kernel/fs/nilfs2/export.h | 52 +++---- .../kernel/fs/notify/dnotify/Kconfig | 24 ++-- .../UFI003_MB_V02/kernel/fs/notify/fdinfo.h | 56 ++++---- .../kernel/fs/ocfs2/cluster/ocfs2_heartbeat.h | 44 +++--- .../kernel/fs/ocfs2/cluster/quorum.h | 38 ++--- .../kernel/fs/ocfs2/dlm/dlmconvert.h | 36 ++--- .../UFI003_MB_V02/kernel/fs/ocfs2/ioctl.h | 40 +++--- .../UFI003_MB_V02/kernel/fs/ocfs2/locks.h | 32 ++--- .../kernel/fs/ocfs2/ocfs2_lockingver.h | 44 +++--- .../UFI003_MB_V02/kernel/fs/ocfs2/resize.h | 32 ++--- .../UFI003_MB_V02/kernel/fs/ocfs2/symlink.h | 52 +++---- .../UFI003_MB_V02/kernel/fs/omfs/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/fs/orangefs/Makefile | 22 +-- .../kernel/fs/orangefs/symlink.c | 38 ++--- .../UFI003_MB_V02/kernel/fs/proc/cmdline.c | 48 +++---- .../debian/UFI003_MB_V02/kernel/fs/proc/fd.h | 42 +++--- .../UFI003_MB_V02/kernel/fs/proc/util.c | 48 +++---- .../UFI003_MB_V02/kernel/fs/proc/version.c | 54 ++++---- .../UFI003_MB_V02/kernel/fs/pstore/Makefile | 40 +++--- .../UFI003_MB_V02/kernel/fs/qnx4/Kconfig | 32 ++--- .../kernel/fs/smb/client/compress/lz77.h | 30 ++-- .../kernel/fs/smb/client/dns_resolve.h | 40 +++--- .../UFI003_MB_V02/kernel/fs/smb/common/arc4.h | 46 +++---- .../UFI003_MB_V02/kernel/fs/smb/common/md4.h | 54 ++++---- .../smb/server/ksmbd_spnego_negtokentarg.asn1 | 52 +++---- .../kernel/fs/smb/server/transport_tcp.h | 30 ++-- .../UFI003_MB_V02/kernel/fs/ubifs/Makefile | 22 +-- .../UFI003_MB_V02/kernel/fs/unicode/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/fs/vboxsf/Kconfig | 20 +-- .../kernel/fs/xfs/scrub/attr_repair.h | 30 ++-- .../kernel/fs/xfs/scrub/fscounters.h | 42 +++--- .../kernel/fs/xfs/scrub/rtbitmap.h | 44 +++--- .../kernel/fs/xfs/scrub/xfs_scrub.h | 34 ++--- .../debian/UFI003_MB_V02/kernel/fs/xfs/xfs.h | 56 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_aops.h | 28 ++-- .../UFI003_MB_V02/kernel/fs/xfs/xfs_file.h | 30 ++-- .../UFI003_MB_V02/kernel/fs/xfs/xfs_fsops.h | 34 ++--- .../kernel/fs/xfs/xfs_icreate_item.h | 44 +++--- .../kernel/fs/xfs/xfs_iunlink_item.h | 54 ++++---- .../UFI003_MB_V02/kernel/fs/xfs/xfs_symlink.h | 32 ++--- .../UFI003_MB_V02/kernel/fs/xfs/xfs_xattr.h | 28 ++-- .../kernel/include/acpi/button.h | 36 ++--- .../UFI003_MB_V02/kernel/include/acpi/hed.h | 34 ++--- .../UFI003_MB_V02/kernel/include/acpi/nfit.h | 36 ++--- .../include/asm-generic/asm-prototypes.h | 28 ++-- .../include/asm-generic/audit_change_attr.h | 66 ++++----- .../include/asm-generic/audit_dir_write.h | 76 +++++----- .../kernel/include/asm-generic/audit_write.h | 50 +++---- .../include/asm-generic/bitops/arch_hweight.h | 52 +++---- .../asm-generic/bitops/builtin-__ffs.h | 32 ++--- .../asm-generic/bitops/builtin-__fls.h | 32 ++--- .../include/asm-generic/bitops/builtin-ffs.h | 30 ++-- .../include/asm-generic/bitops/builtin-fls.h | 34 ++--- .../asm-generic/bitops/ext2-atomic-setbit.h | 24 ++-- .../include/asm-generic/bitops/ext2-atomic.h | 54 ++++---- .../bitops/non-instrumented-non-atomic.h | 34 ++--- .../kernel/include/asm-generic/cache.h | 26 ++-- .../kernel/include/asm-generic/codetag.lds.h | 28 ++-- .../kernel/include/asm-generic/dma.h | 32 ++--- .../kernel/include/asm-generic/exec.h | 30 ++-- .../kernel/include/asm-generic/flat.h | 52 +++---- .../kernel/include/asm-generic/hardirq.h | 52 +++---- .../kernel/include/asm-generic/ioctl.h | 36 ++--- .../kernel/include/asm-generic/irq.h | 38 ++--- .../kernel/include/asm-generic/kvm_para.h | 64 ++++----- .../kernel/include/asm-generic/mmu.h | 40 +++--- .../include/asm-generic/nommu_context.h | 38 ++--- .../kernel/include/asm-generic/param.h | 22 +-- .../kernel/include/asm-generic/parport.h | 48 +++---- .../include/asm-generic/runtime-const.h | 30 ++-- .../kernel/include/asm-generic/set_memory.h | 26 ++-- .../kernel/include/asm-generic/simd.h | 30 ++-- .../include/asm-generic/spinlock_types.h | 34 ++--- .../kernel/include/asm-generic/timex.h | 46 +++---- .../kernel/include/asm-generic/tlbflush.h | 42 +++--- .../kernel/include/asm-generic/trace_clock.h | 34 ++--- .../kernel/include/asm-generic/vga.h | 50 +++---- .../kernel/include/crypto/arc4.h | 46 +++---- .../kernel/include/crypto/blowfish.h | 48 +++---- .../kernel/include/crypto/cast5.h | 48 +++---- .../kernel/include/crypto/cast6.h | 48 +++---- .../kernel/include/crypto/ghash.h | 48 +++---- .../kernel/include/crypto/internal/blake2s.h | 42 +++--- .../kernel/include/crypto/internal/sig.h | 34 ++--- .../UFI003_MB_V02/kernel/include/crypto/md5.h | 50 +++---- .../kernel/include/crypto/padlock.h | 48 +++---- .../kernel/include/crypto/polyval.h | 44 +++--- .../include/drm/display/drm_hdcp_helper.h | 44 +++--- .../kernel/include/drm/drm_bridge_connector.h | 32 ++--- .../kernel/include/drm/drm_fbdev_client.h | 38 ++--- .../include/drm/drm_self_refresh_helper.h | 42 +++--- .../kernel/include/drm/drm_sysfs.h | 34 ++--- .../kernel/include/drm/drm_utils.h | 46 +++---- .../kernel/include/dt-bindings/ata/ahci.h | 40 +++--- .../kernel/include/dt-bindings/bus/moxtet.h | 32 ++--- .../include/dt-bindings/clock/ath79-clk.h | 34 ++--- .../include/dt-bindings/clock/bcm6328-clock.h | 38 ++--- .../include/dt-bindings/clock/bcm6358-clock.h | 36 ++--- .../dt-bindings/clock/cirrus,cs2000-cp.h | 28 ++-- .../dt-bindings/clock/clps711x-clock.h | 46 +++---- .../include/dt-bindings/clock/en7523-clk.h | 34 ++--- .../dt-bindings/clock/fsl,qoriq-clockgen.h | 30 ++-- .../include/dt-bindings/clock/hip04-clock.h | 42 +++--- .../include/dt-bindings/clock/ingenic,tcu.h | 40 +++--- .../dt-bindings/clock/loongson,ls1x-clk.h | 38 ++--- .../dt-bindings/clock/maxim,max77620.h | 36 ++--- .../dt-bindings/clock/maxim,max77686.h | 40 +++--- .../dt-bindings/clock/maxim,max77802.h | 38 ++--- .../dt-bindings/clock/microchip,sparx5.h | 46 +++---- .../dt-bindings/clock/mobileye,eyeq5-clk.h | 44 +++--- .../dt-bindings/clock/mstar-msc313-mpll.h | 38 ++--- .../dt-bindings/clock/oxsemi,ox810se.h | 38 ++--- .../dt-bindings/clock/qcom,gpucc-sc7180.h | 44 +++--- .../dt-bindings/clock/qcom,gpucc-sdm845.h | 48 +++---- .../dt-bindings/clock/qcom,lcc-ipq806x.h | 48 +++---- .../dt-bindings/clock/qcom,lpass-sc7280.h | 32 ++--- .../dt-bindings/clock/qcom,lpass-sdm845.h | 30 ++-- .../dt-bindings/clock/qcom,q6sstopcc-qcs404.h | 36 ++--- .../dt-bindings/clock/qcom,sc8280xp-lpasscc.h | 34 ++--- .../clock/qcom,sm8250-lpass-audiocc.h | 26 ++-- .../dt-bindings/clock/qcom,sm8550-tcsr.h | 36 ++--- .../dt-bindings/clock/qcom,sm8650-tcsr.h | 36 ++--- .../dt-bindings/clock/qcom,turingcc-qcs404.h | 30 ++-- .../dt-bindings/clock/qcom,videocc-sc7180.h | 46 +++---- .../dt-bindings/clock/r7s9210-cpg-mssr.h | 40 +++--- .../include/dt-bindings/clock/rk3066a-cru.h | 62 ++++----- .../dt-bindings/clock/samsung,s2mps11.h | 40 +++--- .../dt-bindings/clock/sifive-fu540-prci.h | 36 ++--- .../dt-bindings/clock/sophgo,sg2042-pll.h | 28 ++-- .../dt-bindings/clock/ste-db8500-clkout.h | 34 ++--- .../include/dt-bindings/clock/stih410-clks.h | 52 +++---- .../dt-bindings/clock/sun20i-d1-r-ccu.h | 38 ++--- .../dt-bindings/clock/sun50i-a100-r-ccu.h | 46 +++---- .../dt-bindings/clock/sun50i-h6-r-ccu.h | 54 ++++---- .../include/dt-bindings/clock/sun8i-de2.h | 42 +++--- .../include/dt-bindings/clock/tegra124-car.h | 40 +++--- .../include/dt-bindings/clock/xlnx-vcu.h | 30 ++-- .../kernel/include/dt-bindings/dma/dw-dmac.h | 28 ++-- .../kernel/include/dt-bindings/dma/fsl-edma.h | 42 +++--- .../kernel/include/dt-bindings/dma/nbpfaxi.h | 34 ++--- .../dt-bindings/dma/xlnx-zynqmp-dpdma.h | 32 ++--- .../include/dt-bindings/gpio/uniphier-gpio.h | 36 ++--- .../kernel/include/dt-bindings/i2c/i2c.h | 34 ++--- .../kernel/include/dt-bindings/i3c/i3c.h | 32 ++--- .../dt-bindings/iio/adc/at91-sama5d2_adc.h | 38 ++--- .../include/dt-bindings/iio/adc/ingenic,adc.h | 36 ++--- .../iio/adc/mediatek,mt6357-auxadc.h | 42 +++--- .../dt-bindings/iio/adc/mediatek,mt6370_adc.h | 36 ++--- .../include/dt-bindings/iio/adi,ad5592r.h | 34 ++--- .../iio/temperature/thermocouple.h | 32 ++--- .../include/dt-bindings/input/gpio-keys.h | 26 ++-- .../kernel/include/dt-bindings/input/input.h | 36 ++--- .../interrupt-controller/apple-aic.h | 34 ++--- .../interrupt-controller/arm-gic.h | 50 +++---- .../dt-bindings/interrupt-controller/irq.h | 40 +++--- .../interrupt-controller/irqc-rzg2l.h | 50 +++---- .../interrupt-controller/mvebu-icu.h | 32 ++--- .../include/dt-bindings/leds/leds-netxbig.h | 36 ++--- .../include/dt-bindings/leds/leds-pca9532.h | 36 ++--- .../include/dt-bindings/leds/leds-pca955x.h | 32 ++--- .../include/dt-bindings/media/tvp5150.h | 42 +++--- .../dt-bindings/media/video-interfaces.h | 32 ++--- .../dt-bindings/memory/mtk-memory-port.h | 34 ++--- .../include/dt-bindings/mfd/at91-usart.h | 34 ++--- .../include/dt-bindings/mfd/atmel-flexcom.h | 30 ++-- .../kernel/include/dt-bindings/mfd/cros_ec.h | 36 ++--- .../kernel/include/dt-bindings/mfd/palmas.h | 38 ++--- .../kernel/include/dt-bindings/mfd/st-lpc.h | 34 ++--- .../dt-bindings/mips/lantiq_rcu_gphy.h | 26 ++-- .../kernel/include/dt-bindings/mux/mux.h | 34 ++--- .../include/dt-bindings/phy/phy-cadence.h | 46 +++---- .../include/dt-bindings/phy/phy-imx8-pcie.h | 28 ++-- .../dt-bindings/phy/phy-lantiq-vrx200-pcie.h | 22 +-- .../include/dt-bindings/phy/phy-qcom-qmp.h | 48 +++---- .../kernel/include/dt-bindings/phy/phy-ti.h | 42 +++--- .../kernel/include/dt-bindings/phy/phy.h | 54 ++++---- .../include/dt-bindings/pinctrl/apple.h | 26 ++-- .../dt-bindings/pinctrl/pinctrl-cv18xx.h | 38 ++--- .../pinctrl/pinctrl-tegra-io-pad.h | 36 ++--- .../dt-bindings/pinctrl/pinctrl-zynq.h | 34 ++--- .../dt-bindings/pinctrl/pinctrl-zynqmp.h | 38 ++--- .../dt-bindings/pinctrl/r7s72100-pinctrl.h | 34 ++--- .../dt-bindings/power/amlogic,a4-pwrc.h | 42 +++--- .../dt-bindings/power/amlogic,a5-pwrc.h | 42 +++--- .../include/dt-bindings/power/imx8mn-power.h | 40 +++--- .../dt-bindings/power/mediatek,mt8365-power.h | 38 ++--- .../dt-bindings/power/meson-s4-power.h | 38 ++--- .../dt-bindings/power/meson-sm1-power.h | 36 ++--- .../include/dt-bindings/power/meson8-power.h | 26 ++-- .../include/dt-bindings/power/mt2701-power.h | 38 ++--- .../include/dt-bindings/power/mt2712-power.h | 42 +++--- .../include/dt-bindings/power/mt6765-power.h | 28 ++-- .../include/dt-bindings/power/mt6795-power.h | 32 ++--- .../include/dt-bindings/power/mt7622-power.h | 28 ++-- .../include/dt-bindings/power/mt8167-power.h | 34 ++--- .../include/dt-bindings/power/mt8173-power.h | 32 ++--- .../dt-bindings/power/owl-s500-powergate.h | 38 ++--- .../dt-bindings/power/owl-s700-powergate.h | 38 ++--- .../dt-bindings/power/owl-s900-powergate.h | 46 +++---- .../include/dt-bindings/power/px30-power.h | 54 ++++---- .../include/dt-bindings/power/r8a7743-sysc.h | 44 +++--- .../include/dt-bindings/power/r8a7745-sysc.h | 44 +++--- .../include/dt-bindings/power/r8a77470-sysc.h | 44 +++--- .../include/dt-bindings/power/r8a77995-sysc.h | 40 +++--- .../include/dt-bindings/power/rk3066-power.h | 44 +++--- .../include/dt-bindings/power/rk3188-power.h | 48 +++---- .../include/dt-bindings/power/rk3228-power.h | 42 +++--- .../include/dt-bindings/power/rk3328-power.h | 38 ++--- .../include/dt-bindings/power/rk3366-power.h | 48 +++---- .../dt-bindings/power/starfive,jh7110-pmu.h | 42 +++--- .../kernel/include/dt-bindings/pwm/pwm.h | 30 ++-- .../regulator/dlg,da9063-regulator.h | 32 ++--- .../regulator/dlg,da9211-regulator.h | 32 ++--- .../dt-bindings/regulator/maxim,max77802.h | 30 ++-- .../regulator/mediatek,mt6360-regulator.h | 32 ++--- .../regulator/mediatek,mt6397-regulator.h | 30 ++-- .../regulator/richtek,rt5190a-regulator.h | 30 ++-- .../dt-bindings/reset/altr,rst-mgr-a10sr.h | 44 +++--- .../reset/amlogic,meson-axg-audio-arb.h | 38 ++--- .../include/dt-bindings/reset/axg-aoclkc.h | 40 +++--- .../include/dt-bindings/reset/bcm6318-reset.h | 40 +++--- .../include/dt-bindings/reset/bcm6328-reset.h | 36 ++--- .../include/dt-bindings/reset/bcm6358-reset.h | 30 ++-- .../include/dt-bindings/reset/bcm6362-reset.h | 44 +++--- .../include/dt-bindings/reset/bcm6368-reset.h | 32 ++--- .../dt-bindings/reset/delta,tn48m-reset.h | 40 +++--- .../include/dt-bindings/reset/g12a-aoclkc.h | 36 ++--- .../dt-bindings/reset/mediatek,mt6735-wdt.h | 34 ++--- .../reset/mediatek,mt7988-resets.h | 38 ++--- .../dt-bindings/reset/qcom,sdm845-aoss.h | 34 ++--- .../dt-bindings/reset/qcom,sdm845-pdc.h | 44 +++--- .../dt-bindings/reset/qcom,sm8350-videocc.h | 36 ++--- .../dt-bindings/reset/qcom,sm8450-gpucc.h | 40 +++--- .../dt-bindings/reset/qcom,sm8650-gpucc.h | 40 +++--- .../dt-bindings/reset/qcom,x1e80100-gpucc.h | 38 ++--- .../reset/raspberrypi,firmware-reset.h | 26 ++-- .../dt-bindings/reset/snps,hsdk-reset.h | 34 ++--- .../dt-bindings/reset/sun20i-d1-r-ccu.h | 32 ++--- .../dt-bindings/reset/sun50i-a100-r-ccu.h | 36 ++--- .../dt-bindings/reset/sun50i-h6-r-ccu.h | 36 ++--- .../include/dt-bindings/reset/sun5i-ccu.h | 46 +++---- .../include/dt-bindings/reset/tegra124-car.h | 26 ++-- .../include/dt-bindings/reset/tegra210-car.h | 28 ++-- .../include/dt-bindings/soc/bcm6318-pm.h | 34 ++--- .../include/dt-bindings/soc/bcm6328-pm.h | 34 ++--- .../kernel/include/dt-bindings/soc/qcom,gpr.h | 38 ++--- .../include/dt-bindings/soc/qcom,gsbi.h | 36 ++--- .../dt-bindings/soc/rockchip,boot-mode.h | 32 ++--- .../include/dt-bindings/soc/rockchip,vop2.h | 36 ++--- .../dt-bindings/soc/samsung,boot-mode.h | 36 ++--- .../dt-bindings/soc/samsung,exynos-usi.h | 34 ++--- .../include/dt-bindings/soc/tegra-pmc.h | 32 ++--- .../include/dt-bindings/sound/adi,adau1977.h | 30 ++-- .../include/dt-bindings/sound/audio-graph.h | 52 +++---- .../include/dt-bindings/sound/meson-aiu.h | 36 ++--- .../dt-bindings/sound/meson-g12a-tohdmitx.h | 26 ++-- .../dt-bindings/sound/microchip,pdmc.h | 26 ++-- .../include/dt-bindings/sound/qcom,wcd9335.h | 30 ++-- .../include/dt-bindings/sound/samsung-i2s.h | 30 ++-- .../dt-bindings/thermal/tegra124-soctherm.h | 40 +++--- .../thermal/tegra186-bpmp-thermal.h | 28 ++-- .../thermal/tegra194-bpmp-thermal.h | 30 ++-- .../include/dt-bindings/thermal/thermal.h | 32 ++--- .../dt-bindings/thermal/thermal_exynos.h | 36 ++--- .../kernel/include/keys/dns_resolver-type.h | 30 ++-- .../kernel/include/kunit/platform_device.h | 42 +++--- .../kernel/include/linux/acpi_viot.h | 42 +++--- .../kernel/include/linux/adfs_fs.h | 48 +++---- .../kernel/include/linux/ahci-remap.h | 58 ++++---- .../UFI003_MB_V02/kernel/include/linux/aio.h | 46 +++---- .../kernel/include/linux/align.h | 30 ++-- .../kernel/include/linux/altera_jtaguart.h | 34 ++--- .../kernel/include/linux/altera_uart.h | 32 ++--- .../include/linux/armada-37xx-rwtm-mailbox.h | 46 +++---- .../kernel/include/linux/ascii85.h | 78 +++++------ .../kernel/include/linux/asn1_decoder.h | 40 +++--- .../kernel/include/linux/atm_tcp.h | 48 +++---- .../kernel/include/linux/audit_arch.h | 52 +++---- .../kernel/include/linux/base64.h | 32 ++--- .../kernel/include/linux/bcm47xx_sprom.h | 62 ++++----- .../kernel/include/linux/bcm47xx_wdt.h | 54 ++++---- .../kernel/include/linux/bcma/bcma_soc.h | 34 ++--- .../kernel/include/linux/blkpg.h | 44 +++--- .../UFI003_MB_V02/kernel/include/linux/bsg.h | 38 ++--- .../kernel/include/linux/build-salt.h | 40 +++--- .../include/linux/byteorder/little_endian.h | 24 ++-- .../kernel/include/linux/ceph/ceph_hash.h | 28 ++-- .../kernel/include/linux/ceph/debugfs.h | 28 ++-- .../kernel/include/linux/ceph/types.h | 62 ++++----- .../kernel/include/linux/clk/clk-conf.h | 48 +++---- .../kernel/include/linux/clk/pxa.h | 32 ++--- .../kernel/include/linux/clk/sunxi-ng.h | 28 ++-- .../kernel/include/linux/clk/zynq.h | 34 ++--- .../kernel/include/linux/cmpxchg-emu.h | 30 ++-- .../kernel/include/linux/compiler-version.h | 28 ++-- .../kernel/include/linux/container.h | 54 ++++---- .../kernel/include/linux/crc-ccitt.h | 32 ++--- .../kernel/include/linux/crc-itu-t.h | 52 +++---- .../kernel/include/linux/crc-t10dif.h | 32 ++--- .../kernel/include/linux/crc16.h | 56 ++++---- .../kernel/include/linux/crc32poly.h | 40 +++--- .../kernel/include/linux/crc64.h | 36 ++--- .../kernel/include/linux/decompress/unxz.h | 36 ++--- .../kernel/include/linux/dm-verity-loadpin.h | 54 ++++---- .../kernel/include/linux/dma-direction.h | 36 ++--- .../kernel/include/linux/dma/amd_xdma.h | 32 ++--- .../kernel/include/linux/dqblk_v2.h | 34 ++--- .../kernel/include/linux/dsa/brcm.h | 32 ++--- .../kernel/include/linux/earlycpio.h | 36 ++--- .../kernel/include/linux/elf-randomize.h | 46 +++---- .../kernel/include/linux/errqueue.h | 56 ++++---- .../kernel/include/linux/errseq.h | 28 ++-- .../kernel/include/linux/f75375s.h | 42 +++--- .../include/linux/fault-inject-usercopy.h | 44 +++--- .../UFI003_MB_V02/kernel/include/linux/fd.h | 50 +++---- .../UFI003_MB_V02/kernel/include/linux/fec.h | 44 +++--- .../include/linux/fpga/altera-pr-ip-core.h | 34 ++--- .../kernel/include/linux/fs_pin.h | 48 +++---- .../kernel/include/linux/gpio-pxa.h | 44 +++--- .../kernel/include/linux/gpio/aspeed.h | 38 ++--- .../kernel/include/linux/gpio/gpio-reg.h | 36 ++--- .../kernel/include/linux/gpio/property.h | 28 ++-- .../kernel/include/linux/greybus/greybus_id.h | 54 ++++---- .../kernel/include/linux/hid-roccat.h | 52 +++---- .../kernel/include/linux/hugetlb_inline.h | 46 +++---- .../kernel/include/linux/i2c-dev.h | 30 ++-- .../kernel/include/linux/i8254.h | 42 +++--- .../kernel/include/linux/if_link.h | 66 ++++----- .../kernel/include/linux/if_pppol2tp.h | 30 ++-- .../kernel/include/linux/if_tunnel.h | 34 ++--- .../include/linux/iio/adc/stm32-dfsdm-adc.h | 40 +++--- .../include/linux/iio/common/st_sensors_i2c.h | 38 ++--- .../include/linux/iio/common/st_sensors_spi.h | 38 ++--- .../kernel/include/linux/iio/dac/ad5791.h | 48 +++---- .../kernel/include/linux/iio/hw-consumer.h | 40 +++--- .../include/linux/iio/triggered_event.h | 24 ++-- .../kernel/include/linux/imx-media.h | 50 +++---- .../kernel/include/linux/input/as5011.h | 32 ++--- .../kernel/include/linux/input/sh_keysc.h | 32 ++--- .../kernel/include/linux/input/tps6507x-ts.h | 46 +++---- .../kernel/include/linux/intel_tcc.h | 38 ++--- .../kernel/include/linux/io_uring/net.h | 36 ++--- .../UFI003_MB_V02/kernel/include/linux/ipc.h | 62 ++++----- .../kernel/include/linux/ipv6_route.h | 30 ++-- .../kernel/include/linux/irq_poll.h | 52 +++---- .../include/linux/irqchip/arm-gic-common.h | 38 ++--- .../kernel/include/linux/irqchip/arm-vic.h | 28 ++-- .../linux/irqchip/irq-davinci-cp-intc.h | 50 +++---- .../include/linux/irqchip/irq-omap-intc.h | 40 +++--- .../kernel/include/linux/irqchip/irq-sa11x0.h | 28 ++-- .../kernel/include/linux/irqchip/xtensa-mx.h | 34 ++--- .../kernel/include/linux/irqchip/xtensa-pic.h | 36 ++--- .../kernel/include/linux/irqflags_types.h | 44 +++--- .../kernel/include/linux/irqreturn.h | 40 +++--- .../kernel/include/linux/joystick.h | 42 +++--- .../kernel/include/linux/kasan-tags.h | 30 ++-- .../kernel/include/linux/kbuild.h | 32 ++--- .../kernel/include/linux/kdebug.h | 46 +++---- .../kernel/include/linux/kernel-page-flags.h | 44 +++--- .../kernel/include/linux/kobj_map.h | 40 +++--- .../kernel/include/linux/ks8851_mll.h | 42 +++--- .../kernel/include/linux/kvm_para.h | 34 ++--- .../kernel/include/linux/lantiq.h | 46 +++---- .../kernel/include/linux/leds-bd2802.h | 42 +++--- .../kernel/include/linux/libfdt_env.h | 44 +++--- .../kernel/include/linux/license.h | 30 ++-- .../kernel/include/linux/list_sort.h | 28 ++-- .../include/linux/mailbox/arm_mhuv2_message.h | 40 +++--- .../linux/mailbox/zynqmp-ipi-message.h | 40 +++--- .../kernel/include/linux/mdio/mdio-i2c.h | 48 +++---- .../include/linux/mdio/mdio-mscc-miim.h | 38 ++--- .../kernel/include/linux/mdio/mdio-regmap.h | 52 +++---- .../kernel/include/linux/mfd/bcm590xx.h | 58 ++++---- .../kernel/include/linux/mfd/da9052/pdata.h | 52 +++---- .../kernel/include/linux/mfd/mp2629.h | 52 +++---- .../kernel/include/linux/mfd/rdc321x.h | 54 ++++---- .../kernel/include/linux/mfd/rt5033.h | 68 ++++----- .../kernel/include/linux/mfd/sky81452.h | 36 ++--- .../kernel/include/linux/mfd/wm8350/wdt.h | 48 +++---- .../kernel/include/linux/mfd/wm8400.h | 54 ++++---- .../kernel/include/linux/mfd/wm97xx.h | 42 +++--- .../kernel/include/linux/misc/keba.h | 50 +++---- .../kernel/include/linux/mlx5/mpfs.h | 36 ++--- .../kernel/include/linux/module_symbol.h | 30 ++-- .../UFI003_MB_V02/kernel/include/linux/mpls.h | 24 ++-- .../UFI003_MB_V02/kernel/include/linux/msg.h | 36 ++--- .../kernel/include/linux/mtd/concat.h | 40 +++--- .../kernel/include/linux/mtd/gen_probe.h | 46 +++---- .../kernel/include/linux/mtd/lpc32xx_mlc.h | 34 ++--- .../kernel/include/linux/mtd/lpc32xx_slc.h | 34 ++--- .../kernel/include/linux/mtd/sharpsl.h | 44 +++--- .../kernel/include/linux/mtd/super.h | 50 +++---- .../kernel/include/linux/mvebu-pmsu.h | 40 +++--- .../kernel/include/linux/mxm-wmi.h | 40 +++--- .../linux/netfilter/ipset/ip_set_hash.h | 28 ++-- .../linux/netfilter/nf_conntrack_amanda.h | 32 ++--- .../linux/netfilter/nf_conntrack_irc.h | 36 ++--- .../linux/netfilter/nf_conntrack_sane.h | 36 ++--- .../linux/netfilter/nf_conntrack_tftp.h | 52 +++---- .../netfilter/nf_conntrack_zones_common.h | 48 +++---- .../include/linux/netfilter/nfnetlink_acct.h | 40 +++--- .../kernel/include/linux/nfs_common.h | 36 ++--- .../kernel/include/linux/omapfb.h | 58 ++++---- .../kernel/include/linux/openvswitch.h | 32 ++--- .../kernel/include/linux/pch_dma.h | 50 +++---- .../kernel/include/linux/pci-doe.h | 50 +++---- .../kernel/include/linux/pcs-lynx.h | 34 ++--- .../kernel/include/linux/pcs-rzn1-miic.h | 36 ++--- .../kernel/include/linux/pcs/pcs-mtk-lynxi.h | 26 ++-- .../kernel/include/linux/pds/pds_auxbus.h | 40 +++--- .../kernel/include/linux/personality.h | 34 ++--- .../kernel/include/linux/phonet.h | 54 ++++---- .../kernel/include/linux/phy/phy-sun4i-usb.h | 36 ++--- .../include/linux/platform_data/ad7791.h | 36 ++--- .../include/linux/platform_data/ad7887.h | 42 +++--- .../linux/platform_data/arm-ux500-pm.h | 40 +++--- .../include/linux/platform_data/ata-pxa.h | 40 +++--- .../include/linux/platform_data/atmel.h | 38 ++--- .../include/linux/platform_data/bcmgenet.h | 38 ++--- .../linux/platform_data/clk-da8xx-cfgchip.h | 42 +++--- .../linux/platform_data/clk-davinci-pll.h | 42 +++--- .../linux/platform_data/cpuidle-exynos.h | 34 ++--- .../linux/platform_data/cros_usbpd_notify.h | 34 ++--- .../linux/platform_data/crypto-ux500.h | 44 +++--- .../linux/platform_data/davinci-cpufreq.h | 50 +++---- .../include/linux/platform_data/dma-mv_xor.h | 44 +++--- .../include/linux/platform_data/ds620.h | 44 +++--- .../include/linux/platform_data/emc2305.h | 44 +++--- .../include/linux/platform_data/i2c-imx.h | 40 +++--- .../include/linux/platform_data/i2c-pxa.h | 36 ++--- .../include/linux/platform_data/ina2xx.h | 32 ++--- .../include/linux/platform_data/iommu-omap.h | 40 +++--- .../include/linux/platform_data/isl9305.h | 52 +++---- .../include/linux/platform_data/itco_wdt.h | 54 ++++---- .../linux/platform_data/keyscan-davinci.h | 58 ++++---- .../include/linux/platform_data/lcd-mipid.h | 56 ++++---- .../include/linux/platform_data/max197.h | 46 +++---- .../include/linux/platform_data/max6639.h | 30 ++-- .../linux/platform_data/media/timb_radio.h | 36 ++--- .../linux/platform_data/media/timb_video.h | 42 +++--- .../linux/platform_data/mmc-esdhc-mcf.h | 34 ++--- .../include/linux/platform_data/mmp_dma.h | 40 +++--- .../linux/platform_data/mtd-orion_nand.h | 46 +++---- .../include/linux/platform_data/mv88e6xxx.h | 38 ++--- .../include/linux/platform_data/pca953x.h | 36 ++--- .../linux/platform_data/phy-da8xx-usb.h | 42 +++--- .../linux/platform_data/pinctrl-single.h | 38 ++--- .../include/linux/platform_data/sc18is602.h | 32 ++--- .../include/linux/platform_data/sdhci-pic32.h | 28 ++-- .../include/linux/platform_data/spi-mt65xx.h | 34 ++--- .../linux/platform_data/spi-omap2-mcspi.h | 42 +++--- .../include/linux/platform_data/ti-prm.h | 42 +++--- .../linux/platform_data/touchscreen-s3c2410.h | 44 +++--- .../linux/platform_data/uio_dmem_genirq.h | 36 ++--- .../include/linux/platform_data/usb-davinci.h | 44 +++--- .../linux/platform_data/usb-ehci-orion.h | 48 +++---- .../linux/platform_data/usb-musb-ux500.h | 44 +++--- .../include/linux/platform_data/usb3503.h | 46 +++---- .../include/linux/platform_data/wiznet.h | 46 +++---- .../include/linux/platform_data/wkup_m3.h | 44 +++--- .../linux/platform_data/x86/clk-lpss.h | 40 +++--- .../linux/platform_data/x86/intel-mid_wdt.h | 38 ++--- .../include/linux/platform_data/x86/p2sb.h | 56 ++++---- .../linux/platform_data/xtalk-bridge.h | 44 +++--- .../include/linux/power/bq24735-charger.h | 48 +++---- .../kernel/include/linux/power/sbs-battery.h | 50 +++---- .../kernel/include/linux/pseudo_fs.h | 32 ++--- .../kernel/include/linux/ptp_kvm.h | 44 +++--- .../kernel/include/linux/purgatory.h | 48 +++---- .../kernel/include/linux/pvclock_gtod.h | 34 ++--- .../kernel/include/linux/reboot-mode.h | 38 ++--- .../kernel/include/linux/refcount_types.h | 38 ++--- .../include/linux/regulator/arizona-micsupp.h | 36 ++--- .../kernel/include/linux/regulator/mt6311.h | 42 +++--- .../linux/regulator/mt6332-regulator.h | 54 ++++---- .../linux/regulator/mt6380-regulator.h | 48 +++---- .../kernel/include/linux/regulator/tps6507x.h | 40 +++--- .../kernel/include/linux/rodata_test.h | 36 ++--- .../kernel/include/linux/root_dev.h | 36 ++--- .../kernel/include/linux/rpmsg/qcom_smd.h | 62 ++++----- .../kernel/include/linux/rtc/ds1307.h | 44 +++--- .../kernel/include/linux/sched/smt.h | 40 +++--- .../kernel/include/linux/sched/vhost_task.h | 28 ++-- .../kernel/include/linux/sed-opal-key.h | 52 +++---- .../UFI003_MB_V02/kernel/include/linux/sem.h | 56 ++++---- .../kernel/include/linux/sh_eth.h | 38 ++--- .../kernel/include/linux/soc/andes/irq.h | 36 ++--- .../include/linux/soc/brcmstb/brcmstb.h | 76 +++++----- .../kernel/include/linux/soc/dove/pmu.h | 52 +++---- .../kernel/include/linux/soc/qcom/smem.h | 40 +++--- .../include/linux/soc/qcom/wcnss_ctrl.h | 50 +++---- .../linux/soc/renesas/r9a06g032-sysctrl.h | 22 +-- .../include/linux/soc/renesas/rcar-rst.h | 26 ++-- .../include/linux/soc/sunxi/sunxi_sram.h | 38 ++--- .../kernel/include/linux/sonet.h | 40 +++--- .../UFI003_MB_V02/kernel/include/linux/sort.h | 32 ++--- .../kernel/include/linux/spi/corgi_lcd.h | 40 +++--- .../kernel/include/linux/spi/sh_msiof.h | 42 +++--- .../kernel/include/linux/spi/spi-fsl-dspi.h | 46 +++---- .../kernel/include/linux/spi/spi_oc_tiny.h | 34 ++--- .../UFI003_MB_V02/kernel/include/linux/sram.h | 34 ++--- .../kernel/include/linux/stmp_device.h | 32 ++--- .../kernel/include/linux/stringify.h | 28 ++-- .../kernel/include/linux/sunrpc/types.h | 48 +++---- .../include/linux/sunrpc/xdrgen/_defs.h | 52 +++---- .../kernel/include/linux/swapfile.h | 26 ++-- .../linux/syscall_user_dispatch_types.h | 44 +++--- .../kernel/include/linux/timer_types.h | 46 +++---- .../kernel/include/linux/timerfd.h | 40 +++--- .../kernel/include/linux/timeriomem-rng.h | 42 +++--- .../kernel/include/linux/toshiba.h | 30 ++-- .../kernel/include/linux/ts-nbus.h | 36 ++--- .../kernel/include/linux/ulpi/interface.h | 46 +++---- .../kernel/include/linux/usb/cdc-wdm.h | 38 ++--- .../kernel/include/linux/usb/g_hid.h | 38 ++--- .../kernel/include/linux/usb/input.h | 44 +++--- .../kernel/include/linux/usb/musb-ux500.h | 44 +++--- .../kernel/include/linux/usb/onboard_dev.h | 36 ++--- .../kernel/include/linux/usb/pd_bdo.h | 44 +++--- .../kernel/include/linux/usb/rzv2m_usb3drd.h | 40 +++--- .../include/linux/usb/usb_phy_generic.h | 44 +++--- .../kernel/include/linux/usermode_driver.h | 38 ++--- .../UFI003_MB_V02/kernel/include/linux/uts.h | 40 +++--- .../kernel/include/linux/virtio_anchor.h | 38 ++--- .../kernel/include/linux/virtio_caif.h | 48 +++---- .../UFI003_MB_V02/kernel/include/linux/vt.h | 56 ++++---- .../kernel/include/linux/workqueue_types.h | 50 +++---- .../include/media/drv-intf/renesas-ceu.h | 52 +++---- .../kernel/include/media/drv-intf/sh_vou.h | 60 ++++---- .../kernel/include/media/i2c/adv7393.h | 40 +++--- .../kernel/include/media/i2c/adv7511.h | 66 ++++----- .../kernel/include/media/i2c/ak881x.h | 44 +++--- .../kernel/include/media/i2c/bt819.h | 48 +++---- .../kernel/include/media/i2c/cs5345.h | 54 ++++---- .../kernel/include/media/i2c/cs53l32a.h | 44 +++--- .../kernel/include/media/i2c/ds90ub9xx.h | 44 +++--- .../kernel/include/media/i2c/mt9t112.h | 54 ++++---- .../kernel/include/media/i2c/ov2659.h | 44 +++--- .../kernel/include/media/i2c/ov7670.h | 40 +++--- .../kernel/include/media/i2c/saa7127.h | 56 ++++---- .../kernel/include/media/i2c/ths7303.h | 56 ++++---- .../UFI003_MB_V02/kernel/include/media/jpeg.h | 40 +++--- .../kernel/include/media/videobuf2-vmalloc.h | 40 +++--- .../UFI003_MB_V02/kernel/include/net/Space.h | 24 ++-- .../UFI003_MB_V02/kernel/include/net/ah.h | 46 +++---- .../kernel/include/net/bluetooth/iso.h | 64 ++++----- .../kernel/include/net/caif/cffrml.h | 42 +++--- .../kernel/include/net/caif/cfmuxl.h | 40 +++--- .../kernel/include/net/datalink.h | 52 +++---- .../UFI003_MB_V02/kernel/include/net/ethoc.h | 46 +++---- .../kernel/include/net/firewire.h | 54 ++++---- .../UFI003_MB_V02/kernel/include/net/fou.h | 44 +++--- .../kernel/include/net/gro_cells.h | 38 ++--- .../UFI003_MB_V02/kernel/include/net/lag.h | 34 ++--- .../kernel/include/net/libeth/types.h | 50 +++---- .../kernel/include/net/mana/shm_channel.h | 42 +++--- .../kernel/include/net/mpls_iptunnel.h | 50 +++---- .../kernel/include/net/net_trackers.h | 36 ++--- .../net/netfilter/ipv6/nf_defrag_ipv6.h | 44 +++--- .../include/net/netfilter/nf_bpf_link.h | 30 ++-- .../net/netfilter/nf_conntrack_bridge.h | 38 ++--- .../include/net/netfilter/nf_dup_netdev.h | 32 ++--- .../include/net/netfilter/nf_nat_masquerade.h | 40 +++--- .../include/net/netfilter/nf_nat_redirect.h | 30 ++-- .../kernel/include/net/netns/core.h | 56 ++++---- .../include/net/netns/ieee802154_6lowpan.h | 44 +++--- .../kernel/include/net/netns/mpls.h | 46 +++---- .../kernel/include/net/netns/nexthop.h | 40 +++--- .../kernel/include/net/netns/unix.h | 44 +++--- .../UFI003_MB_V02/kernel/include/net/p8022.h | 32 ++--- .../kernel/include/net/phonet/gprs.h | 50 +++---- .../UFI003_MB_V02/kernel/include/net/pptp.h | 54 ++++---- .../UFI003_MB_V02/kernel/include/net/psnap.h | 34 ++--- .../kernel/include/net/selftests.h | 62 ++++----- .../UFI003_MB_V02/kernel/include/net/stp.h | 34 ++--- .../kernel/include/net/tc_act/tc_bpf.h | 48 +++---- .../kernel/include/net/tc_act/tc_connmark.h | 40 +++--- .../kernel/include/net/tc_act/tc_ctinfo.h | 66 ++++----- .../kernel/include/net/tc_act/tc_nat.h | 46 +++---- .../kernel/include/net/tc_act/tc_skbmod.h | 52 +++---- .../kernel/include/net/x25device.h | 36 ++--- .../kernel/include/net/xdp_priv.h | 38 ++--- .../UFI003_MB_V02/kernel/include/rdma/lag.h | 46 +++---- .../kernel/include/rdma/mr_pool.h | 34 ++--- .../kernel/include/soc/at91/atmel-secumod.h | 32 ++--- .../kernel/include/soc/fsl/dcp.h | 40 +++--- .../kernel/include/soc/imx/cpuidle.h | 34 ++--- .../kernel/include/soc/mediatek/smi.h | 60 ++++---- .../kernel/include/soc/mscc/vsc7514_regs.h | 38 ++--- .../kernel/include/soc/qcom/spm.h | 44 +++--- .../kernel/include/soc/rockchip/pm_domains.h | 50 +++---- .../kernel/include/soc/rockchip/rk3399_grf.h | 36 ++--- .../kernel/include/soc/rockchip/rk3568_grf.h | 26 ++-- .../include/soc/rockchip/rockchip_grf.h | 36 ++--- .../kernel/include/soc/sifive/sifive_ccache.h | 32 ++--- .../soc/starfive/reset-starfive-jh71x0.h | 34 ++--- .../kernel/include/soc/tegra/cpuidle.h | 34 ++--- .../kernel/include/soc/tegra/irq.h | 40 +++--- .../kernel/include/sound/ac97/compat.h | 34 ++--- .../kernel/include/sound/ak4641.h | 46 +++---- .../kernel/include/sound/alc5623.h | 32 ++--- .../kernel/include/sound/asound.h | 50 +++---- .../kernel/include/sound/cs42l43.h | 34 ++--- .../kernel/include/sound/cs42l52.h | 58 ++++---- .../kernel/include/sound/cs42l73.h | 38 ++--- .../kernel/include/sound/hda_i915.h | 54 ++++---- .../kernel/include/sound/max9768.h | 40 +++--- .../kernel/include/sound/max98090.h | 48 +++---- .../UFI003_MB_V02/kernel/include/sound/opl4.h | 38 ++--- .../kernel/include/sound/pcm_iec958.h | 40 +++--- .../kernel/include/sound/pt2258.h | 46 +++---- .../kernel/include/sound/rt298.h | 34 ++--- .../kernel/include/sound/rt5514.h | 38 ++--- .../kernel/include/sound/rt5660.h | 56 ++++---- .../kernel/include/sound/rt5663.h | 44 +++--- .../kernel/include/sound/rt5668.h | 68 ++++----- .../kernel/include/sound/seq_oss_legacy.h | 36 ++--- .../kernel/include/sound/sh_dac_audio.h | 36 ++--- .../kernel/include/sound/simple_card.h | 52 +++---- .../kernel/include/sound/sof/dai-mediatek.h | 46 +++---- .../kernel/include/sound/spear_dma.h | 40 +++--- .../kernel/include/sound/tas2781-tlv.h | 42 +++--- .../kernel/include/sound/tea6330t.h | 32 ++--- .../kernel/include/sound/tlv320dac33-plat.h | 42 +++--- .../kernel/include/sound/wm2000.h | 40 +++--- .../kernel/include/sound/wm8955.h | 42 +++--- .../kernel/include/sound/wm9081.h | 50 +++---- .../kernel/include/trace/events/intel_ish.h | 62 ++++----- .../kernel/include/trace/events/netlink.h | 58 ++++---- .../kernel/include/trace/events/sched_ext.h | 64 ++++----- .../kernel/include/trace/misc/sunrpc.h | 36 ++--- .../UFI003_MB_V02/kernel/include/uapi/Kbuild | 28 ++-- .../kernel/include/uapi/asm-generic/param.h | 40 +++--- .../kernel/include/uapi/asm-generic/sockios.h | 28 ++-- .../kernel/include/uapi/asm-generic/swab.h | 38 ++--- .../include/uapi/asm-generic/ucontext.h | 26 ++-- .../kernel/include/uapi/linux/aspeed-video.h | 28 ++-- .../kernel/include/uapi/linux/atm_he.h | 42 +++--- .../kernel/include/uapi/linux/atmclip.h | 44 +++--- .../kernel/include/uapi/linux/auto_fs4.h | 30 ++-- .../kernel/include/uapi/linux/bcm933xx_hcs.h | 50 +++---- .../kernel/include/uapi/linux/bits.h | 36 ++--- .../kernel/include/uapi/linux/blkdev.h | 28 ++-- .../include/uapi/linux/bpf_perf_event.h | 38 ++--- .../kernel/include/uapi/linux/bt-bmc.h | 38 ++--- .../kernel/include/uapi/linux/close_range.h | 24 ++-- .../kernel/include/uapi/linux/dw100.h | 28 ++-- .../kernel/include/uapi/linux/exfat.h | 50 +++---- .../kernel/include/uapi/linux/hw_breakpoint.h | 50 +++---- .../kernel/include/uapi/linux/if_phonet.h | 34 ++--- .../kernel/include/uapi/linux/ife.h | 38 ++--- .../kernel/include/uapi/linux/ipmi_bmc.h | 32 ++--- .../kernel/include/uapi/linux/ipmi_ssif_bmc.h | 36 ++--- .../kernel/include/uapi/linux/kcmp.h | 56 ++++---- .../kernel/include/uapi/linux/kdev_t.h | 28 ++-- .../linux/netfilter/ipset/ip_set_bitmap.h | 32 ++--- .../uapi/linux/netfilter/ipset/ip_set_hash.h | 48 +++---- .../uapi/linux/netfilter/nf_conntrack_ftp.h | 38 ++--- .../uapi/linux/netfilter/nf_conntrack_sctp.h | 44 +++--- .../include/uapi/linux/netfilter/nf_log.h | 30 ++-- .../uapi/linux/netfilter/nf_synproxy.h | 46 +++---- .../include/uapi/linux/netfilter/xt_AUDIT.h | 54 ++++---- .../uapi/linux/netfilter/xt_CHECKSUM.h | 42 +++--- .../include/uapi/linux/netfilter/xt_LED.h | 32 ++--- .../include/uapi/linux/netfilter/xt_NFLOG.h | 50 +++---- .../include/uapi/linux/netfilter/xt_RATEEST.h | 34 ++--- .../uapi/linux/netfilter/xt_SYNPROXY.h | 30 ++-- .../uapi/linux/netfilter/xt_TCPOPTSTRIP.h | 32 ++--- .../include/uapi/linux/netfilter/xt_TPROXY.h | 50 +++---- .../include/uapi/linux/netfilter/xt_cluster.h | 40 +++--- .../uapi/linux/netfilter/xt_connbytes.h | 54 ++++---- .../uapi/linux/netfilter/xt_connlabel.h | 38 ++--- .../uapi/linux/netfilter/xt_connlimit.h | 66 ++++----- .../include/uapi/linux/netfilter/xt_dccp.h | 52 +++---- .../uapi/linux/netfilter/xt_devgroup.h | 44 +++--- .../include/uapi/linux/netfilter/xt_esp.h | 32 ++--- .../include/uapi/linux/netfilter/xt_ipcomp.h | 34 ++--- .../include/uapi/linux/netfilter/xt_iprange.h | 42 +++--- .../include/uapi/linux/netfilter/xt_nfacct.h | 38 ++--- .../include/uapi/linux/netfilter/xt_owner.h | 50 +++---- .../include/uapi/linux/netfilter/xt_physdev.h | 48 +++---- .../include/uapi/linux/netfilter/xt_quota.h | 46 +++---- .../uapi/linux/netfilter/xt_rpfilter.h | 48 +++---- .../kernel/include/uapi/linux/netfilter_arp.h | 46 +++---- .../uapi/linux/netfilter_arp/arpt_mangle.h | 54 ++++---- .../uapi/linux/netfilter_bridge/ebt_limit.h | 50 +++---- .../uapi/linux/netfilter_bridge/ebt_log.h | 42 +++--- .../uapi/linux/netfilter_bridge/ebt_mark_m.h | 34 ++--- .../uapi/linux/netfilter_bridge/ebt_nat.h | 32 ++--- .../uapi/linux/netfilter_bridge/ebt_nflog.h | 48 +++---- .../uapi/linux/netfilter_ipv4/ipt_REJECT.h | 42 +++--- .../uapi/linux/netfilter_ipv4/ipt_TTL.h | 48 +++---- .../uapi/linux/netfilter_ipv4/ipt_ah.h | 36 ++--- .../uapi/linux/netfilter_ipv4/ipt_ecn.h | 32 ++--- .../uapi/linux/netfilter_ipv4/ipt_ttl.h | 48 +++---- .../uapi/linux/netfilter_ipv6/ip6t_HL.h | 50 +++---- .../uapi/linux/netfilter_ipv6/ip6t_NPT.h | 34 ++--- .../uapi/linux/netfilter_ipv6/ip6t_REJECT.h | 46 +++---- .../uapi/linux/netfilter_ipv6/ip6t_hl.h | 50 +++---- .../uapi/linux/netfilter_ipv6/ip6t_mh.h | 34 ++--- .../kernel/include/uapi/linux/nfsd/stats.h | 36 ++--- .../kernel/include/uapi/linux/ntsync.h | 46 +++---- .../kernel/include/uapi/linux/nvram.h | 34 ++--- .../kernel/include/uapi/linux/oom.h | 42 +++--- .../kernel/include/uapi/linux/radeonfb.h | 32 ++--- .../include/uapi/linux/reiserfs_xattr.h | 50 +++---- .../kernel/include/uapi/linux/rpl_iptunnel.h | 42 +++--- .../kernel/include/uapi/linux/seg6_genl.h | 66 ++++----- .../kernel/include/uapi/linux/seg6_hmac.h | 46 +++---- .../kernel/include/uapi/linux/signal.h | 32 ++--- .../kernel/include/uapi/linux/tc_act/tc_bpf.h | 60 ++++---- .../include/uapi/linux/tc_act/tc_connmark.h | 44 +++--- .../include/uapi/linux/tc_act/tc_ctinfo.h | 58 ++++---- .../kernel/include/uapi/linux/tc_act/tc_ife.h | 64 ++++----- .../kernel/include/uapi/linux/tc_act/tc_nat.h | 54 ++++---- .../include/uapi/linux/tc_act/tc_sample.h | 50 +++---- .../include/uapi/linux/tc_act/tc_skbmod.h | 68 ++++----- .../include/uapi/linux/tc_ematch/tc_em_cmp.h | 52 +++---- .../include/uapi/linux/tc_ematch/tc_em_ipt.h | 40 +++--- .../include/uapi/linux/tc_ematch/tc_em_text.h | 40 +++--- .../include/uapi/linux/tipc_sockets_diag.h | 34 ++--- .../kernel/include/uapi/linux/un.h | 32 ++--- .../kernel/include/uapi/linux/usb/charger.h | 62 ++++----- .../kernel/include/uapi/linux/vesa.h | 36 ++--- .../kernel/include/uapi/linux/virtio_fs.h | 44 +++--- .../kernel/include/uapi/linux/vmcore.h | 36 ++--- .../kernel/include/vdso/clocksource.h | 44 +++--- .../UFI003_MB_V02/kernel/include/vdso/ktime.h | 32 ++--- .../kernel/include/vdso/limits.h | 38 ++--- .../kernel/include/vdso/time64.h | 30 ++-- .../kernel/include/vdso/unaligned.h | 30 ++-- .../kernel/include/video/cmdline.h | 32 ++--- .../kernel/include/video/of_videomode.h | 34 ++--- .../kernel/include/video/platform_lcd.h | 36 ++--- .../kernel/include/video/sisfb.h | 48 +++---- .../kernel/include/xen/arm/hypervisor.h | 52 +++---- .../kernel/include/xen/arm/swiotlb-xen.h | 40 +++--- .../kernel/include/xen/features.h | 48 +++---- .../kernel/include/xen/hvc-console.h | 38 ++--- .../kernel/include/xen/interface/io/9pfs.h | 38 ++--- .../kernel/include/xen/interface/io/console.h | 48 +++---- .../kernel/include/xen/swiotlb-xen.h | 30 ++-- .../UFI003_MB_V02/kernel/io_uring/Makefile | 38 ++--- .../UFI003_MB_V02/kernel/io_uring/sync.h | 20 +-- .../UFI003_MB_V02/kernel/io_uring/uring_cmd.h | 22 +-- .../UFI003_MB_V02/kernel/io_uring/waitid.h | 30 ++-- .../debian/UFI003_MB_V02/kernel/ipc/Makefile | 24 ++-- .../kernel/kernel/bpf/map_in_map.h | 38 ++--- .../kernel/kernel/cgroup/Makefile | 20 +-- .../kernel/kernel/configs/x86_debug.config | 36 ++--- .../UFI003_MB_V02/kernel/kernel/dma/Makefile | 24 ++-- .../kernel/kernel/entry/Makefile | 26 ++-- .../kernel/kernel/kallsyms_internal.h | 38 ++--- .../kernel/kernel/livepatch/transition.h | 32 ++--- .../kernel/kernel/module/debug_kmemleak.c | 40 +++--- .../kernel/kernel/printk/Makefile | 18 +-- .../kernel/kernel/printk/console_cmdline.h | 34 ++--- .../UFI003_MB_V02/kernel/kernel/rcu/Makefile | 36 ++--- .../kernel/kernel/sched/sched-pelt.h | 28 ++-- .../UFI003_MB_V02/kernel/kernel/sched/smp.h | 30 ++-- .../kernel/kernel/trace/power-traces.c | 42 +++--- .../kernel/kernel/trace/rpm-traces.c | 42 +++--- .../kernel/kernel/trace/trace_btf.h | 22 +-- .../kernel/trace/trace_kprobe_selftest.c | 26 ++-- .../UFI003_MB_V02/kernel/kernel/uid16.h | 28 ++-- .../debian/UFI003_MB_V02/kernel/lib/ashldi3.c | 64 ++++----- .../debian/UFI003_MB_V02/kernel/lib/ashrdi3.c | 68 ++++----- .../debian/UFI003_MB_V02/kernel/lib/cmpdi2.c | 60 ++++---- .../kernel/lib/crypto/mpi/Makefile | 56 ++++---- .../UFI003_MB_V02/kernel/lib/irq_regs.c | 28 ++-- .../debian/UFI003_MB_V02/kernel/lib/kstrtox.h | 22 +-- .../kernel/lib/kunit/device-impl.h | 38 ++--- .../UFI003_MB_V02/kernel/lib/kunit/hooks.c | 42 +++--- .../debian/UFI003_MB_V02/kernel/lib/lshrdi3.c | 64 ++++----- .../kernel/lib/lzo/lzo1x_compress_safe.c | 36 ++--- .../UFI003_MB_V02/kernel/lib/math/Kconfig | 34 ++--- .../UFI003_MB_V02/kernel/lib/math/Makefile | 22 +-- .../UFI003_MB_V02/kernel/lib/math/lcm.c | 52 +++---- .../UFI003_MB_V02/kernel/lib/memregion.c | 38 ++--- .../UFI003_MB_V02/kernel/lib/raid6/unroll.awk | 40 +++--- .../debian/UFI003_MB_V02/kernel/lib/ucmpdi2.c | 46 +++---- .../kernel/lib/zlib_deflate/deflate_syms.c | 42 +++--- .../kernel/lib/zlib_dfltcc/dfltcc_deflate.h | 42 +++--- .../kernel/lib/zlib_inflate/Makefile | 40 +++--- .../kernel/lib/zlib_inflate/inffast.h | 22 +-- .../kernel/lib/zlib_inflate/inflate_syms.c | 42 +++--- .../UFI003_MB_V02/kernel/mm/damon/Makefile | 18 +-- .../kernel/mm/damon/ops-common.h | 36 ++--- .../kernel/mm/damon/tests/.kunitconfig | 44 +++--- .../kernel/mm/kasan/kasan_test_rust.rs | 44 +++--- .../kernel/net/6lowpan/nhc_dest.c | 34 ++--- .../kernel/net/6lowpan/nhc_fragment.c | 32 ++--- .../kernel/net/6lowpan/nhc_ghc_ext_dest.c | 32 ++--- .../kernel/net/6lowpan/nhc_ghc_ext_frag.c | 34 ++--- .../kernel/net/6lowpan/nhc_ghc_ext_hop.c | 32 ++--- .../kernel/net/6lowpan/nhc_ghc_ext_route.c | 32 ++--- .../kernel/net/6lowpan/nhc_ghc_icmpv6.c | 32 ++--- .../kernel/net/6lowpan/nhc_ghc_udp.c | 32 ++--- .../kernel/net/6lowpan/nhc_hop.c | 32 ++--- .../kernel/net/6lowpan/nhc_ipv6.c | 32 ++--- .../kernel/net/6lowpan/nhc_mobility.c | 32 ++--- .../kernel/net/6lowpan/nhc_routing.c | 32 ++--- .../UFI003_MB_V02/kernel/net/802/Makefile | 28 ++-- .../UFI003_MB_V02/kernel/net/8021q/Makefile | 22 +-- .../UFI003_MB_V02/kernel/net/8021q/vlanproc.h | 42 +++--- .../UFI003_MB_V02/kernel/net/9p/Makefile | 58 ++++---- .../kernel/net/9p/trans_common.c | 48 +++---- .../UFI003_MB_V02/kernel/net/atm/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/net/atm/protocols.h | 28 ++-- .../UFI003_MB_V02/kernel/net/ax25/Makefile | 24 ++-- .../kernel/net/batman-adv/tp_meter.h | 44 +++--- .../kernel/net/bluetooth/cmtp/Kconfig | 24 ++-- .../kernel/net/bluetooth/hidp/Kconfig | 26 ++-- .../UFI003_MB_V02/kernel/net/bluetooth/leds.h | 46 +++---- .../kernel/net/bluetooth/mgmt_config.h | 34 ++--- .../kernel/net/bluetooth/rfcomm/Kconfig | 38 ++--- .../UFI003_MB_V02/kernel/net/caif/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/net/can/Makefile | 44 +++--- .../kernel/net/can/j1939/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/net/ceph/Makefile | 36 ++--- .../UFI003_MB_V02/kernel/net/ceph/auth_none.h | 54 ++++---- .../UFI003_MB_V02/kernel/net/core/net-sysfs.h | 28 ++-- .../kernel/net/core/sock_destructor.h | 24 ++-- .../UFI003_MB_V02/kernel/net/dccp/ipv6.h | 54 ++++---- .../UFI003_MB_V02/kernel/net/dsa/devlink.h | 32 ++--- .../UFI003_MB_V02/kernel/net/ethtool/Makefile | 24 ++-- .../kernel/net/handshake/trace.c | 44 +++--- .../kernel/net/ieee802154/nl802154.h | 28 ++-- .../UFI003_MB_V02/kernel/net/ife/Kconfig | 32 ++--- .../kernel/net/ipv4/xfrm4_state.c | 48 +++---- .../UFI003_MB_V02/kernel/net/iucv/Kconfig | 36 ++--- .../UFI003_MB_V02/kernel/net/l2tp/Makefile | 36 ++--- .../kernel/net/mac80211/aead_api.h | 46 +++---- .../kernel/net/mac80211/aes_cmac.h | 40 +++--- .../kernel/net/mac80211/aes_gmac.h | 42 +++--- .../kernel/net/mac80211/debugfs.h | 34 ++--- .../kernel/net/mac80211/fils_aead.h | 32 ++--- .../kernel/net/mac80211/michael.h | 44 +++--- .../UFI003_MB_V02/kernel/net/mac80211/wme.h | 42 +++--- .../kernel/net/mctp/test/utils.h | 40 +++--- .../UFI003_MB_V02/kernel/net/mptcp/Makefile | 30 ++-- .../net/netfilter/nft_set_pipapo_avx2.h | 24 ++-- .../UFI003_MB_V02/kernel/net/netlabel/Kconfig | 38 ++--- .../kernel/net/netlabel/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/net/nfc/Makefile | 28 ++-- .../UFI003_MB_V02/kernel/net/nfc/hci/Kconfig | 36 ++--- .../kernel/net/openvswitch/Makefile | 58 ++++---- .../net/openvswitch/vport-internal_dev.h | 34 ++--- .../kernel/net/openvswitch/vport-netdev.h | 46 +++---- .../UFI003_MB_V02/kernel/net/phonet/Kconfig | 34 ++--- .../UFI003_MB_V02/kernel/net/psample/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/net/rfkill/rfkill.h | 46 +++---- .../kernel/net/sched/sch_mqprio_lib.h | 40 +++--- .../UFI003_MB_V02/kernel/net/smc/Makefile | 18 +-- .../UFI003_MB_V02/kernel/net/smc/smc_inet.h | 44 +++--- .../UFI003_MB_V02/kernel/net/smc/smc_netns.h | 42 +++--- .../kernel/net/sunrpc/auth_gss/Makefile | 34 ++--- .../kernel/net/sunrpc/auth_gss/trace.c | 28 ++-- .../UFI003_MB_V02/kernel/net/sunrpc/fail.h | 50 +++---- .../UFI003_MB_V02/kernel/net/sunrpc/socklib.h | 30 ++-- .../kernel/net/switchdev/Kconfig | 28 ++-- .../UFI003_MB_V02/kernel/net/tipc/Makefile | 44 +++--- .../UFI003_MB_V02/kernel/net/xdp/Kconfig | 32 ++--- .../UFI003_MB_V02/kernel/net/xdp/xdp_umem.h | 30 ++-- .../UFI003_MB_V02/kernel/rust/helpers/page.c | 38 ++--- .../UFI003_MB_V02/kernel/rust/helpers/slab.c | 30 ++-- .../kernel/rust/helpers/uaccess.c | 30 ++-- .../kernel/rust/helpers/workqueue.c | 30 ++-- .../kernel/samples/bpf/task_fd_query_kern.c | 38 ++--- .../samples/bpf/test_overhead_raw_tp.bpf.c | 34 ++--- .../kernel/samples/bpf/trace_output.bpf.c | 58 ++++---- .../samples/bpf/xdp_tx_iptunnel_common.h | 68 ++++----- .../kernel/samples/ftrace/Makefile | 22 +-- .../kernel/samples/livepatch/Makefile | 16 +-- .../kernel/samples/watchdog/watchdog-simple.c | 50 +++---- .../UFI003_MB_V02/kernel/scripts/Lindent | 52 +++---- .../kernel/scripts/Makefile.randstruct | 34 ++--- .../scripts/atomic/kerneldoc/add_unless | 38 ++--- .../kernel/scripts/atomic/kerneldoc/cmpxchg | 30 ++-- .../scripts/atomic/kerneldoc/dec_if_positive | 26 ++-- .../atomic/kerneldoc/dec_unless_positive | 26 ++-- .../scripts/atomic/kerneldoc/inc_not_zero | 26 ++-- .../atomic/kerneldoc/inc_unless_negative | 26 ++-- .../scripts/atomic/kerneldoc/try_cmpxchg | 32 ++--- .../kernel/scripts/dummy-tools/ld | 60 ++++---- .../scripts/gcc-x86_32-has-stack-protector.sh | 16 +-- .../kernel/scripts/git.orderFile | 84 +++++------ .../kernel/scripts/include/hash.h | 56 ++++---- .../kernel/scripts/kconfig/internal.h | 54 ++++---- .../kernel/scripts/kconfig/mnconf-common.h | 40 +++--- .../kernel/scripts/kconfig/preprocess.h | 38 ++--- .../kconfig/tests/auto_submenu/__init__.py | 26 ++-- .../tests/choice_randomize2/__init__.py | 36 ++--- .../kconfig/tests/err_recursive_dep/Kconfig | 126 ++++++++--------- .../kconfig/tests/new_choice_with_dep/Kconfig | 78 +++++------ .../tests/new_choice_with_dep/__init__.py | 30 ++-- .../tests/no_write_if_dep_unmet/__init__.py | 40 +++--- .../kernel/scripts/ksymoops/README | 14 +- .../UFI003_MB_V02/kernel/scripts/misc-check | 38 ++--- .../UFI003_MB_V02/kernel/scripts/mkuboot.sh | 40 +++--- .../kernel/scripts/mod/mk_elfconfig.c | 64 ++++----- .../kernel/scripts/module-common.c | 50 +++---- .../kernel/scripts/modules-check.sh | 52 +++---- .../kernel/scripts/profile2linkerlist.pl | 40 +++--- .../kernel/scripts/rustc-llvm-version.sh | 44 +++--- .../kernel/scripts/rustc-version.sh | 52 +++---- .../UFI003_MB_V02/kernel/scripts/spdxexclude | 36 ++--- .../UFI003_MB_V02/kernel/scripts/split-man.pl | 56 ++++---- .../kernel/scripts/xen-hypercalls.sh | 26 ++-- .../kernel/security/apparmor/include/ipc.h | 40 +++--- .../security/apparmor/include/procattr.h | 34 ++--- .../security/integrity/evm/evm_posix_acl.c | 46 +++---- .../UFI003_MB_V02/kernel/security/ipe/audit.h | 38 ++--- .../UFI003_MB_V02/kernel/security/ipe/fs.h | 32 ++--- .../security/keys/encrypted-keys/Makefile | 22 +-- .../security/keys/trusted-keys/Makefile | 36 ++--- .../kernel/security/landlock/common.h | 44 +++--- .../kernel/security/landlock/errata/abi-4.h | 30 ++-- .../kernel/security/landlock/setup.h | 44 +++--- .../kernel/security/selinux/include/avc_ss.h | 46 +++---- .../security/selinux/include/conditional.h | 46 +++---- .../kernel/security/selinux/include/ima.h | 56 ++++---- .../kernel/security/selinux/include/netnode.h | 52 +++---- .../kernel/security/selinux/include/netport.h | 50 +++---- .../security/selinux/include/policycap.h | 46 +++---- .../selinux/include/policycap_names.h | 46 +++---- .../kernel/security/yama/Kconfig | 28 ++-- .../UFI003_MB_V02/kernel/sound/Makefile | 40 +++--- .../UFI003_MB_V02/kernel/sound/ac97/Kconfig | 38 ++--- .../kernel/sound/ac97/ac97_core.h | 26 ++-- .../UFI003_MB_V02/kernel/sound/aoa/Kconfig | 36 ++--- .../kernel/sound/aoa/core/alsa.h | 30 ++-- .../kernel/sound/aoa/fabrics/Kconfig | 24 ++-- .../kernel/sound/aoa/soundbus/Kconfig | 30 ++-- .../UFI003_MB_V02/kernel/sound/arm/Makefile | 28 ++-- .../kernel/sound/core/oss/Makefile | 28 ++-- .../kernel/sound/core/seq/oss/Makefile | 22 +-- .../kernel/sound/core/seq/seq_lock.h | 44 +++--- .../kernel/sound/drivers/opl3/Makefile | 30 ++-- .../kernel/sound/drivers/opl4/Makefile | 24 ++-- .../kernel/sound/firewire/motu/Makefile | 18 +-- .../UFI003_MB_V02/kernel/sound/i2c/Makefile | 32 ++--- .../kernel/sound/i2c/other/Makefile | 32 ++--- .../kernel/sound/isa/opti9xx/Makefile | 32 ++--- .../UFI003_MB_V02/kernel/sound/parisc/Kconfig | 42 +++--- .../kernel/sound/pci/au88x0/au8810.c | 34 ++--- .../kernel/sound/pci/au88x0/au8820.c | 30 ++-- .../kernel/sound/pci/au88x0/au8830.c | 36 ++--- .../kernel/sound/pci/ctxfi/cthw20k1.h | 44 +++--- .../kernel/sound/pci/ctxfi/cthw20k2.h | 44 +++--- .../kernel/sound/pci/ctxfi/ctpcm.h | 46 +++---- .../kernel/sound/pci/emu10k1/Makefile | 34 ++--- .../sound/pci/hda/cs35l41_hda_property.h | 36 ++--- .../kernel/sound/pci/ice1712/Makefile | 26 ++-- .../kernel/sound/pci/ice1712/pontis.h | 38 ++--- .../kernel/sound/pci/ice1712/se.h | 32 ++--- .../kernel/sound/pci/ice1712/wtm.h | 42 +++--- .../kernel/sound/pci/mixart/mixart_mixer.h | 36 ++--- .../kernel/sound/pci/oxygen/Makefile | 22 +-- .../kernel/sound/pci/pcxhr/pcxhr_mixer.h | 32 ++--- .../kernel/sound/soc/amd/ps/Makefile | 22 +-- .../kernel/sound/soc/amd/vangogh/Makefile | 22 +-- .../kernel/sound/soc/bcm/Makefile | 28 ++-- .../kernel/sound/soc/codecs/adau1372.h | 42 +++--- .../kernel/sound/soc/codecs/adau1761.h | 44 +++--- .../kernel/sound/soc/codecs/adau1781.h | 44 +++--- .../kernel/sound/soc/codecs/cirrus_legacy.h | 42 +++--- .../kernel/sound/soc/codecs/cs47l24.h | 40 +++--- .../kernel/sound/soc/codecs/hda.h | 38 ++--- .../kernel/sound/soc/codecs/hdac_hda.h | 68 ++++----- .../kernel/sound/soc/codecs/lpass-wsa-macro.h | 34 ++--- .../kernel/sound/soc/codecs/pcm1789.h | 34 ++--- .../kernel/sound/soc/codecs/pcm179x.h | 36 ++--- .../kernel/sound/soc/codecs/ssm2518.h | 38 ++--- .../kernel/sound/soc/codecs/wl1273.h | 32 ++--- .../kernel/sound/soc/codecs/wm5102.h | 40 +++--- .../kernel/sound/soc/codecs/wm5110.h | 40 +++--- .../kernel/sound/soc/codecs/wm8350.h | 50 +++---- .../kernel/sound/soc/codecs/wm8580.h | 60 ++++---- .../kernel/sound/soc/codecs/wm8728.h | 36 ++--- .../kernel/sound/soc/codecs/wm8997.h | 40 +++--- .../kernel/sound/soc/codecs/wm8998.h | 40 +++--- .../kernel/sound/soc/img/Makefile | 16 +-- .../kernel/sound/soc/intel/atom/sst/Makefile | 16 +-- .../kernel/sound/soc/intel/avs/Makefile | 40 +++--- .../kernel/sound/soc/intel/avs/control.h | 46 +++---- .../kernel/sound/soc/intel/avs/pcm.h | 32 ++--- .../sound/soc/intel/boards/sof_hdmi_common.h | 48 +++---- .../soc/intel/boards/sof_nuvoton_common.h | 44 +++--- .../intel/common/soc-acpi-intel-cfl-match.c | 40 +++--- .../intel/common/soc-acpi-intel-ehl-match.c | 40 +++--- .../common/soc-acpi-intel-sdw-mockup-match.h | 34 ++--- .../intel/common/sof-function-topology-lib.h | 30 ++-- .../kernel/sound/soc/loongson/loongson_dma.h | 32 ++--- .../kernel/sound/soc/mediatek/Makefile | 24 ++-- .../sound/soc/mediatek/common/mtk-soc-card.h | 44 +++--- .../soc/mediatek/mt6797/mt6797-afe-clk.h | 34 ++--- .../kernel/sound/soc/mediatek/mt8173/Makefile | 16 +-- .../kernel/sound/soc/mediatek/mt8183/Makefile | 30 ++-- .../kernel/sound/soc/mediatek/mt8186/Makefile | 42 +++--- .../soc/mediatek/mt8186/mt8186-afe-gpio.h | 38 ++--- .../mediatek/mt8186/mt8186-mt6366-common.h | 34 ++--- .../kernel/sound/soc/mediatek/mt8192/Makefile | 32 ++--- .../soc/mediatek/mt8192/mt8192-afe-gpio.h | 38 ++--- .../kernel/sound/soc/mxs/Kconfig | 44 +++--- .../kernel/sound/soc/pxa/Makefile | 34 ++--- .../kernel/sound/soc/qcom/common.h | 32 ++--- .../kernel/sound/soc/qcom/qdsp6/q6mvm.h | 30 ++-- .../kernel/sound/soc/samsung/dma.h | 36 ++--- .../kernel/sound/soc/samsung/idma.h | 38 ++--- .../kernel/sound/soc/samsung/spdif.h | 30 ++-- .../kernel/sound/soc/sdw_utils/Makefile | 22 +-- .../kernel/sound/soc/sof/imx/Makefile | 22 +-- .../kernel/sound/soc/sof/imx/imx-common.h | 36 ++--- .../kernel/sound/soc/sof/intel/lnl.h | 30 ++-- .../soc/sof/mediatek/mt8186/mt8186-clk.h | 48 +++---- .../soc/sof/mediatek/mt8195/mt8195-clk.h | 56 ++++---- .../kernel/sound/soc/sof/sof-acpi-dev.h | 32 ++--- .../kernel/sound/soc/sof/sof-pci-dev.h | 34 ++--- .../kernel/sound/soc/sof/sof-utils.h | 38 ++--- .../kernel/sound/soc/spear/Makefile | 18 +-- .../kernel/sound/soc/sprd/Kconfig | 32 ++--- .../kernel/sound/soc/stm/Makefile | 36 ++--- .../kernel/sound/soc/sunxi/Makefile | 18 +-- .../kernel/sound/soc/ti/davinci-i2s.h | 34 ++--- .../kernel/sound/soc/ti/edma-pcm.h | 48 +++---- .../kernel/sound/soc/ti/sdma-pcm.h | 42 +++--- .../kernel/sound/soc/ti/udma-pcm.h | 36 ++--- .../kernel/sound/soc/uniphier/Makefile | 22 +-- .../kernel/sound/soc/ux500/Makefile | 22 +-- .../kernel/sound/soc/ux500/mop500_ab8500.h | 34 ++--- .../kernel/sound/soc/ux500/ux500_pcm.h | 38 ++--- .../kernel/sound/soc/xilinx/Makefile | 14 +- .../UFI003_MB_V02/kernel/sound/sparc/Makefile | 26 ++-- .../UFI003_MB_V02/kernel/sound/synth/Makefile | 26 ++-- .../kernel/sound/synth/emux/Makefile | 28 ++-- .../kernel/sound/usb/6fire/common.h | 50 +++---- .../kernel/sound/usb/6fire/firmware.h | 46 +++---- .../kernel/sound/usb/caiaq/input.h | 20 +-- .../UFI003_MB_V02/kernel/sound/usb/clock.h | 30 ++-- .../UFI003_MB_V02/kernel/sound/usb/format.h | 28 ++-- .../kernel/sound/usb/hiface/chip.h | 52 +++---- .../kernel/sound/usb/hiface/pcm.h | 40 +++--- .../UFI003_MB_V02/kernel/sound/usb/implicit.h | 28 ++-- .../kernel/sound/usb/line6/Makefile | 38 ++--- .../UFI003_MB_V02/kernel/sound/usb/pcm.h | 36 ++--- .../kernel/sound/usb/usx2y/us122l.h | 68 ++++----- .../kernel/sound/usb/usx2y/usx2yhwdeppcm.h | 46 +++---- .../UFI003_MB_V02/kernel/sound/x86/Kconfig | 36 ++--- .../kernel/sound/xen/xen_snd_front_alsa.h | 46 +++---- .../tools/arch/arm/include/asm/barrier.h | 24 ++-- .../arch/arm/include/uapi/asm/perf_regs.h | 48 +++---- .../tools/arch/mips/include/asm/errno.h | 34 ++--- .../parisc/include/uapi/asm/bitsperlong.h | 30 ++-- .../arch/powerpc/include/uapi/asm/mman.h | 24 ++-- .../tools/arch/riscv/include/asm/fence.h | 26 ++-- .../arch/riscv/include/uapi/asm/bitsperlong.h | 28 ++-- .../arch/s390/include/uapi/asm/kvm_perf.h | 44 +++--- .../tools/arch/sparc/include/uapi/asm/mman.h | 24 ++-- .../x86/dell-uart-backlight-emulator/Makefile | 38 ++--- .../arch/x86/include/asm/emulate_prefix.h | 28 ++-- .../kernel/tools/arch/x86/include/asm/rmwcc.h | 42 +++--- .../arch/x86/include/uapi/asm/kvm_perf.h | 34 ++--- .../arch/x86/include/uapi/asm/unistd_32.h | 68 ++++----- .../arch/x86/include/uapi/asm/unistd_64.h | 68 ++++----- .../kernel/tools/arch/x86/intel_sdsi/Makefile | 42 +++--- .../kernel/tools/arch/x86/kcpuid/Makefile | 48 +++---- .../tools/arch/xtensa/include/asm/barrier.h | 36 ++--- .../kernel/tools/build/Makefile.include | 40 +++--- .../tools/build/feature/test-cxa-demangle.cpp | 34 ++--- .../kernel/tools/build/feature/test-glibc.c | 40 +++--- .../tools/build/feature/test-libcrypto.c | 50 +++---- .../tools/build/feature/test-libopencsd.c | 32 ++--- .../test-libunwind-debug-frame-aarch64.c | 34 ++--- .../feature/test-libunwind-debug-frame-arm.c | 34 ++--- .../feature/test-libunwind-debug-frame.c | 34 ++--- .../kernel/tools/build/feature/test-llvm.cpp | 28 ++-- .../kernel/tools/build/tests/ex/Makefile | 54 ++++---- .../kernel/tools/firewire/Makefile | 40 +++--- .../include/asm-generic/bitops/arch_hweight.h | 52 +++---- .../tools/include/asm-generic/bitops/atomic.h | 30 ++-- .../tools/include/asm-generic/bitsperlong.h | 48 +++---- .../kernel/tools/include/asm/alternative.h | 38 ++--- .../kernel/tools/include/linux/atomic.h | 30 ++-- .../kernel/tools/include/linux/bug.h | 22 +-- .../kernel/tools/include/linux/list_sort.h | 28 ++-- .../kernel/tools/include/linux/numa.h | 42 +++--- .../kernel/tools/include/linux/rcu.h | 50 +++---- .../kernel/tools/include/linux/stringify.h | 26 ++-- .../kernel/tools/include/linux/time64.h | 26 ++-- .../kernel/tools/include/nolibc/signal.h | 50 +++---- .../kernel/tools/include/nolibc/stdarg.h | 32 ++--- .../kernel/tools/include/nolibc/time.h | 62 ++++----- .../kernel/tools/include/tools/libc_compat.h | 40 +++--- .../tools/include/uapi/asm/bpf_perf_event.h | 26 ++-- .../kernel/tools/include/uapi/asm/errno.h | 32 ++--- .../kernel/tools/include/uapi/linux/bits.h | 36 ++--- .../tools/include/uapi/linux/bpf_perf_event.h | 38 ++--- .../tools/include/uapi/linux/hw_breakpoint.h | 50 +++---- .../kernel/tools/include/uapi/linux/kcmp.h | 56 ++++---- .../tools/include/uapi/linux/tc_act/tc_bpf.h | 60 ++++---- .../kernel/tools/include/vdso/unaligned.h | 30 ++-- .../tools/kvm/kvm_stat/kvm_stat.service | 34 ++--- .../UFI003_MB_V02/kernel/tools/lib/api/cpu.c | 38 ++--- .../kernel/tools/lib/api/debug-internal.h | 42 +++--- .../kernel/tools/lib/api/debug.c | 58 ++++---- .../kernel/tools/lib/bpf/strset.h | 42 +++--- .../lib/perf/Documentation/manpage-1.72.xsl | 28 ++-- .../Documentation/manpage-bold-literal.xsl | 34 ++--- .../lib/perf/Documentation/manpage-normal.xsl | 26 ++-- .../tools/lib/perf/include/internal/lib.h | 28 ++-- .../lib/perf/include/internal/threadmap.h | 46 +++---- .../kernel/tools/lib/perf/include/perf/core.h | 50 +++---- .../kernel/tools/lib/perf/include/perf/mmap.h | 30 ++-- .../kernel/tools/lib/perf/tests/main.c | 30 ++-- .../kernel/tools/lib/symbol/kallsyms.h | 58 ++++---- .../kernel/tools/lib/thermal/libthermal.map | 50 +++---- .../tools/memory-model/linux-kernel.cfg | 42 +++--- ...ISA2+pooncelock+pooncelock+pombonce.litmus | 80 +++++------ .../litmus-tests/ISA2+poonceonces.litmus | 74 +++++----- .../LB+poacquireonce+pooncerelease.litmus | 58 ++++---- ...P+fencewmbonceonce+fencermbonceonce.litmus | 60 ++++---- .../MP+onceassign+derefonce.litmus | 66 ++++----- .../litmus-tests/MP+poonceonces.litmus | 54 ++++---- .../MP+pooncerelease+poacquireonce.litmus | 56 ++++---- ...unlocklockonceonce+fencermbonceonce.litmus | 66 ++++----- .../litmus-tests/R+fencembonceonces.litmus | 60 ++++---- .../litmus-tests/R+poonceonces.litmus | 54 ++++---- .../S+fencewmbonceonce+poacquireonce.litmus | 54 ++++---- .../litmus-tests/S+poonceonces.litmus | 56 ++++---- .../litmus-tests/SB+fencembonceonces.litmus | 64 ++++----- .../litmus-tests/SB+poonceonces.litmus | 58 ++++---- .../SB+rfionceonce-poonceonces.litmus | 64 ++++----- .../litmus-tests/WRC+poonceonces+Once.litmus | 70 +++++----- .../tools/memory-model/scripts/checklitmus.sh | 38 ++--- .../tools/memory-model/scripts/hwfnseg.sh | 40 +++--- .../xdrgen/templates/C/enum/decoder/enum.j2 | 38 ++--- .../C/header_top/declaration/header.j2 | 28 ++-- .../templates/C/pointer/decoder/open.j2 | 44 +++--- .../pointer/decoder/variable_length_array.j2 | 26 ++-- .../C/pointer/encoder/fixed_length_array.j2 | 24 ++-- .../templates/C/pointer/encoder/open.j2 | 40 +++--- .../pointer/encoder/variable_length_array.j2 | 30 ++-- .../templates/C/program/decoder/argument.j2 | 42 +++--- .../templates/C/program/decoder/result.j2 | 44 +++--- .../templates/C/program/encoder/argument.j2 | 32 ++--- .../templates/C/program/encoder/result.j2 | 42 +++--- .../C/struct/decoder/variable_length_array.j2 | 26 ++-- .../C/struct/encoder/fixed_length_array.j2 | 24 ++-- .../C/struct/encoder/variable_length_array.j2 | 30 ++-- .../C/typedef/decoder/fixed_length_array.j2 | 50 +++---- .../C/typedef/decoder/fixed_length_opaque.j2 | 34 ++--- .../typedef/decoder/variable_length_array.j2 | 52 +++---- .../typedef/decoder/variable_length_opaque.j2 | 34 ++--- .../typedef/decoder/variable_length_string.j2 | 34 ++--- .../templates/C/typedef/encoder/basic.j2 | 42 +++--- .../C/typedef/encoder/fixed_length_array.j2 | 50 +++---- .../C/typedef/encoder/fixed_length_opaque.j2 | 34 ++--- .../typedef/encoder/variable_length_opaque.j2 | 34 ++--- .../typedef/encoder/variable_length_string.j2 | 34 ++--- .../C/union/decoder/variable_length_array.j2 | 26 ++-- .../kernel/tools/net/ynl/Makefile | 50 +++---- .../kernel/tools/net/ynl/lib/Makefile | 62 ++++----- .../kernel/tools/net/ynl/lib/__init__.py | 16 +-- .../arch/loongarch/include/arch/cfi_regs.h | 44 +++--- .../arch/powerpc/include/arch/special.h | 42 +++--- .../tools/objtool/arch/powerpc/special.c | 38 ++--- .../kernel/tools/objtool/arch/x86/Build | 28 ++-- .../objtool/arch/x86/include/arch/cfi_regs.h | 50 +++---- .../objtool/arch/x86/include/arch/special.h | 42 +++--- .../tools/objtool/include/objtool/orc.h | 28 ++-- .../UFI003_MB_V02/kernel/tools/objtool/weak.c | 52 +++---- .../UFI003_MB_V02/kernel/tools/perf/CREDITS | 60 ++++---- .../tools/perf/Documentation/build-xed.txt | 38 ++--- .../tools/perf/Documentation/guest-files.txt | 32 ++--- .../tools/perf/Documentation/guestmount.txt | 22 +-- .../perf/Documentation/jit-interface.txt | 30 ++-- .../tools/perf/Documentation/manpage-1.72.xsl | 28 ++-- .../Documentation/manpage-bold-literal.xsl | 34 ++--- .../perf/Documentation/manpage-normal.xsl | 26 ++-- .../tools/perf/Documentation/perf-archive.txt | 44 +++--- .../perf/Documentation/perf-kallsyms.txt | 48 +++---- .../tools/perf/Documentation/perf-version.txt | 48 +++---- .../perf/Documentation/perfconfig.example | 76 +++++----- .../UFI003_MB_V02/kernel/tools/perf/MANIFEST | 56 ++++---- .../tools/perf/arch/arm/include/perf_regs.h | 30 ++-- .../tools/perf/arch/arm/tests/vectors-page.c | 50 +++---- .../tools/perf/arch/arm/util/perf_regs.c | 44 +++--- .../arch/arm64/include/dwarf-regs-table.h | 28 ++-- .../tools/perf/arch/arm64/include/perf_regs.h | 34 ++--- .../kernel/tools/perf/arch/arm64/util/Build | 28 ++-- .../tools/perf/arch/arm64/util/machine.c | 36 ++--- .../tools/perf/arch/arm64/util/mem-events.c | 24 ++-- .../kernel/tools/perf/arch/arm64/util/tsc.c | 42 +++--- .../tools/perf/arch/csky/include/perf_regs.h | 30 ++-- .../tools/perf/arch/csky/util/perf_regs.c | 44 +++--- .../arch/loongarch/include/dwarf-regs-table.h | 32 ++--- .../perf/arch/loongarch/util/perf_regs.c | 44 +++--- .../kernel/tools/perf/arch/mips/Makefile | 44 +++--- .../tools/perf/arch/mips/util/perf_regs.c | 44 +++--- .../perf/arch/mips/util/unwind-libunwind.c | 44 +++--- .../perf/arch/powerpc/include/perf_regs.h | 38 ++--- .../kernel/tools/perf/arch/powerpc/util/Build | 28 ++-- .../tools/perf/arch/powerpc/util/mem-events.c | 24 ++-- .../perf/arch/powerpc/util/utils_header.h | 30 ++-- .../tools/perf/arch/riscv/include/perf_regs.h | 38 ++--- .../tools/perf/arch/riscv/util/perf_regs.c | 44 +++--- .../tools/perf/arch/s390/util/perf_regs.c | 44 +++--- .../kernel/tools/perf/arch/s390/util/pmu.c | 44 +++--- .../kernel/tools/perf/arch/x86/Build | 32 ++--- .../perf/arch/x86/include/dwarf-regs-table.h | 30 ++-- .../kernel/tools/perf/arch/x86/util/env.c | 38 ++--- .../tools/perf/arch/x86/util/mem-events.h | 20 +-- .../tools/perf/arch/xtensa/util/dwarf-regs.c | 42 +++--- .../kernel/tools/perf/perf-read-vdso.c | 70 +++++----- .../kernel/tools/perf/perf-sys.h | 42 +++--- .../arch/arm64/ampere/ampereone/bus.json | 64 ++++----- .../arch/arm64/ampere/emag/branch.json | 38 ++--- .../arch/arm64/ampere/emag/bus.json | 46 +++---- .../arch/arm64/ampere/emag/clock.json | 36 ++--- .../arch/arm64/ampere/emag/memory.json | 48 +++---- .../arch/arm64/arm/cortex-a34/cache.json | 64 ++++----- .../arm64/arm/cortex-a34/instruction.json | 58 ++++---- .../arch/arm64/arm/cortex-a35/cache.json | 64 ++++----- .../arch/arm64/arm/cortex-a510/memory.json | 64 ++++----- .../arch/arm64/arm/cortex-a510/trace.json | 64 ++++----- .../arch/arm64/arm/cortex-a53/branch.json | 50 +++---- .../arch/arm64/arm/cortex-a55/exception.json | 40 +++--- .../arch/arm64/arm/cortex-a57-a72/bus.json | 58 ++++---- .../arch/arm64/arm/cortex-a710/pipeline.json | 46 +++---- .../arch/arm64/arm/cortex-a710/trace.json | 58 ++++---- .../arch/arm64/arm/cortex-a73/bus.json | 46 +++---- .../arch/arm64/arm/cortex-a73/etm.json | 28 ++-- .../arch/arm64/arm/cortex-a75/etm.json | 28 ++-- .../arch/arm64/arm/cortex-a76/branch.json | 20 +-- .../arch/arm64/arm/cortex-a76/memory.json | 48 +++---- .../arch/arm64/arm/cortex-a76/pipeline.json | 20 +-- .../arch/arm64/arm/cortex-a77/memory.json | 46 +++---- .../arch/arm64/arm/cortex-a78/memory.json | 46 +++---- .../arch/arm64/arm/cortex-a78/pipeline.json | 46 +++---- .../arch/arm64/arm/cortex-x1/memory.json | 46 +++---- .../arch/arm64/arm/cortex-x1/pipeline.json | 46 +++---- .../arch/arm64/arm/cortex-x2/pipeline.json | 46 +++---- .../arch/arm64/arm/cortex-x2/trace.json | 58 ++++---- .../arch/arm64/arm/neoverse-n1/l1i_cache.json | 20 +-- .../arm64/arm/neoverse-v1/fp_operation.json | 20 +-- .../arm64/freescale/imx8mm/sys/metrics.json | 36 ++--- .../arm64/freescale/imx8mn/sys/metrics.json | 36 ++--- .../arm64/freescale/imx8mq/sys/metrics.json | 36 ++--- .../arch/arm64/fujitsu/a64fx/exception.json | 58 ++++---- .../arm64/thead/yitian710/sys/metrics.json | 40 +++--- .../perf/pmu-events/arch/nds32/mapfile.csv | 30 ++-- .../perf/pmu-events/arch/powerpc/mapfile.csv | 36 ++--- .../perf/pmu-events/arch/s390/mapfile.csv | 16 +-- .../arch/x86/broadwell/counter.json | 42 +++--- .../arch/x86/grandridge/uncore-power.json | 22 +-- .../arch/x86/graniterapids/uncore-power.json | 22 +-- .../pmu-events/arch/x86/haswell/counter.json | 42 +++--- .../arch/x86/meteorlake/uncore-cache.json | 40 +++--- .../arch/x86/sierraforest/uncore-power.json | 22 +-- .../arch/x86/silvermont/floating-point.json | 22 +-- .../arch/x86/silvermont/memory.json | 22 +-- .../pmu-events/arch/x86/skylake/counter.json | 42 +++--- .../perf/scripts/perl/Perf-Trace-Util/Build | 18 +-- .../tools/perf/scripts/perl/bin/rwtop-report | 40 +++--- .../scripts/python/bin/intel-pt-events-record | 26 ++-- .../scripts/python/bin/mem-phys-addr-record | 38 ++--- .../perf/scripts/python/bin/sctop-report | 48 +++---- .../kernel/tools/perf/tests/attr/base-record | 82 +++++------ .../tools/perf/tests/attr/base-record-spe | 80 +++++------ .../kernel/tools/perf/tests/attr/base-stat | 82 +++++------ .../tools/perf/tests/attr/test-record-C0 | 44 +++--- .../tests/attr/test-record-group-sampling | 78 +++++------ .../tools/perf/tests/attr/test-record-group2 | 58 ++++---- .../attr/test-record-user-regs-sve-aarch64 | 28 ++-- .../tools/perf/tests/config-fragments/README | 14 +- .../kernel/tools/perf/tests/pe-file.c | 28 ++-- .../shell/common/check_all_patterns_found.pl | 68 ++++----- .../shell/common/check_no_patterns_found.pl | 68 ++++----- .../tests/shell/coresight/Makefile.miniconfig | 28 ++-- .../tests/shell/coresight/asm_pure_loop.sh | 44 +++--- .../coresight/asm_pure_loop/asm_pure_loop.S | 60 ++++---- .../shell/coresight/memcpy_thread_16k_10.sh | 44 +++--- .../coresight/thread_loop_check_tid_10.sh | 46 +++---- .../coresight/thread_loop_check_tid_2.sh | 46 +++---- .../shell/coresight/unroll_loop_thread_10.sh | 44 +++--- .../perf/tests/shell/lib/perf_has_symbol.sh | 42 +++--- .../kernel/tools/perf/tests/shell/list.sh | 68 ++++----- .../tests/shell/perftool-testsuite_probe.sh | 46 +++---- .../tests/shell/perftool-testsuite_report.sh | 46 +++---- .../perf/tests/shell/probe_vfs_getname.sh | 36 ++--- .../perf/tests/shell/stat+csv_summary.sh | 62 ++++----- .../perf/tests/shell/stat_all_metricgroups.sh | 48 +++---- .../kernel/tools/perf/tests/workloads/Build | 28 ++-- .../tools/perf/tests/workloads/noploop.c | 64 ++++----- .../kernel/tools/perf/trace/beauty/clone.sh | 34 ++--- .../tools/perf/trace/beauty/fsconfig.sh | 32 ++--- .../kernel/tools/perf/trace/beauty/fspick.sh | 34 ++--- .../tools/perf/trace/beauty/futex_val3.c | 38 ++--- .../tools/perf/trace/beauty/kvm_ioctl.sh | 24 ++-- .../perf/trace/beauty/madvise_behavior.sh | 22 +-- .../perf/trace/beauty/move_mount_flags.sh | 34 ++--- .../tools/perf/trace/beauty/mremap_flags.sh | 36 ++--- .../tools/perf/trace/beauty/perf_ioctl.sh | 22 +-- .../kernel/tools/perf/trace/beauty/pid.c | 42 +++--- .../trace/beauty/pkey_alloc_access_rights.sh | 22 +-- .../tools/perf/trace/beauty/rename_flags.sh | 30 ++-- .../perf/trace/beauty/sndrv_ctl_ioctl.sh | 18 +-- .../perf/trace/beauty/sndrv_pcm_ioctl.sh | 18 +-- .../perf/trace/beauty/sync_file_range.sh | 34 ++--- .../tools/perf/trace/strace/groups/string | 130 +++++++++--------- .../kernel/tools/perf/ui/gtk/setup.c | 48 +++---- .../kernel/tools/perf/util/affinity.h | 34 ++--- .../util/arm64-frame-pointer-unwind-support.h | 24 ++-- .../kernel/tools/perf/util/bpf_map.h | 46 +++---- .../kernel/tools/perf/util/cacheline.c | 50 +++---- .../kernel/tools/perf/util/cap.h | 38 ++--- .../kernel/tools/perf/util/comm.h | 56 ++++---- .../kernel/tools/perf/util/copyfile.h | 32 ++--- .../kernel/tools/perf/util/data-convert.h | 42 +++--- .../kernel/tools/perf/util/dump-insn.c | 46 +++---- .../kernel/tools/perf/util/dump-insn.h | 52 +++---- .../kernel/tools/perf/util/find-map.c | 60 ++++---- .../tools/perf/util/get_current_dir_name.c | 36 ++--- .../kernel/tools/perf/util/hisi-ptt.h | 38 ++--- .../kernel/tools/perf/util/mem2node.h | 40 +++--- .../kernel/tools/perf/util/memswap.c | 50 +++---- .../kernel/tools/perf/util/path.h | 34 ++--- .../kernel/tools/perf/util/perf_api_probe.h | 34 ++--- .../kernel/tools/perf/util/pstack.h | 32 ++--- .../kernel/tools/perf/util/rwsem.h | 60 ++++---- .../kernel/tools/perf/util/s390-cpumsf.h | 42 +++--- .../kernel/tools/perf/util/sample-raw.h | 30 ++-- .../kernel/tools/perf/util/smt.h | 34 ++--- .../kernel/tools/perf/util/srccode.h | 40 +++--- .../kernel/tools/perf/util/units.h | 38 ++--- .../kernel/tools/perf/util/unwind-libdw.h | 54 ++++---- .../tools/power/acpi/tools/acpidbg/Makefile | 44 +++--- .../tools/power/acpi/tools/pfrut/Makefile | 46 +++---- .../kernel/tools/power/cpupower/.gitignore | 58 ++++---- .../tools/power/cpupower/bench/benchmark.h | 32 ++--- .../tools/power/cpupower/bench/config.h | 46 +++---- .../tools/power/cpupower/bench/system.h | 32 ++--- .../power/cpupower/debug/kernel/Makefile | 46 +++---- .../tools/power/cpupower/lib/acpi_cppc.h | 42 +++--- .../power/cpupower/lib/cpupower_intern.h | 24 ++-- .../tools/power/cpupower/utils/builtin.h | 30 ++-- .../power/cpupower/utils/helpers/topology.c | 42 +++--- .../utils/idle_monitor/idle_monitors.h | 32 ++--- .../sched_ext/include/bpf-compat/gnu/stubs.h | 22 +-- .../kernel/tools/testing/cxl/config_check.c | 34 ++--- .../testing/ktest/compare-ktest-sample.pl | 66 ++++----- .../ktest/examples/bootconfigs/tracing.bconf | 66 ++++----- .../testing/kunit/configs/coverage_uml.config | 22 +-- .../kernel/tools/testing/kunit/qemu_config.py | 40 +++--- .../tools/testing/kunit/qemu_configs/arm.py | 26 ++-- .../tools/testing/kunit/qemu_configs/arm64.py | 24 ++-- .../testing/kunit/qemu_configs/powerpc.py | 24 ++-- .../tools/testing/kunit/qemu_configs/s390.py | 28 ++-- .../tools/testing/kunit/qemu_configs/sh.py | 38 ++--- .../tools/testing/kunit/qemu_configs/sparc.py | 26 ++-- .../testing/kunit/qemu_configs/x86_64.py | 24 ++-- .../test_is_test_passed-kselftest.log | 28 ++-- .../kunit/test_data/test_skip_all_tests.log | 30 ++-- .../kunit/test_data/test_skip_tests.log | 30 ++-- .../kunit/test_data/test_strip_hyphen.log | 32 ++--- .../kernel/tools/testing/memblock/internal.h | 54 ++++---- .../kernel/tools/testing/memblock/main.c | 38 ++--- .../kernel/tools/testing/memblock/mmzone.c | 40 +++--- .../testing/memblock/scripts/Makefile.include | 38 ++--- .../memblock/tests/alloc_exact_nid_api.h | 50 +++---- .../testing/memblock/tests/alloc_nid_api.h | 52 +++---- .../tools/testing/nvdimm/acpi_nfit_test.c | 32 ++--- .../tools/testing/nvdimm/config_check.c | 36 ++--- .../kernel/tools/testing/radix-tree/xarray.c | 60 ++++---- .../testing/selftests/amd-pstate/Makefile | 36 ++--- .../testing/selftests/arm64/abi/Makefile | 30 ++-- .../testing/selftests/arm64/bti/btitest.h | 46 +++---- .../testing/selftests/arm64/bti/signal.h | 42 +++--- .../testing/selftests/arm64/bti/system.c | 40 +++--- .../testing/selftests/arm64/bti/system.h | 56 ++++---- .../testing/selftests/arm64/bti/teststubs.S | 78 +++++------ .../testing/selftests/arm64/bti/trampoline.S | 58 ++++---- .../testing/selftests/arm64/pauth/helper.h | 56 ++++---- .../selftests/arm64/pauth/pac_corruptor.S | 38 ++--- .../selftests/arm64/signal/sve_helpers.h | 42 +++--- .../selftests/arm64/signal/test_signals.c | 54 ++++---- .../mangle_pstate_invalid_mode_el1h.c | 30 ++-- .../mangle_pstate_invalid_mode_el1t.c | 30 ++-- .../mangle_pstate_invalid_mode_el2h.c | 30 ++-- .../mangle_pstate_invalid_mode_el2t.c | 30 ++-- .../mangle_pstate_invalid_mode_el3h.c | 30 ++-- .../mangle_pstate_invalid_mode_el3t.c | 30 ++-- .../selftests/bpf/benchs/run_bench_trigger.sh | 46 +++---- .../selftests/bpf/bpf_sockopt_helpers.h | 42 +++--- .../bpf/bpf_test_modorder_x/Makefile | 38 ++--- .../bpf/bpf_test_modorder_y/Makefile | 38 ++--- .../selftests/bpf/bpf_test_no_cfi/Makefile | 38 ++--- .../selftests/bpf/bpf_testmod/Makefile | 40 +++--- .../tools/testing/selftests/bpf/btf_helpers.h | 38 ++--- .../tools/testing/selftests/bpf/cap_helpers.h | 38 ++--- .../bpf/prog_tests/access_variable_array.c | 32 ++--- .../selftests/bpf/prog_tests/lru_bug.c | 42 +++--- .../selftests/bpf/prog_tests/nested_trust.c | 32 ++--- .../selftests/bpf/prog_tests/pkt_md_access.c | 50 +++---- .../selftests/bpf/prog_tests/raw_tp_null.c | 50 +++---- .../selftests/bpf/prog_tests/xdpwall.c | 30 ++-- .../selftests/bpf/progs/atomic_bounds.c | 48 +++---- .../selftests/bpf/progs/bad_struct_ops.c | 50 +++---- .../selftests/bpf/progs/bad_struct_ops2.c | 28 ++-- .../testing/selftests/bpf/progs/bind_prog.h | 38 ++--- .../selftests/bpf/progs/bpf_dctcp_release.c | 44 +++--- .../selftests/bpf/progs/bpf_iter_bpf_link.c | 42 +++--- .../selftests/bpf/progs/bpf_iter_test_kern3.c | 36 ++--- .../selftests/bpf/progs/bpf_iter_test_kern6.c | 42 +++--- .../bpf/progs/bpf_iter_test_kern_common.h | 44 +++--- .../selftests/bpf/progs/bpf_loop_bench.c | 60 ++++---- .../testing/selftests/bpf/progs/btf_data.c | 100 +++++++------- .../selftests/bpf/progs/btf_type_tag.c | 50 +++---- .../bpf/progs/cgroup_getset_retval_hooks.c | 32 ++--- .../selftests/bpf/progs/cgroup_storage.c | 48 +++---- .../selftests/bpf/progs/changes_pkt_data.c | 78 +++++------ .../selftests/bpf/progs/connect4_dropper.c | 52 +++---- .../selftests/bpf/progs/core_kern_overflow.c | 44 +++--- .../tools/testing/selftests/bpf/progs/err.h | 56 ++++---- .../bpf/progs/fentry_recursive_target.c | 50 +++---- .../bpf/progs/fexit_bpf2bpf_simple.c | 54 ++++---- .../testing/selftests/bpf/progs/fexit_sleep.c | 64 ++++----- .../testing/selftests/bpf/progs/fib_lookup.c | 44 +++--- .../selftests/bpf/progs/find_vma_fail2.c | 58 ++++---- .../bpf/progs/for_each_map_elem_write_key.c | 54 ++++---- .../selftests/bpf/progs/freplace_connect4.c | 36 ++--- .../bpf/progs/freplace_connect_v4_prog.c | 38 ++--- .../bpf/progs/freplace_get_constant.c | 30 ++-- .../bpf/progs/freplace_global_func.c | 36 ++--- .../selftests/bpf/progs/freplace_progmap.c | 48 +++---- .../bpf/progs/freplace_unreliable_prog.c | 40 +++--- .../selftests/bpf/progs/get_cgroup_id_kern.c | 42 +++--- .../bpf/progs/get_func_ip_uprobe_test.c | 36 ++--- .../selftests/bpf/progs/getpeername4_prog.c | 48 +++---- .../selftests/bpf/progs/getsockname4_prog.c | 48 +++---- .../testing/selftests/bpf/progs/htab_reuse.c | 38 ++--- .../selftests/bpf/progs/kfunc_module_order.c | 60 ++++---- .../tools/testing/selftests/bpf/progs/loop1.c | 58 ++++---- .../tools/testing/selftests/bpf/progs/loop2.c | 58 ++++---- .../tools/testing/selftests/bpf/progs/loop3.c | 46 +++---- .../tools/testing/selftests/bpf/progs/loop4.c | 40 +++--- .../tools/testing/selftests/bpf/progs/loop5.c | 62 ++++----- .../selftests/bpf/progs/lsm_cgroup_nonvoid.c | 28 ++-- .../selftests/bpf/progs/map_percpu_stats.c | 48 +++---- .../selftests/bpf/progs/missed_kprobe.c | 60 ++++---- .../testing/selftests/bpf/progs/mptcpify.c | 48 +++---- .../selftests/bpf/progs/nested_trust_common.h | 24 ++-- .../testing/selftests/bpf/progs/pyperf600.c | 24 ++-- .../bpf/progs/sock_destroy_prog_fail.c | 44 +++--- .../bpf/progs/struct_ops_autocreate2.c | 64 ++++----- .../bpf/progs/struct_ops_forgotten_cb.c | 38 ++--- .../bpf/progs/struct_ops_maybe_null_fail.c | 48 +++---- .../bpf/progs/struct_ops_nulled_out_cb.c | 44 +++--- .../testing/selftests/bpf/progs/tailcall3.c | 60 ++++---- .../testing/selftests/bpf/progs/tailcall4.c | 64 ++++----- .../bpf/progs/tailcall_bpf2bpf_hierarchy1.c | 68 ++++----- .../progs/tailcall_bpf2bpf_hierarchy_fentry.c | 70 +++++----- .../selftests/bpf/progs/tailcall_freplace.c | 46 +++---- .../selftests/bpf/progs/tailcall_poke.c | 64 ++++----- .../testing/selftests/bpf/progs/tc_bpf2bpf.c | 50 +++---- .../bpf/progs/tcp_ca_unsupp_cong_op.c | 42 +++--- .../bpf/progs/test_access_variable_array.c | 38 ++--- .../bpf/progs/test_attach_kprobe_sleepable.c | 46 +++---- .../selftests/bpf/progs/test_autoattach.c | 46 +++---- .../selftests/bpf/progs/test_cgroup_link.c | 48 +++---- .../bpf/progs/test_get_stack_rawtp_err.c | 52 +++---- .../selftests/bpf/progs/test_global_func10.c | 70 +++++----- .../selftests/bpf/progs/test_global_func11.c | 42 +++--- .../selftests/bpf/progs/test_global_func12.c | 50 +++---- .../selftests/bpf/progs/test_global_func13.c | 52 +++---- .../selftests/bpf/progs/test_global_func14.c | 46 +++---- .../selftests/bpf/progs/test_global_func16.c | 48 +++---- .../selftests/bpf/progs/test_global_func17.c | 38 ++--- .../selftests/bpf/progs/test_global_func7.c | 40 +++--- .../selftests/bpf/progs/test_global_func8.c | 42 +++--- .../selftests/bpf/progs/test_link_pinning.c | 50 +++---- .../bpf/progs/test_lirc_mode2_kern.c | 52 +++---- .../selftests/bpf/progs/test_log_buf.c | 48 +++---- .../bpf/progs/test_lookup_and_delete.c | 52 +++---- .../bpf/progs/test_map_in_map_invalid.c | 52 +++---- .../testing/selftests/bpf/progs/test_obj_id.c | 52 +++---- .../selftests/bpf/progs/test_pinning.c | 58 ++++---- .../bpf/progs/test_probe_read_user_str.c | 50 +++---- .../selftests/bpf/progs/test_ptr_untrusted.c | 58 ++++---- .../bpf/progs/test_raw_tp_test_run.c | 48 +++---- .../bpf/progs/test_sk_storage_trace_itself.c | 58 ++++---- .../selftests/bpf/progs/test_skb_ctx.c | 74 +++++----- .../bpf/progs/test_snprintf_single.c | 40 +++--- .../bpf/progs/test_sockmap_invalid_update.c | 46 +++---- .../bpf/progs/test_sockmap_progs_query.c | 48 +++---- .../progs/test_sockmap_skb_verdict_attach.c | 36 ++--- .../selftests/bpf/progs/test_static_linked1.c | 60 ++++---- .../bpf/progs/test_subprogs_unused.c | 42 +++--- .../selftests/bpf/progs/test_subskeleton.c | 56 ++++---- .../testing/selftests/bpf/progs/test_tc_bpf.c | 50 +++---- .../selftests/bpf/progs/test_time_tai.c | 48 +++---- .../selftests/bpf/progs/test_trace_ext.c | 36 ++--- .../bpf/progs/test_trace_ext_tracing.c | 50 +++---- .../selftests/bpf/progs/test_tracepoint.c | 50 +++---- .../bpf/progs/test_trampoline_count.c | 48 +++---- .../selftests/bpf/progs/test_user_ringbuf.h | 70 +++++----- .../bpf/progs/test_xdp_context_test_run.c | 40 +++--- .../bpf/progs/test_xdp_devmap_helpers.c | 44 +++--- .../test_xdp_with_cpumap_frags_helpers.c | 54 ++++---- .../test_xdp_with_devmap_frags_helpers.c | 54 ++++---- .../selftests/bpf/progs/trace_dummy_st_ops.c | 42 +++--- .../selftests/bpf/progs/trace_printk.c | 44 +++--- .../selftests/bpf/progs/tracing_failure.c | 40 +++--- .../selftests/bpf/progs/unsupported_ops.c | 44 +++--- .../bpf/progs/uprobe_multi_consumers.c | 78 +++++------ .../bpf/progs/uprobe_multi_pid_filter.c | 80 +++++------ .../bpf/progs/verifier_btf_unreliable_prog.c | 40 +++--- .../selftests/bpf/progs/verifier_mtu.c | 36 ++--- .../selftests/bpf/progs/verifier_typedef.c | 46 +++---- .../selftests/bpf/progs/verifier_xdp.c | 48 +++---- .../selftests/bpf/progs/xdp_metadata2.c | 48 +++---- .../selftests/bpf/progs/xdp_redirect_map.c | 62 ++++----- .../bpf/task_local_storage_helpers.h | 44 +++--- .../testing/selftests/bpf/test_bpftool.sh | 22 +-- .../selftests/bpf/test_iptunnel_common.h | 68 ++++----- .../tools/testing/selftests/bpf/test_maps.h | 48 +++---- .../bpf/test_select_reuseport_common.h | 72 +++++----- .../tools/testing/selftests/bpf/test_tcpbpf.h | 44 +++--- .../testing/selftests/bpf/xdp_features.h | 40 +++--- .../testing/selftests/breakpoints/Makefile | 32 ++--- .../testing/selftests/damon/debugfs_attrs.sh | 34 ++--- .../debugfs_duplicate_context_creation.sh | 54 ++++---- .../selftests/damon/debugfs_empty_targets.sh | 42 +++--- .../selftests/damon/debugfs_schemes.sh | 38 ++--- .../damon/debugfs_target_ids_pid_leak.sh | 44 +++--- .../testing/selftests/drivers/gpu/drm_mm.sh | 32 ++--- .../testing/selftests/drivers/gpu/i915.sh | 32 ++--- .../selftests/drivers/net/bonding/Makefile | 48 +++---- .../testing/selftests/drivers/net/hw/Makefile | 58 ++++---- .../drivers/net/hw/lib/py/__init__.py | 32 ++--- .../selftests/drivers/net/lib/py/__init__.py | 38 ++--- .../selftests/drivers/net/lib/py/remote.py | 30 ++-- .../drivers/net/lib/py/remote_netns.py | 42 +++--- .../drivers/net/mlxsw/hw_stats_l3.sh | 62 ++++----- .../net/mlxsw/spectrum-2/tc_flower_scale.sh | 50 +++---- .../net/mlxsw/spectrum/tc_flower_scale.sh | 38 ++--- .../drivers/net/team/dev_addr_lists.sh | 102 +++++++------- .../selftests/drivers/s390x/uvdevice/Makefile | 40 +++--- .../testing/selftests/drivers/sdsi/sdsi.sh | 50 +++---- .../tools/testing/selftests/dt/Makefile | 42 +++--- .../testing/selftests/fchmodat2/Makefile | 30 ++-- .../selftests/filesystems/overlayfs/log.h | 52 +++---- .../tools/testing/selftests/firmware/settings | 16 +-- .../ftrace/test.d/00basic/ringbuffer_size.tc | 44 +++--- .../ftrace/test.d/00basic/snapshot.tc | 54 ++++---- .../ftrace/test.d/00basic/trace_pipe.tc | 30 ++-- .../test.d/dynevent/add_remove_synth.tc | 48 +++---- .../test.d/dynevent/add_remove_uprobe.tc | 52 +++---- .../test.d/dynevent/fprobe_entry_arg.tc | 36 ++--- .../ftrace/test.d/ftrace/func_profile_stat.tc | 42 +++--- .../ftrace/test.d/ftrace/tracing-error-log.tc | 30 ++-- .../ftrace/test.d/kprobe/busy_check.tc | 22 +-- .../ftrace/test.d/kprobe/kprobe_args_comm.tc | 32 ++--- .../test.d/kprobe/kprobe_insn_boundary.tc | 38 ++--- .../test.d/kprobe/kprobe_non_uniq_symbol.tc | 26 ++-- .../ftrace/test.d/kprobe/kretprobe_args.tc | 38 ++--- .../test.d/kprobe/kretprobe_entry_arg.tc | 36 ++--- .../test.d/kprobe/kretprobe_return_suffix.tc | 42 +++--- .../selftests/ftrace/test.d/kprobe/profile.tc | 28 ++-- .../ftrace/test.d/selftest/bashisms.tc | 42 +++--- .../inter-event/trigger-action-hist-xfail.tc | 38 ++--- .../trigger-onchange-action-hist.tc | 44 +++--- .../trigger/trigger-trace-marker-hist.tc | 38 ++--- .../tools/testing/selftests/ipc/Makefile | 36 ++--- .../tools/testing/selftests/ir/ir_loopback.sh | 50 +++---- .../tools/testing/selftests/kexec/Makefile | 26 ++-- .../testing/selftests/kselftest/prefix.pl | 48 +++---- .../selftests/kvm/include/aarch64/delay.h | 50 +++---- .../selftests/kvm/include/aarch64/ucall.h | 40 +++--- .../selftests/kvm/include/guest_modes.h | 42 +++--- .../selftests/kvm/include/riscv/ucall.h | 42 +++--- .../selftests/kvm/include/s390x/ucall.h | 38 ++--- .../selftests/kvm/lib/aarch64/spinlock.c | 54 ++++---- .../testing/selftests/kvm/lib/s390x/ucall.c | 44 +++--- .../tools/testing/selftests/landlock/Makefile | 46 +++---- .../test_modules/test_klp_callbacks_mod.c | 48 +++---- .../tools/testing/selftests/lkdtm/Makefile | 26 ++-- .../tools/testing/selftests/lkdtm/config | 28 ++-- .../testing/selftests/locking/ww_mutex.sh | 38 ++--- .../tools/testing/selftests/lsm/Makefile | 34 ++--- .../media_tests/bind_unbind_sample.sh | 26 ++-- .../membarrier_test_single_thread.c | 56 ++++---- .../selftests/mm/write_hugetlb_memory.sh | 46 +++---- .../testing/selftests/net/fin_ack_lat.sh | 70 +++++----- .../selftests/net/forwarding/sch_tbf_root.sh | 74 +++++----- .../tools/testing/selftests/net/lib/Makefile | 30 ++-- .../testing/selftests/net/mptcp/Makefile | 38 ++--- .../tools/testing/selftests/net/net_helper.sh | 50 +++---- .../selftests/net/stress_reuseport_listen.sh | 50 +++---- .../selftests/nolibc/nolibc-test-linkage.c | 52 +++---- .../tools/testing/selftests/openat2/Makefile | 36 ++--- .../selftests/powerpc/benchmarks/Makefile | 42 +++--- .../powerpc/benchmarks/exec_target.c | 56 ++++---- .../powerpc/benchmarks/gettimeofday.c | 66 ++++----- .../testing/selftests/powerpc/dscr/Makefile | 26 ++-- .../testing/selftests/powerpc/math/fpu.h | 50 +++---- .../selftests/powerpc/pmu/ebb/.gitignore | 48 +++---- .../powerpc/pmu/event_code_tests/.gitignore | 40 +++--- .../powerpc/pmu/sampling_tests/.gitignore | 42 +++--- .../powerpc/ptrace/ptrace-perf-asm.S | 66 ++++----- .../selftests/powerpc/security/Makefile | 38 ++--- .../testing/selftests/powerpc/signal/Makefile | 34 ++--- .../powerpc/stringloops/asm/ppc_asm.h | 68 ++++----- .../selftests/powerpc/stringloops/string.c | 42 +++--- .../selftests/powerpc/switch_endian/Makefile | 38 ++--- .../testing/selftests/powerpc/tm/.gitignore | 44 +++--- .../tools/testing/selftests/prctl/Makefile | 28 ++-- .../tools/testing/selftests/proc/.gitignore | 48 +++---- .../testing/selftests/ptp/ptpchmaskfmt.sh | 28 ++-- .../selftests/rcutorture/bin/jitterstop.sh | 46 +++---- .../rcutorture/bin/kcsan-collapse.sh | 44 +++--- .../rcutorture/configs/rcu/BUSTED-BOOST | 34 ++--- .../selftests/rcutorture/configs/rcu/TINY02 | 30 ++-- .../selftests/rcutorture/configs/rcu/TREE01 | 34 ++--- .../selftests/rcutorture/configs/rcu/TREE02 | 38 ++--- .../selftests/rcutorture/configs/rcu/TREE03 | 36 ++--- .../selftests/rcutorture/configs/rcu/TREE04 | 36 ++--- .../selftests/rcutorture/configs/rcu/TREE05 | 40 +++--- .../selftests/rcutorture/configs/rcu/TREE06 | 38 ++--- .../selftests/rcutorture/configs/rcu/TREE07 | 34 ++--- .../selftests/rcutorture/configs/rcu/TREE08 | 38 ++--- .../selftests/rcutorture/configs/rcu/TREE09 | 36 ++--- .../selftests/rcutorture/configs/rcu/TREE10 | 36 ++--- .../rcutorture/configs/rcuscale/TINY | 32 ++--- .../rcutorture/configs/rcuscale/TRACE01 | 32 ++--- .../rcutorture/configs/rcuscale/TREE | 40 +++--- .../rcutorture/configs/rcuscale/TREE54 | 42 +++--- .../configs/rcuscale/ver_functions.sh | 34 ++--- .../rcutorture/configs/refscale/NOPREEMPT | 40 +++--- .../rcutorture/configs/refscale/PREEMPT | 34 ++--- .../rcutorture/configs/refscale/TINY | 40 +++--- .../configs/refscale/ver_functions.sh | 34 ++--- .../testing/selftests/riscv/hwprobe/Makefile | 36 ++--- .../tools/testing/selftests/riscv/mm/Makefile | 30 ++-- .../testing/selftests/riscv/mm/mmap_test.h | 46 +++---- .../rseq/rseq-generic-thread-pointer.h | 50 +++---- .../selftests/rseq/rseq-ppc-thread-pointer.h | 60 ++++---- .../selftests/rseq/rseq-thread-pointer.h | 38 ++--- .../testing/selftests/sched_ext/exit_test.h | 40 +++--- .../sched_ext/maybe_null_fail_dsp.bpf.c | 50 +++---- .../testing/selftests/sched_ext/minimal.bpf.c | 42 +++--- .../tools/testing/selftests/sgx/test_encl.lds | 82 +++++------ .../selftests/sparc64/drivers/drivers_test.sh | 60 ++++---- .../tc-testing/plugin-lib/rootPlugin.py | 38 ++--- .../scripts/taprio_wait_for_admin.sh | 32 ++--- .../tc-testing/tc-tests/qdiscs/fq_pie.json | 44 +++--- .../tc-testing/tdc_config_local_template.py | 46 +++---- .../tools/testing/selftests/timens/log.h | 52 +++---- .../testing/selftests/ublk/test_stripe_04.sh | 48 +++---- .../selftests/wireguard/qemu/arch/arm.config | 26 ++-- .../wireguard/qemu/arch/armeb.config | 28 ++-- .../wireguard/qemu/arch/mips64.config | 28 ++-- .../wireguard/qemu/arch/mips64el.config | 30 ++-- .../wireguard/qemu/arch/mipsel.config | 26 ++-- .../wireguard/qemu/arch/riscv32.config | 28 ++-- .../testing/selftests/x86/clang_helpers_64.S | 56 ++++---- .../tools/testing/selftests/x86/helpers.h | 50 +++---- .../tools/testing/shared/linux/kernel.h | 58 ++++---- .../tools/testing/shared/linux/percpu.h | 22 +-- .../kernel/tools/testing/shared/shared.h | 74 +++++----- .../kernel/tools/testing/vma/Makefile | 36 ++--- .../kernel/tools/testing/vsock/control.h | 34 ++--- .../tools/testing/vsock/msg_zerocopy_common.h | 36 ++--- .../tools/testing/vsock/vsock_test_zerocopy.h | 30 ++-- .../kernel/tools/thermal/lib/mainloop.h | 30 ++-- .../kernel/tools/thermal/lib/uptimeofday.h | 24 ++-- .../kernel/tools/thermal/thermometer/Makefile | 52 +++---- .../kernel/tools/tracing/Makefile | 58 ++++---- .../tools/tracing/rtla/src/timerlat_u.h | 36 ++--- .../kernel/tools/usb/usbip/.gitignore | 66 ++++----- .../kernel/tools/usb/usbip/cleanup.sh | 26 ++-- .../kernel/tools/usb/usbip/libsrc/Makefile.am | 22 +-- .../tools/usb/usbip/libsrc/sysfs_utils.c | 64 ++++----- .../usb/usbip/libsrc/usbip_device_driver.h | 44 +++--- .../usb/usbip/libsrc/usbip_host_driver.h | 40 +++--- .../kernel/tools/usb/usbip/src/Makefile.am | 24 ++-- .../kernel/tools/verification/models/wip.dot | 32 ++--- .../kernel/tools/verification/models/wwnr.dot | 32 ++--- .../tools/verification/rv/include/trace.h | 32 ++--- .../kernel/tools/virtio/linux/err.h | 54 ++++---- .../UFI003_MB_V02/kernel/tools/wmi/Makefile | 36 ++--- .../kernel/virt/kvm/Makefile.kvm | 30 ++-- .../UFI003_MB_V02/kernel/virt/kvm/async_pf.h | 48 +++---- 4000 files changed, 84256 insertions(+), 84256 deletions(-) mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso32_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso64_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/checkpatch.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/riscv/tools/relocs_check.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/gen_vdso_offsets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/arch/s390/tools/gcc-thunk-extern.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/Lindent mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/dummy-tools/ld mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/gcc-x86_32-has-stack-protector.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/misc-check mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/mkuboot.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/modules-check.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/profile2linkerlist.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/rustc-llvm-version.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/rustc-version.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/split-man.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/scripts/xen-hypercalls.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/memory-model/scripts/checklitmus.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/memory-model/scripts/hwfnseg.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/common/check_all_patterns_found.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/common/check_no_patterns_found.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/coresight/asm_pure_loop.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/coresight/memcpy_thread_16k_10.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/coresight/thread_loop_check_tid_10.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/coresight/thread_loop_check_tid_2.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/list.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/perftool-testsuite_probe.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/perftool-testsuite_report.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/probe_vfs_getname.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/stat+csv_summary.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/tests/shell/stat_all_metricgroups.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/clone.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/fsconfig.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/fspick.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/kvm_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/madvise_behavior.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/move_mount_flags.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/mremap_flags.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/perf_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/pkey_alloc_access_rights.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/rename_flags.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/sndrv_ctl_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/sndrv_pcm_ioctl.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/perf/trace/beauty/sync_file_range.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/ktest/compare-ktest-sample.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/benchs/run_bench_trigger.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/bpf/test_bpftool.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_attrs.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_duplicate_context_creation.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_empty_targets.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_schemes.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/damon/debugfs_target_ids_pid_leak.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/gpu/drm_mm.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/gpu/i915.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/mlxsw/hw_stats_l3.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/net/team/dev_addr_lists.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/drivers/sdsi/sdsi.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ir/ir_loopback.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/kselftest/prefix.pl mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/locking/ww_mutex.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/media_tests/bind_unbind_sample.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/mm/write_hugetlb_memory.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/fin_ack_lat.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/forwarding/sch_tbf_root.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/net/stress_reuseport_listen.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/rcutorture/bin/kcsan-collapse.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/sparc64/drivers/drivers_test.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/tc-testing/scripts/taprio_wait_for_admin.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/testing/selftests/ublk/test_stripe_04.sh mode change 100644 => 100755 image/debian/UFI003_MB_V02/kernel/tools/usb/usbip/cleanup.sh diff --git a/image/debian/UFI003_MB_V02/kernel/.clippy.toml b/image/debian/UFI003_MB_V02/kernel/.clippy.toml index eee5e67757..137f41d203 100644 --- a/image/debian/UFI003_MB_V02/kernel/.clippy.toml +++ b/image/debian/UFI003_MB_V02/kernel/.clippy.toml @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 - -msrv = "1.78.0" - -check-private-items = true - -disallowed-macros = [ - # The `clippy::dbg_macro` lint only works with `std::dbg!`, thus we simulate - # it here, see: https://github.com/rust-lang/rust-clippy/issues/11303. - { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool", allow-invalid = true }, -] +# SPDX-License-Identifier: GPL-2.0 + +msrv = "1.78.0" + +check-private-items = true + +disallowed-macros = [ + # The `clippy::dbg_macro` lint only works with `std::dbg!`, thus we simulate + # it here, see: https://github.com/rust-lang/rust-clippy/issues/11303. + { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool", allow-invalid = true }, +] diff --git a/image/debian/UFI003_MB_V02/kernel/.editorconfig b/image/debian/UFI003_MB_V02/kernel/.editorconfig index a9f35aeab8..29a30ccfc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/.editorconfig +++ b/image/debian/UFI003_MB_V02/kernel/.editorconfig @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0-only - -root = true - -[{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -indent_style = tab -indent_size = 8 - -[*.{json,py,rs}] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -indent_style = space -indent_size = 4 - -# this must be below the general *.py to overwrite it -[tools/{perf,power,rcu,testing/kunit}/**.py,] -indent_style = tab -indent_size = 8 - -[*.yaml] -charset = utf-8 -end_of_line = lf -insert_final_newline = true -indent_style = space -indent_size = 2 +# SPDX-License-Identifier: GPL-2.0-only + +root = true + +[{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = tab +indent_size = 8 + +[*.{json,py,rs}] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 4 + +# this must be below the general *.py to overwrite it +[tools/{perf,power,rcu,testing/kunit}/**.py,] +indent_style = tab +indent_size = 8 + +[*.yaml] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 diff --git a/image/debian/UFI003_MB_V02/kernel/.rustfmt.toml b/image/debian/UFI003_MB_V02/kernel/.rustfmt.toml index fae4b2788b..3de5cc4974 100644 --- a/image/debian/UFI003_MB_V02/kernel/.rustfmt.toml +++ b/image/debian/UFI003_MB_V02/kernel/.rustfmt.toml @@ -1,12 +1,12 @@ -edition = "2021" -newline_style = "Unix" - -# Unstable options that help catching some mistakes in formatting and that we may want to enable -# when they become stable. -# -# They are kept here since they are useful to run from time to time. -#format_code_in_doc_comments = true -#reorder_impl_items = true -#comment_width = 100 -#wrap_comments = true -#normalize_comments = true +edition = "2021" +newline_style = "Unix" + +# Unstable options that help catching some mistakes in formatting and that we may want to enable +# when they become stable. +# +# They are kept here since they are useful to run from time to time. +#format_code_in_doc_comments = true +#reorder_impl_items = true +#comment_width = 100 +#wrap_comments = true +#normalize_comments = true diff --git a/image/debian/UFI003_MB_V02/kernel/COPYING b/image/debian/UFI003_MB_V02/kernel/COPYING index b67f6c8abe..a635a38ef9 100644 --- a/image/debian/UFI003_MB_V02/kernel/COPYING +++ b/image/debian/UFI003_MB_V02/kernel/COPYING @@ -1,20 +1,20 @@ -The Linux Kernel is provided under: - - SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note - -Being under the terms of the GNU General Public License version 2 only, -according with: - - LICENSES/preferred/GPL-2.0 - -With an explicit syscall exception, as stated at: - - LICENSES/exceptions/Linux-syscall-note - -In addition, other licenses may also apply. Please see: - - Documentation/process/license-rules.rst - -for more details. - -All contributions to the Linux Kernel are subject to this COPYING file. +The Linux Kernel is provided under: + + SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note + +Being under the terms of the GNU General Public License version 2 only, +according with: + + LICENSES/preferred/GPL-2.0 + +With an explicit syscall exception, as stated at: + + LICENSES/exceptions/Linux-syscall-note + +In addition, other licenses may also apply. Please see: + + Documentation/process/license-rules.rst + +for more details. + +All contributions to the Linux Kernel are subject to this COPYING file. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/o2cb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/o2cb index e592d3d40f..8f39b59673 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/o2cb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/o2cb @@ -1,11 +1,11 @@ -What: /sys/o2cb -Date: Dec 2005 -KernelVersion: 2.6.16 -Contact: ocfs2-devel@lists.linux.dev -Description: Ocfs2-tools looks at 'interface-revision' for versioning - information. Each logmask/ file controls a set of debug prints - and can be written into with the strings "allow", "deny", or - "off". Reading the file returns the current state. - Was renamed to /sys/fs/u2cb/ -Users: ocfs2-tools. It's sufficient to mail proposed changes to - ocfs2-devel@lists.linux.dev. +What: /sys/o2cb +Date: Dec 2005 +KernelVersion: 2.6.16 +Contact: ocfs2-devel@lists.linux.dev +Description: Ocfs2-tools looks at 'interface-revision' for versioning + information. Each logmask/ file controls a set of debug prints + and can be written into with the strings "allow", "deny", or + "off". Reading the file returns the current state. + Was renamed to /sys/fs/u2cb/ +Users: ocfs2-tools. It's sufficient to mail proposed changes to + ocfs2-devel@lists.linux.dev. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/procfs-i8k b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/procfs-i8k index 9086cfd52d..32df4d5bdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/procfs-i8k +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/procfs-i8k @@ -1,10 +1,10 @@ -What: /proc/i8k -Date: November 2001 -KernelVersion: 2.4.14 -Contact: Pali Rohár -Description: Legacy interface for getting/setting sensor information like - fan speed, temperature, serial number, hotkey status etc - on Dell Laptops. - Since the driver is now using the standard hwmon sysfs interface, - the procfs interface is deprecated. -Users: https://github.com/vitorafsr/i8kutils +What: /proc/i8k +Date: November 2001 +KernelVersion: 2.4.14 +Contact: Pali Rohár +Description: Legacy interface for getting/setting sensor information like + fan speed, temperature, serial number, hotkey status etc + on Dell Laptops. + Since the driver is now using the standard hwmon sysfs interface, + the procfs interface is deprecated. +Users: https://github.com/vitorafsr/i8kutils diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-cpuidle b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-cpuidle index 379ebd4d58..972cc11d34 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-cpuidle +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-cpuidle @@ -1,9 +1,9 @@ -What: /sys/devices/system/cpu/cpuidle/current_governor_ro -Date: April, 2020 -Contact: linux-pm@vger.kernel.org -Description: - current_governor_ro shows current using cpuidle governor, but read only. - with the update that cpuidle governor can be changed at runtime in default, - both current_governor and current_governor_ro co-exist under - /sys/devices/system/cpu/cpuidle/ file, it's duplicate so make - current_governor_ro obsolete. +What: /sys/devices/system/cpu/cpuidle/current_governor_ro +Date: April, 2020 +Contact: linux-pm@vger.kernel.org +Description: + current_governor_ro shows current using cpuidle governor, but read only. + with the update that cpuidle governor can be changed at runtime in default, + both current_governor and current_governor_ro co-exist under + /sys/devices/system/cpu/cpuidle/ file, it's duplicate so make + current_governor_ro obsolete. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-lua b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-lua index b08e9f8402..31c6c4c8ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-lua +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-driver-hid-roccat-lua @@ -1,7 +1,7 @@ -What: /sys/bus/usb/devices/-:./control -Date: October 2012 -Contact: Stefan Achatz -Description: When written, cpi, button and light settings can be configured. - When read, actual cpi setting and sensor data are returned. - The data has to be 8 bytes long. -Users: http://roccat.sourceforge.net +What: /sys/bus/usb/devices/-:./control +Date: October 2012 +Contact: Stefan Achatz +Description: When written, cpi, button and light settings can be configured. + When read, actual cpi setting and sensor data are returned. + The data has to be 8 bytes long. +Users: http://roccat.sourceforge.net diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-firmware-acpi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-firmware-acpi index 48a710dcc1..6715a71bec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-firmware-acpi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-firmware-acpi @@ -1,8 +1,8 @@ -What: /sys/firmware/acpi/hotplug/force_remove -Date: Mar 2017 -Contact: Rafael J. Wysocki -Description: - Since the force_remove is inherently broken and dangerous to - use for some hotplugable resources like memory (because ignoring - the offline failure might lead to memory corruption and crashes) - enabling this knob is not safe and thus unsupported. +What: /sys/firmware/acpi/hotplug/force_remove +Date: Mar 2017 +Contact: Rafael J. Wysocki +Description: + Since the force_remove is inherently broken and dangerous to + use for some hotplugable resources like memory (because ignoring + the offline failure might lead to memory corruption and crashes) + enabling this knob is not safe and thus unsupported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered index c6f3783fb3..dae880b1a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_registered @@ -1,10 +1,10 @@ -This ABI is renamed and moved to a new location /sys/kernel/fadump/registered. - -What: /sys/kernel/fadump_registered -Date: Feb 2012 -Contact: linuxppc-dev@lists.ozlabs.org -Description: read/write - Helps to control the dump collect feature from userspace. - Setting 1 to this file enables the system to collect the - dump and 0 to disable it. -User: Kdump service +This ABI is renamed and moved to a new location /sys/kernel/fadump/registered. + +What: /sys/kernel/fadump_registered +Date: Feb 2012 +Contact: linuxppc-dev@lists.ozlabs.org +Description: read/write + Helps to control the dump collect feature from userspace. + Setting 1 to this file enables the system to collect the + dump and 0 to disable it. +User: Kdump service diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem index 2b4ee7d7ba..ca2396edb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/obsolete/sysfs-kernel-fadump_release_mem @@ -1,10 +1,10 @@ -This ABI is renamed and moved to a new location /sys/kernel/fadump/release_mem. - -What: /sys/kernel/fadump_release_mem -Date: Feb 2012 -Contact: linuxppc-dev@lists.ozlabs.org -Description: write only - This is a special sysfs file and only available when - the system is booted to capture the vmcore using FADump. - It is used to release the memory reserved by FADump to - save the crash dump. +This ABI is renamed and moved to a new location /sys/kernel/fadump/release_mem. + +What: /sys/kernel/fadump_release_mem +Date: Feb 2012 +Contact: linuxppc-dev@lists.ozlabs.org +Description: write only + This is a special sysfs file and only available when + the system is booted to capture the vmcore using FADump. + It is used to release the memory reserved by FADump to + save the crash dump. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/devfs b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/devfs index b8dfc3c6d3..24fb35adf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/devfs +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/devfs @@ -1,13 +1,13 @@ -What: devfs -Date: July 2005 (scheduled), finally removed in kernel v2.6.18 -Contact: Greg Kroah-Hartman -Description: - devfs has been unmaintained for a number of years, has unfixable - races, contains a naming policy within the kernel that is - against the LSB, and can be replaced by using udev. - - The files fs/devfs/*, include/linux/devfs_fs*.h were removed, - along with the assorted devfs function calls throughout the - kernel tree. - -Users: +What: devfs +Date: July 2005 (scheduled), finally removed in kernel v2.6.18 +Contact: Greg Kroah-Hartman +Description: + devfs has been unmaintained for a number of years, has unfixable + races, contains a naming policy within the kernel that is + against the LSB, and can be replaced by using udev. + + The files fs/devfs/*, include/linux/devfs_fs*.h were removed, + along with the assorted devfs function calls throughout the + kernel tree. + +Users: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/o2cb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/o2cb index fe64ad84f7..61cff238fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/o2cb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/o2cb @@ -1,10 +1,10 @@ -What: /sys/o2cb symlink -Date: May 2011 -KernelVersion: 3.0 -Contact: ocfs2-devel@lists.linux.dev -Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is - removed when new versions of ocfs2-tools which know to look - in /sys/fs/o2cb are sufficiently prevalent. Don't code new - software to look here, it should try /sys/fs/o2cb instead. -Users: ocfs2-tools. It's sufficient to mail proposed changes to - ocfs2-devel@lists.linux.dev. +What: /sys/o2cb symlink +Date: May 2011 +KernelVersion: 3.0 +Contact: ocfs2-devel@lists.linux.dev +Description: This is a symlink: /sys/o2cb to /sys/fs/o2cb. The symlink is + removed when new versions of ocfs2-tools which know to look + in /sys/fs/o2cb are sufficiently prevalent. Don't code new + software to look here, it should try /sys/fs/o2cb instead. +Users: ocfs2-tools. It's sufficient to mail proposed changes to + ocfs2-devel@lists.linux.dev. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-class-rfkill b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-class-rfkill index b16a50fe1e..f25174eafd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-class-rfkill +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-class-rfkill @@ -1,13 +1,13 @@ -rfkill - radio frequency (RF) connector kill switch support - -For details to this subsystem look at Documentation/driver-api/rfkill.rst. - -What: /sys/class/rfkill/rfkill[0-9]+/claim -Date: 09-Jul-2007 -KernelVersion v2.6.22 -Contact: linux-wireless@vger.kernel.org -Description: This file was deprecated because there no longer was a way to - claim just control over a single rfkill instance. - This file was scheduled to be removed in 2012, and was removed - in 2016. -Values: 0: Kernel handles events +rfkill - radio frequency (RF) connector kill switch support + +For details to this subsystem look at Documentation/driver-api/rfkill.rst. + +What: /sys/class/rfkill/rfkill[0-9]+/claim +Date: 09-Jul-2007 +KernelVersion v2.6.22 +Contact: linux-wireless@vger.kernel.org +Description: This file was deprecated because there no longer was a way to + claim just control over a single rfkill instance. + This file was scheduled to be removed in 2012, and was removed + in 2016. +Values: 0: Kernel handles events diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-firmware-efi-vars b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-firmware-efi-vars index 1e5ba77e18..8d97368b14 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-firmware-efi-vars +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/removed/sysfs-firmware-efi-vars @@ -1,12 +1,12 @@ -What: /sys/firmware/efi/vars -Date: April 2004, removed March 2023 -Description: - This directory exposed interfaces for interacting with - EFI variables. For more information on EFI variables, - see 'Variable Services' in the UEFI specification - (section 7.2 in specification version 2.3 Errata D). - - The 'efivars' sysfs interface was removed in March of 2023, - after being considered deprecated no later than September - of 2020. Its functionality has been replaced by the - 'efivarfs' filesystem. +What: /sys/firmware/efi/vars +Date: April 2004, removed March 2023 +Description: + This directory exposed interfaces for interacting with + EFI variables. For more information on EFI variables, + see 'Variable Services' in the UEFI specification + (section 7.2 in specification version 2.3 Errata D). + + The 'efivars' sysfs interface was removed in March of 2023, + after being considered deprecated no later than September + of 2020. Its functionality has been replaced by the + 'efivarfs' filesystem. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/o2cb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/o2cb index d2787b381d..3a83b5c54e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/o2cb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/o2cb @@ -1,10 +1,10 @@ -What: /sys/fs/o2cb/ -Date: Dec 2005 -KernelVersion: 2.6.16 -Contact: ocfs2-devel@lists.linux.dev -Description: Ocfs2-tools looks at 'interface-revision' for versioning - information. Each logmask/ file controls a set of debug prints - and can be written into with the strings "allow", "deny", or - "off". Reading the file returns the current state. -Users: ocfs2-tools. It's sufficient to mail proposed changes to - ocfs2-devel@lists.linux.dev. +What: /sys/fs/o2cb/ +Date: Dec 2005 +KernelVersion: 2.6.16 +Contact: ocfs2-devel@lists.linux.dev +Description: Ocfs2-tools looks at 'interface-revision' for versioning + information. Each logmask/ file controls a set of debug prints + and can be written into with the strings "allow", "deny", or + "off". Reading the file returns the current state. +Users: ocfs2-tools. It's sufficient to mail proposed changes to + ocfs2-devel@lists.linux.dev. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/syscalls b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/syscalls index c853df1268..c3ae3e7d6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/syscalls +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/syscalls @@ -1,10 +1,10 @@ -What: The kernel syscall interface -Description: - This interface matches much of the POSIX interface and is based - on it and other Unix based interfaces. It will only be added to - over time, and not have things removed from it. - - Note that this interface is different for every architecture - that Linux supports. Please see the architecture-specific - documentation for details on the syscall numbers that are to be - mapped to each syscall. +What: The kernel syscall interface +Description: + This interface matches much of the POSIX interface and is based + on it and other Unix based interfaces. It will only be added to + over time, and not have things removed from it. + + Note that this interface is different for every architecture + that Linux supports. Please see the architecture-specific + documentation for details on the syscall numbers that are to be + mapped to each syscall. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-w1 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-w1 index e58bd2e1ad..5cd5e872bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-w1 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-bus-w1 @@ -1,12 +1,12 @@ -What: /sys/bus/w1/devices/.../w1_master_timeout_us -Date: April 2015 -Contact: Dmitry Khromov -Description: Bus scanning interval, microseconds component. - Some of 1-Wire devices commonly associated with physical access - control systems are attached/generate presence for as short as - 100 ms - hence the tens-to-hundreds milliseconds scan intervals - are required. - - see Documentation/w1/w1-generic.rst for detailed information. -Users: any user space application which wants to know bus scanning - interval +What: /sys/bus/w1/devices/.../w1_master_timeout_us +Date: April 2015 +Contact: Dmitry Khromov +Description: Bus scanning interval, microseconds component. + Some of 1-Wire devices commonly associated with physical access + control systems are attached/generate presence for as short as + 100 ms - hence the tens-to-hundreds milliseconds scan intervals + are required. + + see Documentation/w1/w1-generic.rst for detailed information. +Users: any user space application which wants to know bus scanning + interval diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-qla2xxx b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-qla2xxx index b9567d09a7..9a59d84497 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-qla2xxx +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-qla2xxx @@ -1,8 +1,8 @@ -What: /sys/bus/pci/drivers/qla2xxx/.../devices/* -Date: September 2009 -Contact: QLogic Linux Driver -Description: qla2xxx-udev.sh currently looks for uevent CHANGE events to - signal a firmware-dump has been generated by the driver and is - ready for retrieval. -Users: qla2xxx-udev.sh. Proposed changes should be mailed to - linux-driver@qlogic.com +What: /sys/bus/pci/drivers/qla2xxx/.../devices/* +Date: September 2009 +Contact: QLogic Linux Driver +Description: qla2xxx-udev.sh currently looks for uevent CHANGE events to + signal a firmware-dump has been generated by the driver and is + ready for retrieval. +Users: qla2xxx-udev.sh. Proposed changes should be mailed to + linux-driver@qlogic.com diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds2438 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds2438 index 863bb0bb45..d2e7681cc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds2438 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/stable/sysfs-driver-w1_ds2438 @@ -1,13 +1,13 @@ -What: /sys/bus/w1/devices/.../page1 -Date: April 2021 -Contact: Luiz Sampaio -Description: read the contents of the page1 of the DS2438 - see Documentation/w1/slaves/w1_ds2438.rst for detailed information -Users: any user space application which wants to communicate with DS2438 - -What: /sys/bus/w1/devices/.../offset -Date: April 2021 -Contact: Luiz Sampaio -Description: write the contents to the offset register of the DS2438 - see Documentation/w1/slaves/w1_ds2438.rst for detailed information -Users: any user space application which wants to communicate with DS2438 +What: /sys/bus/w1/devices/.../page1 +Date: April 2021 +Contact: Luiz Sampaio +Description: read the contents of the page1 of the DS2438 + see Documentation/w1/slaves/w1_ds2438.rst for detailed information +Users: any user space application which wants to communicate with DS2438 + +What: /sys/bus/w1/devices/.../offset +Date: April 2021 +Contact: Luiz Sampaio +Description: write the contents to the offset register of the DS2438 + see Documentation/w1/slaves/w1_ds2438.rst for detailed information +Users: any user space application which wants to communicate with DS2438 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-acm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-acm index 93c6284176..25e68be9eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-acm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-acm @@ -1,15 +1,15 @@ -What: /config/usb-gadget/gadget/functions/acm.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - - This item contains just one readonly attribute: port_num. - It contains the port number of the /dev/ttyGS device - associated with acm function's instance "name". - -What: /config/usb-gadget/gadget/functions/acm.name/protocol -Date: Aug 2024 -KernelVersion: 6.13 -Description: - Reported bInterfaceProtocol for the ACM device. For legacy - reasons, this defaults to 1 (USB_CDC_ACM_PROTO_AT_V25TER). +What: /config/usb-gadget/gadget/functions/acm.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + + This item contains just one readonly attribute: port_num. + It contains the port number of the /dev/ttyGS device + associated with acm function's instance "name". + +What: /config/usb-gadget/gadget/functions/acm.name/protocol +Date: Aug 2024 +KernelVersion: 6.13 +Description: + Reported bInterfaceProtocol for the ACM device. For legacy + reasons, this defaults to 1 (USB_CDC_ACM_PROTO_AT_V25TER). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ecm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ecm index 450cefbfe0..732101ca9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ecm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ecm @@ -1,20 +1,20 @@ -What: /config/usb-gadget/gadget/functions/ecm.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - The attributes: - - ifname - - network device interface name associated with - this function instance - qmult - - queue length multiplier for high and - super speed - host_addr - - MAC address of host's end of this - Ethernet over USB link - dev_addr - - MAC address of device's end of this - Ethernet over USB link - - +What: /config/usb-gadget/gadget/functions/ecm.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + The attributes: + + ifname + - network device interface name associated with + this function instance + qmult + - queue length multiplier for high and + super speed + host_addr + - MAC address of host's end of this + Ethernet over USB link + dev_addr + - MAC address of device's end of this + Ethernet over USB link + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-eem b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-eem index 47c14a51b6..178c3d5fb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-eem +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-eem @@ -1,16 +1,16 @@ -What: /config/usb-gadget/gadget/functions/eem.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - The attributes: - - ========== ============================================= - ifname network device interface name associated with - this function instance - qmult queue length multiplier for high and - super speed - host_addr MAC address of host's end of this - Ethernet over USB link - dev_addr MAC address of device's end of this - Ethernet over USB link - ========== ============================================= +What: /config/usb-gadget/gadget/functions/eem.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + The attributes: + + ========== ============================================= + ifname network device interface name associated with + this function instance + qmult queue length multiplier for high and + super speed + host_addr MAC address of host's end of this + Ethernet over USB link + dev_addr MAC address of device's end of this + Ethernet over USB link + ========== ============================================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ffs b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ffs index 41cc6e83cc..bf8936ff6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ffs +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ffs @@ -1,17 +1,17 @@ -What: /config/usb-gadget/gadget/functions/ffs.name -Date: Nov 2013 -KernelVersion: 3.13 -Description: The purpose of this directory is to create and remove it. - - A corresponding USB function instance is created/removed. - - All attributes are read only: - - ============= ============================================ - ready 1 if the function is ready to be used, E.G. - if userspace has written descriptors and - strings to ep0, so the gadget can be - enabled - 0 otherwise. - ============= ============================================ - - All other parameters are set through FunctionFS. +What: /config/usb-gadget/gadget/functions/ffs.name +Date: Nov 2013 +KernelVersion: 3.13 +Description: The purpose of this directory is to create and remove it. + + A corresponding USB function instance is created/removed. + + All attributes are read only: + + ============= ============================================ + ready 1 if the function is ready to be used, E.G. + if userspace has written descriptors and + strings to ep0, so the gadget can be + enabled - 0 otherwise. + ============= ============================================ + + All other parameters are set through FunctionFS. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-hid b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-hid index 0ea35a4618..748705c4cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-hid +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-hid @@ -1,13 +1,13 @@ -What: /config/usb-gadget/gadget/functions/hid.name -Date: Nov 2014 -KernelVersion: 3.19 -Description: - The attributes: - - ============= ============================================ - protocol HID protocol to use - report_desc blob corresponding to HID report descriptors - except the data passed through /dev/hidg - report_length HID report length - subclass HID device subclass to use - ============= ============================================ +What: /config/usb-gadget/gadget/functions/hid.name +Date: Nov 2014 +KernelVersion: 3.19 +Description: + The attributes: + + ============= ============================================ + protocol HID protocol to use + report_desc blob corresponding to HID report descriptors + except the data passed through /dev/hidg + report_length HID report length + subclass HID device subclass to use + ============= ============================================ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-midi b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-midi index 2f46575f86..07389cddd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-midi +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-midi @@ -1,14 +1,14 @@ -What: /config/usb-gadget/gadget/functions/midi.name -Date: Nov 2014 -KernelVersion: 3.19 -Description: - The attributes: - - ========== ==================================== - index index value for the USB MIDI adapter - id ID string for the USB MIDI adapter - buflen MIDI buffer length - qlen USB read request queue length - in_ports number of MIDI input ports - out_ports number of MIDI output ports - ========== ==================================== +What: /config/usb-gadget/gadget/functions/midi.name +Date: Nov 2014 +KernelVersion: 3.19 +Description: + The attributes: + + ========== ==================================== + index index value for the USB MIDI adapter + id ID string for the USB MIDI adapter + buflen MIDI buffer length + qlen USB read request queue length + in_ports number of MIDI input ports + out_ports number of MIDI output ports + ========== ==================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ncm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ncm index 74e43132d9..6fe723effc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ncm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-ncm @@ -1,15 +1,15 @@ -What: /config/usb-gadget/gadget/functions/ncm.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - The attributes: - - ifname - network device interface name associated with - this function instance - qmult - queue length multiplier for high and - super speed - host_addr - MAC address of host's end of this - Ethernet over USB link - dev_addr - MAC address of device's end of this - Ethernet over USB link - +What: /config/usb-gadget/gadget/functions/ncm.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + The attributes: + + ifname - network device interface name associated with + this function instance + qmult - queue length multiplier for high and + super speed + host_addr - MAC address of host's end of this + Ethernet over USB link + dev_addr - MAC address of device's end of this + Ethernet over USB link + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-sourcesink b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-sourcesink index 0776555412..1f3d31b607 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-sourcesink +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-sourcesink @@ -1,16 +1,16 @@ -What: /config/usb-gadget/gadget/functions/SourceSink.name -Date: Nov 2013 -KernelVersion: 3.13 -Description: - The attributes: - - ============== ================================== - pattern 0 (all zeros), 1 (mod63), 2 (none) - isoc_interval 1..16 - isoc_maxpacket 0 - 1023 (fs), 0 - 1024 (hs/ss) - isoc_mult 0..2 (hs/ss only) - isoc_maxburst 0..15 (ss only) - buflen buffer length - bulk_qlen depth of queue for bulk - iso_qlen depth of queue for iso - ============== ================================== +What: /config/usb-gadget/gadget/functions/SourceSink.name +Date: Nov 2013 +KernelVersion: 3.13 +Description: + The attributes: + + ============== ================================== + pattern 0 (all zeros), 1 (mod63), 2 (none) + isoc_interval 1..16 + isoc_maxpacket 0 - 1023 (fs), 0 - 1024 (hs/ss) + isoc_mult 0..2 (hs/ss only) + isoc_maxburst 0..15 (ss only) + buflen buffer length + bulk_qlen depth of queue for bulk + iso_qlen depth of queue for iso + ============== ================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-subset b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-subset index b01f77f9af..0061b86435 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-subset +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-subset @@ -1,16 +1,16 @@ -What: /config/usb-gadget/gadget/functions/geth.name -Date: Jun 2013 -KernelVersion: 3.11 -Description: - The attributes: - - ========== ============================================= - ifname network device interface name associated with - this function instance - qmult queue length multiplier for high and - super speed - host_addr MAC address of host's end of this - Ethernet over USB link - dev_addr MAC address of device's end of this - Ethernet over USB link - ========== ============================================= +What: /config/usb-gadget/gadget/functions/geth.name +Date: Jun 2013 +KernelVersion: 3.11 +Description: + The attributes: + + ========== ============================================= + ifname network device interface name associated with + this function instance + qmult queue length multiplier for high and + super speed + host_addr MAC address of host's end of this + Ethernet over USB link + dev_addr MAC address of device's end of this + Ethernet over USB link + ========== ============================================= diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy index f9799d769c..b2eaefd9bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/configfs-usb-gadget-uac1_legacy @@ -1,12 +1,12 @@ -What: /config/usb-gadget/gadget/functions/uac1_legacy.name -Date: Sep 2014 -KernelVersion: 3.18 -Description: - The attributes: - - audio_buf_size - audio buffer size - fn_cap - capture pcm device file name - fn_cntl - control device file name - fn_play - playback pcm device file name - req_buf_size - ISO OUT endpoint request buffer size - req_count - ISO OUT endpoint request count +What: /config/usb-gadget/gadget/functions/uac1_legacy.name +Date: Sep 2014 +KernelVersion: 3.18 +Description: + The attributes: + + audio_buf_size - audio buffer size + fn_cap - capture pcm device file name + fn_cntl - control device file name + fn_play - playback pcm device file name + req_buf_size - ISO OUT endpoint request buffer size + req_count - ISO OUT endpoint request count diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ideapad b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ideapad index b6ad2f409e..7079c0b210 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ideapad +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-ideapad @@ -1,19 +1,19 @@ -What: /sys/kernel/debug/ideapad/cfg -Date: Sep 2011 -KernelVersion: 3.2 -Contact: Ike Panhc -Description: - -cfg shows the return value of _CFG method in VPC2004 device. It tells machine -capability and what graphic component within the machine. - - -What: /sys/kernel/debug/ideapad/status -Date: Sep 2011 -KernelVersion: 3.2 -Contact: Ike Panhc -Description: - -status shows infos we can read and tells its meaning and value. - - +What: /sys/kernel/debug/ideapad/cfg +Date: Sep 2011 +KernelVersion: 3.2 +Contact: Ike Panhc +Description: + +cfg shows the return value of _CFG method in VPC2004 device. It tells machine +capability and what graphic component within the machine. + + +What: /sys/kernel/debug/ideapad/status +Date: Sep 2011 +KernelVersion: 3.2 +Contact: Ike Panhc +Description: + +status shows infos we can read and tells its meaning and value. + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-iio-backend b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-iio-backend index 04dbff873e..01ab944694 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-iio-backend +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-iio-backend @@ -1,20 +1,20 @@ -What: /sys/kernel/debug/iio/iio:deviceX/backendY/name -KernelVersion: 6.11 -Contact: linux-iio@vger.kernel.org -Description: - Name of Backend Y connected to device X. - -What: /sys/kernel/debug/iio/iio:deviceX/backendY/direct_reg_access -KernelVersion: 6.11 -Contact: linux-iio@vger.kernel.org -Description: - Directly access the registers of backend Y. Typical usage is: - - Reading address 0x50 - echo 0x50 > direct_reg_access - cat direct_reg_access - - Writing address 0x50 - echo 0x50 0x3 > direct_reg_access - //readback address 0x50 - cat direct_reg_access +What: /sys/kernel/debug/iio/iio:deviceX/backendY/name +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + Name of Backend Y connected to device X. + +What: /sys/kernel/debug/iio/iio:deviceX/backendY/direct_reg_access +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + Directly access the registers of backend Y. Typical usage is: + + Reading address 0x50 + echo 0x50 > direct_reg_access + cat direct_reg_access + + Writing address 0x50 + echo 0x50 0x3 > direct_reg_access + //readback address 0x50 + cat direct_reg_access diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-msi-wmi-platform b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-msi-wmi-platform index 6abaa4faa4..71f9992168 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-msi-wmi-platform +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-msi-wmi-platform @@ -1,14 +1,14 @@ -What: /sys/kernel/debug/msi-wmi-platform-/* -Date: April 2024 -KernelVersion: 6.10 -Contact: Armin Wolf -Description: - This file allows to execute the associated WMI method with the same name. - - To start the execution, write a buffer containing the method arguments - at file offset 0. Partial writes or writes at a different offset are not - supported. - - The buffer returned by the WMI method can then be read from the file. - - See Documentation/wmi/devices/msi-wmi-platform.rst for details. +What: /sys/kernel/debug/msi-wmi-platform-/* +Date: April 2024 +KernelVersion: 6.10 +Contact: Armin Wolf +Description: + This file allows to execute the associated WMI method with the same name. + + To start the execution, write a buffer containing the method arguments + at file offset 0. Partial writes or writes at a different offset are not + supported. + + The buffer returned by the WMI method can then be read from the file. + + See Documentation/wmi/devices/msi-wmi-platform.rst for details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-olpc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-olpc index 85cd8bf800..bd76cc6d55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-olpc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-olpc @@ -1,16 +1,16 @@ -What: /sys/kernel/debug/olpc-ec/cmd -Date: Dec 2011 -KernelVersion: 3.4 -Contact: devel@lists.laptop.org -Description: - -A generic interface for executing OLPC Embedded Controller commands and -reading their responses. - -To execute a command, write data with the format: CC:N A A A A -CC is the (hex) command, N is the count of expected reply bytes, and A A A A -are optional (hex) arguments. - -To read the response (if any), read from the generic node after executing -a command. Hex reply bytes will be returned, *whether or not* they came from -the immediately previous command. +What: /sys/kernel/debug/olpc-ec/cmd +Date: Dec 2011 +KernelVersion: 3.4 +Contact: devel@lists.laptop.org +Description: + +A generic interface for executing OLPC Embedded Controller commands and +reading their responses. + +To execute a command, write data with the format: CC:N A A A A +CC is the (hex) command, N is the count of expected reply bytes, and A A A A +are optional (hex) arguments. + +To read the response (if any), read from the generic node after executing +a command. Hex reply bytes will be returned, *whether or not* they came from +the immediately previous command. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-pktcdvd b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-pktcdvd index 1585470c6d..f6f65a4fae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-pktcdvd +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-pktcdvd @@ -1,18 +1,18 @@ -What: /sys/kernel/debug/pktcdvd/pktcdvd[0-7] -Date: Oct. 2006 -KernelVersion: 2.6.20 -Contact: Thomas Maier -Description: - -The pktcdvd module (packet writing driver) creates -these files in debugfs: - -/sys/kernel/debug/pktcdvd/pktcdvd[0-7]/ - - ==== ====== ==================================== - info 0444 Lots of driver statistics and infos. - ==== ====== ==================================== - -Example:: - - cat /sys/kernel/debug/pktcdvd/pktcdvd0/info +What: /sys/kernel/debug/pktcdvd/pktcdvd[0-7] +Date: Oct. 2006 +KernelVersion: 2.6.20 +Contact: Thomas Maier +Description: + +The pktcdvd module (packet writing driver) creates +these files in debugfs: + +/sys/kernel/debug/pktcdvd/pktcdvd[0-7]/ + + ==== ====== ==================================== + info 0444 Lots of driver statistics and infos. + ==== ====== ==================================== + +Example:: + + cat /sys/kernel/debug/pktcdvd/pktcdvd0/info diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-turris-mox-rwtm b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-turris-mox-rwtm index 6ab68eab7d..813987d5de 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-turris-mox-rwtm +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/debugfs-turris-mox-rwtm @@ -1,14 +1,14 @@ -What: /sys/kernel/debug/turris-mox-rwtm/do_sign -Date: Jun 2020 -KernelVersion: 5.8 -Contact: Marek Behún -Description: - - ======= =========================================================== - (Write) Message to sign with the ECDSA private key stored in - device's OTP. The message must be exactly 64 bytes - (since this is intended for SHA-512 hashes). - (Read) The resulting signature, 136 bytes. This contains the - R and S values of the ECDSA signature, both in - big-endian format. - ======= =========================================================== +What: /sys/kernel/debug/turris-mox-rwtm/do_sign +Date: Jun 2020 +KernelVersion: 5.8 +Contact: Marek Behún +Description: + + ======= =========================================================== + (Write) Message to sign with the ECDSA private key stored in + device's OTP. The message must be exactly 64 bytes + (since this is intended for SHA-512 hashes). + (Read) The resulting signature, 136 bytes. This contains the + R and S values of the ECDSA signature, both in + big-endian format. + ======= =========================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmc index ccd2b2ff9b..c421b72844 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmc @@ -1,13 +1,13 @@ -What: /sys/bus/platform/drivers/amd_pmc/*/smu_fw_version -Date: October 2022 -Contact: Mario Limonciello -Description: Reading this file reports the version of the firmware loaded to - System Management Unit (SMU) contained in AMD CPUs and - APUs. - -What: /sys/bus/platform/drivers/amd_pmc/*/smu_program -Date: October 2022 -Contact: Mario Limonciello -Description: Reading this file reports the program corresponding to the SMU - firmware version. The program field is used to disambiguate two - APU/CPU models that can share the same firmware binary. +What: /sys/bus/platform/drivers/amd_pmc/*/smu_fw_version +Date: October 2022 +Contact: Mario Limonciello +Description: Reading this file reports the version of the firmware loaded to + System Management Unit (SMU) contained in AMD CPUs and + APUs. + +What: /sys/bus/platform/drivers/amd_pmc/*/smu_program +Date: October 2022 +Contact: Mario Limonciello +Description: Reading this file reports the program corresponding to the SMU + firmware version. The program field is used to disambiguate two + APU/CPU models that can share the same firmware binary. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmf b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmf index fd486b7e9d..7fc0e1c2b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmf +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-amd-pmf @@ -1,13 +1,13 @@ -What: /sys/devices/platform/*/cnqf_enable -Date: September 2022 -Contact: Shyam Sundar S K -Description: Reading this file tells if the AMD Platform Management(PMF) - Cool n Quiet Framework(CnQF) feature is enabled or not. - - This feature is not enabled by default and gets only turned on - if OEM BIOS passes a "flag" to PMF ACPI function (index 11 or 12) - or in case the user writes "on". - - To turn off CnQF user can write "off" to the sysfs node. - Note: Systems that support auto mode will not have this sysfs file - available. +What: /sys/devices/platform/*/cnqf_enable +Date: September 2022 +Contact: Shyam Sundar S K +Description: Reading this file tells if the AMD Platform Management(PMF) + Cool n Quiet Framework(CnQF) feature is enabled or not. + + This feature is not enabled by default and gets only turned on + if OEM BIOS passes a "flag" to PMF ACPI function (index 11 or 12) + or in case the user writes "on". + + To turn off CnQF user can write "off" to the sysfs node. + Note: Systems that support auto mode will not have this sysfs file + available. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-auxiliary b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-auxiliary index 268e9d4587..cc85607969 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-auxiliary +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-auxiliary @@ -1,9 +1,9 @@ -What: /sys/bus/auxiliary/devices/.../irqs/ -Date: April, 2024 -Contact: Shay Drory -Description: - The /sys/devices/.../irqs directory contains a variable set of - files, with each file is named as irq number similar to PCI PF - or VF's irq number located in msi_irqs directory. - These irq files are added and removed dynamically when an IRQ - is requested and freed respectively for the PCI SF. +What: /sys/bus/auxiliary/devices/.../irqs/ +Date: April, 2024 +Contact: Shay Drory +Description: + The /sys/devices/.../irqs directory contains a variable set of + files, with each file is named as irq number similar to PCI PF + or VF's irq number located in msi_irqs directory. + These irq files are added and removed dynamically when an IRQ + is requested and freed respectively for the PCI SF. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-funnel b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-funnel index 1deb3847ac..d75acda5e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-funnel +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-funnel @@ -1,12 +1,12 @@ -What: /sys/bus/coresight/devices/.funnel/funnel_ctrl -Date: November 2014 -KernelVersion: 3.19 -Contact: Mathieu Poirier -Description: (RW) Enables the slave ports and defines the hold time of the - slave ports. - -What: /sys/bus/coresight/devices/.funnel/priority -Date: November 2014 -KernelVersion: 3.19 -Contact: Mathieu Poirier -Description: (RW) Defines input port priority order. +What: /sys/bus/coresight/devices/.funnel/funnel_ctrl +Date: November 2014 +KernelVersion: 3.19 +Contact: Mathieu Poirier +Description: (RW) Enables the slave ports and defines the hold time of the + slave ports. + +What: /sys/bus/coresight/devices/.funnel/priority +Date: November 2014 +KernelVersion: 3.19 +Contact: Mathieu Poirier +Description: (RW) Defines input port priority order. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-trbe b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-trbe index 21597dd09e..ad3bbc6fa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-trbe +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-coresight-devices-trbe @@ -1,14 +1,14 @@ -What: /sys/bus/coresight/devices/trbe/align -Date: March 2021 -KernelVersion: 5.13 -Contact: Anshuman Khandual -Description: (Read) Shows the TRBE write pointer alignment. This value - is fetched from the TRBIDR register. - -What: /sys/bus/coresight/devices/trbe/flag -Date: March 2021 -KernelVersion: 5.13 -Contact: Anshuman Khandual -Description: (Read) Shows if TRBE updates in the memory are with access - and dirty flag updates as well. This value is fetched from - the TRBIDR register. +What: /sys/bus/coresight/devices/trbe/align +Date: March 2021 +KernelVersion: 5.13 +Contact: Anshuman Khandual +Description: (Read) Shows the TRBE write pointer alignment. This value + is fetched from the TRBIDR register. + +What: /sys/bus/coresight/devices/trbe/flag +Date: March 2021 +KernelVersion: 5.13 +Contact: Anshuman Khandual +Description: (Read) Shows if TRBE updates in the memory are with access + and dirty flag updates as well. This value is fetched from + the TRBIDR register. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl index 6cb36cdfd8..b0265ab172 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-dfl @@ -1,17 +1,17 @@ -What: /sys/bus/dfl/devices/dfl_dev.X/type -Date: Aug 2020 -KernelVersion: 5.10 -Contact: Xu Yilun -Description: Read-only. It returns type of DFL FIU of the device. Now DFL - supports 2 FIU types, 0 for FME, 1 for PORT. - - Format: 0x%x - -What: /sys/bus/dfl/devices/dfl_dev.X/feature_id -Date: Aug 2020 -KernelVersion: 5.10 -Contact: Xu Yilun -Description: Read-only. It returns feature identifier local to its DFL FIU - type. - - Format: 0x%x +What: /sys/bus/dfl/devices/dfl_dev.X/type +Date: Aug 2020 +KernelVersion: 5.10 +Contact: Xu Yilun +Description: Read-only. It returns type of DFL FIU of the device. Now DFL + supports 2 FIU types, 0 for FME, 1 for PORT. + + Format: 0x%x + +What: /sys/bus/dfl/devices/dfl_dev.X/feature_id +Date: Aug 2020 +KernelVersion: 5.10 +Contact: Xu Yilun +Description: Read-only. It returns feature identifier local to its DFL FIU + type. + + Format: 0x%x diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-uncore b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-uncore index 05a4f8926d..b56e8f019f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-uncore +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-event_source-devices-uncore @@ -1,13 +1,13 @@ -What: /sys/bus/event_source/devices/uncore_*/alias -Date: June 2021 -KernelVersion: 5.15 -Contact: Linux kernel mailing list -Description: Read-only. An attribute to describe the alias name of - the uncore PMU if an alias exists on some platforms. - The 'perf(1)' tool should treat both names the same. - They both can be used to access the uncore PMU. - - Example: - - $ cat /sys/devices/uncore_cha_2/alias - uncore_type_0_2 +What: /sys/bus/event_source/devices/uncore_*/alias +Date: June 2021 +KernelVersion: 5.15 +Contact: Linux kernel mailing list +Description: Read-only. An attribute to describe the alias name of + the uncore PMU if an alias exists on some platforms. + The 'perf(1)' tool should treat both names the same. + They both can be used to access the uncore PMU. + + Example: + + $ cat /sys/devices/uncore_cha_2/alias + uncore_type_0_2 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi-devices-sbefifo b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi-devices-sbefifo index ea1abb4a00..c7393b4dd2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi-devices-sbefifo +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-fsi-devices-sbefifo @@ -1,10 +1,10 @@ -What: /sys/bus/fsi/devices/XX.XX.00:06/sbefifoX/timeout -KernelVersion: 5.15 -Contact: eajames@linux.ibm.com -Description: - Indicates whether or not this SBE device has experienced a - timeout; i.e. the SBE did not respond within the time allotted - by the driver. A value of 1 indicates that a timeout has - occurred and no transfers have completed since the timeout. A - value of 0 indicates that no timeout has occurred, or if one - has, more recent transfers have completed successfully. +What: /sys/bus/fsi/devices/XX.XX.00:06/sbefifoX/timeout +KernelVersion: 5.15 +Contact: eajames@linux.ibm.com +Description: + Indicates whether or not this SBE device has experienced a + timeout; i.e. the SBE did not respond within the time allotted + by the driver. A value of 1 indicates that a timeout has + occurred and no transfers have completed since the timeout. A + value of 0 indicates that no timeout has occurred, or if one + has, more recent transfers have completed successfully. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-lm3533 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-lm3533 index e30fc28c77..1b62230b33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-lm3533 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-i2c-devices-lm3533 @@ -1,15 +1,15 @@ -What: /sys/bus/i2c/devices/.../output_hvled[n] -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the controlling backlight device for high-voltage current - sink HVLED[n] (n = 1, 2) (0, 1). - -What: /sys/bus/i2c/devices/.../output_lvled[n] -Date: April 2012 -KernelVersion: 3.5 -Contact: Johan Hovold -Description: - Set the controlling led device for low-voltage current sink - LVLED[n] (n = 1..5) (0..3). +What: /sys/bus/i2c/devices/.../output_hvled[n] +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the controlling backlight device for high-voltage current + sink HVLED[n] (n = 1, 2) (0, 1). + +What: /sys/bus/i2c/devices/.../output_lvled[n] +Date: April 2012 +KernelVersion: 3.5 +Contact: Johan Hovold +Description: + Set the controlling led device for low-voltage current sink + LVLED[n] (n = 1..5) (0..3). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7280a b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7280a index b7f367fac8..83b7efe6aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7280a +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-ad7280a @@ -1,13 +1,13 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_balance_switch_en -KernelVersion: 5.14 -Contact: linux-iio@vger.kernel.org -Description: - Used to enable an output for balancing cells for time - controlled via in_voltage_Y-voltageZ_balance_switch_timer. - -What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_balance_switch_timer -KernelVersion: 5.14 -Contact: linux-iio@vger.kernel.org -Description: - Time in seconds for which balance switch will be turned on. - Multiple of 71.5 seconds. +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_balance_switch_en +KernelVersion: 5.14 +Contact: linux-iio@vger.kernel.org +Description: + Used to enable an output for balancing cells for time + controlled via in_voltage_Y-voltageZ_balance_switch_timer. + +What: /sys/bus/iio/devices/iio:deviceX/in_voltageY-voltageZ_balance_switch_timer +KernelVersion: 5.14 +Contact: linux-iio@vger.kernel.org +Description: + Time in seconds for which balance switch will be turned on. + Multiple of 71.5 seconds. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-max11410 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-max11410 index 459841136c..2a53c6b373 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-max11410 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-max11410 @@ -1,13 +1,13 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_voltage_filterY_notch_en -Date: September 2022 -KernelVersion: 6.0 -Contact: linux-iio@vger.kernel.org -Description: - Enable or disable a notch filter. - -What: /sys/bus/iio/devices/iio:deviceX/in_voltage_filterY_notch_center -Date: September 2022 -KernelVersion: 6.0 -Contact: linux-iio@vger.kernel.org -Description: - Center frequency of the notch filter in Hz. +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_filterY_notch_en +Date: September 2022 +KernelVersion: 6.0 +Contact: linux-iio@vger.kernel.org +Description: + Enable or disable a notch filter. + +What: /sys/bus/iio/devices/iio:deviceX/in_voltage_filterY_notch_center +Date: September 2022 +KernelVersion: 6.0 +Contact: linux-iio@vger.kernel.org +Description: + Center frequency of the notch filter in Hz. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934 index 39750ba3a3..625b7f8678 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-adc-pac1934 @@ -1,9 +1,9 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY -KernelVersion: 6.7 -Contact: linux-iio@vger.kernel.org -Description: - The value of the shunt resistor may be known only at runtime - and set by a client application. This attribute allows to - set its value in micro-ohms. X is the IIO index of the device. - Y is the channel number. The value is used to calculate - current, power and accumulated energy. +What: /sys/bus/iio/devices/iio:deviceX/in_shunt_resistorY +KernelVersion: 6.7 +Contact: linux-iio@vger.kernel.org +Description: + The value of the shunt resistor may be known only at runtime + and set by a client application. This attribute allows to + set its value in micro-ohms. X is the IIO index of the device. + Y is the channel number. The value is used to calculate + current, power and accumulated energy. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 index 8d042bdbcd..02ca8941dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-cdc-ad7746 @@ -1,11 +1,11 @@ -What: /sys/.../iio:deviceX/in_capacitableY_calibbias_calibration -What: /sys/.../iio:deviceX/in_capacitableY_calibscale_calibration -KernelVersion: 6.1 -Contact: linux-iio@vger.kernel.org -Description: - Write 1 to trigger a calibration of the calibbias or - calibscale. For calibscale, a full scale capacitance should - be connected to the capacitance input and a - calibscale_calibration then started. For calibbias see - the device datasheet section on "capacitive system offset - calibration". +What: /sys/.../iio:deviceX/in_capacitableY_calibbias_calibration +What: /sys/.../iio:deviceX/in_capacitableY_calibscale_calibration +KernelVersion: 6.1 +Contact: linux-iio@vger.kernel.org +Description: + Write 1 to trigger a calibration of the calibbias or + calibscale. For calibscale, a full scale capacitance should + be connected to the capacitance input and a + calibscale_calibration then started. For calibbias see + the device datasheet section on "capacitive system offset + calibration". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 index 0eea46f4c3..a95547e874 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-chemical-sgp40 @@ -1,17 +1,17 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_temp_raw -Date: August 2021 -KernelVersion: 5.15 -Contact: Andreas Klinger -Description: - Set the temperature. This value is sent to the sensor for - temperature compensation. - Default value: 25000 (25 °C) - -What: /sys/bus/iio/devices/iio:deviceX/out_humidityrelative_raw -Date: August 2021 -KernelVersion: 5.15 -Contact: Andreas Klinger -Description: - Set the relative humidity. This value is sent to the sensor for - humidity compensation. - Default value: 50000 (50 % relative humidity) +What: /sys/bus/iio/devices/iio:deviceX/out_temp_raw +Date: August 2021 +KernelVersion: 5.15 +Contact: Andreas Klinger +Description: + Set the temperature. This value is sent to the sensor for + temperature compensation. + Default value: 25000 (25 °C) + +What: /sys/bus/iio/devices/iio:deviceX/out_humidityrelative_raw +Date: August 2021 +KernelVersion: 5.15 +Contact: Andreas Klinger +Description: + Set the relative humidity. This value is sent to the sensor for + humidity compensation. + Default value: 50000 (50 % relative humidity) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 index 7a4e200521..9dae94aa88 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-distance-srf08 @@ -1,17 +1,17 @@ -What: /sys/bus/iio/devices/iio:deviceX/sensor_max_range -Date: January 2017 -KernelVersion: 4.11 -Contact: linux-iio@vger.kernel.org -Description: - Show or set the maximum range between the sensor and the - first object echoed in meters. Default value is 6.020. - This setting limits the time the driver is waiting for a - echo. - - Showing the range of available values is represented as the - minimum value, the step and the maximum value, all enclosed - in square brackets. - - Example:: - - [0.043 0.043 11.008] +What: /sys/bus/iio/devices/iio:deviceX/sensor_max_range +Date: January 2017 +KernelVersion: 4.11 +Contact: linux-iio@vger.kernel.org +Description: + Show or set the maximum range between the sensor and the + first object echoed in meters. Default value is 6.020. + This setting limits the time the driver is waiting for a + echo. + + Showing the range of available values is represented as the + minimum value, the step and the maximum value, all enclosed + in square brackets. + + Example:: + + [0.043 0.043 11.008] diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-humidity b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-humidity index 4c3ac59f6a..cb0d7e75d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-humidity +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-humidity @@ -1,10 +1,10 @@ -What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw -What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw_available -KernelVersion: 5.3.8 -Contact: linux-iio@vger.kernel.org -Description: - Controls the heater device within the humidity sensor to get - rid of excess condensation. - - In some devices, this is just a switch in which case 0 = OFF, - and 1 = ON. +What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw +What: /sys/bus/iio/devices/iio:deviceX/out_current_heater_raw_available +KernelVersion: 5.3.8 +Contact: linux-iio@vger.kernel.org +Description: + Controls the heater device within the humidity sensor to get + rid of excess condensation. + + In some devices, this is just a switch in which case 0 = OFF, + and 1 = ON. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2772 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2772 index 9866af7354..b2798b258b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2772 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-light-tsl2772 @@ -1,13 +1,13 @@ -What: /sys/bus/iio/devices/device[n]/in_illuminance0_calibrate -KernelVersion: 3.3-rc1 -Contact: linux-iio@vger.kernel.org -Description: - Causes an internal calibration of the als gain trim - value which is later used in calculating illuminance in lux. - -What: /sys/bus/iio/devices/device[n]/in_proximity0_calibrate -KernelVersion: 3.3-rc1 -Contact: linux-iio@vger.kernel.org -Description: - Causes a recalculation and adjustment to the - proximity_thresh_rising_value. +What: /sys/bus/iio/devices/device[n]/in_illuminance0_calibrate +KernelVersion: 3.3-rc1 +Contact: linux-iio@vger.kernel.org +Description: + Causes an internal calibration of the als gain trim + value which is later used in calculating illuminance in lux. + +What: /sys/bus/iio/devices/device[n]/in_proximity0_calibrate +KernelVersion: 3.3-rc1 +Contact: linux-iio@vger.kernel.org +Description: + Causes a recalculation and adjustment to the + proximity_thresh_rising_value. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 index 6832db8793..1e5c40775a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-proximity-as3935 @@ -1,15 +1,15 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_proximity_input -Date: March 2014 -KernelVersion: 3.15 -Contact: Matt Ranostay -Description: - Get the current distance in meters of storm (1km steps) - 1000-40000 = distance in meters - -What /sys/bus/iio/devices/iio:deviceX/noise_level_tripped -Date: May 2017 -KernelVersion: 4.13 -Contact: Matt Ranostay -Description: - When 1 the noise level is over the trip level and not reporting - valid data +What: /sys/bus/iio/devices/iio:deviceX/in_proximity_input +Date: March 2014 +KernelVersion: 3.15 +Contact: Matt Ranostay +Description: + Get the current distance in meters of storm (1km steps) + 1000-40000 = distance in meters + +What /sys/bus/iio/devices/iio:deviceX/noise_level_tripped +Date: May 2017 +KernelVersion: 4.13 +Contact: Matt Ranostay +Description: + When 1 the noise level is over the trip level and not reporting + valid data diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-sx9310 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-sx9310 index fc92ba36de..3ac7759013 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-sx9310 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-sx9310 @@ -1,10 +1,10 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_proximity3_comb_raw -Date: February 2019 -KernelVersion: 5.6 -Contact: Daniel Campello -Description: - Proximity measurement indicating that some object is - near the combined sensor. The combined sensor presents - proximity measurements constructed by hardware by - combining measurements taken from a given set of - physical sensors. +What: /sys/bus/iio/devices/iio:deviceX/in_proximity3_comb_raw +Date: February 2019 +KernelVersion: 5.6 +Contact: Daniel Campello +Description: + Proximity measurement indicating that some object is + near the combined sensor. The combined sensor presents + proximity measurements constructed by hardware by + combining measurements taken from a given set of + physical sensors. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-vf610 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-vf610 index 1ed403a573..491ead8044 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-vf610 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-iio-vf610 @@ -1,16 +1,16 @@ -What: /sys/bus/iio/devices/iio:deviceX/in_conversion_mode -KernelVersion: 4.2 -Contact: linux-iio@vger.kernel.org -Description: - Specifies the hardware conversion mode used. The three - available modes are "normal", "high-speed" and "low-power", - where the last is the default mode. - - -What: /sys/bus/iio/devices/iio:deviceX/out_conversion_mode -KernelVersion: 4.6 -Contact: linux-iio@vger.kernel.org -Description: - Specifies the hardware conversion mode used within DAC. - The two available modes are "high-power" and "low-power", - where "low-power" mode is the default mode. +What: /sys/bus/iio/devices/iio:deviceX/in_conversion_mode +KernelVersion: 4.2 +Contact: linux-iio@vger.kernel.org +Description: + Specifies the hardware conversion mode used. The three + available modes are "normal", "high-speed" and "low-power", + where the last is the default mode. + + +What: /sys/bus/iio/devices/iio:deviceX/out_conversion_mode +KernelVersion: 4.6 +Contact: linux-iio@vger.kernel.org +Description: + Specifies the hardware conversion mode used within DAC. + The two available modes are "high-power" and "low-power", + where "low-power" mode is the default mode. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-moxtet-devices b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-moxtet-devices index 30bbe9ee54..32dccc00d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-moxtet-devices +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-moxtet-devices @@ -1,17 +1,17 @@ -What: /sys/bus/moxtet/devices/moxtet-./module_description -Date: March 2019 -KernelVersion: 5.3 -Contact: Marek Behún -Description: (Read) Moxtet module description. Format: string - -What: /sys/bus/moxtet/devices/moxtet-./module_id -Date: March 2019 -KernelVersion: 5.3 -Contact: Marek Behún -Description: (Read) Moxtet module ID. Format: %x - -What: /sys/bus/moxtet/devices/moxtet-./module_name -Date: March 2019 -KernelVersion: 5.3 -Contact: Marek Behún -Description: (Read) Moxtet module name. Format: string +What: /sys/bus/moxtet/devices/moxtet-./module_description +Date: March 2019 +KernelVersion: 5.3 +Contact: Marek Behún +Description: (Read) Moxtet module description. Format: string + +What: /sys/bus/moxtet/devices/moxtet-./module_id +Date: March 2019 +KernelVersion: 5.3 +Contact: Marek Behún +Description: (Read) Moxtet module ID. Format: %x + +What: /sys/bus/moxtet/devices/moxtet-./module_name +Date: March 2019 +KernelVersion: 5.3 +Contact: Marek Behún +Description: (Read) Moxtet module name. Format: string diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-catpt b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-catpt index 86dc20a0c3..f85db86d63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-catpt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-pci-devices-catpt @@ -1,17 +1,17 @@ -What: /sys/devices/pci0000:00//fw_version -Date: September 2020 -Contact: Cezary Rojewski -Description: - Version of AudioDSP firmware ASoC catpt driver is - communicating with. - - Format: %d.%d.%d.%d, type:major:minor:build. - -What: /sys/devices/pci0000:00//fw_info -Date: September 2020 -Contact: Cezary Rojewski -Description: - Detailed AudioDSP firmware build information including - build hash and log-providers hash. This information is - obtained during initial handshake with firmware. - Format: %s. +What: /sys/devices/pci0000:00//fw_version +Date: September 2020 +Contact: Cezary Rojewski +Description: + Version of AudioDSP firmware ASoC catpt driver is + communicating with. + + Format: %d.%d.%d.%d, type:major:minor:build. + +What: /sys/devices/pci0000:00//fw_info +Date: September 2020 +Contact: Cezary Rojewski +Description: + Detailed AudioDSP firmware build information including + build hash and log-providers hash. This information is + obtained during initial handshake with firmware. + Format: %s. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-peci b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-peci index 84cb55f73a..87454ec5d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-peci +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-bus-peci @@ -1,16 +1,16 @@ -What: /sys/bus/peci/rescan -Date: July 2021 -KernelVersion: 5.18 -Contact: Iwona Winiarska -Description: - Writing a non-zero value to this attribute will - initiate scan for PECI devices on all PECI controllers - in the system. - -What: /sys/bus/peci/devices/-/remove -Date: July 2021 -KernelVersion: 5.18 -Contact: Iwona Winiarska -Description: - Writing a non-zero value to this attribute will - remove the PECI device and any of its children. +What: /sys/bus/peci/rescan +Date: July 2021 +KernelVersion: 5.18 +Contact: Iwona Winiarska +Description: + Writing a non-zero value to this attribute will + initiate scan for PECI devices on all PECI controllers + in the system. + +What: /sys/bus/peci/devices/-/remove +Date: July 2021 +KernelVersion: 5.18 +Contact: Iwona Winiarska +Description: + Writing a non-zero value to this attribute will + remove the PECI device and any of its children. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-cfq-target-latency b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-cfq-target-latency index 10a4fb4106..df0f7828c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-cfq-target-latency +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-cfq-target-latency @@ -1,8 +1,8 @@ -What: /sys/block//iosched/target_latency -Date: March 2012 -contact: Tao Ma -Description: - The /sys/block//iosched/target_latency only exists - when the user sets cfq to /sys/block//scheduler. - It contains an estimated latency time for the cfq. cfq will - use it to calculate the time slice used for every task. +What: /sys/block//iosched/target_latency +Date: March 2012 +contact: Tao Ma +Description: + The /sys/block//iosched/target_latency only exists + when the user sets cfq to /sys/block//scheduler. + It contains an estimated latency time for the cfq. cfq will + use it to calculate the time slice used for every task. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class index 60ba6ce6c5..906735faa1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class @@ -1,16 +1,16 @@ -What: /sys/class/ -Date: February 2006 -Contact: Greg Kroah-Hartman -Description: - The /sys/class directory will consist of a group of - subdirectories describing individual classes of devices - in the kernel. The individual directories will consist - of either subdirectories, or symlinks to other - directories. - - All programs that use this directory tree must be able - to handle both subdirectories or symlinks in order to - work properly. - -Users: - udev +What: /sys/class/ +Date: February 2006 +Contact: Greg Kroah-Hartman +Description: + The /sys/class directory will consist of a group of + subdirectories describing individual classes of devices + in the kernel. The individual directories will consist + of either subdirectories, or symlinks to other + directories. + + All programs that use this directory tree must be able + to handle both subdirectories or symlinks in order to + work properly. + +Users: + udev diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-lm3639 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-lm3639 index da32ff6efa..f7e92a82ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-lm3639 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-backlight-lm3639 @@ -1,11 +1,11 @@ -sysfs interface for Texas Instruments lm3639 backlight + flash led driver chip ------------------------------------------------------------------------------- - -What: /sys/class/backlight//bled_mode -Date: Oct, 2012 -KernelVersion: v3.10 -Contact: dri-devel@lists.freedesktop.org -Description: - (WO) Write to the backlight mapping mode. The backlight current - can be mapped for either exponential (value "0") or linear - mapping modes (default). +sysfs interface for Texas Instruments lm3639 backlight + flash led driver chip +------------------------------------------------------------------------------ + +What: /sys/class/backlight//bled_mode +Date: Oct, 2012 +KernelVersion: v3.10 +Contact: dri-devel@lists.freedesktop.org +Description: + (WO) Write to the backlight mapping mode. The backlight current + can be mapped for either exponential (value "0") or linear + mapping modes (default). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-bridge b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-bridge index 77e900f66c..312ae2c579 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-bridge +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-bridge @@ -1,11 +1,11 @@ -What: /sys/class/fpga_bridge//name -Date: January 2016 -KernelVersion: 4.5 -Contact: Alan Tull -Description: Name of low level FPGA bridge driver. - -What: /sys/class/fpga_bridge//state -Date: January 2016 -KernelVersion: 4.5 -Contact: Alan Tull -Description: Show bridge state as "enabled" or "disabled" +What: /sys/class/fpga_bridge//name +Date: January 2016 +KernelVersion: 4.5 +Contact: Alan Tull +Description: Name of low level FPGA bridge driver. + +What: /sys/class/fpga_bridge//state +Date: January 2016 +KernelVersion: 4.5 +Contact: Alan Tull +Description: Show bridge state as "enabled" or "disabled" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-region b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-region index 03b7734848..bc7ec644ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-region +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-fpga-region @@ -1,9 +1,9 @@ -What: /sys/class/fpga_region//compat_id -Date: June 2018 -KernelVersion: 4.19 -Contact: Wu Hao -Description: FPGA region id for compatibility check, e.g. compatibility - of the FPGA reconfiguration hardware and image. This value - is defined or calculated by the layer that is creating the - FPGA region. This interface returns the compat_id value or - just error code -ENOENT in case compat_id is not used. +What: /sys/class/fpga_region//compat_id +Date: June 2018 +KernelVersion: 4.19 +Contact: Wu Hao +Description: FPGA region id for compatibility check, e.g. compatibility + of the FPGA reconfiguration hardware and image. This value + is defined or calculated by the layer that is creating the + FPGA region. This interface returns the compat_id value or + just error code -ENOENT in case compat_id is not used. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-gnss b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-gnss index e0bd33a9ec..9650f3a7fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-gnss +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-gnss @@ -1,17 +1,17 @@ -What: /sys/class/gnss/gnss/type -Date: May 2018 -KernelVersion: 4.18 -Contact: Johan Hovold -Description: - The GNSS receiver type. The currently identified types reflect - the protocol(s) supported by the receiver: - - ====== =========== - "NMEA" NMEA 0183 - "SiRF" SiRF Binary - "UBX" UBX - ====== =========== - - Note that also non-"NMEA" type receivers typically support a - subset of NMEA 0183 with vendor extensions (e.g. to allow - switching to a vendor protocol). +What: /sys/class/gnss/gnss/type +Date: May 2018 +KernelVersion: 4.18 +Contact: Johan Hovold +Description: + The GNSS receiver type. The currently identified types reflect + the protocol(s) supported by the receiver: + + ====== =========== + "NMEA" NMEA 0183 + "SiRF" SiRF Binary + "UBX" UBX + ====== =========== + + Note that also non-"NMEA" type receivers typically support a + subset of NMEA 0183 with vendor extensions (e.g. to allow + switching to a vendor protocol). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu index 55d59d35e0..6d0a1b4be8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu @@ -1,17 +1,17 @@ -What: /sys/class/iommu//devices/ -Date: June 2014 -KernelVersion: 3.17 -Contact: Alex Williamson -Description: - IOMMU drivers are able to link devices managed by a - given IOMMU here to allow association of IOMMU to - device. - -What: /sys/devices/.../iommu -Date: June 2014 -KernelVersion: 3.17 -Contact: Alex Williamson -Description: - IOMMU drivers are able to link the IOMMU for a - given device here to allow association of device to - IOMMU. +What: /sys/class/iommu//devices/ +Date: June 2014 +KernelVersion: 3.17 +Contact: Alex Williamson +Description: + IOMMU drivers are able to link devices managed by a + given IOMMU here to allow association of IOMMU to + device. + +What: /sys/devices/.../iommu +Date: June 2014 +KernelVersion: 3.17 +Contact: Alex Williamson +Description: + IOMMU drivers are able to link the IOMMU for a + given device here to allow association of device to + IOMMU. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu-amd-iommu b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu-amd-iommu index 4406f3457e..d6ba8e8a4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu-amd-iommu +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-iommu-amd-iommu @@ -1,14 +1,14 @@ -What: /sys/class/iommu//amd-iommu/cap -Date: June 2014 -KernelVersion: 3.17 -Contact: Alex Williamson -Description: - IOMMU capability header as documented in the AMD IOMMU - specification. Format: %x - -What: /sys/class/iommu//amd-iommu/features -Date: June 2014 -KernelVersion: 3.17 -Contact: Alex Williamson -Description: - Extended features of the IOMMU. Format: %llx +What: /sys/class/iommu//amd-iommu/cap +Date: June 2014 +KernelVersion: 3.17 +Contact: Alex Williamson +Description: + IOMMU capability header as documented in the AMD IOMMU + specification. Format: %x + +What: /sys/class/iommu//amd-iommu/features +Date: June 2014 +KernelVersion: 3.17 +Contact: Alex Williamson +Description: + Extended features of the IOMMU. Format: %llx diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-usbport b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-usbport index af630fc15e..eb81152b83 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-usbport +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-led-trigger-usbport @@ -1,13 +1,13 @@ -What: /sys/class/leds//ports/ -Date: September 2016 -KernelVersion: 4.9 -Contact: linux-leds@vger.kernel.org - linux-usb@vger.kernel.org -Description: - Every dir entry represents a single USB port that can be - selected for the USB port trigger. Selecting ports makes trigger - observing them for any connected devices and lighting on LED if - there are any. - - Echoing "1" value selects USB port. Echoing "0" unselects it. - Current state can be also read. +What: /sys/class/leds//ports/ +Date: September 2016 +KernelVersion: 4.9 +Contact: linux-leds@vger.kernel.org + linux-usb@vger.kernel.org +Description: + Every dir entry represents a single USB port that can be + selected for the USB port trigger. Selecting ports makes trigger + observing them for any connected devices and lighting on LED if + there are any. + + Echoing "1" value selects USB port. Echoing "0" unselects it. + Current state can be also read. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-leds-gt683r b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-leds-gt683r index a926137dd3..b57ffb26e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-leds-gt683r +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-leds-gt683r @@ -1,18 +1,18 @@ -What: /sys/class/leds//gt683r/mode -Date: Jun 2014 -KernelVersion: 3.17 -Contact: Janne Kanniainen -Description: - Set the mode of LEDs. You should notice that changing the mode - of one LED will update the mode of its two sibling devices as - well. Possible values are: - - == ========= - 0 normal - 1 audio - 2 breathing - == ========= - - Normal: LEDs are fully on when enabled - Audio: LEDs brightness depends on sound level - Breathing: LEDs brightness varies at human breathing rate +What: /sys/class/leds//gt683r/mode +Date: Jun 2014 +KernelVersion: 3.17 +Contact: Janne Kanniainen +Description: + Set the mode of LEDs. You should notice that changing the mode + of one LED will update the mode of its two sibling devices as + well. Possible values are: + + == ========= + 0 normal + 1 audio + 2 breathing + == ========= + + Normal: LEDs are fully on when enabled + Audio: LEDs brightness depends on sound level + Breathing: LEDs brightness varies at human breathing rate diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-mux b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-mux index d3c9a3c7a9..c58b7b6e1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-mux +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-mux @@ -1,16 +1,16 @@ -What: /sys/class/mux/ -Date: April 2017 -KernelVersion: 4.13 -Contact: Peter Rosin -Description: - The mux/ class sub-directory belongs to the Generic MUX - Framework and provides a sysfs interface for using MUX - controllers. - -What: /sys/class/mux/muxchip/ -Date: April 2017 -KernelVersion: 4.13 -Contact: Peter Rosin -Description: - A /sys/class/mux/muxchipN directory is created for each - probed MUX chip where N is a simple enumeration. +What: /sys/class/mux/ +Date: April 2017 +KernelVersion: 4.13 +Contact: Peter Rosin +Description: + The mux/ class sub-directory belongs to the Generic MUX + Framework and provides a sysfs interface for using MUX + controllers. + +What: /sys/class/mux/muxchip/ +Date: April 2017 +KernelVersion: 4.13 +Contact: Peter Rosin +Description: + A /sys/class/mux/muxchipN directory is created for each + probed MUX chip where N is a simple enumeration. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-surface b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-surface index ec054edcb5..79cde4dcf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-surface +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-power-surface @@ -1,15 +1,15 @@ -What: /sys/class/power_supply//alarm -Date: April 2021 -KernelVersion: 5.13 -Contact: Maximilian Luz -Description: - Battery trip point. When the remaining battery capacity crosses this - value in either direction, the system will be notified and if - necessary woken. - - Set to zero to clear/disable. - - Access: Read, Write - - Valid values: In micro-Wh or micro-Ah, depending on the power unit - of the battery +What: /sys/class/power_supply//alarm +Date: April 2021 +KernelVersion: 5.13 +Contact: Maximilian Luz +Description: + Battery trip point. When the remaining battery capacity crosses this + value in either direction, the system will be notified and if + necessary woken. + + Set to zero to clear/disable. + + Access: Read, Write + + Valid values: In micro-Wh or micro-Ah, depending on the power unit + of the battery diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rc-nuvoton b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rc-nuvoton index a57f62624e..f7bad8ecd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rc-nuvoton +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-rc-nuvoton @@ -1,15 +1,15 @@ -What: /sys/class/rc/rc/wakeup_data -Date: Mar 2016 -KernelVersion: 4.6 -Contact: Mauro Carvalho Chehab -Description: - Reading this file returns the stored CIR wakeup sequence. - It starts with a pulse, followed by a space, pulse etc. - All values are in microseconds. - The same format can be used to store a wakeup sequence - in the Nuvoton chip by writing to this file. - - Note: Some systems reset the stored wakeup sequence to a - factory default on each boot. On such systems store the - wakeup sequence in a file and set it on boot using e.g. - a udev rule. +What: /sys/class/rc/rc/wakeup_data +Date: Mar 2016 +KernelVersion: 4.6 +Contact: Mauro Carvalho Chehab +Description: + Reading this file returns the stored CIR wakeup sequence. + It starts with a pulse, followed by a space, pulse etc. + All values are in microseconds. + The same format can be used to store a wakeup sequence + in the Nuvoton chip by writing to this file. + + Note: Some systems reset the stored wakeup sequence to a + factory default on each boot. On such systems store the + wakeup sequence in a file and set it on boot using e.g. + a udev rule. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm_source b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm_source index 92ee2b92bd..57b8dd39bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm_source +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-class-stm_source @@ -1,11 +1,11 @@ -What: /sys/class/stm_source//stm_source_link -Date: June 2015 -KernelVersion: 4.3 -Contact: Alexander Shishkin -Description: - stm_source device linkage to stm device, where its tracing data - is directed. Reads return an existing connection or "" if - this stm_source is not connected to any stm device yet. - Write an existing (registered) stm device's name here to - connect that device. If a device is already connected to this - stm_source, it will first be disconnected. +What: /sys/class/stm_source//stm_source_link +Date: June 2015 +KernelVersion: 4.3 +Contact: Alexander Shishkin +Description: + stm_source device linkage to stm device, where its tracing data + is directed. Reads return an existing connection or "" if + this stm_source is not connected to any stm device yet. + Write an existing (registered) stm device's name here to + connect that device. If a device is already connected to this + stm_source, it will first be disconnected. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-consumer b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-consumer index b1de48659c..0809fda092 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-consumer +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-consumer @@ -1,9 +1,9 @@ -What: /sys/devices/.../consumer: -Date: May 2020 -Contact: Saravana Kannan -Description: - The /sys/devices/.../consumer: are symlinks to device - links where this device is the supplier. denotes the - name of the consumer in that device link and is of the form - bus:device name. There can be zero or more of these symlinks - for a given device. +What: /sys/devices/.../consumer: +Date: May 2020 +Contact: Saravana Kannan +Description: + The /sys/devices/.../consumer: are symlinks to device + links where this device is the supplier. denotes the + name of the consumer in that device link and is of the form + bus:device name. There can be zero or more of these symlinks + for a given device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-coredump b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-coredump index a7ed773b17..e459368533 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-coredump +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-coredump @@ -1,10 +1,10 @@ -What: /sys/devices/.../coredump -Date: December 2017 -Contact: Arend van Spriel -Description: - The /sys/devices/.../coredump attribute is only present when the - device is bound to a driver, which provides the .coredump() - callback. The attribute is write only. Anything written to this - file will trigger the .coredump() callback. - - Available when CONFIG_DEV_COREDUMP is enabled. +What: /sys/devices/.../coredump +Date: December 2017 +Contact: Arend van Spriel +Description: + The /sys/devices/.../coredump attribute is only present when the + device is bound to a driver, which provides the .coredump() + callback. The attribute is write only. Anything written to this + file will trigger the .coredump() callback. + + Available when CONFIG_DEV_COREDUMP is enabled. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D0 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D0 index 9bb1b2016f..73b77a6be1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D0 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D0 @@ -1,13 +1,13 @@ -What: /sys/devices/.../power_resources_D0/ -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_resources_D0/ directory is only - present for device objects representing ACPI device nodes that - use ACPI power resources for power management. - - If present, it contains symbolic links to device directories - representing ACPI power resources that need to be turned on for - the given device node to be in ACPI power state D0. The names - of the links are the same as the names of the directories they - point to. +What: /sys/devices/.../power_resources_D0/ +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_resources_D0/ directory is only + present for device objects representing ACPI device nodes that + use ACPI power resources for power management. + + If present, it contains symbolic links to device directories + representing ACPI power resources that need to be turned on for + the given device node to be in ACPI power state D0. The names + of the links are the same as the names of the directories they + point to. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D1 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D1 index 471c0d4431..30c20703fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D1 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D1 @@ -1,14 +1,14 @@ -What: /sys/devices/.../power_resources_D1/ -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_resources_D1/ directory is only - present for device objects representing ACPI device nodes that - use ACPI power resources for power management and support ACPI - power state D1. - - If present, it contains symbolic links to device directories - representing ACPI power resources that need to be turned on for - the given device node to be in ACPI power state D1. The names - of the links are the same as the names of the directories they - point to. +What: /sys/devices/.../power_resources_D1/ +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_resources_D1/ directory is only + present for device objects representing ACPI device nodes that + use ACPI power resources for power management and support ACPI + power state D1. + + If present, it contains symbolic links to device directories + representing ACPI power resources that need to be turned on for + the given device node to be in ACPI power state D1. The names + of the links are the same as the names of the directories they + point to. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D2 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D2 index 87dab73c2d..fd9d84b421 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D2 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_D2 @@ -1,14 +1,14 @@ -What: /sys/devices/.../power_resources_D2/ -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_resources_D2/ directory is only - present for device objects representing ACPI device nodes that - use ACPI power resources for power management and support ACPI - power state D2. - - If present, it contains symbolic links to device directories - representing ACPI power resources that need to be turned on for - the given device node to be in ACPI power state D2. The names - of the links are the same as the names of the directories they - point to. +What: /sys/devices/.../power_resources_D2/ +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_resources_D2/ directory is only + present for device objects representing ACPI device nodes that + use ACPI power resources for power management and support ACPI + power state D2. + + If present, it contains symbolic links to device directories + representing ACPI power resources that need to be turned on for + the given device node to be in ACPI power state D2. The names + of the links are the same as the names of the directories they + point to. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_wakeup b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_wakeup index 211bd234fb..e0588feeb6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_wakeup +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-power_resources_wakeup @@ -1,13 +1,13 @@ -What: /sys/devices/.../power_resources_wakeup/ -Date: April 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../power_resources_wakeup/ directory is only - present for device objects representing ACPI device nodes that - require ACPI power resources for wakeup signaling. - - If present, it contains symbolic links to device directories - representing ACPI power resources that need to be turned on for - the given device node to be able to signal wakeup. The names of - the links are the same as the names of the directories they - point to. +What: /sys/devices/.../power_resources_wakeup/ +Date: April 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../power_resources_wakeup/ directory is only + present for device objects representing ACPI device nodes that + require ACPI power resources for wakeup signaling. + + If present, it contains symbolic links to device directories + representing ACPI power resources that need to be turned on for + the given device node to be able to signal wakeup. The names of + the links are the same as the names of the directories they + point to. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-resource_in_use b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-resource_in_use index db61bd3709..b4a3bc5922 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-resource_in_use +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-resource_in_use @@ -1,12 +1,12 @@ -What: /sys/devices/.../resource_in_use -Date: January 2013 -Contact: Rafael J. Wysocki -Description: - The /sys/devices/.../resource_in_use attribute is only present - for device objects representing ACPI power resources. - - If present, it contains a number (0 or 1) representing the - current status of the given power resource (0 means that the - resource is not in use and therefore it has been turned off). - - This attribute is read-only. +What: /sys/devices/.../resource_in_use +Date: January 2013 +Contact: Rafael J. Wysocki +Description: + The /sys/devices/.../resource_in_use attribute is only present + for device objects representing ACPI power resources. + + If present, it contains a number (0 or 1) representing the + current status of the given power resource (0 means that the + resource is not in use and therefore it has been turned off). + + This attribute is read-only. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-software_node b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-software_node index 16e7626c27..85df37de35 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-software_node +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-software_node @@ -1,10 +1,10 @@ -What: /sys/devices/.../software_node/ -Date: January 2019 -Contact: Heikki Krogerus -Description: - This directory contains the details about the device that are - assigned in kernel (i.e. software), as opposed to the - firmware_node directory which contains the details that are - assigned for the device in firmware. The main attributes in the - directory will show the properties the device has, and the - relationship it has to some of the other devices. +What: /sys/devices/.../software_node/ +Date: January 2019 +Contact: Heikki Krogerus +Description: + This directory contains the details about the device that are + assigned in kernel (i.e. software), as opposed to the + firmware_node directory which contains the details that are + assigned for the device in firmware. The main attributes in the + directory will show the properties the device has, and the + relationship it has to some of the other devices. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-sun b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-sun index 7744211f78..625ce4b637 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-sun +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-sun @@ -1,14 +1,14 @@ -What: /sys/devices/.../sun -Date: October 2012 -Contact: Yasuaki Ishimatsu -Description: - The file contains a Slot-unique ID which provided by the _SUN - method in the ACPI namespace. The value is written in Advanced - Configuration and Power Interface Specification as follows: - - "The _SUN value is required to be unique among the slots of - the same type. It is also recommended that this number match - the slot number printed on the physical slot whenever possible." - - So reading the sysfs file, we can identify a physical position - of the slot in the system. +What: /sys/devices/.../sun +Date: October 2012 +Contact: Yasuaki Ishimatsu +Description: + The file contains a Slot-unique ID which provided by the _SUN + method in the ACPI namespace. The value is written in Advanced + Configuration and Power Interface Specification as follows: + + "The _SUN value is required to be unique among the slots of + the same type. It is also recommended that this number match + the slot number printed on the physical slot whenever possible." + + So reading the sysfs file, we can identify a physical position + of the slot in the system. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-supplier b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-supplier index 5f63a284bb..207f5972e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-supplier +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-devices-supplier @@ -1,9 +1,9 @@ -What: /sys/devices/.../supplier: -Date: May 2020 -Contact: Saravana Kannan -Description: - The /sys/devices/.../supplier: are symlinks to device - links where this device is the consumer. denotes the - name of the supplier in that device link and is of the form - bus:device name. There can be zero or more of these symlinks - for a given device. +What: /sys/devices/.../supplier: +Date: May 2020 +Contact: Saravana Kannan +Description: + The /sys/devices/.../supplier: are symlinks to device + links where this device is the consumer. denotes the + name of the supplier in that device link and is of the form + bus:device name. There can be zero or more of these symlinks + for a given device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-eud b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-eud index f51dc2f5f2..2bab0db2d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-eud +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-eud @@ -1,9 +1,9 @@ -What: /sys/bus/platform/drivers/qcom_eud/.../enable -Date: February 2022 -Contact: Souradeep Chowdhury -Description: - The Enable/Disable sysfs interface for Embedded - USB Debugger(EUD). This enables and disables the - EUD based on a 1 or a 0 value. By enabling EUD, - the user is able to activate the mini-usb hub of - EUD for debug and trace capabilities. +What: /sys/bus/platform/drivers/qcom_eud/.../enable +Date: February 2022 +Contact: Souradeep Chowdhury +Description: + The Enable/Disable sysfs interface for Embedded + USB Debugger(EUD). This enables and disables the + EUD based on a 1 or a 0 value. By enabling EUD, + the user is able to activate the mini-usb hub of + EUD for debug and trace capabilities. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-fsi-master-gpio b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-fsi-master-gpio index ec6e623aa4..1f29c8843c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-fsi-master-gpio +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-fsi-master-gpio @@ -1,10 +1,10 @@ -What: /sys/bus/platform/devices/[..]/fsi-master-gpio/external_mode -Date: Feb 2018 -KernelVersion: 4.17 -Contact: jk@ozlabs.org -Description: - Controls access arbitration for GPIO-based FSI master. A - value of 0 (the default) sets normal mode, where the - driver performs FSI bus transactions, 1 sets external mode, - where the FSI bus is driven externally (for example, by - a debug device). +What: /sys/bus/platform/devices/[..]/fsi-master-gpio/external_mode +Date: Feb 2018 +KernelVersion: 4.17 +Contact: jk@ozlabs.org +Description: + Controls access arbitration for GPIO-based FSI master. A + value of 0 (the default) sets normal mode, where the + driver performs FSI bus transactions, 1 sets external mode, + where the FSI bus is driven externally (for example, by + a debug device). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-corsair b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-corsair index 67b71350fe..b8827f0f12 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-corsair +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-corsair @@ -1,15 +1,15 @@ -What: /sys/bus/drivers/corsair//macro_mode -Date: August 2015 -KernelVersion: 4.2 -Contact: Clement Vuchener -Description: Get/set the current playback mode. "SW" for software mode - where G-keys triggers their regular key codes. "HW" for - hardware playback mode where the G-keys play their macro - from the on-board memory. - - -What: /sys/bus/drivers/corsair//current_profile -Date: August 2015 -KernelVersion: 4.2 -Contact: Clement Vuchener -Description: Get/set the current selected profile. Values are from 1 to 3. +What: /sys/bus/drivers/corsair//macro_mode +Date: August 2015 +KernelVersion: 4.2 +Contact: Clement Vuchener +Description: Get/set the current playback mode. "SW" for software mode + where G-keys triggers their regular key codes. "HW" for + hardware playback mode where the G-keys play their macro + from the on-board memory. + + +What: /sys/bus/drivers/corsair//current_profile +Date: August 2015 +KernelVersion: 4.2 +Contact: Clement Vuchener +Description: Get/set the current selected profile. Values are from 1 to 3. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-multitouch b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-multitouch index 7d8974eeba..f79839d1af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-multitouch +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-hid-multitouch @@ -1,9 +1,9 @@ -What: /sys/bus/usb/devices/-:./::./quirks -Date: November 2011 -Contact: Benjamin Tissoires -Description: The integer value of this attribute corresponds to the - quirks actually in place to handle the device's protocol. - When read, this attribute returns the current settings (see - MT_QUIRKS_* in hid-multitouch.c). - When written this attribute change on the fly the quirks, then - the protocol to handle the device. +What: /sys/bus/usb/devices/-:./::./quirks +Date: November 2011 +Contact: Benjamin Tissoires +Description: The integer value of this attribute corresponds to the + quirks actually in place to handle the device's protocol. + When read, this attribute returns the current settings (see + MT_QUIRKS_* in hid-multitouch.c). + When written this attribute change on the fly the quirks, then + the protocol to handle the device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-axp-pek b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-axp-pek index 5d8c8c44b2..a5e671b9fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-axp-pek +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-input-axp-pek @@ -1,11 +1,11 @@ -What: /sys/class/input/input(x)/device/startup -Date: March 2014 -Contact: Carlo Caione -Description: Startup time in us. Board is powered on if the button is pressed - for more than - -What: /sys/class/input/input(x)/device/shutdown -Date: March 2014 -Contact: Carlo Caione -Description: Shutdown time in us. Board is powered off if the button is pressed - for more than +What: /sys/class/input/input(x)/device/startup +Date: March 2014 +Contact: Carlo Caione +Description: Startup time in us. Board is powered on if the button is pressed + for more than + +What: /sys/class/input/input(x)/device/shutdown +Date: March 2014 +Contact: Carlo Caione +Description: Shutdown time in us. Board is powered off if the button is pressed + for more than diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-panfrost-profiling b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-panfrost-profiling index d9fbbd8141..7597c420e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-panfrost-profiling +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-panfrost-profiling @@ -1,10 +1,10 @@ -What: /sys/bus/platform/drivers/panfrost/.../profiling -Date: February 2024 -KernelVersion: 6.8.0 -Contact: Adrian Larumbe -Description: - Get/set drm fdinfo's engine and cycles profiling status. - Valid values are: - 0: Don't enable fdinfo job profiling sources. - 1: Enable fdinfo job profiling sources, this enables both the GPU's - timestamp and cycle counter registers. +What: /sys/bus/platform/drivers/panfrost/.../profiling +Date: February 2024 +KernelVersion: 6.8.0 +Contact: Adrian Larumbe +Description: + Get/set drm fdinfo's engine and cycles profiling status. + Valid values are: + 0: Don't enable fdinfo job profiling sources. + 1: Enable fdinfo job profiling sources, this enables both the GPU's + timestamp and cycle counter registers. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-st b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-st index 8d0f5339c3..88cab66fd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-st +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-st @@ -1,12 +1,12 @@ -What: /sys/bus/scsi/drivers/st/debug_flag -Date: October 2015 -KernelVersion: ?.? -Contact: shane.seymour@hpe.com -Description: - This file allows you to turn debug output from the st driver - off if you write a '0' to the file or on if you write a '1'. - Note that debug output requires that the module be compiled - with the #define DEBUG set to a non-zero value (this is the - default). If DEBUG is set to 0 then this file will not - appear in sysfs as its presence is conditional upon debug - output support being compiled into the module. +What: /sys/bus/scsi/drivers/st/debug_flag +Date: October 2015 +KernelVersion: ?.? +Contact: shane.seymour@hpe.com +Description: + This file allows you to turn debug output from the st driver + off if you write a '0' to the file or on if you write a '1'. + Note that debug output requires that the module be compiled + with the #define DEBUG set to a non-zero value (this is the + default). If DEBUG is set to 0 then this file will not + appear in sysfs as its presence is conditional upon debug + output support being compiled into the module. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-tegra-fuse b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-tegra-fuse index fe567e38f2..b8936fad2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-tegra-fuse +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-driver-tegra-fuse @@ -1,11 +1,11 @@ -What: /sys/devices/*//fuse -Date: February 2014 -Contact: Peter De Schrijver -Description: read-only access to the efuses on Tegra20, Tegra30, Tegra114 - and Tegra124 SoC's from NVIDIA. The efuses contain write once - data programmed at the factory. The data is laid out in 32bit - words in LSB first format. Each bit represents a single value - as decoded from the fuse registers. Bits order/assignment - exactly matches the HW registers, including any unused bits. -Users: any user space application which wants to read the efuses on - Tegra SoC's +What: /sys/devices/*//fuse +Date: February 2014 +Contact: Peter De Schrijver +Description: read-only access to the efuses on Tegra20, Tegra30, Tegra114 + and Tegra124 SoC's from NVIDIA. The efuses contain write once + data programmed at the factory. The data is laid out in 32bit + words in LSB first format. Each bit represents a single value + as decoded from the fuse registers. Bits order/assignment + exactly matches the HW registers, including any unused bits. +Users: any user space application which wants to read the efuses on + Tegra SoC's diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-hugepages b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-hugepages index f47e99a3e9..294387e2c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-hugepages +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-hugepages @@ -1,17 +1,17 @@ -What: /sys/kernel/mm/hugepages/ -Date: June 2008 -Contact: Nishanth Aravamudan , hugetlb maintainers -Description: - /sys/kernel/mm/hugepages/ contains a number of subdirectories - of the form hugepages-kB, where is the page size - of the hugepages supported by the kernel/CPU combination. - - Under these directories are a number of files: - - - nr_hugepages - - nr_overcommit_hugepages - - free_hugepages - - surplus_hugepages - - resv_hugepages - - See Documentation/admin-guide/mm/hugetlbpage.rst for details. +What: /sys/kernel/mm/hugepages/ +Date: June 2008 +Contact: Nishanth Aravamudan , hugetlb maintainers +Description: + /sys/kernel/mm/hugepages/ contains a number of subdirectories + of the form hugepages-kB, where is the page size + of the hugepages supported by the kernel/CPU combination. + + Under these directories are a number of files: + + - nr_hugepages + - nr_overcommit_hugepages + - free_hugepages + - surplus_hugepages + - resv_hugepages + + See Documentation/admin-guide/mm/hugetlbpage.rst for details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage index b200fd78e0..7bfbb9cc2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-mm-transparent-hugepage @@ -1,18 +1,18 @@ -What: /sys/kernel/mm/transparent_hugepage/ -Date: April 2024 -Contact: Linux memory management mailing list -Description: - /sys/kernel/mm/transparent_hugepage/ contains a number of files and - subdirectories, - - - defrag - - enabled - - hpage_pmd_size - - khugepaged - - shmem_enabled - - use_zero_page - - subdirectories of the form hugepages-kB, where - is the page size of the hugepages supported by the kernel/CPU - combination. - - See Documentation/admin-guide/mm/transhuge.rst for details. +What: /sys/kernel/mm/transparent_hugepage/ +Date: April 2024 +Contact: Linux memory management mailing list +Description: + /sys/kernel/mm/transparent_hugepage/ contains a number of files and + subdirectories, + + - defrag + - enabled + - hpage_pmd_size + - khugepaged + - shmem_enabled + - use_zero_page + - subdirectories of the form hugepages-kB, where + is the page size of the hugepages supported by the kernel/CPU + combination. + + See Documentation/admin-guide/mm/transhuge.rst for details. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo index c9a26a4839..1f1087a5f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-kernel-vmcoreinfo @@ -1,14 +1,14 @@ -What: /sys/kernel/vmcoreinfo -Date: October 2007 -KernelVersion: 2.6.24 -Contact: Ken'ichi Ohmichi - Kexec Mailing List - Vivek Goyal -Description: - Shows physical address and size of vmcoreinfo ELF note. - First value contains physical address of note in hex and - second value contains the size of note in hex. This ELF - note info is parsed by second kernel and exported to user - space as part of ELF note in /proc/vmcore file. This note - contains various information like struct size, symbol - values, page size etc. +What: /sys/kernel/vmcoreinfo +Date: October 2007 +KernelVersion: 2.6.24 +Contact: Ken'ichi Ohmichi + Kexec Mailing List + Vivek Goyal +Description: + Shows physical address and size of vmcoreinfo ELF note. + First value contains physical address of note in hex and + second value contains the size of note in hex. This ELF + note info is parsed by second kernel and exported to user + space as part of ELF note in /proc/vmcore file. This note + contains various information like struct size, symbol + values, page size etc. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-memc b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-memc index bbf6f12364..2f2b750ac2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-memc +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-brcmstb-memc @@ -1,15 +1,15 @@ -What: /sys/bus/platform/devices/*/srpd -Date: July 2022 -KernelVersion: 5.21 -Contact: Florian Fainelli -Description: - Self Refresh Power Down (SRPD) inactivity timeout counted in - internal DDR controller clock cycles. Possible values range - from 0 (disable inactivity timeout) to 65535 (0xffff). - -What: /sys/bus/platform/devices/*/frequency -Date: July 2022 -KernelVersion: 5.21 -Contact: Florian Fainelli -Description: - DDR PHY frequency in Hz. +What: /sys/bus/platform/devices/*/srpd +Date: July 2022 +KernelVersion: 5.21 +Contact: Florian Fainelli +Description: + Self Refresh Power Down (SRPD) inactivity timeout counted in + internal DDR controller clock cycles. Possible values range + from 0 (disable inactivity timeout) to 65535 (0xffff). + +What: /sys/bus/platform/devices/*/frequency +Date: July 2022 +KernelVersion: 5.21 +Contact: Florian Fainelli +Description: + DDR PHY frequency in Hz. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-smbios b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-smbios index bf0fd516ef..5583da5810 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-smbios +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-dell-smbios @@ -1,21 +1,21 @@ -What: /sys/devices/platform//tokens/* -Date: November 2017 -KernelVersion: 4.15 -Contact: Dell.Client.Kernel@dell.com -Description: - A read-only description of Dell platform tokens - available on the machine. - - Each token attribute is available as a pair of - sysfs attributes readable by a process with - CAP_SYS_ADMIN. - - For example the token ID "5" would be available - as the following attributes: - - - 0005_location - - 0005_value - - Tokens will vary from machine to machine, and - only tokens available on that machine will be - displayed. +What: /sys/devices/platform//tokens/* +Date: November 2017 +KernelVersion: 4.15 +Contact: Dell.Client.Kernel@dell.com +Description: + A read-only description of Dell platform tokens + available on the machine. + + Each token attribute is available as a pair of + sysfs attributes readable by a process with + CAP_SYS_ADMIN. + + For example the token ID "5" would be available + as the following attributes: + + - 0005_location + - 0005_value + + Tokens will vary from machine to machine, and + only tokens available on that machine will be + displayed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-sbl-fw-update b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-sbl-fw-update index 0933fd581d..02ae1e9bbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-sbl-fw-update +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-sbl-fw-update @@ -1,13 +1,13 @@ -What: /sys/bus/wmi/devices/44FADEB1-B204-40F2-8581-394BBDC1B651/firmware_update_request -Date: April 2020 -KernelVersion: 5.7 -Contact: "Jithu Joseph" -Description: - Allow user space entities to trigger update of Slim - Bootloader (SBL). This attribute normally has a value - of 0 and userspace can signal SBL to update firmware, - on next reboot, by writing a value of 1. - There are two available states: - - * 0 -> Skip firmware update while rebooting - * 1 -> Attempt firmware update on next reboot +What: /sys/bus/wmi/devices/44FADEB1-B204-40F2-8581-394BBDC1B651/firmware_update_request +Date: April 2020 +KernelVersion: 5.7 +Contact: "Jithu Joseph" +Description: + Allow user space entities to trigger update of Slim + Bootloader (SBL). This attribute normally has a value + of 0 and userspace can signal SBL to update firmware, + on next reboot, by writing a value of 1. + There are two available states: + + * 0 -> Skip firmware update while rebooting + * 1 -> Attempt firmware update on next reboot diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt index 5252bae1ce..fd3a7ec797 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-intel-wmi-thunderbolt @@ -1,12 +1,12 @@ -What: /sys/devices/platform//force_power -Date: September 2017 -KernelVersion: 4.15 -Contact: "Mario Limonciello" -Description: - Modify the platform force power state, influencing - Thunderbolt controllers to turn on or off when no - devices are connected (write-only) - There are two available states: - - * 0 -> Force power disabled - * 1 -> Force power enabled +What: /sys/devices/platform//force_power +Date: September 2017 +KernelVersion: 4.15 +Contact: "Mario Limonciello" +Description: + Modify the platform force power state, influencing + Thunderbolt controllers to turn on or off when no + devices are connected (write-only) + There are two available states: + + * 0 -> Force power disabled + * 1 -> Force power enabled diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-phy-rcar-gen3-usb2 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-phy-rcar-gen3-usb2 index 26a0cdcb10..bc510ccc37 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-phy-rcar-gen3-usb2 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-phy-rcar-gen3-usb2 @@ -1,17 +1,17 @@ -What: /sys/devices/platform//role -Date: October 2016 -KernelVersion: 4.10 -Contact: Yoshihiro Shimoda -Description: - This file can be read and write. - The file can show/change the phy mode for role swap of usb. - - Write the following strings to change the mode: - - - "host" - switching mode from peripheral to host. - - "peripheral" - switching mode from host to peripheral. - - Read the file, then it shows the following strings: - - - "host" - The mode is host now. - - "peripheral" - The mode is peripheral now. +What: /sys/devices/platform//role +Date: October 2016 +KernelVersion: 4.10 +Contact: Yoshihiro Shimoda +Description: + This file can be read and write. + The file can show/change the phy mode for role swap of usb. + + Write the following strings to change the mode: + + - "host" - switching mode from peripheral to host. + - "peripheral" - switching mode from host to peripheral. + + Read the file, then it shows the following strings: + + - "host" - The mode is host now. + - "peripheral" - The mode is peripheral now. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-power-on-reason b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-power-on-reason index 16efacb533..c3b29dbc64 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-power-on-reason +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-power-on-reason @@ -1,12 +1,12 @@ -What: /sys/devices/platform/.../power_on_reason -Date: June 2023 -KernelVersion: 6.5 -Contact: Kamel Bouhara -Description: Shows system power on reason. The following strings/reasons can - be read (the list can be extended): - "regular power-up", "RTC wakeup", "watchdog timeout", - "software reset", "reset button action", "CPU clock failure", - "crystal oscillator failure", "brown-out reset", - "unknown reason". - - The file is read only. +What: /sys/devices/platform/.../power_on_reason +Date: June 2023 +KernelVersion: 6.5 +Contact: Kamel Bouhara +Description: Shows system power on reason. The following strings/reasons can + be read (the list can be extended): + "regular power-up", "RTC wakeup", "watchdog timeout", + "software reset", "reset button action", "CPU clock failure", + "crystal oscillator failure", "brown-out reset", + "unknown reason". + + The file is read only. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-renesas_usb3 b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-renesas_usb3 index 8afc341d91..b08379e7fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-renesas_usb3 +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-renesas_usb3 @@ -1,17 +1,17 @@ -What: /sys/devices/platform//role -Date: March 2017 -KernelVersion: 4.13 -Contact: Yoshihiro Shimoda -Description: - This file can be read and write. - The file can show/change the drd mode of usb. - - Write the following string to change the mode: - - - "host" - switching mode from peripheral to host. - - "peripheral" - switching mode from host to peripheral. - - Read the file, then it shows the following strings: - - - "host" - The mode is host now. - - "peripheral" - The mode is peripheral now. +What: /sys/devices/platform//role +Date: March 2017 +KernelVersion: 4.13 +Contact: Yoshihiro Shimoda +Description: + This file can be read and write. + The file can show/change the drd mode of usb. + + Write the following string to change the mode: + + - "host" - switching mode from peripheral to host. + - "peripheral" - switching mode from host to peripheral. + + Read the file, then it shows the following strings: + + - "host" - The mode is host now. + - "peripheral" - The mode is peripheral now. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-sst-atom b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-sst-atom index a532ada4d1..4bb2e6135c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-sst-atom +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-sst-atom @@ -1,26 +1,26 @@ -What: /sys/devices/platform/8086:00/firmware_version -Date: November 2016 -KernelVersion: 4.10 -Contact: "Sebastien Guiriec" -Description: - LPE Firmware version for SST driver on all atom - platforms (BYT/CHT/Merrifield/BSW). - If the FW has never been loaded it will display:: - - "FW not yet loaded" - - If FW has been loaded it will display:: - - "v01.aa.bb.cc" - - aa: Major version is reflecting SoC version: - - === ============= - 0d: BYT FW - 0b: BSW FW - 07: Merrifield FW - === ============= - - bb: Minor version - - cc: Build version +What: /sys/devices/platform/8086:00/firmware_version +Date: November 2016 +KernelVersion: 4.10 +Contact: "Sebastien Guiriec" +Description: + LPE Firmware version for SST driver on all atom + platforms (BYT/CHT/Merrifield/BSW). + If the FW has never been loaded it will display:: + + "FW not yet loaded" + + If FW has been loaded it will display:: + + "v01.aa.bb.cc" + + aa: Major version is reflecting SoC version: + + === ============= + 0d: BYT FW + 0b: BSW FW + 07: Merrifield FW + === ============= + + bb: Minor version + + cc: Build version diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-tahvo-usb b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-tahvo-usb index 318ac97a13..f6e20ce4b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-tahvo-usb +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/ABI/testing/sysfs-platform-tahvo-usb @@ -1,16 +1,16 @@ -What: /sys/bus/platform/devices/tahvo-usb/otg_mode -Date: December 2013 -Contact: Aaro Koskinen -Description: - Set or read the current OTG mode. Valid values are "host" and - "peripheral". - - Reading: returns the current mode. - -What: /sys/bus/platform/devices/tahvo-usb/vbus -Date: December 2013 -Contact: Aaro Koskinen -Description: - Read the current VBUS state. - - Reading: returns "on" or "off". +What: /sys/bus/platform/devices/tahvo-usb/otg_mode +Date: December 2013 +Contact: Aaro Koskinen +Description: + Set or read the current OTG mode. Valid values are "host" and + "peripheral". + + Reading: returns the current mode. + +What: /sys/bus/platform/devices/tahvo-usb/vbus +Date: December 2013 +Contact: Aaro Koskinen +Description: + Read the current VBUS state. + + Reading: returns "on" or "off". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/RCU/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/RCU/index.rst index 70c53212d8..84a79903f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/RCU/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/RCU/index.rst @@ -1,37 +1,37 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _rcu_concepts: - -============ -RCU concepts -============ - -.. toctree:: - :maxdepth: 3 - - checklist - lockdep - lockdep-splat - rcubarrier - rcu_dereference - whatisRCU - rcu - rculist_nulls - rcuref - torture - stallwarn - listRCU - NMI-RCU - UP - - Design/Memory-Ordering/Tree-RCU-Memory-Ordering - Design/Expedited-Grace-Periods/Expedited-Grace-Periods - Design/Requirements/Requirements - Design/Data-Structures/Data-Structures - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. _rcu_concepts: + +============ +RCU concepts +============ + +.. toctree:: + :maxdepth: 3 + + checklist + lockdep + lockdep-splat + rcubarrier + rcu_dereference + whatisRCU + rcu + rculist_nulls + rcuref + torture + stallwarn + listRCU + NMI-RCU + UP + + Design/Memory-Ordering/Tree-RCU-Memory-Ordering + Design/Expedited-Grace-Periods/Expedited-Grace-Periods + Design/Requirements/Requirements + Design/Data-Structures/Data-Structures + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/aic080.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/aic080.rst index 6177fb0d93..d563771ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/aic080.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/accel/qaic/aic080.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0-only - -=============================== - Qualcomm Cloud AI 80 (AIC080) -=============================== - -Overview -======== - -The Qualcomm Cloud AI 80/AIC080 family of products are a derivative of AIC100. -The number of NSPs and clock rates are reduced to fit within resource -constrained solutions. The PCIe Product ID is 0xa080. - -As a derivative product, all AIC100 documentation applies. +.. SPDX-License-Identifier: GPL-2.0-only + +=============================== + Qualcomm Cloud AI 80 (AIC080) +=============================== + +Overview +======== + +The Qualcomm Cloud AI 80/AIC080 family of products are a derivative of AIC100. +The number of NSPs and clock rates are reduced to fit within resource +constrained solutions. The PCIe Product ID is 0xa080. + +As a derivative product, all AIC100 documentation applies. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-stable.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-stable.rst index fff8fdc5da..fc3361d847 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-stable.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/abi-stable.rst @@ -1,14 +1,14 @@ -ABI stable symbols -================== - -Documents the interfaces that the developer has defined to be stable. - -Userspace programs are free to use these interfaces with no -restrictions, and backward compatibility for them will be guaranteed -for at least 2 years. - -Most interfaces (like syscalls) are expected to never change and always -be available. - -.. kernel-abi:: ABI/stable - :rst: +ABI stable symbols +================== + +Documents the interfaces that the developer has defined to be stable. + +Userspace programs are free to use these interfaces with no +restrictions, and backward compatibility for them will be guaranteed +for at least 2 years. + +Most interfaces (like syscalls) are expected to never change and always +be available. + +.. kernel-abi:: ABI/stable + :rst: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/examples.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/examples.rst index 3ca8a84c74..91f3198e52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/examples.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/aoe/examples.rst @@ -1,23 +1,23 @@ -Example of udev rules ---------------------- - - .. include:: udev.txt - :literal: - -Example of udev install rules script ------------------------------------- - - .. literalinclude:: udev-install.sh - :language: shell - -Example script to get status ----------------------------- - - .. literalinclude:: status.sh - :language: shell - -Example of AoE autoload script ------------------------------- - - .. literalinclude:: autoload.sh - :language: shell +Example of udev rules +--------------------- + + .. include:: udev.txt + :literal: + +Example of udev install rules script +------------------------------------ + + .. literalinclude:: udev-install.sh + :language: shell + +Example script to get status +---------------------------- + + .. literalinclude:: status.sh + :language: shell + +Example of AoE autoload script +------------------------------ + + .. literalinclude:: autoload.sh + :language: shell diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/index.rst index a8dc238dea..561fd1e359 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/index.rst @@ -1,19 +1,19 @@ -========================================== -Distributed Replicated Block Device - DRBD -========================================== - -Description -=========== - - DRBD is a shared-nothing, synchronously replicated block device. It - is designed to serve as a building block for high availability - clusters and in this context, is a "drop-in" replacement for shared - storage. Simplistically, you could see it as a network RAID 1. - - Please visit https://www.drbd.org to find out more. - -.. toctree:: - :maxdepth: 1 - - data-structure-v9 - figures +========================================== +Distributed Replicated Block Device - DRBD +========================================== + +Description +=========== + + DRBD is a shared-nothing, synchronously replicated block device. It + is designed to serve as a building block for high availability + clusters and in this context, is a "drop-in" replacement for shared + storage. Simplistically, you could see it as a network RAID 1. + + Please visit https://www.drbd.org to find out more. + +.. toctree:: + :maxdepth: 1 + + data-structure-v9 + figures diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/peer-states-8.dot b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/peer-states-8.dot index 8bc0d63f02..6dc3954954 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/peer-states-8.dot +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/blockdev/drbd/peer-states-8.dot @@ -1,8 +1,8 @@ -digraph peer_states { - Secondary -> Primary [ label = "recv state packet" ] - Primary -> Secondary [ label = "recv state packet" ] - Primary -> Unknown [ label = "connection lost" ] - Secondary -> Unknown [ label = "connection lost" ] - Unknown -> Primary [ label = "connected" ] - Unknown -> Secondary [ label = "connected" ] -} +digraph peer_states { + Secondary -> Primary [ label = "recv state packet" ] + Primary -> Secondary [ label = "recv state packet" ] + Primary -> Unknown [ label = "connection lost" ] + Secondary -> Unknown [ label = "connection lost" ] + Unknown -> Primary [ label = "connected" ] + Unknown -> Secondary [ label = "connected" ] +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/index.rst index 6dd31a5db1..99fbc8a64b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/cgroup-v1/index.rst @@ -1,31 +1,31 @@ -.. _cgroup-v1: - -======================== -Control Groups version 1 -======================== - -.. toctree:: - :maxdepth: 1 - - cgroups - - blkio-controller - cpuacct - cpusets - devices - freezer-subsystem - hugetlb - memcg_test - memory - misc - net_cls - net_prio - pids - rdma - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. _cgroup-v1: + +======================== +Control Groups version 1 +======================== + +.. toctree:: + :maxdepth: 1 + + cgroups + + blkio-controller + cpuacct + cpusets + devices + freezer-subsystem + hugetlb + memcg_test + memory + misc + net_cls + net_prio + pids + rdma + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/index.rst index 2d1f2bc695..cc5aec8615 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/device-mapper/index.rst @@ -1,48 +1,48 @@ -============= -Device Mapper -============= - -.. toctree:: - :maxdepth: 1 - - cache-policies - cache - delay - dm-clone - dm-crypt - dm-dust - dm-ebs - dm-flakey - dm-ima - dm-init - dm-integrity - dm-io - dm-log - dm-queue-length - dm-raid - dm-service-time - dm-uevent - dm-zoned - era - kcopyd - linear - log-writes - persistent-data - snapshot - statistics - striped - switch - thin-provisioning - unstriped - vdo-design - vdo - verity - writecache - zero - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +============= +Device Mapper +============= + +.. toctree:: + :maxdepth: 1 + + cache-policies + cache + delay + dm-clone + dm-crypt + dm-dust + dm-ebs + dm-flakey + dm-ima + dm-init + dm-integrity + dm-io + dm-log + dm-queue-length + dm-raid + dm-service-time + dm-uevent + dm-zoned + era + kcopyd + linear + log-writes + persistent-data + snapshot + statistics + striped + switch + thin-provisioning + unstriped + vdo-design + vdo + verity + writecache + zero + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/hw-vuln/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/hw-vuln/index.rst index 34b36d8af9..5d6c001b8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/hw-vuln/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/hw-vuln/index.rst @@ -1,26 +1,26 @@ -======================== -Hardware vulnerabilities -======================== - -This section describes CPU vulnerabilities and provides an overview of the -possible mitigations along with guidance for selecting mitigations if they -are configurable at compile, boot or run time. - -.. toctree:: - :maxdepth: 1 - - spectre - l1tf - mds - tsx_async_abort - multihit - special-register-buffer-data-sampling - core-scheduling - l1d_flush - processor_mmio_stale_data - cross-thread-rsb - srso - gather_data_sampling - reg-file-data-sampling - indirect-target-selection - vmscape +======================== +Hardware vulnerabilities +======================== + +This section describes CPU vulnerabilities and provides an overview of the +possible mitigations along with guidance for selecting mitigations if they +are configurable at compile, boot or run time. + +.. toctree:: + :maxdepth: 1 + + spectre + l1tf + mds + tsx_async_abort + multihit + special-register-buffer-data-sampling + core-scheduling + l1d_flush + processor_mmio_stale_data + cross-thread-rsb + srso + gather_data_sampling + reg-file-data-sampling + indirect-target-selection + vmscape diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/kdump/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/kdump/index.rst index 9c3fc0ecc1..8e2ebd0383 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/kdump/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/kdump/index.rst @@ -1,20 +1,20 @@ - -================================================================ -Documentation for Kdump - The kexec-based Crash Dumping Solution -================================================================ - -This document includes overview, setup and installation, and analysis -information. - -.. toctree:: - :maxdepth: 1 - - kdump - vmcoreinfo - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` + +================================================================ +Documentation for Kdump - The kexec-based Crash Dumping Solution +================================================================ + +This document includes overview, setup and installation, and analysis +information. + +.. toctree:: + :maxdepth: 1 + + kdump + vmcoreinfo + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx18-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx18-cardlist.rst index 0963fe2622..26f2da9aa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx18-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/cx18-cardlist.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -CX18 cards list -=============== - -Those cards are supported by cx18 driver: - -- Hauppauge HVR-1600 (ESMT memory) -- Hauppauge HVR-1600 (Samsung memory) -- Compro VideoMate H900 -- Yuan MPC718 MiniPCI DVB-T/Analog -- Conexant Raptor PAL/SECAM -- Toshiba Qosmio DVB-T/Analog -- Leadtek WinFast PVR2100 -- Leadtek WinFast DVR3100 -- GoTView PCI DVD3 Hybrid -- Hauppauge HVR-1600 (s5h1411/tda18271) +.. SPDX-License-Identifier: GPL-2.0 + +CX18 cards list +=============== + +Those cards are supported by cx18 driver: + +- Hauppauge HVR-1600 (ESMT memory) +- Hauppauge HVR-1600 (Samsung memory) +- Compro VideoMate H900 +- Yuan MPC718 MiniPCI DVB-T/Analog +- Conexant Raptor PAL/SECAM +- Toshiba Qosmio DVB-T/Analog +- Leadtek WinFast PVR2100 +- Leadtek WinFast DVR3100 +- GoTView PCI DVD3 Hybrid +- Hauppauge HVR-1600 (s5h1411/tda18271) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9005-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9005-cardlist.rst index 5ef1930e4b..285160ee82 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9005-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-af9005-cardlist.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-af9005 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Afatech DVB-T USB1.1 stick - - 15a4:9020 - * - Ansonic DVB-T USB1.1 stick - - 10b9:6000 - * - TerraTec Cinergy T USB XE - - 0ccd:0055 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-af9005 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Afatech DVB-T USB1.1 stick + - 15a4:9020 + * - Ansonic DVB-T USB1.1 stick + - 10b9:6000 + * - TerraTec Cinergy T USB XE + - 0ccd:0055 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6007-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6007-cardlist.rst index ca1ed41fec..db27eb47cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6007-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6007-cardlist.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-az6007 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Azurewave 6007 - - 13d3:0ccd - * - Technisat CableStar Combo HD CI - - 14f7:0003 - * - Terratec H7 - - 0ccd:10b4, 0ccd:10a3 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-az6007 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Azurewave 6007 + - 13d3:0ccd + * - Technisat CableStar Combo HD CI + - 14f7:0003 + * - Terratec H7 + - 0ccd:10b4, 0ccd:10a3 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6027-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6027-cardlist.rst index da5fa5fae0..6d8575e9d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6027-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-az6027-cardlist.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-az6027 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - AZUREWAVE DVB-S/S2 USB2.0 (AZ6027) - - 13d3:3275 - * - Elgato EyeTV Sat - - 0fd9:002a, 0fd9:0025, 0fd9:0036 - * - TERRATEC S7 - - 0ccd:10a4 - * - TERRATEC S7 MKII - - 0ccd:10ac - * - Technisat SkyStar USB 2 HD CI - - 14f7:0001, 14f7:0002 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-az6027 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - AZUREWAVE DVB-S/S2 USB2.0 (AZ6027) + - 13d3:3275 + * - Elgato EyeTV Sat + - 0fd9:002a, 0fd9:0025, 0fd9:0036 + * - TERRATEC S7 + - 0ccd:10a4 + * - TERRATEC S7 MKII + - 0ccd:10ac + * - Technisat SkyStar USB 2 HD CI + - 14f7:0001, 14f7:0002 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ce6230-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ce6230-cardlist.rst index ca20762a3c..09750e8ac1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ce6230-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ce6230-cardlist.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-ce6230 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - AVerMedia A310 USB 2.0 DVB-T tuner - - 07ca:a310 - * - Intel CE9500 reference design - - 8086:9500 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-ce6230 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - AVerMedia A310 USB 2.0 DVB-T tuner + - 07ca:a310 + * - Intel CE9500 reference design + - 8086:9500 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtt200u-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtt200u-cardlist.rst index a53e4566ca..b4150a7bf3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtt200u-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-dtt200u-cardlist.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-dtt200u cards list -========================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - WideView WT-220U PenType Receiver (Miglia) - - 18f3:0220 - * - WideView WT-220U PenType Receiver (Typhoon/Freecom) - - 14aa:0222, 14aa:0220, 14aa:0221, 14aa:0225, 14aa:0226 - * - WideView WT-220U PenType Receiver (based on ZL353) - - 14aa:022a, 14aa:022b - * - WideView/Yuan/Yakumo/Hama/Typhoon DVB-T USB2.0 (WT-200U) - - 14aa:0201, 14aa:0301 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-dtt200u cards list +========================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - WideView WT-220U PenType Receiver (Miglia) + - 18f3:0220 + * - WideView WT-220U PenType Receiver (Typhoon/Freecom) + - 14aa:0222, 14aa:0220, 14aa:0221, 14aa:0225, 14aa:0226 + * - WideView WT-220U PenType Receiver (based on ZL353) + - 14aa:022a, 14aa:022b + * - WideView/Yuan/Yakumo/Hama/Typhoon DVB-T USB2.0 (WT-200U) + - 14aa:0201, 14aa:0301 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gl861-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gl861-cardlist.rst index 82bde41c5e..5ec62fe03d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gl861-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gl861-cardlist.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-gl861 cards list -======================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - 774 Friio White ISDB-T USB2.0 - - 7a69:0001 - * - A-LINK DTU DVB-T USB2.0 - - 05e3:f170 - * - MSI Mega Sky 55801 DVB-T USB2.0 - - 0db0:5581 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-gl861 cards list +======================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - 774 Friio White ISDB-T USB2.0 + - 7a69:0001 + * - A-LINK DTU DVB-T USB2.0 + - 05e3:f170 + * - MSI Mega Sky 55801 DVB-T USB2.0 + - 0db0:5581 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gp8psk-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gp8psk-cardlist.rst index 692279cf0f..150fa9f781 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gp8psk-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-gp8psk-cardlist.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-gp8psk cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Genpix 8PSK-to-USB2 Rev.1 DVB-S receiver - - 09c0:0200, 09c0:0201 - * - Genpix 8PSK-to-USB2 Rev.2 DVB-S receiver - - 09c0:0202 - * - Genpix SkyWalker-1 DVB-S receiver - - 09c0:0203 - * - Genpix SkyWalker-2 DVB-S receiver - - 09c0:0206 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-gp8psk cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Genpix 8PSK-to-USB2 Rev.1 DVB-S receiver + - 09c0:0200, 09c0:0201 + * - Genpix 8PSK-to-USB2 Rev.2 DVB-S receiver + - 09c0:0202 + * - Genpix SkyWalker-1 DVB-S receiver + - 09c0:0203 + * - Genpix SkyWalker-2 DVB-S receiver + - 09c0:0206 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-lmedm04-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-lmedm04-cardlist.rst index 74e14b4d02..2050fbf03d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-lmedm04-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-lmedm04-cardlist.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-lmedm04 cards list -========================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - DM04_LME2510C_DVB-S - - 3344:1120 - * - DM04_LME2510C_DVB-S RS2000 - - 3344:22f0 - * - DM04_LME2510_DVB-S - - 3344:1122 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-lmedm04 cards list +========================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - DM04_LME2510C_DVB-S + - 3344:1120 + * - DM04_LME2510C_DVB-S RS2000 + - 3344:22f0 + * - DM04_LME2510_DVB-S + - 3344:1122 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-m920x-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-m920x-cardlist.rst index 5523269a1f..73145940b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-m920x-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-m920x-cardlist.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-m920x cards list -======================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - DTV-DVB UDTT7049 - - 13d3:3219 - * - Dposh DVB-T USB2.0 - - 1498:9206, 1498:a090 - * - LifeView TV Walker Twin DVB-T USB2.0 - - 10fd:0514, 10fd:0513 - * - MSI DIGI VOX mini II DVB-T USB2.0 - - 10fd:1513 - * - MSI Mega Sky 580 DVB-T USB2.0 - - 0db0:5580 - * - Pinnacle PCTV 310e - - 13d3:3211 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-m920x cards list +======================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - DTV-DVB UDTT7049 + - 13d3:3219 + * - Dposh DVB-T USB2.0 + - 1498:9206, 1498:a090 + * - LifeView TV Walker Twin DVB-T USB2.0 + - 10fd:0514, 10fd:0513 + * - MSI DIGI VOX mini II DVB-T USB2.0 + - 10fd:1513 + * - MSI Mega Sky 580 DVB-T USB2.0 + - 0db0:5580 + * - Pinnacle PCTV 310e + - 13d3:3211 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-pctv452e-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-pctv452e-cardlist.rst index a7d71ffdc2..886d8cc18a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-pctv452e-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-pctv452e-cardlist.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-pctv452e cards list -=========================== - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - PCTV HDTV USB - - 2304:021f - * - Technotrend TT Connect S2-3600 - - 0b48:3007 - * - Technotrend TT Connect S2-3650-CI - - 0b48:300a +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-pctv452e cards list +=========================== + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - PCTV HDTV USB + - 2304:021f + * - Technotrend TT Connect S2-3600 + - 0b48:3007 + * - Technotrend TT Connect S2-3650-CI + - 0b48:300a diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ttusb2-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ttusb2-cardlist.rst index 532ab92bd9..faa78e5f3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ttusb2-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-ttusb2-cardlist.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-ttusb2 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - Pinnacle 400e DVB-S USB2.0 - - 2304:020f - * - Pinnacle 450e DVB-S USB2.0 - - 2304:0222 - * - Technotrend TT-connect CT-3650 - - 0b48:300d - * - Technotrend TT-connect S-2400 - - 0b48:3006 - * - Technotrend TT-connect S-2400 (8kB EEPROM) - - 0b48:3009 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-ttusb2 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - Pinnacle 400e DVB-S USB2.0 + - 2304:020f + * - Pinnacle 450e DVB-S USB2.0 + - 2304:0222 + * - Technotrend TT-connect CT-3650 + - 0b48:300d + * - Technotrend TT-connect S-2400 + - 0b48:3006 + * - Technotrend TT-connect S-2400 (8kB EEPROM) + - 0b48:3009 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp7045-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp7045-cardlist.rst index 9cd2912eb4..2fc8fc4ecc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp7045-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/dvb-usb-vp7045-cardlist.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -dvb-usb-vp7045 cards list -========================= - -.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 7 13 - :stub-columns: 0 - - * - Card name - - USB IDs - * - DigitalNow TinyUSB 2 DVB-t Receiver - - 13d3:3223, 13d3:3224 - * - Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) - - 13d3:3205, 13d3:3206 +.. SPDX-License-Identifier: GPL-2.0 + +dvb-usb-vp7045 cards list +========================= + +.. tabularcolumns:: |p{7.0cm}|p{10.5cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 7 13 + :stub-columns: 0 + + * - Card name + - USB IDs + * - DigitalNow TinyUSB 2 DVB-t Receiver + - 13d3:3223, 13d3:3224 + * - Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II) + - 13d3:3205, 13d3:3206 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/opera-firmware.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/opera-firmware.rst index a9605552a0..fab3581551 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/opera-firmware.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/opera-firmware.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Opera firmware -============== - -Author: Marco Gittler - -To extract the firmware for the Opera DVB-S1 USB-Box -you need to copy the files: - -2830SCap2.sys -2830SLoad2.sys - -from the windriver disk into this directory. - -Then run: - -.. code-block:: none - - scripts/get_dvb_firmware opera1 - -and after that you have 2 files: - -dvb-usb-opera-01.fw -dvb-usb-opera1-fpga-01.fw - -in here. - -Copy them into /lib/firmware/ . - -After that the driver can load the firmware -(if you have enabled firmware loading -in kernel config and have hotplug running). +.. SPDX-License-Identifier: GPL-2.0 + +Opera firmware +============== + +Author: Marco Gittler + +To extract the firmware for the Opera DVB-S1 USB-Box +you need to copy the files: + +2830SCap2.sys +2830SLoad2.sys + +from the windriver disk into this directory. + +Then run: + +.. code-block:: none + + scripts/get_dvb_firmware opera1 + +and after that you have 2 files: + +dvb-usb-opera-01.fw +dvb-usb-opera1-fpga-01.fw + +in here. + +Copy them into /lib/firmware/ . + +After that the driver can load the firmware +(if you have enabled firmware loading +in kernel config and have hotplug running). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/v4l-drivers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/v4l-drivers.rst index 1e6df8537e..b6af448b9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/v4l-drivers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/v4l-drivers.rst @@ -1,36 +1,36 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _uapi-v4l-drivers: - -=============================================== -Video4Linux (V4L) driver-specific documentation -=============================================== - -.. toctree:: - :maxdepth: 2 - - bttv - cafe_ccic - cx88 - fimc - imx - imx7 - ipu3 - ipu6-isys - ivtv - mgb4 - omap3isp - omap4_camera - philips - qcom_camss - raspberrypi-pisp-be - rcar-fdp1 - rkisp1 - saa7134 - si470x - si4713 - si476x - starfive_camss - vimc - visl - vivid +.. SPDX-License-Identifier: GPL-2.0 + +.. _uapi-v4l-drivers: + +=============================================== +Video4Linux (V4L) driver-specific documentation +=============================================== + +.. toctree:: + :maxdepth: 2 + + bttv + cafe_ccic + cx88 + fimc + imx + imx7 + ipu3 + ipu6-isys + ivtv + mgb4 + omap3isp + omap4_camera + philips + qcom_camss + raspberrypi-pisp-be + rcar-fdp1 + rkisp1 + saa7134 + si470x + si4713 + si476x + starfive_camss + vimc + visl + vivid diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/zoran-cardlist.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/zoran-cardlist.rst index 692940f312..d7fc8bed62 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/zoran-cardlist.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/media/zoran-cardlist.rst @@ -1,51 +1,51 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Zoran cards list -================ - -.. tabularcolumns:: |p{1.4cm}|p{11.1cm}|p{4.2cm}| - -.. flat-table:: - :header-rows: 1 - :widths: 2 19 18 - :stub-columns: 0 - - * - Card number - - Card name - - PCI subsystem IDs - - * - 0 - - DC10(old) - - - - * - 1 - - DC10(new) - - - - * - 2 - - DC10_PLUS - - 1031:7efe - - * - 3 - - DC30 - - - - * - 4 - - DC30_PLUS - - 1031:d801 - - * - 5 - - LML33 - - - - * - 6 - - LML33R10 - - 12f8:8a02 - - * - 7 - - Buz - - 13ca:4231 - - * - 8 - - 6-Eyes - - +.. SPDX-License-Identifier: GPL-2.0 + +Zoran cards list +================ + +.. tabularcolumns:: |p{1.4cm}|p{11.1cm}|p{4.2cm}| + +.. flat-table:: + :header-rows: 1 + :widths: 2 19 18 + :stub-columns: 0 + + * - Card number + - Card name + - PCI subsystem IDs + + * - 0 + - DC10(old) + - + + * - 1 + - DC10(new) + - + + * - 2 + - DC10_PLUS + - 1031:7efe + + * - 3 + - DC30 + - + + * - 4 + - DC30_PLUS + - 1031:d801 + + * - 5 + - LML33 + - + + * - 6 + - LML33R10 + - 12f8:8a02 + + * - 7 + - Buz + - 13ca:4231 + + * - 8 + - 6-Eyes + - diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/damon/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/damon/index.rst index 6272fc6e3d..33d37bb2fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/damon/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/mm/damon/index.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================== -DAMON: Data Access MONitor -========================== - -:doc:`DAMON ` allows light-weight data access monitoring. -Using DAMON, users can analyze the memory access patterns of their systems and -optimize those. - -.. toctree:: - :maxdepth: 2 - - start - usage - reclaim - lru_sort +.. SPDX-License-Identifier: GPL-2.0 + +========================== +DAMON: Data Access MONitor +========================== + +:doc:`DAMON ` allows light-weight data access monitoring. +Using DAMON, users can analyze the memory access patterns of their systems and +optimize those. + +.. toctree:: + :maxdepth: 2 + + start + usage + reclaim + lru_sort diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/index.rst index a4ed4e9d4c..8502bc1746 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/admin-guide/perf/index.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=========================== -Performance monitor support -=========================== - -.. toctree:: - :maxdepth: 1 - - hisi-pmu - hisi-pcie-pmu - hns3-pmu - imx-ddr - qcom_l2_pmu - qcom_l3_pmu - starfive_starlink_pmu - arm-ccn - arm-cmn - arm-ni - xgene-pmu - arm_dsu_pmu - thunderx2-pmu - alibaba_pmu - dwc_pcie_pmu - nvidia-pmu - meson-ddr-pmu - cxl - ampere_cspmu +.. SPDX-License-Identifier: GPL-2.0 + +=========================== +Performance monitor support +=========================== + +.. toctree:: + :maxdepth: 1 + + hisi-pmu + hisi-pcie-pmu + hns3-pmu + imx-ddr + qcom_l2_pmu + qcom_l3_pmu + starfive_starlink_pmu + arm-ccn + arm-cmn + arm-ni + xgene-pmu + arm_dsu_pmu + thunderx2-pmu + alibaba_pmu + dwc_pcie_pmu + nvidia-pmu + meson-ddr-pmu + cxl + ampere_cspmu diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/omap.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/omap.rst index 6004880054..f440c0f461 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/omap.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/omap/omap.rst @@ -1,18 +1,18 @@ -============ -OMAP history -============ - -This file contains documentation for running mainline -kernel on omaps. - -====== ====================================================== -KERNEL NEW DEPENDENCIES -====== ====================================================== -v4.3+ Update is needed for custom .config files to make sure - CONFIG_REGULATOR_PBIAS is enabled for MMC1 to work - properly. - -v4.18+ Update is needed for custom .config files to make sure - CONFIG_MMC_SDHCI_OMAP is enabled for all MMC instances - to work in DRA7 and K2G based boards. -====== ====================================================== +============ +OMAP history +============ + +This file contains documentation for running mainline +kernel on omaps. + +====== ====================================================== +KERNEL NEW DEPENDENCIES +====== ====================================================== +v4.3+ Update is needed for custom .config files to make sure + CONFIG_REGULATOR_PBIAS is enabled for MMC1 to work + properly. + +v4.18+ Update is needed for custom .config files to make sure + CONFIG_MMC_SDHCI_OMAP is enabled for all MMC instances + to work in DRA7 and K2G based boards. +====== ====================================================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih407-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih407-overview.rst index d43772d658..027e75bc7b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih407-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih407-overview.rst @@ -1,19 +1,19 @@ -================ -STiH407 Overview -================ - -Introduction ------------- - - The STiH407 is the new generation of SoC for Multi-HD, AVC set-top boxes - and server/connected client application for satellite, cable, terrestrial - and IP-STB markets. - - Features - - ARM Cortex-A9 1.5 GHz dual core CPU (28nm) - - SATA2, USB 3.0, PCIe, Gbit Ethernet - -Document Author ---------------- - - Maxime Coquelin , (c) 2014 ST Microelectronics +================ +STiH407 Overview +================ + +Introduction +------------ + + The STiH407 is the new generation of SoC for Multi-HD, AVC set-top boxes + and server/connected client application for satellite, cable, terrestrial + and IP-STB markets. + + Features + - ARM Cortex-A9 1.5 GHz dual core CPU (28nm) + - SATA2, USB 3.0, PCIe, Gbit Ethernet + +Document Author +--------------- + + Maxime Coquelin , (c) 2014 ST Microelectronics diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih418-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih418-overview.rst index d145903d43..b563c1f4fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih418-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/sti/stih418-overview.rst @@ -1,21 +1,21 @@ -================ -STiH418 Overview -================ - -Introduction ------------- - - The STiH418 is the new generation of SoC for UHDp60 set-top boxes - and server/connected client application for satellite, cable, terrestrial - and IP-STB markets. - - Features - - ARM Cortex-A9 1.5 GHz quad core CPU (28nm) - - SATA2, USB 3.0, PCIe, Gbit Ethernet - - HEVC L5.1 Main 10 - - VP9 - -Document Author ---------------- - - Maxime Coquelin , (c) 2015 ST Microelectronics +================ +STiH418 Overview +================ + +Introduction +------------ + + The STiH418 is the new generation of SoC for UHDp60 set-top boxes + and server/connected client application for satellite, cable, terrestrial + and IP-STB markets. + + Features + - ARM Cortex-A9 1.5 GHz quad core CPU (28nm) + - SATA2, USB 3.0, PCIe, Gbit Ethernet + - HEVC L5.1 Main 10 + - VP9 + +Document Author +--------------- + + Maxime Coquelin , (c) 2015 ST Microelectronics diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp157-overview.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp157-overview.rst index 4444f6debf..f62fdc8e7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp157-overview.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm/stm32/stm32mp157-overview.rst @@ -1,20 +1,20 @@ -=================== -STM32MP157 Overview -=================== - -Introduction ------------- - -The STM32MP157 is a Cortex-A MPU aimed at various applications. -It features: - -- Dual core Cortex-A7 application core -- 2D/3D image composition with GPU -- Standard memories interface support -- Standard connectivity, widely inherited from the STM32 MCU family -- Comprehensive security support - -:Authors: - -- Ludovic Barre -- Gerald Baeza +=================== +STM32MP157 Overview +=================== + +Introduction +------------ + +The STM32MP157 is a Cortex-A MPU aimed at various applications. +It features: + +- Dual core Cortex-A7 application core +- 2D/3D image composition with GPU +- Standard memories interface support +- Standard connectivity, widely inherited from the STM32 MCU family +- Comprehensive security support + +:Authors: + +- Ludovic Barre +- Gerald Baeza diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/index.rst index 049732be0a..78544de0a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/arm64/index.rst @@ -1,39 +1,39 @@ -.. _arm64_index: - -================== -ARM64 Architecture -================== - -.. toctree:: - :maxdepth: 1 - - acpi_object_usage - amu - arm-acpi - asymmetric-32bit - booting - cpu-feature-registers - cpu-hotplug - elf_hwcaps - hugetlbpage - kdump - legacy_instructions - memory - memory-tagging-extension - perf - pointer-authentication - ptdump - silicon-errata - sme - sve - tagged-address-abi - tagged-pointers - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. _arm64_index: + +================== +ARM64 Architecture +================== + +.. toctree:: + :maxdepth: 1 + + acpi_object_usage + amu + arm-acpi + asymmetric-32bit + booting + cpu-feature-registers + cpu-hotplug + elf_hwcaps + hugetlbpage + kdump + legacy_instructions + memory + memory-tagging-extension + perf + pointer-authentication + ptdump + silicon-errata + sme + sve + tagged-address-abi + tagged-pointers + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/index.rst index 2db40ddda6..3f9962e45c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/index.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -CPU Architectures -================= - -These books provide programming details about architecture-specific -implementation. - -.. toctree:: - :maxdepth: 2 - - arc/index - arm/index - arm64/index - loongarch/index - m68k/index - mips/index - nios2/index - openrisc/index - parisc/index - powerpc/index - riscv/index - s390/index - sh/index - sparc/index - x86/index - xtensa/index +.. SPDX-License-Identifier: GPL-2.0 + +CPU Architectures +================= + +These books provide programming details about architecture-specific +implementation. + +.. toctree:: + :maxdepth: 2 + + arc/index + arm/index + arm64/index + loongarch/index + m68k/index + mips/index + nios2/index + openrisc/index + parisc/index + powerpc/index + riscv/index + s390/index + sh/index + sparc/index + x86/index + xtensa/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/acpi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/acpi.rst index 0d30b62876..9870a28281 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/acpi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/riscv/acpi.rst @@ -1,10 +1,10 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -ACPI on RISC-V -============== - -The ISA string parsing rules for ACPI are defined by `Version ASCIIDOC -Conversion, 12/2022 of the RISC-V specifications, as defined by tag -"riscv-isa-release-1239329-2023-05-23" (commit 1239329 -) `_ +.. SPDX-License-Identifier: GPL-2.0 + +============== +ACPI on RISC-V +============== + +The ISA string parsing rules for ACPI are defined by `Version ASCIIDOC +Conversion, 12/2022 of the RISC-V specifications, as defined by tag +"riscv-isa-release-1239329-2023-05-23" (commit 1239329 +) `_ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/index.rst index a3159f80a2..e75a6e5d25 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/s390/index.rst @@ -1,31 +1,31 @@ -================= -s390 Architecture -================= - -.. toctree:: - :maxdepth: 1 - - cds - 3270 - driver-model - mm - monreader - qeth - s390dbf - vfio-ap - vfio-ap-locking - vfio-ccw - zfcpdump - common_io - pci - - text_files - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +================= +s390 Architecture +================= + +.. toctree:: + :maxdepth: 1 + + cds + 3270 + driver-model + mm + monreader + qeth + s390dbf + vfio-ap + vfio-ap-locking + vfio-ccw + zfcpdump + common_io + pci + + text_files + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/booting.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/booting.rst index e392188ac2..d851c49a01 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/booting.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/sh/booting.rst @@ -1,12 +1,12 @@ -.. SPDX-License-Identifier: GPL-2.0 - -DeviceTree Booting ------------------- - - Device-tree compatible SH bootloaders are expected to provide the physical - address of the device tree blob in r4. Since legacy bootloaders did not - guarantee any particular initial register state, kernels built to - inter-operate with old bootloaders must either use a builtin DTB or - select a legacy board option (something other than CONFIG_SH_DEVICE_TREE) - that does not use device tree. Support for the latter is being phased out - in favor of device tree. +.. SPDX-License-Identifier: GPL-2.0 + +DeviceTree Booting +------------------ + + Device-tree compatible SH bootloaders are expected to provide the physical + address of the device tree blob in r4. Since legacy bootloaders did not + guarantee any particular initial register state, kernels built to + inter-operate with old bootloaders must either use a builtin DTB or + select a legacy board option (something other than CONFIG_SH_DEVICE_TREE) + that does not use device tree. Support for the latter is being phased out + in favor of device tree. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/index.rst index a2cfd63ca2..8ac64d7de4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/arch/x86/index.rst @@ -1,45 +1,45 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================== -x86-specific Documentation -========================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - boot - booting-dt - cpuinfo - topology - exception-tables - kernel-stacks - entry_64 - earlyprintk - orc-unwinder - zero-page - tlb - mtrr - pat - intel-hfi - shstk - iommu - intel_txt - amd-memory-encryption - amd_hsmp - tdx - pti - mds - microcode - resctrl - tsx_async_abort - buslock - usb-legacy-support - i386/index - x86_64/index - ifs - sva - sgx - features - elf_auxvec - xstate +.. SPDX-License-Identifier: GPL-2.0 + +========================== +x86-specific Documentation +========================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + boot + booting-dt + cpuinfo + topology + exception-tables + kernel-stacks + entry_64 + earlyprintk + orc-unwinder + zero-page + tlb + mtrr + pat + intel-hfi + shstk + iommu + intel_txt + amd-memory-encryption + amd_hsmp + tdx + pti + mds + microcode + resctrl + tsx_async_abort + buslock + usb-legacy-support + i386/index + x86_64/index + ifs + sva + sgx + features + elf_auxvec + xstate diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/block/kyber-iosched.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/block/kyber-iosched.rst index 9f504e9d61..3e164dd061 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/block/kyber-iosched.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/block/kyber-iosched.rst @@ -1,15 +1,15 @@ -============================ -Kyber I/O scheduler tunables -============================ - -The only two tunables for the Kyber scheduler are the target latencies for -reads and synchronous writes. Kyber will throttle requests in order to meet -these target latencies. - -read_lat_nsec -------------- -Target latency for reads (in nanoseconds). - -write_lat_nsec --------------- -Target latency for synchronous writes (in nanoseconds). +============================ +Kyber I/O scheduler tunables +============================ + +The only two tunables for the Kyber scheduler are the target latencies for +reads and synchronous writes. Kyber will throttle requests in order to meet +these target latencies. + +read_lat_nsec +------------- +Target latency for reads (in nanoseconds). + +write_lat_nsec +-------------- +Target latency for synchronous writes (in nanoseconds). diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/standardization/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/standardization/index.rst index d08e3ecd2b..a50c3baf63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/standardization/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/bpf/standardization/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) - -=================== -BPF Standardization -=================== - -This directory contains documents that are being iterated on as part of the BPF -standardization effort with the IETF. See the `IETF BPF Working Group`_ page -for the working group charter, documents, and more. - -.. toctree:: - :maxdepth: 1 - - instruction-set - abi - -.. Links: -.. _IETF BPF Working Group: https://datatracker.ietf.org/wg/bpf/about/ +.. SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) + +=================== +BPF Standardization +=================== + +This directory contains documents that are being iterated on as part of the BPF +standardization effort with the IETF. See the `IETF BPF Working Group`_ page +for the working group charter, documents, and more. + +.. toctree:: + :maxdepth: 1 + + instruction-set + abi + +.. Links: +.. _IETF BPF Working Group: https://datatracker.ietf.org/wg/bpf/about/ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/memory-barriers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/memory-barriers.rst index a4ecb8f394..532460b5e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/memory-barriers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/core-api/wrappers/memory-barriers.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - This is a simple wrapper to bring memory-barriers.txt into the RST world - until such a time as that file can be converted directly. - -============================ -Linux kernel memory barriers -============================ - -.. raw:: latex - - \footnotesize - -.. include:: ../../memory-barriers.txt - :literal: - -.. raw:: latex - - \normalsize +.. SPDX-License-Identifier: GPL-2.0 + This is a simple wrapper to bring memory-barriers.txt into the RST world + until such a time as that file can be converted directly. + +============================ +Linux kernel memory barriers +============================ + +.. raw:: latex + + \footnotesize + +.. include:: ../../memory-barriers.txt + :literal: + +.. raw:: latex + + \normalsize diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-rng.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-rng.rst index 0f5e1490b2..10ba7436ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-rng.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/api-rng.rst @@ -1,14 +1,14 @@ -Random Number Algorithm Definitions ------------------------------------ - -.. kernel-doc:: include/crypto/rng.h - :functions: rng_alg - -Crypto API Random Number API ----------------------------- - -.. kernel-doc:: include/crypto/rng.h - :doc: Random number generator API - -.. kernel-doc:: include/crypto/rng.h - :functions: crypto_alloc_rng crypto_rng_alg crypto_free_rng crypto_rng_generate crypto_rng_get_bytes crypto_rng_reset crypto_rng_seedsize +Random Number Algorithm Definitions +----------------------------------- + +.. kernel-doc:: include/crypto/rng.h + :functions: rng_alg + +Crypto API Random Number API +---------------------------- + +.. kernel-doc:: include/crypto/rng.h + :doc: Random number generator API + +.. kernel-doc:: include/crypto/rng.h + :functions: crypto_alloc_rng crypto_rng_alg crypto_free_rng crypto_rng_generate crypto_rng_get_bytes crypto_rng_reset crypto_rng_seedsize diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/octeontx2.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/octeontx2.rst index a5f6f61c3e..7e469b173a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/octeontx2.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/device_drivers/octeontx2.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -octeontx2 devlink support -========================= - -This document describes the devlink features implemented by the ``octeontx2 CPT`` -device drivers. - -Parameters -========== - -The ``octeontx2`` driver implements the following driver-specific parameters. - -.. list-table:: Driver-specific parameters implemented - :widths: 5 5 5 85 - - * - Name - - Type - - Mode - - Description - * - ``t106_mode`` - - u8 - - runtime - - Used to configure CN10KA B0/CN10KB CPT to work as CN10KA A0/A1. +.. SPDX-License-Identifier: GPL-2.0 + +========================= +octeontx2 devlink support +========================= + +This document describes the devlink features implemented by the ``octeontx2 CPT`` +device drivers. + +Parameters +========== + +The ``octeontx2`` driver implements the following driver-specific parameters. + +.. list-table:: Driver-specific parameters implemented + :widths: 5 5 5 85 + + * - Name + - Type + - Mode + - Description + * - ``t106_mode`` + - u8 + - runtime + - Used to configure CN10KA B0/CN10KB CPT to work as CN10KA A0/A1. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/index.rst index a5327d81af..92eec78b57 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/crypto/index.rst @@ -1,28 +1,28 @@ -========== -Crypto API -========== - -:Author: Stephan Mueller -:Author: Marek Vasut - -This documentation outlines the Linux kernel crypto API with its -concepts, details about developing cipher implementations, employment of the API -for cryptographic use cases, as well as programming examples. - -.. toctree:: - :caption: Table of contents - :maxdepth: 2 - - intro - api-intro - architecture - - async-tx-api - asymmetric-keys - devel-algos - userspace-if - crypto_engine - api - api-samples - descore-readme - device_drivers/index +========== +Crypto API +========== + +:Author: Stephan Mueller +:Author: Marek Vasut + +This documentation outlines the Linux kernel crypto API with its +concepts, details about developing cipher implementations, employment of the API +for cryptographic use cases, as well as programming examples. + +.. toctree:: + :caption: Table of contents + :maxdepth: 2 + + intro + api-intro + architecture + + async-tx-api + asymmetric-keys + devel-algos + userspace-if + crypto_engine + api + api-samples + descore-readme + device_drivers/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/resource.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/resource.rst index c83b5b582b..ec6002a6b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/resource.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/dev-tools/kunit/api/resource.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -Resource API -============ - -This file documents the KUnit resource API. - -Most users won't need to use this API directly, power users can use it to store -state on a per-test basis, register custom cleanup actions, and more. - -.. kernel-doc:: include/kunit/resource.h - :internal: - -Managed Devices ---------------- - -Functions for using KUnit-managed struct device and struct device_driver. -Include ``kunit/device.h`` to use these. - -.. kernel-doc:: include/kunit/device.h - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +============ +Resource API +============ + +This file documents the KUnit resource API. + +Most users won't need to use this API directly, power users can use it to store +state on a per-test basis, register custom cleanup actions, and more. + +.. kernel-doc:: include/kunit/resource.h + :internal: + +Managed Devices +--------------- + +Functions for using KUnit-managed struct device and struct device_driver. +Include ``kunit/device.h`` to use these. + +.. kernel-doc:: include/kunit/device.h + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/pct.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/pct.txt index dd1809bd94..4e874d9a38 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/pct.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arc/pct.txt @@ -1,20 +1,20 @@ -* ARC Performance Counters - -The ARC700 can be configured with a pipeline performance monitor for counting -CPU and cache events like cache misses and hits. Like conventional PCT there -are 100+ hardware conditions dynamically mapped to up to 32 counters - -Note that: - * The ARC 700 PCT does not support interrupts; although HW events may be - counted, the HW events themselves cannot serve as a trigger for a sample. - -Required properties: - -- compatible : should contain - "snps,arc700-pct" - -Example: - -pmu { - compatible = "snps,arc700-pct"; -}; +* ARC Performance Counters + +The ARC700 can be configured with a pipeline performance monitor for counting +CPU and cache events like cache misses and hits. Like conventional PCT there +are 100+ hardware conditions dynamically mapped to up to 32 counters + +Note that: + * The ARC 700 PCT does not support interrupts; although HW events may be + counted, the HW events themselves cannot serve as a trigger for a sample. + +Required properties: + +- compatible : should contain + "snps,arc700-pct" + +Example: + +pmu { + compatible = "snps,arc700-pct"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml index f04ed8ab59..5723813066 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-clk-manager.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Altera SOCFPGA Clock Manager - -maintainers: - - Dinh Nguyen - -description: test - -properties: - compatible: - items: - - const: altr,clk-mgr - reg: - maxItems: 1 - -required: - - compatible - -additionalProperties: false - -examples: - - | - clkmgr@ffd04000 { - compatible = "altr,clk-mgr"; - reg = <0xffd04000 0x1000>; - }; - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/altera/socfpga-clk-manager.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Altera SOCFPGA Clock Manager + +maintainers: + - Dinh Nguyen + +description: test + +properties: + compatible: + items: + - const: altr,clk-mgr + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: false + +examples: + - | + clkmgr@ffd04000 { + compatible = "altr,clk-mgr"; + reg = <0xffd04000 0x1000>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-sdram-edac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-sdram-edac.txt index 0c57c2907a..f5ad0ff69f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-sdram-edac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-sdram-edac.txt @@ -1,15 +1,15 @@ -Altera SOCFPGA SDRAM Error Detection & Correction [EDAC] -The EDAC accesses a range of registers in the SDRAM controller. - -Required properties: -- compatible : should contain "altr,sdram-edac" or "altr,sdram-edac-a10" -- altr,sdr-syscon : phandle of the sdr module -- interrupts : Should contain the SDRAM ECC IRQ in the - appropriate format for the IRQ controller. - -Example: - sdramedac { - compatible = "altr,sdram-edac"; - altr,sdr-syscon = <&sdr>; - interrupts = <0 39 4>; - }; +Altera SOCFPGA SDRAM Error Detection & Correction [EDAC] +The EDAC accesses a range of registers in the SDRAM controller. + +Required properties: +- compatible : should contain "altr,sdram-edac" or "altr,sdram-edac-a10" +- altr,sdr-syscon : phandle of the sdr module +- interrupts : Should contain the SDRAM ECC IRQ in the + appropriate format for the IRQ controller. + +Example: + sdramedac { + compatible = "altr,sdram-edac"; + altr,sdr-syscon = <&sdr>; + interrupts = <0 39 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt index 61d7b7eff3..82edbaaa3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/altera/socfpga-system.txt @@ -1,25 +1,25 @@ -Altera SOCFPGA System Manager - -Required properties: -- compatible : "altr,sys-mgr" -- reg : Should contain 1 register ranges(address and length) -- cpu1-start-addr : CPU1 start address in hex. - -Example: - sysmgr@ffd08000 { - compatible = "altr,sys-mgr"; - reg = <0xffd08000 0x1000>; - cpu1-start-addr = <0xffd080c4>; - }; - -ARM64 - Stratix10 -Required properties: -- compatible : "altr,sys-mgr-s10" -- reg : Should contain 1 register range(address and length) - for system manager register. - -Example: - sysmgr@ffd12000 { - compatible = "altr,sys-mgr-s10"; - reg = <0xffd12000 0x228>; - }; +Altera SOCFPGA System Manager + +Required properties: +- compatible : "altr,sys-mgr" +- reg : Should contain 1 register ranges(address and length) +- cpu1-start-addr : CPU1 start address in hex. + +Example: + sysmgr@ffd08000 { + compatible = "altr,sys-mgr"; + reg = <0xffd08000 0x1000>; + cpu1-start-addr = <0xffd080c4>; + }; + +ARM64 - Stratix10 +Required properties: +- compatible : "altr,sys-mgr-s10" +- reg : Should contain 1 register range(address and length) + for system manager register. + +Example: + sysmgr@ffd12000 { + compatible = "altr,sys-mgr-s10"; + reg = <0xffd12000 0x228>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amd,pensando.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amd,pensando.yaml index 238829fc6f..e5c2591834 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amd,pensando.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/amd,pensando.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/amd,pensando.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AMD Pensando SoC Platforms - -maintainers: - - Brad Larson - -properties: - $nodename: - const: "/" - compatible: - oneOf: - - - description: Boards with Pensando Elba SoC - items: - - enum: - - amd,pensando-elba-ortano - - const: amd,pensando-elba - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/amd,pensando.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AMD Pensando SoC Platforms + +maintainers: + - Brad Larson + +properties: + $nodename: + const: "/" + compatible: + oneOf: + + - description: Boards with Pensando Elba SoC + items: + - enum: + - amd,pensando-elba-ortano + - const: amd,pensando-elba + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axxia.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axxia.yaml index 6d3f45b67e..d60907e43e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axxia.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/axxia.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/axxia.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Axxia AXM55xx - -maintainers: - - Anders Berg - -properties: - $nodename: - const: "/" - compatible: - description: LSI AXM5516 Validation board (Amarillo) - items: - - const: lsi,axm5516-amarillo - - const: lsi,axm5516 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/axxia.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Axxia AXM55xx + +maintainers: + - Anders Berg + +properties: + $nodename: + const: "/" + compatible: + description: LSI AXM5516 Validation board (Amarillo) + items: + - const: lsi,axm5516-amarillo + - const: lsi,axm5516 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml index e957b1e7b5..f2bcac0096 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm11351.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm11351.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM11351 - -maintainers: - - Florian Fainelli - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,bcm28155-ap - - const: brcm,bcm11351 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm11351.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM11351 + +maintainers: + - Florian Fainelli + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm28155-ap + - const: brcm,bcm11351 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml index e0c569e9ea..cf4e254e32 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm21664.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm21664.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM21664 - -maintainers: - - Florian Fainelli - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,bcm21664-garnet - - const: brcm,bcm21664 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm21664.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM21664 + +maintainers: + - Florian Fainelli + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm21664-garnet + - const: brcm,bcm21664 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml index 5e4613df76..eafec29ba7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,bcm23550.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm23550.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom BCM23550 - -maintainers: - - Florian Fainelli - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,bcm23550-sparrow - - const: brcm,bcm23550 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,bcm23550.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom BCM23550 + +maintainers: + - Florian Fainelli + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm23550-sparrow + - const: brcm,bcm23550 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml index 620f389ea3..6696598eca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,ns2.yaml @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,ns2.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom North Star 2 (NS2) - -maintainers: - - Ray Jui - - Scott Branden - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,ns2-svk - - brcm,ns2-xmc - - const: brcm,ns2 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,ns2.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom North Star 2 (NS2) + +maintainers: + - Ray Jui + - Scott Branden + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,ns2-svk + - brcm,ns2-xmc + - const: brcm,ns2 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml index f18c144602..c6ccb78aab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,stingray.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,stingray.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Stingray - -maintainers: - - Ray Jui - - Scott Branden - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,bcm958742k - - brcm,bcm958742t - - brcm,bcm958802a802x - - const: brcm,stingray - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,stingray.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Stingray + +maintainers: + - Ray Jui + - Scott Branden + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,bcm958742k + - brcm,bcm958742t + - brcm,bcm958802a802x + - const: brcm,stingray + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml index e20d133ccf..3f441352fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bcm/brcm,vulcan-soc.yaml @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bcm/brcm,vulcan-soc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Vulcan - -maintainers: - - Robert Richter - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - brcm,vulcan-eval - - cavium,thunderx2-cn9900 - - const: brcm,vulcan-soc - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/brcm,vulcan-soc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Vulcan + +maintainers: + - Robert Richter + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - brcm,vulcan-eval + - cavium,thunderx2-cn9900 + - const: brcm,vulcan-soc + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bitmain.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bitmain.yaml index 4472bda6d7..55a5a570b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bitmain.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/bitmain.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/bitmain.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Bitmain platform - -maintainers: - - Manivannan Sadhasivam - -properties: - $nodename: - const: "/" - compatible: - items: - - enum: - - bitmain,sophon-edge - - const: bitmain,bm1880 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bitmain.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Bitmain platform + +maintainers: + - Manivannan Sadhasivam + +properties: + $nodename: + const: "/" + compatible: + items: + - enum: + - bitmain,sophon-edge + - const: bitmain,bm1880 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda.yaml index a9f71afb74..3e9f5e1d86 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/calxeda.yaml @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/calxeda.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Calxeda Platforms - -maintainers: - - Rob Herring -description: |+ - Bindings for boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC - or Cortex-A15 based ECX-2000 SOCs - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - calxeda,highbank - - calxeda,ecx-2000 - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/calxeda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Calxeda Platforms + +maintainers: + - Rob Herring +description: |+ + Bindings for boards with Calxeda Cortex-A9 based ECX-1000 (Highbank) SOC + or Cortex-A15 based ECX-2000 SOCs + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - calxeda,highbank + - calxeda,ecx-2000 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/digicolor.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/digicolor.yaml index 56cc73b947..0cf9ddaa52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/digicolor.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/digicolor.yaml @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/digicolor.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Conexant Digicolor Platforms - -maintainers: - - Baruch Siach - -properties: - $nodename: - const: "/" - compatible: - const: cnxt,cx92755 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/digicolor.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Conexant Digicolor Platforms + +maintainers: + - Baruch Siach + +properties: + $nodename: + const: "/" + compatible: + const: cnxt,cx92755 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml index 33d22e51fe..60c516a04a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/hip04-fabric.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/hip04-fabric.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hisilicon Fabric controller - -maintainers: - - Wei Xu - -description: Hisilicon Fabric controller - -properties: - compatible: - items: - - const: hisilicon,hip04-fabric - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/hip04-fabric.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hisilicon Fabric controller + +maintainers: + - Wei Xu + +description: Hisilicon Fabric controller + +properties: + compatible: + items: + - const: hisilicon,hip04-fabric + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/pctrl.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/pctrl.yaml index 60f404e69c..6d50658728 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/pctrl.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hisilicon/controller/pctrl.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hisilicon/controller/pctrl.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Peripheral misc control register - -maintainers: - - Wei Xu - -description: Peripheral misc control register - -properties: - compatible: - items: - - const: hisilicon,pctrl - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pctrl@fca09000 { - compatible = "hisilicon,pctrl"; - reg = <0xfca09000 0x1000>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hisilicon/controller/pctrl.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Peripheral misc control register + +maintainers: + - Wei Xu + +description: Peripheral misc control register + +properties: + compatible: + items: + - const: hisilicon,pctrl + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pctrl@fca09000 { + compatible = "hisilicon,pctrl"; + reg = <0xfca09000 0x1000>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hpe,gxp.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hpe,gxp.yaml index 4cc90b55eb..224bbcb93f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hpe,gxp.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/hpe,gxp.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/hpe,gxp.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HPE BMC GXP platforms - -maintainers: - - Nick Hawkins - - Jean-Marie Verdun - -properties: - compatible: - oneOf: - - description: GXP Based Boards - items: - - enum: - - hpe,gxp-dl360gen10 - - const: hpe,gxp - -required: - - compatible - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/hpe,gxp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE BMC GXP platforms + +maintainers: + - Nick Hawkins + - Jean-Marie Verdun + +properties: + compatible: + oneOf: + - description: GXP Based Boards + items: + - enum: + - hpe,gxp-dl360gen10 + - const: hpe,gxp + +required: + - compatible + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,keembay.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,keembay.yaml index 199b931530..53d2ce02b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,keembay.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/intel,keembay.yaml @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/intel,keembay.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Keem Bay platform - -maintainers: - - Paul J. Murphy - - Daniele Alessandrelli - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - intel,keembay-evm - - const: intel,keembay - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/intel,keembay.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Keem Bay platform + +maintainers: + - Paul J. Murphy + - Daniele Alessandrelli + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - intel,keembay-evm + - const: intel,keembay + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/linux,dummy-virt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/linux,dummy-virt.yaml index 3f7ed6c683..c7c5eb48fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/linux,dummy-virt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/linux,dummy-virt.yaml @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/linux,dummy-virt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: QEMU virt machine - -maintainers: - - Rob Herring - -properties: - $nodename: - const: "/" - compatible: - const: linux,dummy-virt - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/linux,dummy-virt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: QEMU virt machine + +maintainers: + - Rob Herring + +properties: + $nodename: + const: "/" + compatible: + const: linux,dummy-virt + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp-pmsu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp-pmsu.txt index 5bbe2c4894..26799ef562 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp-pmsu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-370-xp-pmsu.txt @@ -1,21 +1,21 @@ -Power Management Service Unit(PMSU) ------------------------------------ -Available on Marvell SOCs: Armada 370, Armada 38x and Armada XP - -Required properties: - -- compatible: should be one of: - - "marvell,armada-370-pmsu" for Armada 370 or Armada XP - - "marvell,armada-380-pmsu" for Armada 38x - - "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now - deprecated and will be removed - -- reg: Should contain PMSU registers location and length. - -Example: - -armada-370-xp-pmsu@22000 { - compatible = "marvell,armada-370-pmsu"; - reg = <0x22000 0x1000>; -}; - +Power Management Service Unit(PMSU) +----------------------------------- +Available on Marvell SOCs: Armada 370, Armada 38x and Armada XP + +Required properties: + +- compatible: should be one of: + - "marvell,armada-370-pmsu" for Armada 370 or Armada XP + - "marvell,armada-380-pmsu" for Armada 38x + - "marvell,armada-370-xp-pmsu" was used for Armada 370/XP but is now + deprecated and will be removed + +- reg: Should contain PMSU registers location and length. + +Example: + +armada-370-xp-pmsu@22000 { + compatible = "marvell,armada-370-pmsu"; + reg = <0x22000 0x1000>; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-380-mpcore-soc-ctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-380-mpcore-soc-ctrl.txt index 5ec38b7a43..8781073029 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-380-mpcore-soc-ctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-380-mpcore-soc-ctrl.txt @@ -1,14 +1,14 @@ -Marvell Armada 38x CA9 MPcore SoC Controller -============================================ - -Required properties: - -- compatible: Should be "marvell,armada-380-mpcore-soc-ctrl". - -- reg: should be the register base and length as documented in the - datasheet for the CA9 MPcore SoC Control registers - -mpcore-soc-ctrl@20d20 { - compatible = "marvell,armada-380-mpcore-soc-ctrl"; - reg = <0x20d20 0x6c>; -}; +Marvell Armada 38x CA9 MPcore SoC Controller +============================================ + +Required properties: + +- compatible: Should be "marvell,armada-380-mpcore-soc-ctrl". + +- reg: should be the register base and length as documented in the + datasheet for the CA9 MPcore SoC Control registers + +mpcore-soc-ctrl@20d20 { + compatible = "marvell,armada-380-mpcore-soc-ctrl"; + reg = <0x20d20 0x6c>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-8kp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-8kp.txt index 0e2278b42f..f3e9624534 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-8kp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-8kp.txt @@ -1,15 +1,15 @@ -Marvell Armada 8KPlus Platforms Device Tree Bindings ----------------------------------------------------- - -Boards using a SoC of the Marvell Armada 8KP families must carry -the following root node property: - - - compatible, with one of the following values: - - - "marvell,armada-8080", "marvell,armada-ap810-octa", "marvell,armada-ap810" - when the SoC being used is the Armada 8080 - -Example: - -compatible = "marvell,armada-8080-db", "marvell,armada-8080", - "marvell,armada-ap810-octa", "marvell,armada-ap810" +Marvell Armada 8KPlus Platforms Device Tree Bindings +---------------------------------------------------- + +Boards using a SoC of the Marvell Armada 8KP families must carry +the following root node property: + + - compatible, with one of the following values: + + - "marvell,armada-8080", "marvell,armada-ap810-octa", "marvell,armada-ap810" + when the SoC being used is the Armada 8080 + +Example: + +compatible = "marvell,armada-8080-db", "marvell,armada-8080", + "marvell,armada-ap810-octa", "marvell,armada-ap810" diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-cpu-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-cpu-reset.txt index 40dc60fb0e..b63a7b6ab9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-cpu-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/armada-cpu-reset.txt @@ -1,14 +1,14 @@ -Marvell Armada CPU reset controller -=================================== - -Required properties: - -- compatible: Should be "marvell,armada-370-cpu-reset". - -- reg: should be register base and length as documented in the - datasheet for the CPU reset registers - -cpurst: cpurst@20800 { - compatible = "marvell,armada-370-cpu-reset"; - reg = <0x20800 0x20>; -}; +Marvell Armada CPU reset controller +=================================== + +Required properties: + +- compatible: Should be "marvell,armada-370-cpu-reset". + +- reg: should be register base and length as documented in the + datasheet for the CPU reset registers + +cpurst: cpurst@20800 { + compatible = "marvell,armada-370-cpu-reset"; + reg = <0x20800 0x20>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-cpu-config.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-cpu-config.txt index 54f556cf37..2cdcd716da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-cpu-config.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-cpu-config.txt @@ -1,20 +1,20 @@ -MVEBU CPU Config registers --------------------------- - -MVEBU (Marvell SOCs: Armada 370/XP) - -Required properties: - -- compatible: one of: - - "marvell,armada-370-cpu-config" - - "marvell,armada-xp-cpu-config" - -- reg: Should contain CPU config registers location and length, in - their per-CPU variant - -Example: - - cpu-config@21000 { - compatible = "marvell,armada-xp-cpu-config"; - reg = <0x21000 0x8>; - }; +MVEBU CPU Config registers +-------------------------- + +MVEBU (Marvell SOCs: Armada 370/XP) + +Required properties: + +- compatible: one of: + - "marvell,armada-370-cpu-config" + - "marvell,armada-xp-cpu-config" + +- reg: Should contain CPU config registers location and length, in + their per-CPU variant + +Example: + + cpu-config@21000 { + compatible = "marvell,armada-xp-cpu-config"; + reg = <0x21000 0x8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-system-controller.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-system-controller.txt index 8a2a3756a4..d24ab2ebf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-system-controller.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/marvell/mvebu-system-controller.txt @@ -1,18 +1,18 @@ -MVEBU System Controller ------------------------ -MVEBU (Marvell SOCs: Armada 370/375/XP, Dove, mv78xx0, Kirkwood, Orion5x) - -Required properties: - -- compatible: one of: - - "marvell,orion-system-controller" - - "marvell,armada-370-xp-system-controller" - - "marvell,armada-375-system-controller" -- reg: Should contain system controller registers location and length. - -Example: - - system-controller@d0018200 { - compatible = "marvell,armada-370-xp-system-controller"; - reg = <0xd0018200 0x500>; - }; +MVEBU System Controller +----------------------- +MVEBU (Marvell SOCs: Armada 370/375/XP, Dove, mv78xx0, Kirkwood, Orion5x) + +Required properties: + +- compatible: one of: + - "marvell,orion-system-controller" + - "marvell,armada-370-xp-system-controller" + - "marvell,armada-375-system-controller" +- reg: Should contain system controller registers location and length. + +Example: + + system-controller@d0018200 { + compatible = "marvell,armada-370-xp-system-controller"; + reg = <0xd0018200 0x500>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/moxart.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/moxart.yaml index 70a4253058..4256528091 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/moxart.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/moxart.yaml @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/moxart.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MOXA ART - -maintainers: - - Jonas Jensen - -properties: - compatible: - description: UC-7112-LX embedded computer - items: - - const: moxa,moxart-uc-7112-lx - - const: moxa,moxart - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/moxart.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MOXA ART + +maintainers: + - Jonas Jensen + +properties: + compatible: + description: UC-7112-LX embedded computer + items: + - const: moxa,moxart-uc-7112-lx + - const: moxa,moxart + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml index 8427d57bf3..f1bd6f50e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/nxp/lpc32xx.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/nxp/lpc32xx.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP LPC32xx Platforms - -maintainers: - - Roland Stigge - -properties: - compatible: - oneOf: - - enum: - - nxp,lpc3220 - - nxp,lpc3230 - - nxp,lpc3240 - - items: - - enum: - - ea,ea3250 - - phytec,phy3250 - - const: nxp,lpc3250 - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/nxp/lpc32xx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP LPC32xx Platforms + +maintainers: + - Roland Stigge + +properties: + compatible: + oneOf: + - enum: + - nxp,lpc3220 + - nxp,lpc3230 + - nxp,lpc3240 + - items: + - enum: + - ea,ea3250 + - phytec,phy3250 + - const: nxp,lpc3250 + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/counter.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/counter.txt index bc45cdff10..5bd8aa0913 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/counter.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/counter.txt @@ -1,15 +1,15 @@ -OMAP Counter-32K bindings - -Required properties: -- compatible: Must be "ti,omap-counter32k" for OMAP controllers -- reg: Contains timer register address range (base address and length) -- ti,hwmods: Name of the hwmod associated to the counter, which is typically - "counter_32k" - -Example: - -counter32k: counter@4a304000 { - compatible = "ti,omap-counter32k"; - reg = <0x4a304000 0x20>; - ti,hwmods = "counter_32k"; -}; +OMAP Counter-32K bindings + +Required properties: +- compatible: Must be "ti,omap-counter32k" for OMAP controllers +- reg: Contains timer register address range (base address and length) +- ti,hwmods: Name of the hwmod associated to the counter, which is typically + "counter_32k" + +Example: + +counter32k: counter@4a304000 { + compatible = "ti,omap-counter32k"; + reg = <0x4a304000 0x20>; + ti,hwmods = "counter_32k"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/iva.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/iva.txt index 3afc9c5afa..6d62951713 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/iva.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/omap/iva.txt @@ -1,19 +1,19 @@ -* TI - IVA (Imaging and Video Accelerator) subsystem - -The IVA contain various audio, video or imaging HW accelerator -depending of the version. - -Required properties: -- compatible : Should be: - - "ti,ivahd" for OMAP4 - - "ti,iva2.2" for OMAP3 - - "ti,iva2.1" for OMAP2430 - - "ti,iva1" for OMAP2420 -- ti,hwmods: "iva" - -Examples: - -iva { - compatible = "ti,ivahd", "ti,iva"; - ti,hwmods = "iva"; -}; +* TI - IVA (Imaging and Video Accelerator) subsystem + +The IVA contain various audio, video or imaging HW accelerator +depending of the version. + +Required properties: +- compatible : Should be: + - "ti,ivahd" for OMAP4 + - "ti,iva2.2" for OMAP3 + - "ti,iva2.1" for OMAP2430 + - "ti,iva1" for OMAP2420 +- ti,hwmods: "iva" + +Examples: + +iva { + compatible = "ti,ivahd", "ti,iva"; + ti,hwmods = "iva"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rda.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rda.yaml index 82ed5e536f..09241ea1d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rda.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/rda.yaml @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/rda.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: RDA Micro platforms - -maintainers: - - Manivannan Sadhasivam - -properties: - $nodename: - const: "/" - compatible: - items: - - enum: - - xunlong,orangepi-2g-iot # Orange Pi 2G-IoT - - xunlong,orangepi-i96 # Orange Pi i96 - - const: rda,8810pl - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/rda.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: RDA Micro platforms + +maintainers: + - Manivannan Sadhasivam + +properties: + $nodename: + const: "/" + compatible: + items: + - enum: + - xunlong,orangepi-2g-iot # Orange Pi 2G-IoT + - xunlong,orangepi-i96 # Orange Pi i96 + - const: rda,8810pl + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml index 4b80f721b0..5a428a8857 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/milbeaut.yaml @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/socionext/milbeaut.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Milbeaut platforms - -maintainers: - - Taichi Sugaya - - Takao Orito - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - socionext,milbeaut-m10v-evb - - const: socionext,sc2000a - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/socionext/milbeaut.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Milbeaut platforms + +maintainers: + - Taichi Sugaya + - Takao Orito + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - socionext,milbeaut-m10v-evb + - const: socionext,sc2000a + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml index b5e812f878..72554a4f1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/socionext/synquacer.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/socionext/synquacer.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Socionext Synquacer platform - -maintainers: - - Masahisa Kojima - - Jassi Brar - -description: - Socionext SC2A11B (Synquacer) SoC based boards - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - items: - - enum: - - socionext,developer-box - - const: socionext,synquacer - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/socionext/synquacer.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Socionext Synquacer platform + +maintainers: + - Masahisa Kojima + - Jassi Brar + +description: + Socionext SC2A11B (Synquacer) SoC based boards + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - items: + - enum: + - socionext,developer-box + - const: socionext,synquacer + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/spear.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/spear.yaml index 81d5ecc375..a465c9eca7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/spear.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/spear.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/spear.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: ST SPEAr Platforms - -maintainers: - - Viresh Kumar - - Stefan Roese - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - st,spear600 - - st,spear300 - - st,spear310 - - st,spear320 - - st,spear1310 - - st,spear1340 - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/spear.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ST SPEAr Platforms + +maintainers: + - Viresh Kumar + - Stefan Roese + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - st,spear600 + - st,spear300 + - st,spear310 + - st,spear320 + - st,spear1310 + - st,spear1340 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml index 825b529789..644f391afb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/sunxi/allwinner,sun9i-a80-prcm.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun9i-a80-prcm.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Allwinner A80 PRCM - -maintainers: - - Chen-Yu Tsai - - Maxime Ripard - -properties: - compatible: - const: allwinner,sun9i-a80-prcm - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - prcm@8001400 { - compatible = "allwinner,sun9i-a80-prcm"; - reg = <0x08001400 0x200>; - }; - -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/sunxi/allwinner,sun9i-a80-prcm.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner A80 PRCM + +maintainers: + - Chen-Yu Tsai + - Maxime Ripard + +properties: + compatible: + const: allwinner,sun9i-a80-prcm + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + prcm@8001400 { + compatible = "allwinner,sun9i-a80-prcm"; + reg = <0x08001400 0x200>; + }; + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tesla.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tesla.yaml index 3b0aefe34a..d670a0d562 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tesla.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/tesla.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/tesla.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Tesla Full Self Driving(FSD) platforms - -maintainers: - - Alim Akhtar - - linux-fsd@tesla.com - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - - description: FSD SoC board - items: - - enum: - - tesla,fsd-evb # Tesla FSD Evaluation - - const: tesla,fsd - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/tesla.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Tesla Full Self Driving(FSD) platforms + +maintainers: + - Alim Akhtar + - linux-fsd@tesla.com + +properties: + $nodename: + const: '/' + compatible: + oneOf: + + - description: FSD SoC board + items: + - enum: + - tesla,fsd-evb # Tesla FSD Evaluation + - const: tesla,fsd + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/nspire.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/nspire.yaml index 4e22a5d288..cc2023bb7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/nspire.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/ti/nspire.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/ti/nspire.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: TI-NSPIRE calculators - -maintainers: - - Daniel Tang - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - # CX models - - ti,nspire-cx - # Touchpad models - - ti,nspire-tp - # Clickpad models - - ti,nspire-clp - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/ti/nspire.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI-NSPIRE calculators + +maintainers: + - Daniel Tang + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + # CX models + - ti,nspire-cx + # Touchpad models + - ti,nspire-tp + # Clickpad models + - ti,nspire-clp + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500.yaml index e8dcee3806..5d5ad5a604 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/arm/vt8500.yaml @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/vt8500.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: VIA/Wondermedia VT8500 Platforms - -maintainers: - - Tony Prisk -description: test - -properties: - $nodename: - const: '/' - compatible: - items: - - enum: - - via,vt8500 - - wm,wm8505 - - wm,wm8650 - - wm,wm8750 - - wm,wm8850 - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/vt8500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VIA/Wondermedia VT8500 Platforms + +maintainers: + - Tony Prisk +description: test + +properties: + $nodename: + const: '/' + compatible: + items: + - enum: + - via,vt8500 + - wm,wm8505 + - wm,wm8650 + - wm,wm8750 + - wm,wm8850 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/marvell.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/marvell.txt index 65d3f38a12..b460edd127 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/marvell.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/ata/marvell.txt @@ -1,22 +1,22 @@ -* Marvell Orion SATA - -Required Properties: -- compatibility : "marvell,orion-sata" or "marvell,armada-370-sata" -- reg : Address range of controller -- interrupts : Interrupt controller is using -- nr-ports : Number of SATA ports in use. - -Optional Properties: -- phys : List of phandles to sata phys -- phy-names : Should be "0", "1", etc, one number per phandle - -Example: - - sata@80000 { - compatible = "marvell,orion-sata"; - reg = <0x80000 0x5000>; - interrupts = <21>; - phys = <&sata_phy0>, <&sata_phy1>; - phy-names = "0", "1"; - nr-ports = <2>; - } +* Marvell Orion SATA + +Required Properties: +- compatibility : "marvell,orion-sata" or "marvell,armada-370-sata" +- reg : Address range of controller +- interrupts : Interrupt controller is using +- nr-ports : Number of SATA ports in use. + +Optional Properties: +- phys : List of phandles to sata phys +- phy-names : Should be "0", "1", etc, one number per phandle + +Example: + + sata@80000 { + compatible = "marvell,orion-sata"; + reg = <0x80000 0x5000>; + interrupts = <21>; + phys = <&sata_phy0>, <&sata_phy1>; + phy-names = "0", "1"; + nr-ports = <2>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,bcsr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,bcsr.yaml index 7033fc8023..df3dd83996 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,bcsr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/board/fsl,bcsr.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/board/fsl,bcsr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Board Control and Status - -maintainers: - - Frank Li - -properties: - compatible: - enum: - - fsl,mpc8360mds-bcsr - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - board@f8000000 { - compatible = "fsl,mpc8360mds-bcsr"; - reg = <0xf8000000 0x8000>; - }; - +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/board/fsl,bcsr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Board Control and Status + +maintainers: + - Frank Li + +properties: + compatible: + enum: + - fsl,mpc8360mds-bcsr + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + board@f8000000 { + compatible = "fsl,mpc8360mds-bcsr"; + reg = <0xf8000000 0x8000>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt index 21cd9f4142..72daefc6b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/bus/ti,da850-mstpri.txt @@ -1,20 +1,20 @@ -* Device tree bindings for Texas Instruments da8xx master peripheral - priority driver - -DA8XX SoCs feature a set of registers allowing to change the priority of all -peripherals classified as masters. - -Documentation: -OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf - -Required properties: - -- compatible: "ti,da850-mstpri" - for da850 based boards -- reg: offset and length of the mstpri registers - -Example for da850-lcdk is shown below. - -mstpri { - compatible = "ti,da850-mstpri"; - reg = <0x14110 0x0c>; -}; +* Device tree bindings for Texas Instruments da8xx master peripheral + priority driver + +DA8XX SoCs feature a set of registers allowing to change the priority of all +peripherals classified as masters. + +Documentation: +OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf + +Required properties: + +- compatible: "ti,da850-mstpri" - for da850 based boards +- reg: offset and length of the mstpri registers + +Example for da850-lcdk is shown below. + +mstpri { + compatible = "ti,da850-mstpri"; + reg = <0x14110 0x0c>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,feroceon-cache.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,feroceon-cache.txt index 2869956682..0d244b999d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,feroceon-cache.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,feroceon-cache.txt @@ -1,16 +1,16 @@ -* Marvell Feroceon Cache - -Required properties: -- compatible : Should be either "marvell,feroceon-cache" or - "marvell,kirkwood-cache". - -Optional properties: -- reg : Address of the L2 cache control register. Mandatory for - "marvell,kirkwood-cache", not used by "marvell,feroceon-cache" - - -Example: - l2: l2-cache@20128 { - compatible = "marvell,kirkwood-cache"; - reg = <0x20128 0x4>; - }; +* Marvell Feroceon Cache + +Required properties: +- compatible : Should be either "marvell,feroceon-cache" or + "marvell,kirkwood-cache". + +Optional properties: +- reg : Address of the L2 cache control register. Mandatory for + "marvell,kirkwood-cache", not used by "marvell,feroceon-cache" + + +Example: + l2: l2-cache@20128 { + compatible = "marvell,kirkwood-cache"; + reg = <0x20128 0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt index 98ddd32546..31af1cbb60 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/cache/marvell,tauros2-cache.txt @@ -1,17 +1,17 @@ -* Marvell Tauros2 Cache - -Required properties: -- compatible : Should be "marvell,tauros2-cache". -- marvell,tauros2-cache-features : Specify the features supported for the - tauros2 cache. - The features including - CACHE_TAUROS2_PREFETCH_ON (1 << 0) - CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) - The definition can be found at - arch/arm/include/asm/hardware/cache-tauros2.h - -Example: - L2: l2-cache { - compatible = "marvell,tauros2-cache"; - marvell,tauros2-cache-features = <0x3>; - }; +* Marvell Tauros2 Cache + +Required properties: +- compatible : Should be "marvell,tauros2-cache". +- marvell,tauros2-cache-features : Specify the features supported for the + tauros2 cache. + The features including + CACHE_TAUROS2_PREFETCH_ON (1 << 0) + CACHE_TAUROS2_LINEFILL_BURST8 (1 << 1) + The definition can be found at + arch/arm/include/asm/hardware/cache-tauros2.h + +Example: + L2: l2-cache { + compatible = "marvell,tauros2-cache"; + marvell,tauros2-cache-features = <0x3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt index 04e9cfa61c..3e7ca55307 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/brcm,bcm63xx-clocks.txt @@ -1,24 +1,24 @@ -Gated Clock Controller Bindings for MIPS based BCM63XX SoCs - -Required properties: -- compatible: must be one of: - "brcm,bcm3368-clocks" - "brcm,bcm6318-clocks" - "brcm,bcm6318-ubus-clocks" - "brcm,bcm6328-clocks" - "brcm,bcm6358-clocks" - "brcm,bcm6362-clocks" - "brcm,bcm6368-clocks" - "brcm,bcm63268-clocks" - -- reg: Address and length of the register set -- #clock-cells: must be <1> - - -Example: - -clkctl: clock-controller@10000004 { - compatible = "brcm,bcm6328-clocks"; - reg = <0x10000004 0x4>; - #clock-cells = <1>; -}; +Gated Clock Controller Bindings for MIPS based BCM63XX SoCs + +Required properties: +- compatible: must be one of: + "brcm,bcm3368-clocks" + "brcm,bcm6318-clocks" + "brcm,bcm6318-ubus-clocks" + "brcm,bcm6328-clocks" + "brcm,bcm6358-clocks" + "brcm,bcm6362-clocks" + "brcm,bcm6368-clocks" + "brcm,bcm63268-clocks" + +- reg: Address and length of the register set +- #clock-cells: must be <1> + + +Example: + +clkctl: clock-controller@10000004 { + compatible = "brcm,bcm6328-clocks"; + reg = <0x10000004 0x4>; + #clock-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pxa-clock.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pxa-clock.txt index 204f376462..8f67239411 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pxa-clock.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/clock/pxa-clock.txt @@ -1,15 +1,15 @@ -* Clock bindings for Marvell PXA chips - -Required properties: -- compatible: Should be "marvell,pxa-clocks" -- #clock-cells: Should be <1> - -The clock consumer should specify the desired clock by having the clock -ID in its "clocks" phandle cell (see include/.../pxa-clock.h). - -Examples: - -pxa2xx_clks: pxa2xx_clks@41300004 { - compatible = "marvell,pxa-clocks"; - #clock-cells = <1>; -}; +* Clock bindings for Marvell PXA chips + +Required properties: +- compatible: Should be "marvell,pxa-clocks" +- #clock-cells: Should be <1> + +The clock consumer should specify the desired clock by having the clock +ID in its "clocks" phandle cell (see include/.../pxa-clock.h). + +Examples: + +pxa2xx_clks: pxa2xx_clks@41300004 { + compatible = "marvell,pxa-clocks"; + #clock-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/ftm-quaddec.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/ftm-quaddec.txt index 80f30ad523..4d18cd7220 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/ftm-quaddec.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/counter/ftm-quaddec.txt @@ -1,18 +1,18 @@ -FlexTimer Quadrature decoder counter - -This driver exposes a simple counter for the quadrature decoder mode. - -Required properties: -- compatible: Must be "fsl,ftm-quaddec". -- reg: Must be set to the memory region of the flextimer. - -Optional property: -- big-endian: Access the device registers in big-endian mode. - -Example: - counter0: counter@29d0000 { - compatible = "fsl,ftm-quaddec"; - reg = <0x0 0x29d0000 0x0 0x10000>; - big-endian; - status = "disabled"; - }; +FlexTimer Quadrature decoder counter + +This driver exposes a simple counter for the quadrature decoder mode. + +Required properties: +- compatible: Must be "fsl,ftm-quaddec". +- reg: Must be set to the memory region of the flextimer. + +Optional property: +- big-endian: Access the device registers in big-endian mode. + +Example: + counter0: counter@29d0000 { + compatible = "fsl,ftm-quaddec"; + reg = <0x0 0x29d0000 0x0 0x10000>; + big-endian; + status = "disabled"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/amd-ccp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/amd-ccp.txt index d8303628b9..d87579d63d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/amd-ccp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/amd-ccp.txt @@ -1,17 +1,17 @@ -* AMD Cryptographic Coprocessor driver (ccp) - -Required properties: -- compatible: Should be "amd,ccp-seattle-v1a" -- reg: Address and length of the register set for the device -- interrupts: Should contain the CCP interrupt - -Optional properties: -- dma-coherent: Present if dma operations are coherent - -Example: - ccp@e0100000 { - compatible = "amd,ccp-seattle-v1a"; - reg = <0 0xe0100000 0 0x10000>; - interrupt-parent = <&gic>; - interrupts = <0 3 4>; - }; +* AMD Cryptographic Coprocessor driver (ccp) + +Required properties: +- compatible: Should be "amd,ccp-seattle-v1a" +- reg: Address and length of the register set for the device +- interrupts: Should contain the CCP interrupt + +Optional properties: +- dma-coherent: Present if dma operations are coherent + +Example: + ccp@e0100000 { + compatible = "amd,ccp-seattle-v1a"; + reg = <0 0xe0100000 0 0x10000>; + interrupt-parent = <&gic>; + interrupts = <0 3 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt index 619f0f1fd0..d9cca4875b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/crypto/artpec6-crypto.txt @@ -1,16 +1,16 @@ -Axis crypto engine with PDMA interface. - -Required properties: -- compatible : Should be one of the following strings: - "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC - "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC. -- reg: Base address and size for the PDMA register area. -- interrupts: Interrupt handle for the PDMA interrupt line. - -Example: - -crypto@f4264000 { - compatible = "axis,artpec6-crypto"; - reg = <0xf4264000 0x1000>; - interrupts = ; -}; +Axis crypto engine with PDMA interface. + +Required properties: +- compatible : Should be one of the following strings: + "axis,artpec6-crypto" for the version in the Axis ARTPEC-6 SoC + "axis,artpec7-crypto" for the version in the Axis ARTPEC-7 SoC. +- reg: Base address and size for the PDMA register area. +- interrupts: Interrupt handle for the PDMA interrupt line. + +Example: + +crypto@f4264000 { + compatible = "axis,artpec6-crypto"; + reg = <0xf4264000 0x1000>; + interrupts = ; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,tcon.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,tcon.txt index 6319b60bf4..4750087478 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,tcon.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/fsl,tcon.txt @@ -1,17 +1,17 @@ -Device Tree bindings for Freescale TCON Driver - -Required properties: -- compatible: Should be one of - * "fsl,vf610-tcon". - -- reg: Address and length of the register set for tcon. -- clocks: From common clock binding: handle to tcon ipg clock. -- clock-names: From common clock binding: Shall be "ipg". - -Examples: -timing-controller@4003d000 { - compatible = "fsl,vf610-tcon"; - reg = <0x4003d000 0x1000>; - clocks = <&clks VF610_CLK_TCON0>; - clock-names = "ipg"; -}; +Device Tree bindings for Freescale TCON Driver + +Required properties: +- compatible: Should be one of + * "fsl,vf610-tcon". + +- reg: Address and length of the register set for tcon. +- clocks: From common clock binding: handle to tcon ipg clock. +- clock-names: From common clock binding: Shall be "ipg". + +Examples: +timing-controller@4003d000 { + compatible = "fsl,vf610-tcon"; + reg = <0x4003d000 0x1000>; + clocks = <&clks VF610_CLK_TCON0>; + clock-names = "ipg"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/google,goldfish-fb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/google,goldfish-fb.txt index 5dbe823553..751fa9f51e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/google,goldfish-fb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/google,goldfish-fb.txt @@ -1,17 +1,17 @@ -Android Goldfish framebuffer - -Android Goldfish framebuffer device used by Android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-fb" -- reg : -- interrupts : - -Example: - - display-controller@1f008000 { - compatible = "google,goldfish-fb"; - interrupts = <0x10>; - reg = <0x1f008000 0x100>; - }; +Android Goldfish framebuffer + +Android Goldfish framebuffer device used by Android emulator. + +Required properties: + +- compatible : should contain "google,goldfish-fb" +- reg : +- interrupts : + +Example: + + display-controller@1f008000 { + compatible = "google,goldfish-fb"; + interrupts = <0x10>; + reg = <0x1f008000 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/marvell,pxa300-gcu.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/marvell,pxa300-gcu.txt index a44713f1ff..9cfae5c4e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/marvell,pxa300-gcu.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/marvell,pxa300-gcu.txt @@ -1,17 +1,17 @@ -PXA3xx GCU Controller ---------------------- - -Required properties: - - compatible : "marvell,pxa300-gcu" - - reg : should contain the register range (address and length). - - interrupts : Controller interrupt. - - clocks: phandle to the PXA specific input clock. - -Example for PXA300: - - display-controller@54000000 { - compatible = "marvell,pxa300-gcu"; - reg = <0x54000000 0x1000>; - interrupts = <39>; - clocks = <&clks CLK_PXA300_GCU>; - }; +PXA3xx GCU Controller +--------------------- + +Required properties: + - compatible : "marvell,pxa300-gcu" + - reg : should contain the register range (address and length). + - interrupts : Controller interrupt. + - clocks: phandle to the PXA specific input clock. + +Example for PXA300: + + display-controller@54000000 { + compatible = "marvell,pxa300-gcu"; + reg = <0x54000000 0x1000>; + interrupts = <39>; + clocks = <&clks CLK_PXA300_GCU>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/arm,rtsm-display.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/arm,rtsm-display.yaml index 38d320c0c0..4ad484f09b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/arm,rtsm-display.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/arm,rtsm-display.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/arm,rtsm-display.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Arm RTSM Virtual Platforms Display - -maintainers: - - Linus Walleij - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: arm,rtsm-display - - port: true - -required: - - compatible - - port - -additionalProperties: false - -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/arm,rtsm-display.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Arm RTSM Virtual Platforms Display + +maintainers: + - Linus Walleij + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: arm,rtsm-display + + port: true + +required: + - compatible + - port + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml index 9f899340d1..bbf127fb28 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/bananapi,s070wv20-ct16.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel - -maintainers: - - Chen-Yu Tsai - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: bananapi,s070wv20-ct16 - - power-supply: true - backlight: true - enable-gpios: true - port: true - -additionalProperties: false - -required: - - compatible - - power-supply - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/bananapi,s070wv20-ct16.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Banana Pi 7" (S070WV20-CT16) TFT LCD Panel + +maintainers: + - Chen-Yu Tsai + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: bananapi,s070wv20-ct16 + + power-supply: true + backlight: true + enable-gpios: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml index 46989930b6..287e2feb65 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/dlc,dlc0700yzg-1.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel - -maintainers: - - Philipp Zabel - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: dlc,dlc0700yzg-1 - - reset-gpios: true - enable-gpios: true - backlight: true - port: true - -additionalProperties: false - -required: - - compatible - - power-supply - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/dlc,dlc0700yzg-1.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DLC Display Co. DLC0700YZG-1 7.0" WSVGA TFT LCD panel + +maintainers: + - Philipp Zabel + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: dlc,dlc0700yzg-1 + + reset-gpios: true + enable-gpios: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml index 903b7edad9..ccd3623b49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/panel/pda,91-00156-a0.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/display/panel/pda,91-00156-a0.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: PDA 91-00156-A0 5.0" WVGA TFT LCD panel - -maintainers: - - Cristian Birsan - - Thierry Reding - -allOf: - - $ref: panel-common.yaml# - -properties: - compatible: - const: pda,91-00156-a0 - - power-supply: true - backlight: true - port: true - -additionalProperties: false - -required: - - compatible - - power-supply - - backlight - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/pda,91-00156-a0.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PDA 91-00156-A0 5.0" WVGA TFT LCD panel + +maintainers: + - Cristian Birsan + - Thierry Reding + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: pda,91-00156-a0 + + power-supply: true + backlight: true + port: true + +additionalProperties: false + +required: + - compatible + - power-supply + - backlight + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ssd1289fb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ssd1289fb.txt index 3e0a5b6598..4fcd5e68cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ssd1289fb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ssd1289fb.txt @@ -1,13 +1,13 @@ -* Solomon SSD1289 Framebuffer Driver - -Required properties: - - compatible: Should be "solomon,ssd1289fb". The only supported bus for - now is lbc. - - reg: Should contain address of the controller on the LBC bus. The detail - was described in Documentation/devicetree/bindings/powerpc/fsl/lbc.txt - -Examples: -display@2,0 { - compatible = "solomon,ssd1289fb"; - reg = <0x2 0x0000 0x0004>; -}; +* Solomon SSD1289 Framebuffer Driver + +Required properties: + - compatible: Should be "solomon,ssd1289fb". The only supported bus for + now is lbc. + - reg: Should contain address of the controller on the LBC bus. The detail + was described in Documentation/devicetree/bindings/powerpc/fsl/lbc.txt + +Examples: +display@2,0 { + compatible = "solomon,ssd1289fb"; + reg = <0x2 0x0000 0x0004>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,opa362.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,opa362.txt index 3663c1ae4a..f96083c0bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,opa362.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/display/ti/ti,opa362.txt @@ -1,38 +1,38 @@ -OPA362 analog video amplifier - -Required properties: -- compatible: "ti,opa362" -- enable-gpios: enable/disable output gpio - -Required node: -- Video port 0 for opa362 input -- Video port 1 for opa362 output - -Example: - -tv_amp: opa362 { - compatible = "ti,opa362"; - enable-gpios = <&gpio1 23 0>; /* GPIO to enable video out amplifier */ - - ports { - #address-cells = <1>; - #size-cells = <0>; - - port@0 { - reg = <0>; - opa_in: endpoint@0 { - remote-endpoint = <&venc_out>; - }; - }; - - port@1 { - reg = <1>; - opa_out: endpoint@0 { - remote-endpoint = <&tv_connector_in>; - }; - }; - }; -}; - - - +OPA362 analog video amplifier + +Required properties: +- compatible: "ti,opa362" +- enable-gpios: enable/disable output gpio + +Required node: +- Video port 0 for opa362 input +- Video port 1 for opa362 output + +Example: + +tv_amp: opa362 { + compatible = "ti,opa362"; + enable-gpios = <&gpio1 23 0>; /* GPIO to enable video out amplifier */ + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + opa_in: endpoint@0 { + remote-endpoint = <&venc_out>; + }; + }; + + port@1 { + reg = <1>; + opa_out: endpoint@0 { + remote-endpoint = <&tv_connector_in>; + }; + }; + }; +}; + + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-controller.yaml index e77facafe6..e6afca558c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/dma/dma-controller.yaml @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/dma/dma-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DMA Controller Common Properties - -maintainers: - - Vinod Koul - -allOf: - - $ref: dma-common.yaml# - -# Everything else is described in the common file -properties: - $nodename: - pattern: "^dma-controller(@.*)?$" - -additionalProperties: true - -... +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/dma/dma-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DMA Controller Common Properties + +maintainers: + - Vinod Koul + +allOf: + - $ref: dma-common.yaml# + +# Everything else is described in the common file +properties: + $nodename: + pattern: "^dma-controller(@.*)?$" + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt index b066a6d311..338169dea7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/firmware/cznic,turris-mox-rwtm.txt @@ -1,19 +1,19 @@ -Turris Mox rWTM firmware driver - -Required properties: - - compatible : Should be "cznic,turris-mox-rwtm" - - mboxes : Must contain a reference to associated mailbox - -This device tree node should be used on Turris Mox, or potentially another A3700 -compatible device running the Mox's rWTM firmware in the secure processor (for -example it is possible to flash this firmware into EspressoBin). - -Example: - - firmware { - turris-mox-rwtm { - compatible = "cznic,turris-mox-rwtm"; - mboxes = <&rwtm 0>; - status = "okay"; - }; - }; +Turris Mox rWTM firmware driver + +Required properties: + - compatible : Should be "cznic,turris-mox-rwtm" + - mboxes : Must contain a reference to associated mailbox + +This device tree node should be used on Turris Mox, or potentially another A3700 +compatible device running the Mox's rWTM firmware in the secure processor (for +example it is possible to flash this firmware into EspressoBin). + +Example: + + firmware { + turris-mox-rwtm { + compatible = "cznic,turris-mox-rwtm"; + mboxes = <&rwtm 0>; + status = "okay"; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt index 28c3392f8e..d52f334041 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/altera-socfpga-fpga-mgr.txt @@ -1,17 +1,17 @@ -Altera SOCFPGA FPGA Manager - -Required properties: -- compatible : should contain "altr,socfpga-fpga-mgr" -- reg : base address and size for memory mapped io. - - The first index is for FPGA manager register access. - - The second index is for writing FPGA configuration data. -- interrupts : interrupt for the FPGA Manager device. - -Example: - - hps_0_fpgamgr: fpgamgr@ff706000 { - compatible = "altr,socfpga-fpga-mgr"; - reg = <0xFF706000 0x1000 - 0xFFB90000 0x1000>; - interrupts = <0 175 4>; - }; +Altera SOCFPGA FPGA Manager + +Required properties: +- compatible : should contain "altr,socfpga-fpga-mgr" +- reg : base address and size for memory mapped io. + - The first index is for FPGA manager register access. + - The second index is for writing FPGA configuration data. +- interrupts : interrupt for the FPGA Manager device. + +Example: + + hps_0_fpgamgr: fpgamgr@ff706000 { + compatible = "altr,socfpga-fpga-mgr"; + reg = <0xFF706000 0x1000 + 0xFFB90000 0x1000>; + interrupts = <0 175 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt index 6bd8b677c3..0f874137ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/fpga/intel-stratix10-soc-fpga-mgr.txt @@ -1,18 +1,18 @@ -Intel Stratix10 SoC FPGA Manager - -Required properties: -The fpga_mgr node has the following mandatory property, must be located under -firmware/svc node. - -- compatible : should contain "intel,stratix10-soc-fpga-mgr" or - "intel,agilex-soc-fpga-mgr" - -Example: - - firmware { - svc { - fpga_mgr: fpga-mgr { - compatible = "intel,stratix10-soc-fpga-mgr"; - }; - }; - }; +Intel Stratix10 SoC FPGA Manager + +Required properties: +The fpga_mgr node has the following mandatory property, must be located under +firmware/svc node. + +- compatible : should contain "intel,stratix10-soc-fpga-mgr" or + "intel,agilex-soc-fpga-mgr" + +Example: + + firmware { + svc { + fpga_mgr: fpga-mgr { + compatible = "intel,stratix10-soc-fpga-mgr"; + }; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/audio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/audio.txt index 03b06f61cf..d043fda433 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/audio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/audio.txt @@ -1,17 +1,17 @@ -Android Goldfish Audio - -Android goldfish audio device generated by android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-audio" to match emulator -- reg : -- interrupts : - -Example: - - goldfish_audio@9030000 { - compatible = "google,goldfish-audio"; - reg = <0x9030000 0x100>; - interrupts = <0x4>; - }; +Android Goldfish Audio + +Android goldfish audio device generated by android emulator. + +Required properties: + +- compatible : should contain "google,goldfish-audio" to match emulator +- reg : +- interrupts : + +Example: + + goldfish_audio@9030000 { + compatible = "google,goldfish-audio"; + reg = <0x9030000 0x100>; + interrupts = <0x4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/battery.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/battery.txt index f4a0d03402..4fb6139332 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/battery.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/battery.txt @@ -1,17 +1,17 @@ -Android Goldfish Battery - -Android goldfish battery device generated by android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-battery" to match emulator -- reg : -- interrupts : - -Example: - - goldfish_battery@9020000 { - compatible = "google,goldfish-battery"; - reg = <0x9020000 0x1000>; - interrupts = <0x3>; - }; +Android Goldfish Battery + +Android goldfish battery device generated by android emulator. + +Required properties: + +- compatible : should contain "google,goldfish-battery" to match emulator +- reg : +- interrupts : + +Example: + + goldfish_battery@9020000 { + compatible = "google,goldfish-battery"; + reg = <0x9020000 0x1000>; + interrupts = <0x3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/events.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/events.txt index c53f7f2be4..5babf46317 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/events.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/events.txt @@ -1,17 +1,17 @@ -Android Goldfish Events Keypad - -Android goldfish events keypad device generated by android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-events-keypad" to match emulator -- reg : -- interrupts : - -Example: - - goldfish-events@9040000 { - compatible = "google,goldfish-events-keypad"; - reg = <0x9040000 0x1000>; - interrupts = <0x5>; - }; +Android Goldfish Events Keypad + +Android goldfish events keypad device generated by android emulator. + +Required properties: + +- compatible : should contain "google,goldfish-events-keypad" to match emulator +- reg : +- interrupts : + +Example: + + goldfish-events@9040000 { + compatible = "google,goldfish-events-keypad"; + reg = <0x9040000 0x1000>; + interrupts = <0x5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/pipe.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/pipe.txt index 524890c1c1..e417a31a1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/pipe.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/pipe.txt @@ -1,17 +1,17 @@ -Android Goldfish QEMU Pipe - -Andorid pipe virtual device generated by android emulator. - -Required properties: - -- compatible : should contain "google,android-pipe" to match emulator -- reg : -- interrupts : - -Example: - - android_pipe@a010000 { - compatible = "google,android-pipe"; - reg = ; - interrupts = <0x12>; - }; +Android Goldfish QEMU Pipe + +Andorid pipe virtual device generated by android emulator. + +Required properties: + +- compatible : should contain "google,android-pipe" to match emulator +- reg : +- interrupts : + +Example: + + android_pipe@a010000 { + compatible = "google,android-pipe"; + reg = ; + interrupts = <0x12>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/tty.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/tty.txt index 39b35941fd..82648278da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/tty.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/goldfish/tty.txt @@ -1,17 +1,17 @@ -Android Goldfish TTY - -Android goldfish tty device generated by android emulator. - -Required properties: - -- compatible : should contain "google,goldfish-tty" to match emulator -- reg : -- interrupts : - -Example: - - goldfish_tty@1f004000 { - compatible = "google,goldfish-tty"; - reg = <0x1f004000 0x1000>; - interrupts = <0xc>; - }; +Android Goldfish TTY + +Android goldfish tty device generated by android emulator. + +Required properties: + +- compatible : should contain "google,goldfish-tty" to match emulator +- reg : +- interrupts : + +Example: + + goldfish_tty@1f004000 { + compatible = "google,goldfish-tty"; + reg = <0x1f004000 0x1000>; + interrupts = <0xc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt index 05bfb09cc9..fd42e7280f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/cirrus,clps711x-mctrl-gpio.txt @@ -1,17 +1,17 @@ -* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs - -Required properties: -- compatible: Should contain "cirrus,ep7209-mctrl-gpio". -- gpio-controller: Marks the device node as a gpio controller. -- #gpio-cells: Should be two. The first cell is the pin number and - the second cell is used to specify the gpio polarity: - 0 = Active high, - 1 = Active low. - -Example: - sysgpio: sysgpio { - compatible = "cirrus,ep7312-mctrl-gpio", - "cirrus,ep7209-mctrl-gpio"; - gpio-controller; - #gpio-cells = <2>; - }; +* ARM Cirrus Logic CLPS711X SYSFLG1 MCTRL GPIOs + +Required properties: +- compatible: Should contain "cirrus,ep7209-mctrl-gpio". +- gpio-controller: Marks the device node as a gpio controller. +- #gpio-cells: Should be two. The first cell is the pin number and + the second cell is used to specify the gpio polarity: + 0 = Active high, + 1 = Active low. + +Example: + sysgpio: sysgpio { + compatible = "cirrus,ep7312-mctrl-gpio", + "cirrus,ep7209-mctrl-gpio"; + gpio-controller; + #gpio-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gateworks,pld-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gateworks,pld-gpio.txt index 2b0a2e99c4..d543fd1b8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gateworks,pld-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gateworks,pld-gpio.txt @@ -1,19 +1,19 @@ -Gateworks PLD GPIO controller bindings - -The GPIO controller should be a child node on an I2C bus. - -Required properties: -- compatible: Should be "gateworks,pld-gpio" -- reg: I2C slave address -- gpio-controller: Marks the device node as a GPIO controller. -- #gpio-cells: Should be <2>. The first cell is the gpio number and - the second cell is used to specify optional parameters. - -Example: - -pld@56 { - compatible = "gateworks,pld-gpio"; - reg = <0x56>; - gpio-controller; - #gpio-cells = <2>; -}; +Gateworks PLD GPIO controller bindings + +The GPIO controller should be a child node on an I2C bus. + +Required properties: +- compatible: Should be "gateworks,pld-gpio" +- reg: I2C slave address +- gpio-controller: Marks the device node as a GPIO controller. +- #gpio-cells: Should be <2>. The first cell is the gpio number and + the second cell is used to specify optional parameters. + +Example: + +pld@56 { + compatible = "gateworks,pld-gpio"; + reg = <0x56>; + gpio-controller; + #gpio-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt index 2c77807ff9..410759de9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-moxtet.txt @@ -1,18 +1,18 @@ -Turris Mox Moxtet GPIO expander via Moxtet bus - -Required properties: - - compatible : Should be "cznic,moxtet-gpio". - - gpio-controller : Marks the device node as a GPIO controller. - - #gpio-cells : Should be two. For consumer use see gpio.txt. - -Other properties are required for a Moxtet bus device, please refer to -Documentation/devicetree/bindings/bus/moxtet.txt. - -Example: - - moxtet_sfp: gpio@0 { - compatible = "cznic,moxtet-gpio"; - gpio-controller; - #gpio-cells = <2>; - reg = <0>; - } +Turris Mox Moxtet GPIO expander via Moxtet bus + +Required properties: + - compatible : Should be "cznic,moxtet-gpio". + - gpio-controller : Marks the device node as a GPIO controller. + - #gpio-cells : Should be two. For consumer use see gpio.txt. + +Other properties are required for a Moxtet bus device, please refer to +Documentation/devicetree/bindings/bus/moxtet.txt. + +Example: + + moxtet_sfp: gpio@0 { + compatible = "cznic,moxtet-gpio"; + gpio-controller; + #gpio-cells = <2>; + reg = <0>; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt index 567408f70b..92ea9c8f63 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/gpio/gpio-ts4800.txt @@ -1,20 +1,20 @@ -* TS-4800 FPGA's GPIO controller bindings - -Required properties: -- compatible: Must be "technologic,ts4800-gpio". -- #gpio-cells: Should be two. The first cell is the pin number. -- reg: Physical base address of the controller and length - of memory mapped region. - -Optional property: -- ngpios: See "gpio.txt" - -Example: - -gpio1: gpio { - compatible = "technologic,ts4800-gpio"; - reg = <0x10020 0x6>; - ngpios = <8>; - gpio-controller; - #gpio-cells = <2>; -}; +* TS-4800 FPGA's GPIO controller bindings + +Required properties: +- compatible: Must be "technologic,ts4800-gpio". +- #gpio-cells: Should be two. The first cell is the pin number. +- reg: Physical base address of the controller and length + of memory mapped region. + +Optional property: +- ngpios: See "gpio.txt" + +Example: + +gpio1: gpio { + compatible = "technologic,ts4800-gpio"; + reg = <0x10020 0x6>; + ngpios = <8>; + gpio-controller; + #gpio-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml index a8e86b5801..563ded4fca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwinfo/samsung,s5pv210-chipid.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Samsung S5PV210 SoC ChipID - -maintainers: - - Krzysztof Kozlowski - -properties: - compatible: - const: samsung,s5pv210-chipid - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - chipid@e0000000 { - compatible = "samsung,s5pv210-chipid"; - reg = <0xe0000000 0x1000>; - }; +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwinfo/samsung,s5pv210-chipid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5PV210 SoC ChipID + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: samsung,s5pv210-chipid + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chipid@e0000000 { + compatible = "samsung,s5pv210-chipid"; + reg = <0xe0000000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt index e7cbdf03e7..59b38557f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/apm-xgene-hwmon.txt @@ -1,14 +1,14 @@ -APM X-Gene hwmon driver - -APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox. - -Required properties : - - compatible : should be "apm,xgene-slimpro-hwmon" - - mboxes : use the label reference for the mailbox as the first parameter. - The second parameter is the channel number. - -Example : - hwmonslimpro { - compatible = "apm,xgene-slimpro-hwmon"; - mboxes = <&mailbox 7>; - }; +APM X-Gene hwmon driver + +APM X-Gene SOC sensors are accessed over the "SLIMpro" mailbox. + +Required properties : + - compatible : should be "apm,xgene-slimpro-hwmon" + - mboxes : use the label reference for the mailbox as the first parameter. + The second parameter is the channel number. + +Example : + hwmonslimpro { + compatible = "apm,xgene-slimpro-hwmon"; + mboxes = <&mailbox 7>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml index faf6de0794..dc86b5c72c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/hwmon-common.yaml @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hardware Monitoring Devices Common Properties - -maintainers: - - Guenter Roeck - -properties: - label: - description: A descriptive name for this device. - - shunt-resistor-micro-ohms: - description: The value of current sense resistor. - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/hwmon-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hardware Monitoring Devices Common Properties + +maintainers: + - Guenter Roeck + +properties: + label: + description: A descriptive name for this device. + + shunt-resistor-micro-ohms: + description: The value of current sense resistor. + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml index cf3f52129e..010333cb25 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/kontron,sl28cpld-hwmon.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/kontron,sl28cpld-hwmon.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Hardware monitoring driver for the sl28cpld board management controller - -maintainers: - - Michael Walle - -description: | - This module is part of the sl28cpld multi-function device. For more - details see ../mfd/kontron,sl28cpld.yaml. - -properties: - compatible: - enum: - - kontron,sl28cpld-fan - - reg: - maxItems: 1 - -required: - - compatible - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/kontron,sl28cpld-hwmon.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Hardware monitoring driver for the sl28cpld board management controller + +maintainers: + - Michael Walle + +description: | + This module is part of the sl28cpld multi-function device. For more + details see ../mfd/kontron,sl28cpld.yaml. + +properties: + compatible: + enum: + - kontron,sl28cpld-fan + + reg: + maxItems: 1 + +required: + - compatible + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml index 3f486e1061..48d654e521 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml @@ -1,36 +1,36 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/nxp,mc34vr500.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP MC34VR500 hwmon sensor - -maintainers: - - Mario Kicherer - -properties: - compatible: - enum: - - nxp,mc34vr500 - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - i2c { - #address-cells = <1>; - #size-cells = <0>; - - pmic@8 { - compatible = "nxp,mc34vr500"; - reg = <0x08>; - }; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/nxp,mc34vr500.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP MC34VR500 hwmon sensor + +maintainers: + - Mario Kicherer + +properties: + compatible: + enum: + - nxp,mc34vr500 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + pmic@8 { + compatible = "nxp,mc34vr500"; + reg = <0x08>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/syna,as370.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/syna,as370.yaml index 396df690e8..1f7005f552 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/syna,as370.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/syna,as370.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/hwmon/syna,as370.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Synaptics AS370 PVT sensors - -maintainers: - - Javier Carrasco - -properties: - compatible: - const: syna,as370-hwmon - - reg: - description: - Address and length of the register set. - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - sensor@ea0810 { - compatible = "syna,as370-hwmon"; - reg = <0xea0810 0xc>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwmon/syna,as370.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Synaptics AS370 PVT sensors + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: syna,as370-hwmon + + reg: + description: + Address and length of the register set. + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + sensor@ea0810 { + compatible = "syna,as370-hwmon"; + reg = <0xea0810 0xc>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/vexpress.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/vexpress.txt index 40d4c3e3e5..4a4df4ffc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/vexpress.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/hwmon/vexpress.txt @@ -1,23 +1,23 @@ -Versatile Express hwmon sensors -------------------------------- - -Requires node properties: -- "compatible" value : one of - "arm,vexpress-volt" - "arm,vexpress-amp" - "arm,vexpress-temp" - "arm,vexpress-power" - "arm,vexpress-energy" -- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg - (see Documentation/devicetree/bindings/arm/vexpress-config.yaml - for more details) - -Optional node properties: -- label : string describing the monitored value - -Example: - energy@0 { - compatible = "arm,vexpress-energy"; - arm,vexpress-sysreg,func = <13 0>; - label = "A15 Jcore"; - }; +Versatile Express hwmon sensors +------------------------------- + +Requires node properties: +- "compatible" value : one of + "arm,vexpress-volt" + "arm,vexpress-amp" + "arm,vexpress-temp" + "arm,vexpress-power" + "arm,vexpress-energy" +- "arm,vexpress-sysreg,func" when controlled via vexpress-sysreg + (see Documentation/devicetree/bindings/arm/vexpress-config.yaml + for more details) + +Optional node properties: +- label : string describing the monitored value + +Example: + energy@0 { + compatible = "arm,vexpress-energy"; + arm,vexpress-sysreg,func = <13 0>; + label = "A15 Jcore"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml index 77edb395b2..e58465d1b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/arm,i2c-versatile.yaml @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/i2c/arm,i2c-versatile.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: I2C Controller on ARM Ltd development platforms - -maintainers: - - Linus Walleij - -allOf: - - $ref: /schemas/i2c/i2c-controller.yaml# - -properties: - compatible: - const: arm,versatile-i2c - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -... - +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/i2c/arm,i2c-versatile.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: I2C Controller on ARM Ltd development platforms + +maintainers: + - Linus Walleij + +allOf: + - $ref: /schemas/i2c/i2c-controller.yaml# + +properties: + compatible: + const: arm,versatile-i2c + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +... + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-cbus-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-cbus-gpio.txt index b6905f9f67..c143948b2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-cbus-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-cbus-gpio.txt @@ -1,27 +1,27 @@ -Device tree bindings for i2c-cbus-gpio driver - -Required properties: - - compatible = "i2c-cbus-gpio"; - - gpios: clk, dat, sel - - #address-cells = <1>; - - #size-cells = <0>; - -Optional properties: - - child nodes conforming to i2c bus binding - -Example: - -i2c@0 { - compatible = "i2c-cbus-gpio"; - gpios = <&gpio 66 0 /* clk */ - &gpio 65 0 /* dat */ - &gpio 64 0 /* sel */ - >; - #address-cells = <1>; - #size-cells = <0>; - - retu: retu@1 { - compatible = "nokia,retu"; - reg = <0x1>; - }; -}; +Device tree bindings for i2c-cbus-gpio driver + +Required properties: + - compatible = "i2c-cbus-gpio"; + - gpios: clk, dat, sel + - #address-cells = <1>; + - #size-cells = <0>; + +Optional properties: + - child nodes conforming to i2c bus binding + +Example: + +i2c@0 { + compatible = "i2c-cbus-gpio"; + gpios = <&gpio 66 0 /* clk */ + &gpio 65 0 /* dat */ + &gpio 64 0 /* sel */ + >; + #address-cells = <1>; + #size-cells = <0>; + + retu: retu@1 { + compatible = "nokia,retu"; + reg = <0x1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt index 1c6296d744..dcc8390e0d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-iop3xx.txt @@ -1,20 +1,20 @@ -i2c Controller on XScale platforms such as IOP3xx and IXP4xx - -Required properties: -- compatible : Must be one of - "intel,iop3xx-i2c" - "intel,ixp4xx-i2c"; -- reg -- #address-cells = <1>; -- #size-cells = <0>; - -Optional properties: -- Child nodes conforming to i2c bus binding - -Example: - -i2c@c8011000 { - compatible = "intel,ixp4xx-i2c"; - reg = <0xc8011000 0x18>; - interrupts = <33 IRQ_TYPE_LEVEL_LOW>; -}; +i2c Controller on XScale platforms such as IOP3xx and IXP4xx + +Required properties: +- compatible : Must be one of + "intel,iop3xx-i2c" + "intel,ixp4xx-i2c"; +- reg +- #address-cells = <1>; +- #size-cells = <0>; + +Optional properties: +- Child nodes conforming to i2c bus binding + +Example: + +i2c@c8011000 { + compatible = "intel,ixp4xx-i2c"; + reg = <0xc8011000 0x18>; + interrupts = <33 IRQ_TYPE_LEVEL_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-wmt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-wmt.txt index 38ca6a66f7..94a425eaa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-wmt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-wmt.txt @@ -1,24 +1,24 @@ -* Wondermedia I2C Controller - -Required properties : - - - compatible : should be "wm,wm8505-i2c" - - reg : Offset and length of the register set for the device - - interrupts : where IRQ is the interrupt number - - clocks : phandle to the I2C clock source - -Optional properties : - - - clock-frequency : desired I2C bus clock frequency in Hz. - Valid values are 100000 and 400000. - Default to 100000 if not specified, or invalid value. - -Example : - - i2c_0: i2c@d8280000 { - compatible = "wm,wm8505-i2c"; - reg = <0xd8280000 0x1000>; - interrupts = <19>; - clocks = <&clki2c0>; - clock-frequency = <400000>; - }; +* Wondermedia I2C Controller + +Required properties : + + - compatible : should be "wm,wm8505-i2c" + - reg : Offset and length of the register set for the device + - interrupts : where IRQ is the interrupt number + - clocks : phandle to the I2C clock source + +Optional properties : + + - clock-frequency : desired I2C bus clock frequency in Hz. + Valid values are 100000 and 400000. + Default to 100000 if not specified, or invalid value. + +Example : + + i2c_0: i2c@d8280000 { + compatible = "wm,wm8505-i2c"; + reg = <0xd8280000 0x1000>; + interrupts = <19>; + clocks = <&clki2c0>; + clock-frequency = <400000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt index 446b4bce91..f6b2c20cfb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/i2c/i2c-xgene-slimpro.txt @@ -1,15 +1,15 @@ -APM X-Gene SLIMpro Mailbox I2C Driver - -An I2C controller accessed over the "SLIMpro" mailbox. - -Required properties : - - - compatible : should be "apm,xgene-slimpro-i2c" - - mboxes : use the label reference for the mailbox as the first parameter. - The second parameter is the channel number. - -Example : - i2cslimpro { - compatible = "apm,xgene-slimpro-i2c"; - mboxes = <&mailbox 0>; - }; +APM X-Gene SLIMpro Mailbox I2C Driver + +An I2C controller accessed over the "SLIMpro" mailbox. + +Required properties : + + - compatible : should be "apm,xgene-slimpro-i2c" + - mboxes : use the label reference for the mailbox as the first parameter. + The second parameter is the channel number. + +Example : + i2cslimpro { + compatible = "apm,xgene-slimpro-i2c"; + mboxes = <&mailbox 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml index 5881b3d80b..db4e3613c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/iio/adc/mediatek,mt6360-adc.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360-adc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mediatek MT6360 and similar ADCs - -maintainers: - - Gene Chen - -properties: - compatible: - const: mediatek,mt6360-adc - - "#io-channel-cells": - const: 1 - -required: - - compatible - - "#io-channel-cells" - -additionalProperties: false - -examples: - - | - adc { - compatible = "mediatek,mt6360-adc"; - #io-channel-cells = <1>; - }; -... +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/adc/mediatek,mt6360-adc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mediatek MT6360 and similar ADCs + +maintainers: + - Gene Chen + +properties: + compatible: + const: mediatek,mt6360-adc + + "#io-channel-cells": + const: 1 + +required: + - compatible + - "#io-channel-cells" + +additionalProperties: false + +examples: + - | + adc { + compatible = "mediatek,mt6360-adc"; + #io-channel-cells = <1>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt index 1d5803cf9a..0dd0076daf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/cpcap-pwrbutton.txt @@ -1,20 +1,20 @@ -Motorola CPCAP on key - -This module is part of the CPCAP. For more details about the whole -chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. - -This module provides a simple power button event via an Interrupt. - -Required properties: -- compatible: should be one of the following - - "motorola,cpcap-pwrbutton" -- interrupts: irq specifier for CPCAP's ON IRQ - -Example: - -&cpcap { - cpcap_pwrbutton: pwrbutton { - compatible = "motorola,cpcap-pwrbutton"; - interrupts = <23 IRQ_TYPE_NONE>; - }; -}; +Motorola CPCAP on key + +This module is part of the CPCAP. For more details about the whole +chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. + +This module provides a simple power button event via an Interrupt. + +Required properties: +- compatible: should be one of the following + - "motorola,cpcap-pwrbutton" +- interrupts: irq specifier for CPCAP's ON IRQ + +Example: + +&cpcap { + cpcap_pwrbutton: pwrbutton { + compatible = "motorola,cpcap-pwrbutton"; + interrupts = <23 IRQ_TYPE_NONE>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt index 2dedddaacc..10dec1c57a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/dlink,dir685-touchkeys.txt @@ -1,21 +1,21 @@ -* D-Link DIR-685 Touchkeys - -This is a I2C one-off touchkey controller based on the Cypress Semiconductor -CY8C214 MCU with some firmware in its internal 8KB flash. The circuit -board inside the router is named E119921. - -The touchkey device node should be placed inside an I2C bus node. - -Required properties: -- compatible: must be "dlink,dir685-touchkeys" -- reg: the I2C address of the touchkeys -- interrupts: reference to the interrupt number - -Example: - -touchkeys@26 { - compatible = "dlink,dir685-touchkeys"; - reg = <0x26>; - interrupt-parent = <&gpio0>; - interrupts = <17 IRQ_TYPE_EDGE_FALLING>; -}; +* D-Link DIR-685 Touchkeys + +This is a I2C one-off touchkey controller based on the Cypress Semiconductor +CY8C214 MCU with some firmware in its internal 8KB flash. The circuit +board inside the router is named E119921. + +The touchkey device node should be placed inside an I2C bus node. + +Required properties: +- compatible: must be "dlink,dir685-touchkeys" +- reg: the I2C address of the touchkeys +- interrupts: reference to the interrupt number + +Example: + +touchkeys@26 { + compatible = "dlink,dir685-touchkeys"; + reg = <0x26>; + interrupt-parent = <&gpio0>; + interrupts = <17 IRQ_TYPE_EDGE_FALLING>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-beeper.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-beeper.yaml index 4e588bd996..290372add3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-beeper.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/gpio-beeper.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/gpio-beeper.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: GPIO controlled beeper - -maintainers: - - Fabio Estevam - -properties: - compatible: - const: gpio-beeper - - gpios: - maxItems: 1 - description: - GPIO that drives the beeper. - -required: - - compatible - - gpios - -additionalProperties: false - -examples: - - | - #include - beeper { - compatible = "gpio-beeper"; - gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/gpio-beeper.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: GPIO controlled beeper + +maintainers: + - Fabio Estevam + +properties: + compatible: + const: gpio-beeper + + gpios: + maxItems: 1 + description: + GPIO that drives the beeper. + +required: + - compatible + - gpios + +additionalProperties: false + +examples: + - | + #include + beeper { + compatible = "gpio-beeper"; + gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt index ff812e6dca..3029c5694c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/ps2keyb-mouse-apbps2.txt @@ -1,16 +1,16 @@ -Aeroflex Gaisler APBPS2 PS/2 Core, supporting Keyboard or Mouse. - -The APBPS2 PS/2 core is available in the GRLIB VHDL IP core library. - -Note: In the ordinary environment for the APBPS2 core, a LEON SPARC system, -these properties are built from information in the AMBA plug&play and from -bootloader settings. - -Required properties: - -- name : Should be "GAISLER_APBPS2" or "01_060" -- reg : Address and length of the register set for the device -- interrupts : Interrupt numbers for this device - -For further information look in the documentation for the GLIB IP core library: -http://www.gaisler.com/products/grlib/grip.pdf +Aeroflex Gaisler APBPS2 PS/2 Core, supporting Keyboard or Mouse. + +The APBPS2 PS/2 core is available in the GRLIB VHDL IP core library. + +Note: In the ordinary environment for the APBPS2 core, a LEON SPARC system, +these properties are built from information in the AMBA plug&play and from +bootloader settings. + +Required properties: + +- name : Should be "GAISLER_APBPS2" or "01_060" +- reg : Address and length of the register set for the device +- interrupts : Interrupt numbers for this device + +For further information look in the documentation for the GLIB IP core library: +http://www.gaisler.com/products/grlib/grip.pdf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt index 36311199e5..99a4f2ab55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/raydium_i2c_ts.txt @@ -1,19 +1,19 @@ -Raydium I2C touchscreen - -Required properties: -- compatible: must be "raydium,rm32380" -- reg: The I2C address of the device -- interrupts: interrupt to which the chip is connected - See ../interrupt-controller/interrupts.txt -Optional properties: -- avdd-supply: analog power supply needed to power device -- vccio-supply: IO Power source -- reset-gpios: reset gpio the chip is connected to. - -Example: - touchscreen@39 { - compatible = "raydium,rm32380"; - reg = <0x39>; - interrupt-parent = <&gpio>; - interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; - }; +Raydium I2C touchscreen + +Required properties: +- compatible: must be "raydium,rm32380" +- reg: The I2C address of the device +- interrupts: interrupt to which the chip is connected + See ../interrupt-controller/interrupts.txt +Optional properties: +- avdd-supply: analog power supply needed to power device +- vccio-supply: IO Power source +- reset-gpios: reset gpio the chip is connected to. + +Example: + touchscreen@39 { + compatible = "raydium,rm32380"; + reg = <0x39>; + interrupt-parent = <&gpio>; + interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/spear-keyboard.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/spear-keyboard.txt index c22d5c228c..4a846d26da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/spear-keyboard.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/spear-keyboard.txt @@ -1,20 +1,20 @@ -* SPEAr keyboard controller - -Required properties: -- compatible: "st,spear300-kbd" - -Optional properties, in addition to those specified by the shared -matrix-keyboard bindings: -- autorepeat: bool: enables key autorepeat -- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2 - -Example: - -kbd@fc400000 { - compatible = "st,spear300-kbd"; - reg = <0xfc400000 0x100>; - linux,keymap = < 0x00030012 - 0x0102003a >; - autorepeat; - st,mode = <0>; -}; +* SPEAr keyboard controller + +Required properties: +- compatible: "st,spear300-kbd" + +Optional properties, in addition to those specified by the shared +matrix-keyboard bindings: +- autorepeat: bool: enables key autorepeat +- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2 + +Example: + +kbd@fc400000 { + compatible = "st,spear300-kbd"; + reg = <0xfc400000 0x100>; + linux,keymap = < 0x00030012 + 0x0102003a >; + autorepeat; + st,mode = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.yaml index d772196f14..4c8d303ff9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/sprd,sc27xx-vibrator.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -# Copyright 2020 Unisoc Inc. -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/input/sprd,sc27xx-vibrator.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Spreadtrum SC27xx PMIC Vibrator - -maintainers: - - Orson Zhai - - Baolin Wang - - Chunyan Zhang - -properties: - compatible: - enum: - - sprd,sc2721-vibrator - - sprd,sc2730-vibrator - - sprd,sc2731-vibrator - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright 2020 Unisoc Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/sprd,sc27xx-vibrator.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Spreadtrum SC27xx PMIC Vibrator + +maintainers: + - Orson Zhai + - Baolin Wang + - Chunyan Zhang + +properties: + compatible: + enum: + - sprd,sc2721-vibrator + - sprd,sc2730-vibrator + - sprd,sc2731-vibrator + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt index 46c2064a63..82019bd609 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ar1021.txt @@ -1,15 +1,15 @@ -* Microchip AR1020 and AR1021 touchscreen interface (I2C) - -Required properties: -- compatible : "microchip,ar1021-i2c" -- reg : I2C slave address -- interrupts : touch controller interrupt - -Example: - - touchscreen@4d { - compatible = "microchip,ar1021-i2c"; - reg = <0x4d>; - interrupt-parent = <&gpio3>; - interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; - }; +* Microchip AR1020 and AR1021 touchscreen interface (I2C) + +Required properties: +- compatible : "microchip,ar1021-i2c" +- reg : I2C slave address +- interrupts : touch controller interrupt + +Example: + + touchscreen@4d { + compatible = "microchip,ar1021-i2c"; + reg = <0x4d>; + interrupt-parent = <&gpio3>; + interrupts = <11 IRQ_TYPE_LEVEL_HIGH>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt index e7d2a01353..ebbe938105 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/egalax-ts.txt @@ -1,18 +1,18 @@ -* EETI eGalax Multiple Touch Controller - -Required properties: -- compatible: must be "eeti,egalax_ts" -- reg: i2c slave address -- interrupts: touch controller interrupt -- wakeup-gpios: the gpio pin to be used for waking up the controller - and also used as irq pin - -Example: - - touchscreen@4 { - compatible = "eeti,egalax_ts"; - reg = <0x04>; - interrupt-parent = <&gpio1>; - interrupts = <9 IRQ_TYPE_LEVEL_LOW>; - wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; - }; +* EETI eGalax Multiple Touch Controller + +Required properties: +- compatible: must be "eeti,egalax_ts" +- reg: i2c slave address +- interrupts: touch controller interrupt +- wakeup-gpios: the gpio pin to be used for waking up the controller + and also used as irq pin + +Example: + + touchscreen@4 { + compatible = "eeti,egalax_ts"; + reg = <0x04>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + wakeup-gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt index 065fc6710d..41cbf4b7a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/lpc32xx-tsc.txt @@ -1,16 +1,16 @@ -* NXP LPC32xx SoC Touchscreen Controller (TSC) - -Required properties: -- compatible: must be "nxp,lpc3220-tsc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: The TSC/ADC interrupt - -Example: - - tsc@40048000 { - compatible = "nxp,lpc3220-tsc"; - reg = <0x40048000 0x1000>; - interrupt-parent = <&mic>; - interrupts = <39 0>; - }; +* NXP LPC32xx SoC Touchscreen Controller (TSC) + +Required properties: +- compatible: must be "nxp,lpc3220-tsc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: The TSC/ADC interrupt + +Example: + + tsc@40048000 { + compatible = "nxp,lpc3220-tsc"; + reg = <0x40048000 0x1000>; + interrupt-parent = <&mic>; + interrupts = <39 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt index 448899cf84..05e982c345 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/max11801-ts.txt @@ -1,17 +1,17 @@ -* MAXI MAX11801 Resistive touch screen controller with i2c interface - -Required properties: -- compatible: must be "maxim,max11801" -- reg: i2c slave address -- interrupts: touch controller interrupt - -Example: - -&i2c1 { - max11801: touchscreen@48 { - compatible = "maxim,max11801"; - reg = <0x48>; - interrupt-parent = <&gpio3>; - interrupts = <31 IRQ_TYPE_EDGE_FALLING>; - }; -}; +* MAXI MAX11801 Resistive touch screen controller with i2c interface + +Required properties: +- compatible: must be "maxim,max11801" +- reg: i2c slave address +- interrupts: touch controller interrupt + +Example: + +&i2c1 { + max11801: touchscreen@48 { + compatible = "maxim,max11801"; + reg = <0x48>; + interrupt-parent = <&gpio3>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt index 3247c8e5f8..b2ab5498e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/melfas_mip4.txt @@ -1,20 +1,20 @@ -* MELFAS MIP4 Touchscreen - -Required properties: -- compatible: must be "melfas,mip4_ts" -- reg: I2C slave address of the chip (0x48 or 0x34) -- interrupts: interrupt to which the chip is connected - -Optional properties: -- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip - -Example: - i2c@00000000 { - touchscreen: melfas_mip4@48 { - compatible = "melfas,mip4_ts"; - reg = <0x48>; - interrupt-parent = <&gpio>; - interrupts = <0 IRQ_TYPE_EDGE_FALLING>; - ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; - }; - }; +* MELFAS MIP4 Touchscreen + +Required properties: +- compatible: must be "melfas,mip4_ts" +- reg: I2C slave address of the chip (0x48 or 0x34) +- interrupts: interrupt to which the chip is connected + +Optional properties: +- ce-gpios: GPIO connected to the CE (chip enable) pin of the chip + +Example: + i2c@00000000 { + touchscreen: melfas_mip4@48 { + compatible = "melfas,mip4_ts"; + reg = <0x48>; + interrupt-parent = <&gpio>; + interrupts = <0 IRQ_TYPE_EDGE_FALLING>; + ce-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt index b60a41a4fe..0ebe6dd043 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/sx8654.txt @@ -1,23 +1,23 @@ -* Semtech SX8654 I2C Touchscreen Controller - -Required properties: -- compatible: must be one of the following, depending on the model: - "semtech,sx8650" - "semtech,sx8654" - "semtech,sx8655" - "semtech,sx8656" -- reg: i2c slave address -- interrupts: touch controller interrupt - -Optional properties: - - reset-gpios: GPIO specification for the NRST input - -Example: - - sx8654@48 { - compatible = "semtech,sx8654"; - reg = <0x48>; - interrupt-parent = <&gpio6>; - interrupts = <3 IRQ_TYPE_EDGE_FALLING>; - reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; - }; +* Semtech SX8654 I2C Touchscreen Controller + +Required properties: +- compatible: must be one of the following, depending on the model: + "semtech,sx8650" + "semtech,sx8654" + "semtech,sx8655" + "semtech,sx8656" +- reg: i2c slave address +- interrupts: touch controller interrupt + +Optional properties: + - reset-gpios: GPIO specification for the NRST input + +Example: + + sx8654@48 { + compatible = "semtech,sx8654"; + reg = <0x48>; + interrupt-parent = <&gpio6>; + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; + reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt index 1ef3e8294b..4c1c092c27 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/touchscreen/ts4800-ts.txt @@ -1,11 +1,11 @@ -* TS-4800 Touchscreen bindings - -Required properties: -- compatible: must be "technologic,ts4800-ts" -- reg: physical base address of the controller and length of memory mapped - region. -- syscon: phandle / integers array that points to the syscon node which - describes the FPGA's syscon registers. - - phandle to FPGA's syscon - - offset to the touchscreen register - - offset to the touchscreen enable bit +* TS-4800 Touchscreen bindings + +Required properties: +- compatible: must be "technologic,ts4800-ts" +- reg: physical base address of the controller and length of memory mapped + region. +- syscon: phandle / integers array that points to the syscon node which + describes the FPGA's syscon registers. + - phandle to FPGA's syscon + - offset to the touchscreen register + - offset to the touchscreen enable bit diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt index b7ba492ebc..43ef770dfe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/input/zii,rave-sp-pwrbutton.txt @@ -1,22 +1,22 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings - -RAVE SP input device is a "MFD cell" device corresponding to power -button functionality of RAVE Supervisory Processor. It is expected -that its Device Tree node is specified as a child of the node -corresponding to the parent RAVE SP device (as documented in -Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) - -Required properties: - -- compatible: Should be "zii,rave-sp-pwrbutton" - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - pwrbutton { - compatible = "zii,rave-sp-pwrbutton"; - }; - } +Zodiac Inflight Innovations RAVE Supervisory Processor Power Button Bindings + +RAVE SP input device is a "MFD cell" device corresponding to power +button functionality of RAVE Supervisory Processor. It is expected +that its Device Tree node is specified as a child of the node +corresponding to the parent RAVE SP device (as documented in +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) + +Required properties: + +- compatible: Should be "zii,rave-sp-pwrbutton" + +Example: + + rave-sp { + compatible = "zii,rave-sp-rdu1"; + current-speed = <38400>; + + pwrbutton { + compatible = "zii,rave-sp-pwrbutton"; + }; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-mx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-mx.txt index 69d1bd40b4..d4de980e55 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-mx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/cdns,xtensa-mx.txt @@ -1,18 +1,18 @@ -* Xtensa Interrupt Distributor and Programmable Interrupt Controller (MX) - -Required properties: -- compatible: Should be "cdns,xtensa-mx". - -Remaining properties have exact same meaning as in Xtensa PIC -(see cdns,xtensa-pic.txt). - -Examples: - pic: pic { - compatible = "cdns,xtensa-mx"; - /* one cell: internal irq number, - * two cells: second cell == 0: internal irq number - * second cell == 1: external irq number - */ - #interrupt-cells = <2>; - interrupt-controller; - }; +* Xtensa Interrupt Distributor and Programmable Interrupt Controller (MX) + +Required properties: +- compatible: Should be "cdns,xtensa-mx". + +Remaining properties have exact same meaning as in Xtensa PIC +(see cdns,xtensa-pic.txt). + +Examples: + pic: pic { + compatible = "cdns,xtensa-mx"; + /* one cell: internal irq number, + * two cells: second cell == 0: internal irq number + * second cell == 1: external irq number + */ + #interrupt-cells = <2>; + interrupt-controller; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt index 122597cc87..888b2b9f70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/ezchip,nps400-ic.txt @@ -1,17 +1,17 @@ -EZchip NPS Interrupt Controller - -Required properties: - -- compatible : should be "ezchip,nps400-ic" -- interrupt-controller : Identifies the node as an interrupt controller -- #interrupt-cells : Specifies the number of cells needed to encode an - interrupt source. The value shall be 1. - - -Example: - -intc: interrupt-controller { - compatible = "ezchip,nps400-ic"; - interrupt-controller; - #interrupt-cells = <1>; -}; +EZchip NPS Interrupt Controller + +Required properties: + +- compatible : should be "ezchip,nps400-ic" +- interrupt-controller : Identifies the node as an interrupt controller +- #interrupt-cells : Specifies the number of cells needed to encode an + interrupt source. The value shall be 1. + + +Example: + +intc: interrupt-controller { + compatible = "ezchip,nps400-ic"; + interrupt-controller; + #interrupt-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt index a86154a32f..aee38e7c13 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/lsi,zevio-intc.txt @@ -1,18 +1,18 @@ -TI-NSPIRE interrupt controller - -Required properties: -- compatible: Compatible property value should be "lsi,zevio-intc". - -- reg: Physical base address of the controller and length of memory mapped - region. - -- interrupt-controller : Identifies the node as an interrupt controller - -Example: - -interrupt-controller { - compatible = "lsi,zevio-intc"; - interrupt-controller; - reg = <0xDC000000 0x1000>; - #interrupt-cells = <1>; -}; +TI-NSPIRE interrupt controller + +Required properties: +- compatible: Compatible property value should be "lsi,zevio-intc". + +- reg: Physical base address of the controller and length of memory mapped + region. + +- interrupt-controller : Identifies the node as an interrupt controller + +Example: + +interrupt-controller { + compatible = "lsi,zevio-intc"; + interrupt-controller; + reg = <0xDC000000 0x1000>; + #interrupt-cells = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,arc700-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,arc700-intc.txt index aa30165f88..9a5d562435 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,arc700-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,arc700-intc.txt @@ -1,24 +1,24 @@ -* ARC700 incore Interrupt Controller - - The core interrupt controller provides 32 prioritised interrupts (2 levels) - to ARC700 core. - -Properties: - -- compatible: "snps,arc700-intc" -- interrupt-controller: This is an interrupt controller. -- #interrupt-cells: Must be <1>. - - Single Cell "interrupts" property of a device specifies the IRQ number - between 0 to 31 - - intc accessed via the special ARC AUX register interface, hence "reg" property - is not specified. - -Example: - - intc: interrupt-controller { - compatible = "snps,arc700-intc"; - interrupt-controller; - #interrupt-cells = <1>; - }; +* ARC700 incore Interrupt Controller + + The core interrupt controller provides 32 prioritised interrupts (2 levels) + to ARC700 core. + +Properties: + +- compatible: "snps,arc700-intc" +- interrupt-controller: This is an interrupt controller. +- #interrupt-cells: Must be <1>. + + Single Cell "interrupts" property of a device specifies the IRQ number + between 0 to 31 + + intc accessed via the special ARC AUX register interface, hence "reg" property + is not specified. + +Example: + + intc: interrupt-controller { + compatible = "snps,arc700-intc"; + interrupt-controller; + #interrupt-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt index 82918f2499..69f326d6a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/snps,archs-intc.txt @@ -1,22 +1,22 @@ -* ARC-HS incore Interrupt Controller (Provided by cores implementing ARCv2 ISA) - -Properties: - -- compatible: "snps,archs-intc" -- interrupt-controller: This is an interrupt controller. -- #interrupt-cells: Must be <1>. - - Single Cell "interrupts" property of a device specifies the IRQ number - between 16 to 256 - - intc accessed via the special ARC AUX register interface, hence "reg" property - is not specified. - -Example: - - intc: interrupt-controller { - compatible = "snps,archs-intc"; - interrupt-controller; - #interrupt-cells = <1>; - interrupts = <16 17 18 19 20 21 22 23 24 25>; - }; +* ARC-HS incore Interrupt Controller (Provided by cores implementing ARCv2 ISA) + +Properties: + +- compatible: "snps,archs-intc" +- interrupt-controller: This is an interrupt controller. +- #interrupt-cells: Must be <1>. + + Single Cell "interrupts" property of a device specifies the IRQ number + between 16 to 256 + + intc accessed via the special ARC AUX register interface, hence "reg" property + is not specified. + +Example: + + intc: interrupt-controller { + compatible = "snps,archs-intc"; + interrupt-controller; + #interrupt-cells = <1>; + interrupts = <16 17 18 19 20 21 22 23 24 25>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt index dd5dfeb38d..341ae59093 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/technologic,ts4800.txt @@ -1,14 +1,14 @@ -TS-4800 FPGA interrupt controller - -TS-4800 FPGA has an internal interrupt controller. When one of the -interrupts is triggered, the SoC is notified, usually using a GPIO as -parent interrupt source. - -Required properties: -- compatible: should be "technologic,ts4800-irqc" -- interrupt-controller: identifies the node as an interrupt controller -- reg: physical base address of the controller and length of memory mapped - region -- #interrupt-cells: specifies the number of cells needed to encode an interrupt - source, should be 1. -- interrupts: specifies the interrupt line in the interrupt-parent controller +TS-4800 FPGA interrupt controller + +TS-4800 FPGA has an internal interrupt controller. When one of the +interrupts is triggered, the SoC is notified, usually using a GPIO as +parent interrupt source. + +Required properties: +- compatible: should be "technologic,ts4800-irqc" +- interrupt-controller: identifies the node as an interrupt controller +- reg: physical base address of the controller and length of memory mapped + region +- #interrupt-cells: specifies the number of cells needed to encode an interrupt + source, should be 1. +- interrupts: specifies the interrupt line in the interrupt-parent controller diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.txt index 19eda02c2d..0a4ce1051b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/interrupt-controller/via,vt8500-intc.txt @@ -1,16 +1,16 @@ -VIA/Wondermedia VT8500 Interrupt Controller ------------------------------------------------------ - -Required properties: -- compatible : "via,vt8500-intc" -- reg : Should contain 1 register ranges(address and length) -- #interrupt-cells : should be <1> - -Example: - - intc: interrupt-controller@d8140000 { - compatible = "via,vt8500-intc"; - interrupt-controller; - reg = <0xd8140000 0x10000>; - #interrupt-cells = <1>; - }; +VIA/Wondermedia VT8500 Interrupt Controller +----------------------------------------------------- + +Required properties: +- compatible : "via,vt8500-intc" +- reg : Should contain 1 register ranges(address and length) +- #interrupt-cells : should be <1> + +Example: + + intc: interrupt-controller@d8140000 { + compatible = "via,vt8500-intc"; + interrupt-controller; + reg = <0xd8140000 0x10000>; + #interrupt-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt index 04c975764d..ff5c921386 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/backlight/zii,rave-sp-backlight.txt @@ -1,23 +1,23 @@ -Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings - -RAVE SP backlight device is a "MFD cell" device corresponding to -backlight functionality of RAVE Supervisory Processor. It is expected -that its Device Tree node is specified as a child of the node -corresponding to the parent RAVE SP device (as documented in -Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) - -Required properties: - -- compatible: Should be "zii,rave-sp-backlight" - -Example: - - rave-sp { - compatible = "zii,rave-sp-rdu1"; - current-speed = <38400>; - - backlight { - compatible = "zii,rave-sp-backlight"; - }; - } - +Zodiac Inflight Innovations RAVE Supervisory Processor Backlight Bindings + +RAVE SP backlight device is a "MFD cell" device corresponding to +backlight functionality of RAVE Supervisory Processor. It is expected +that its Device Tree node is specified as a child of the node +corresponding to the parent RAVE SP device (as documented in +Documentation/devicetree/bindings/mfd/zii,rave-sp.txt) + +Required properties: + +- compatible: Should be "zii,rave-sp-backlight" + +Example: + + rave-sp { + compatible = "zii,rave-sp-rdu1"; + current-speed = <38400>; + + backlight { + compatible = "zii,rave-sp-backlight"; + }; + } + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-powernv.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-powernv.txt index 38f9613313..66655690f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-powernv.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/leds/leds-powernv.txt @@ -1,26 +1,26 @@ -Device Tree binding for LEDs on IBM Power Systems -------------------------------------------------- - -Required properties: -- compatible : Should be "ibm,opal-v3-led". -- led-mode : Should be "lightpath" or "guidinglight". - -Each location code of FRU/Enclosure must be expressed in the -form of a sub-node. - -Required properties for the sub nodes: -- led-types : Supported LED types (attention/identify/fault) provided - in the form of string array. - -Example: - -leds { - compatible = "ibm,opal-v3-led"; - led-mode = "lightpath"; - - U78C9.001.RST0027-P1-C1 { - led-types = "identify", "fault"; - }; - ... - ... -}; +Device Tree binding for LEDs on IBM Power Systems +------------------------------------------------- + +Required properties: +- compatible : Should be "ibm,opal-v3-led". +- led-mode : Should be "lightpath" or "guidinglight". + +Each location code of FRU/Enclosure must be expressed in the +form of a sub-node. + +Required properties for the sub nodes: +- led-types : Supported LED types (attention/identify/fault) provided + in the form of string array. + +Example: + +leds { + compatible = "ibm,opal-v3-led"; + led-mode = "lightpath"; + + U78C9.001.RST0027-P1-C1 { + led-types = "identify", "fault"; + }; + ... + ... +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.txt index d231c6ab7f..282ab81a4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mailbox/marvell,armada-3700-rwtm-mailbox.txt @@ -1,16 +1,16 @@ -* rWTM BIU Mailbox driver for Armada 37xx - -Required properties: -- compatible: must be "marvell,armada-3700-rwtm-mailbox" -- reg: physical base address of the mailbox and length of memory mapped - region -- interrupts: the IRQ line for the mailbox -- #mbox-cells: must be 1 - -Example: - rwtm: mailbox@b0000 { - compatible = "marvell,armada-3700-rwtm-mailbox"; - reg = <0xb0000 0x100>; - interrupts = ; - #mbox-cells = <1>; - }; +* rWTM BIU Mailbox driver for Armada 37xx + +Required properties: +- compatible: must be "marvell,armada-3700-rwtm-mailbox" +- reg: physical base address of the mailbox and length of memory mapped + region +- interrupts: the IRQ line for the mailbox +- #mbox-cells: must be 1 + +Example: + rwtm: mailbox@b0000 { + compatible = "marvell,armada-3700-rwtm-mailbox"; + reg = <0xb0000 0x100>; + interrupts = ; + #mbox-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ad5820.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ad5820.txt index f66fcf6066..5764cbedf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ad5820.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/ad5820.txt @@ -1,28 +1,28 @@ -* Analog Devices AD5820 autofocus coil - -Required Properties: - - - compatible: Must contain one of: - - "adi,ad5820" - - "adi,ad5821" - - "adi,ad5823" - - - reg: I2C slave address - - - VANA-supply: supply of voltage for VANA pin - -Optional properties: - - - enable-gpios : GPIO spec for the XSHUTDOWN pin. The XSHUTDOWN signal is -active low, a high level on the pin enables the device. - -Example: - - ad5820: coil@c { - compatible = "adi,ad5820"; - reg = <0x0c>; - - VANA-supply = <&vaux4>; - enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; - }; - +* Analog Devices AD5820 autofocus coil + +Required Properties: + + - compatible: Must contain one of: + - "adi,ad5820" + - "adi,ad5821" + - "adi,ad5823" + + - reg: I2C slave address + + - VANA-supply: supply of voltage for VANA pin + +Optional properties: + + - enable-gpios : GPIO spec for the XSHUTDOWN pin. The XSHUTDOWN signal is +active low, a high level on the pin enables the device. + +Example: + + ad5820: coil@c { + compatible = "adi,ad5820"; + reg = <0x0c>; + + VANA-supply = <&vaux4>; + enable-gpios = <&msmgpio 26 GPIO_ACTIVE_HIGH>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt index 723fde554e..060d2b7a58 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/melexis,mlx90640.txt @@ -1,20 +1,20 @@ -* Melexis MLX90640 FIR Sensor - -Melexis MLX90640 FIR sensor support which allows recording of thermal data -with 32x24 resolution excluding 2 lines of coefficient data that is used by -userspace to render processed frames. - -Required Properties: - - compatible : Must be "melexis,mlx90640" - - reg : i2c address of the device - -Example: - - i2c0@1c22000 { - ... - mlx90640@33 { - compatible = "melexis,mlx90640"; - reg = <0x33>; - }; - ... - }; +* Melexis MLX90640 FIR Sensor + +Melexis MLX90640 FIR sensor support which allows recording of thermal data +with 32x24 resolution excluding 2 lines of coefficient data that is used by +userspace to render processed frames. + +Required Properties: + - compatible : Must be "melexis,mlx90640" + - reg : i2c address of the device + +Example: + + i2c0@1c22000 { + ... + mlx90640@33 { + compatible = "melexis,mlx90640"; + reg = <0x33>; + }; + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/panasonic,amg88xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/panasonic,amg88xx.txt index ec16c695f1..4a3181a3dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/panasonic,amg88xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/i2c/panasonic,amg88xx.txt @@ -1,19 +1,19 @@ -* Panasonic AMG88xx - -The Panasonic family of AMG88xx Grid-Eye sensors allow recording -8x8 10Hz video which consists of thermal datapoints - -Required Properties: - - compatible : Must be "panasonic,amg88xx" - - reg : i2c address of the device - -Example: - - i2c0@1c22000 { - ... - amg88xx@69 { - compatible = "panasonic,amg88xx"; - reg = <0x69>; - }; - ... - }; +* Panasonic AMG88xx + +The Panasonic family of AMG88xx Grid-Eye sensors allow recording +8x8 10Hz video which consists of thermal datapoints + +Required Properties: + - compatible : Must be "panasonic,amg88xx" + - reg : i2c address of the device + +Example: + + i2c0@1c22000 { + ... + amg88xx@69 { + compatible = "panasonic,amg88xx"; + reg = <0x69>; + }; + ... + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/spi/sony-cxd2880.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/spi/sony-cxd2880.txt index 474bdc88a3..98a72c0b3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/spi/sony-cxd2880.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/spi/sony-cxd2880.txt @@ -1,18 +1,18 @@ -Sony CXD2880 DVB-T2/T tuner + demodulator driver SPI adapter - -Required properties: -- compatible: Should be "sony,cxd2880". -- reg: SPI chip select number for the device. -- spi-max-frequency: Maximum bus speed, should be set to <55000000> (55MHz). - -Optional properties: -- vcc-supply: Optional phandle to the vcc regulator to power the adapter, - as described in the file ../regulator/regulator.txt - -Example: - -cxd2880@0 { - compatible = "sony,cxd2880"; - reg = <0>; /* CE0 */ - spi-max-frequency = <55000000>; /* 55MHz */ -}; +Sony CXD2880 DVB-T2/T tuner + demodulator driver SPI adapter + +Required properties: +- compatible: Should be "sony,cxd2880". +- reg: SPI chip select number for the device. +- spi-max-frequency: Maximum bus speed, should be set to <55000000> (55MHz). + +Optional properties: +- vcc-supply: Optional phandle to the vcc regulator to power the adapter, + as described in the file ../regulator/regulator.txt + +Example: + +cxd2880@0 { + compatible = "sony,cxd2880"; + reg = <0>; /* CE0 */ + spi-max-frequency = <55000000>; /* 55MHz */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-delta.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-delta.txt index cfc2cae43f..a538ab30a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-delta.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/media/st,st-delta.txt @@ -1,17 +1,17 @@ -* STMicroelectronics DELTA multi-format video decoder - -Required properties: -- compatible: should be "st,st-delta". -- clocks: from common clock binding: handle hardware IP needed clocks, the - number of clocks may depend on the SoC type. - See ../clock/clock-bindings.txt for details. -- clock-names: names of the clocks listed in clocks property in the same order. - -Example: - delta0 { - compatible = "st,st-delta"; - clock-names = "delta", "delta-st231", "delta-flash-promip"; - clocks = <&clk_s_c0_flexgen CLK_VID_DMU>, - <&clk_s_c0_flexgen CLK_ST231_DMU>, - <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; - }; +* STMicroelectronics DELTA multi-format video decoder + +Required properties: +- compatible: should be "st,st-delta". +- clocks: from common clock binding: handle hardware IP needed clocks, the + number of clocks may depend on the SoC type. + See ../clock/clock-bindings.txt for details. +- clock-names: names of the clocks listed in clocks property in the same order. + +Example: + delta0 { + compatible = "st,st-delta"; + clock-names = "delta", "delta-st231", "delta-flash-promip"; + clocks = <&clk_s_c0_flexgen CLK_VID_DMU>, + <&clk_s_c0_flexgen CLK_ST231_DMU>, + <&clk_s_c0_flexgen CLK_FLASH_PROMIP>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt index 0ad900a631..aea5370efd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/aspeed-gfx.txt @@ -1,17 +1,17 @@ -* Device tree bindings for Aspeed SoC Display Controller (GFX) - -The Aspeed SoC Display Controller primarily does as its name suggests, but also -participates in pinmux requests on the g5 SoCs. It is therefore considered a -syscon device. - -Required properties: -- compatible: "aspeed,ast2500-gfx", "syscon" -- reg: contains offset/length value of the GFX memory - region. - -Example: - -gfx: display@1e6e6000 { - compatible = "aspeed,ast2500-gfx", "syscon"; - reg = <0x1e6e6000 0x1000>; -}; +* Device tree bindings for Aspeed SoC Display Controller (GFX) + +The Aspeed SoC Display Controller primarily does as its name suggests, but also +participates in pinmux requests on the g5 SoCs. It is therefore considered a +syscon device. + +Required properties: +- compatible: "aspeed,ast2500-gfx", "syscon" +- reg: contains offset/length value of the GFX memory + region. + +Example: + +gfx: display@1e6e6000 { + compatible = "aspeed,ast2500-gfx", "syscon"; + reg = <0x1e6e6000 0x1000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt index fabc8fb719..3c989d1760 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/atmel-gpbr.txt @@ -1,18 +1,18 @@ -* Device tree bindings for Atmel GPBR (General Purpose Backup Registers) - -The GPBR are a set of battery-backed registers. - -Required properties: -- compatible: Should be one of the following: - "atmel,at91sam9260-gpbr", "syscon" - "microchip,sam9x60-gpbr", "syscon" - "microchip,sam9x7-gpbr", "microchip,sam9x60-gpbr", "syscon" -- reg: contains offset/length value of the GPBR memory - region. - -Example: - -gpbr: gpbr@fffffd50 { - compatible = "atmel,at91sam9260-gpbr", "syscon"; - reg = <0xfffffd50 0x10>; -}; +* Device tree bindings for Atmel GPBR (General Purpose Backup Registers) + +The GPBR are a set of battery-backed registers. + +Required properties: +- compatible: Should be one of the following: + "atmel,at91sam9260-gpbr", "syscon" + "microchip,sam9x60-gpbr", "syscon" + "microchip,sam9x7-gpbr", "microchip,sam9x60-gpbr", "syscon" +- reg: contains offset/length value of the GPBR memory + region. + +Example: + +gpbr: gpbr@fffffd50 { + compatible = "atmel,at91sam9260-gpbr", "syscon"; + reg = <0xfffffd50 0x10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qriox.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qriox.txt index 62e47a4624..f301e2d4ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qriox.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/qriox.txt @@ -1,17 +1,17 @@ -KEYMILE qrio Board Control CPLD - -The qrio is a multifunction device that controls the KEYMILE boards based on -the kmp204x design. -It is consists of a reset controller, watchdog timer, LEDs, and 2 IRQ capable -GPIO blocks. - -Required properties: -- compatible: "keymile,qriox" -- reg: access on the parent local bus (chip select, offset in chip select, size) - -Example: - - board-control@1,0 { - compatible = "keymile,qriox"; - reg = <1 0 0x80>; - }; +KEYMILE qrio Board Control CPLD + +The qrio is a multifunction device that controls the KEYMILE boards based on +the kmp204x design. +It is consists of a reset controller, watchdog timer, LEDs, and 2 IRQ capable +GPIO blocks. + +Required properties: +- compatible: "keymile,qriox" +- reg: access on the parent local bus (chip select, offset in chip select, size) + +Example: + + board-control@1,0 { + compatible = "keymile,qriox"; + reg = <1 0 0x80>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti-keystone-devctrl.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti-keystone-devctrl.txt index 9cdb4407a4..71a1f59639 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti-keystone-devctrl.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mfd/ti-keystone-devctrl.txt @@ -1,19 +1,19 @@ -* Device tree bindings for Texas Instruments keystone device state control - -The Keystone II devices have a set of registers that are used to control -the status of its peripherals. This node is intended to allow access to -this functionality. - -Required properties: - -- compatible: "ti,keystone-devctrl", "syscon" - -- reg: contains offset/length value for device state control - registers space. - -Example: - -devctrl: device-state-control@02620000 { - compatible = "ti,keystone-devctrl", "syscon"; - reg = <0x02620000 0x1000>; -}; +* Device tree bindings for Texas Instruments keystone device state control + +The Keystone II devices have a set of registers that are used to control +the status of its peripherals. This node is intended to allow access to +this functionality. + +Required properties: + +- compatible: "ti,keystone-devctrl", "syscon" + +- reg: contains offset/length value for device state control + registers space. + +Example: + +devctrl: device-state-control@02620000 { + compatible = "ti,keystone-devctrl", "syscon"; + reg = <0x02620000 0x1000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ath79-soc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ath79-soc.txt index 6f63ae8a72..88a12a43e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ath79-soc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/ath79-soc.txt @@ -1,21 +1,21 @@ -Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC - -Each device tree must specify a compatible value for the AR SoC -it uses in the compatible property of the root node. The compatible -value must be one of the following values: - -- qca,ar7130 -- qca,ar7141 -- qca,ar7161 -- qca,ar7240 -- qca,ar7241 -- qca,ar7242 -- qca,ar9130 -- qca,ar9132 -- qca,ar9330 -- qca,ar9331 -- qca,ar9341 -- qca,ar9342 -- qca,ar9344 -- qca,qca9556 -- qca,qca9558 +Binding for Qualcomm Atheros AR7xxx/AR9XXX SoC + +Each device tree must specify a compatible value for the AR SoC +it uses in the compatible property of the root node. The compatible +value must be one of the following values: + +- qca,ar7130 +- qca,ar7141 +- qca,ar7161 +- qca,ar7240 +- qca,ar7241 +- qca,ar7242 +- qca,ar9130 +- qca,ar9132 +- qca,ar9330 +- qca,ar9331 +- qca,ar9341 +- qca,ar9342 +- qca,ar9344 +- qca,qca9556 +- qca,qca9558 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/dma-engine.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/dma-engine.txt index eb5ac51426..a5bdff4000 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/dma-engine.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/cavium/dma-engine.txt @@ -1,21 +1,21 @@ -* DMA Engine. - -The Octeon DMA Engine transfers between the Boot Bus and main memory. -The DMA Engine will be referred to by phandle by any device that is -connected to it. - -Properties: -- compatible: "cavium,octeon-5750-bootbus-dma" - - Compatibility with all cn52XX, cn56XX and cn6XXX SOCs. - -- reg: The base address of the DMA Engine's register bank. - -- interrupts: A single interrupt specifier. - -Example: - dma0: dma-engine@1180000000100 { - compatible = "cavium,octeon-5750-bootbus-dma"; - reg = <0x11800 0x00000100 0x0 0x8>; - interrupts = <0 63>; - }; +* DMA Engine. + +The Octeon DMA Engine transfers between the Boot Bus and main memory. +The DMA Engine will be referred to by phandle by any device that is +connected to it. + +Properties: +- compatible: "cavium,octeon-5750-bootbus-dma" + + Compatibility with all cn52XX, cn56XX and cn6XXX SOCs. + +- reg: The base address of the DMA Engine's register bank. + +- interrupts: A single interrupt specifier. + +Example: + dma0: dma-engine@1180000000100 { + compatible = "cavium,octeon-5750-bootbus-dma"; + reg = <0x11800 0x00000100 0x0 0x8>; + interrupts = <0 63>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt index 01de444603..2d5126d529 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/img/pistachio-marduk.txt @@ -1,10 +1,10 @@ -Imagination Technologies' Pistachio SoC based Marduk Board -========================================================== - -Compatible string must be "img,pistachio-marduk", "img,pistachio" - -Hardware and other related documentation is available at -https://docs.creatordev.io/ci40/ - -It is also known as Creator Ci40. Marduk is legacy name and will -be there for decades. +Imagination Technologies' Pistachio SoC based Marduk Board +========================================================== + +Compatible string must be "img,pistachio-marduk", "img,pistachio" + +Hardware and other related documentation is available at +https://docs.creatordev.io/ci40/ + +It is also known as Creator Ci40. Marduk is legacy name and will +be there for decades. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,cgu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,cgu.yaml index 466f1a326d..d5805725be 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,cgu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,cgu.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/lantiq/lantiq,cgu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lantiq Xway SoC series Clock Generation Unit (CGU) - -maintainers: - - John Crispin - -properties: - compatible: - items: - - enum: - - lantiq,cgu-xway - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - cgu@103000 { - compatible = "lantiq,cgu-xway"; - reg = <0x103000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,cgu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq Xway SoC series Clock Generation Unit (CGU) + +maintainers: + - John Crispin + +properties: + compatible: + items: + - enum: + - lantiq,cgu-xway + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + cgu@103000 { + compatible = "lantiq,cgu-xway"; + reg = <0x103000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,dma-xway.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,dma-xway.yaml index cd67aa245b..15d41bdbdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,dma-xway.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,dma-xway.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/lantiq/lantiq,dma-xway.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lantiq Xway SoCs DMA Controller - -maintainers: - - John Crispin - -properties: - compatible: - items: - - enum: - - lantiq,dma-xway - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - dma@e104100 { - compatible = "lantiq,dma-xway"; - reg = <0xe104100 0x800>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,dma-xway.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq Xway SoCs DMA Controller + +maintainers: + - John Crispin + +properties: + compatible: + items: + - enum: + - lantiq,dma-xway + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + dma@e104100 { + compatible = "lantiq,dma-xway"; + reg = <0xe104100 0x800>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu.yaml index c6b91d3dd2..0fada1f085 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,ebu.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/lantiq/lantiq,ebu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lantiq Xway SoC series External Bus Unit (EBU) - -maintainers: - - John Crispin - -properties: - compatible: - items: - - enum: - - lantiq,ebu-xway - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - ebu@105300 { - compatible = "lantiq,ebu-xway"; - reg = <0x105300 0x100>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,ebu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq Xway SoC series External Bus Unit (EBU) + +maintainers: + - John Crispin + +properties: + compatible: + items: + - enum: + - lantiq,ebu-xway + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + ebu@105300 { + compatible = "lantiq,ebu-xway"; + reg = <0x105300 0x100>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml index 1c9c877143..4982b458ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mips/lantiq/lantiq,pmu.yaml @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mips/lantiq/lantiq,pmu.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Lantiq Xway SoC series Power Management Unit (PMU) - -maintainers: - - John Crispin - -properties: - compatible: - items: - - enum: - - lantiq,pmu-xway - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - pmu@102000 { - compatible = "lantiq,pmu-xway"; - reg = <0x102000 0x1000>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,pmu.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq Xway SoC series Power Management Unit (PMU) + +maintainers: + - John Crispin + +properties: + compatible: + items: + - enum: + - lantiq,pmu-xway + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + pmu@102000 { + compatible = "lantiq,pmu-xway"; + reg = <0x102000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml index 15f9fcc2da..59b83ea5e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/fsl,dpaa2-console.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 NXP -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: DPAA2 console support - -maintainers: - - Laurentiu Tudor - -properties: - compatible: - const: fsl,dpaa2-console - - reg: - maxItems: 1 - description: A standard property. Specifies the region where the MCFBA - (MC firmware base address) register can be found. - -required: - - compatible - - reg - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 NXP +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/misc/fsl,dpaa2-console.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DPAA2 console support + +maintainers: + - Laurentiu Tudor + +properties: + compatible: + const: fsl,dpaa2-console + + reg: + maxItems: 1 + description: A standard property. Specifies the region where the MCFBA + (MC firmware base address) register can be found. + +required: + - compatible + - reg + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/lwn-bk4.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/lwn-bk4.txt index 547da03919..d6a8c188c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/lwn-bk4.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/misc/lwn-bk4.txt @@ -1,26 +1,26 @@ -* Liebherr's BK4 controller external SPI - -A device which handles data acquisition from compatible industrial -peripherals. -The SPI is used for data and management purposes in both master and -slave modes. - -Required properties: - -- compatible : Should be "lwn,bk4" - -Required SPI properties: - -- reg : Should be address of the device chip select within - the controller. - -- spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be - 30MHz at most for the Liebherr's BK4 external bus. - -Example: - -spidev0: spi@0 { - compatible = "lwn,bk4"; - spi-max-frequency = <30000000>; - reg = <0>; -}; +* Liebherr's BK4 controller external SPI + +A device which handles data acquisition from compatible industrial +peripherals. +The SPI is used for data and management purposes in both master and +slave modes. + +Required properties: + +- compatible : Should be "lwn,bk4" + +Required SPI properties: + +- reg : Should be address of the device chip select within + the controller. + +- spi-max-frequency : Maximum SPI clocking speed of device in Hz, should be + 30MHz at most for the Liebherr's BK4 external bus. + +Example: + +spidev0: spi@0 { + compatible = "lwn,bk4"; + spi-max-frequency = <30000000>; + reg = <0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/pxa-mmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/pxa-mmc.txt index 9fb0687b4e..66a78eae4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/pxa-mmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/pxa-mmc.txt @@ -1,25 +1,25 @@ -* PXA MMC drivers - -Driver bindings for the PXA MCI (MMC/SDIO) interfaces - -Required properties: -- compatible: Should be "marvell,pxa-mmc". -- vmmc-supply: A regulator for VMMC - -Optional properties: -- marvell,detect-delay-ms: sets the detection delay timeout in ms. - -In addition to the properties described in this document, the details -described in mmc.txt are supported. - -Examples: - -mmc0: mmc@41100000 { - compatible = "marvell,pxa-mmc"; - reg = <0x41100000 0x1000>; - interrupts = <23>; - vmmc-supply = <&mmc_regulator>; - cd-gpios = <&gpio 23 0>; - wp-gpios = <&gpio 24 0>; -}; - +* PXA MMC drivers + +Driver bindings for the PXA MCI (MMC/SDIO) interfaces + +Required properties: +- compatible: Should be "marvell,pxa-mmc". +- vmmc-supply: A regulator for VMMC + +Optional properties: +- marvell,detect-delay-ms: sets the detection delay timeout in ms. + +In addition to the properties described in this document, the details +described in mmc.txt are supported. + +Examples: + +mmc0: mmc@41100000 { + compatible = "marvell,pxa-mmc"; + reg = <0x41100000 0x1000>; + interrupts = <23>; + vmmc-supply = <&mmc_regulator>; + cd-gpios = <&gpio 23 0>; + wp-gpios = <&gpio 24 0>; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-spear.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-spear.txt index b98d9298d6..fd3643e7e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-spear.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/sdhci-spear.txt @@ -1,18 +1,18 @@ -* SPEAr SDHCI Controller - -This file documents differences between the core properties in mmc.txt -and the properties used by the sdhci-spear driver. - -Required properties: -- compatible: "st,spear300-sdhci" - -Optional properties: -- cd-gpios: card detect gpio, with zero flags. - -Example: - - sdhci@fc000000 { - compatible = "st,spear300-sdhci"; - reg = <0xfc000000 0x1000>; - cd-gpios = <&gpio0 6 0>; - }; +* SPEAr SDHCI Controller + +This file documents differences between the core properties in mmc.txt +and the properties used by the sdhci-spear driver. + +Required properties: +- compatible: "st,spear300-sdhci" + +Optional properties: +- cd-gpios: card detect gpio, with zero flags. + +Example: + + sdhci@fc000000 { + compatible = "st,spear300-sdhci"; + reg = <0xfc000000 0x1000>; + cd-gpios = <&gpio0 6 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt index 6d88c363c8..d7fb6abb3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mmc/vt8500-sdmmc.txt @@ -1,23 +1,23 @@ -* Wondermedia WM8505/WM8650 SD/MMC Host Controller - -This file documents differences between the core properties described -by mmc.txt and the properties used by the wmt-sdmmc driver. - -Required properties: -- compatible: Should be "wm,wm8505-sdhc". -- interrupts: Two interrupts are required - regular irq and dma irq. - -Optional properties: -- sdon-inverted: SD_ON bit is inverted on the controller - -Examples: - -sdhc@d800a000 { - compatible = "wm,wm8505-sdhc"; - reg = <0xd800a000 0x1000>; - interrupts = <20 21>; - clocks = <&sdhc>; - bus-width = <4>; - sdon-inverted; -}; - +* Wondermedia WM8505/WM8650 SD/MMC Host Controller + +This file documents differences between the core properties described +by mmc.txt and the properties used by the wmt-sdmmc driver. + +Required properties: +- compatible: Should be "wm,wm8505-sdhc". +- interrupts: Two interrupts are required - regular irq and dma irq. + +Optional properties: +- sdon-inverted: SD_ON bit is inverted on the controller + +Examples: + +sdhc@d800a000 { + compatible = "wm,wm8505-sdhc"; + reg = <0xd800a000 0x1000>; + interrupts = <20 21>; + clocks = <&sdhc>; + bus-width = <4>; + sdon-inverted; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt index d6f1e9c3af..1889a4db5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/atmel-dataflash.txt @@ -1,17 +1,17 @@ -* Atmel Data Flash - -Required properties: -- compatible : "atmel,", "atmel,", "atmel,dataflash". - -The device tree may optionally contain sub-nodes describing partitions of the -address space. See partition.txt for more detail. - -Example: - -flash@1 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; - spi-max-frequency = <25000000>; - reg = <1>; -}; +* Atmel Data Flash + +Required properties: +- compatible : "atmel,", "atmel,", "atmel,dataflash". + +The device tree may optionally contain sub-nodes describing partitions of the +address space. See partition.txt for more detail. + +Example: + +flash@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "atmel,at45db321d", "atmel,at45", "atmel,dataflash"; + spi-max-frequency = <25000000>; + reg = <1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/diskonchip.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/diskonchip.txt index 3888571b73..3e13bfdbea 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/diskonchip.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/diskonchip.txt @@ -1,15 +1,15 @@ -M-Systems and Sandisk DiskOnChip devices - -M-System DiskOnChip G3 -====================== -The Sandisk (formerly M-Systems) docg3 is a nand device of 64M to 256MB. - -Required properties: - - compatible: should be "m-systems,diskonchip-g3" - - reg: register base and size - -Example: - docg3: flash@0 { - compatible = "m-systems,diskonchip-g3"; - reg = <0x0 0x2000>; - }; +M-Systems and Sandisk DiskOnChip devices + +M-System DiskOnChip G3 +====================== +The Sandisk (formerly M-Systems) docg3 is a nand device of 64M to 256MB. + +Required properties: + - compatible: should be "m-systems,diskonchip-g3" + - reg: register base and size + +Example: + docg3: flash@0 { + compatible = "m-systems,diskonchip-g3"; + reg = <0x0 0x2000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt index 4b653b7db3..7328eb92a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/microchip,mchp23k256.txt @@ -1,18 +1,18 @@ -* MTD SPI driver for Microchip 23K256 (and similar) serial SRAM - -Required properties: -- #address-cells, #size-cells : Must be present if the device has sub-nodes - representing partitions. -- compatible : Must be one of "microchip,mchp23k256" or "microchip,mchp23lcv1024" -- reg : Chip-Select number -- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at - -Example: - - spi-sram@0 { - #address-cells = <1>; - #size-cells = <1>; - compatible = "microchip,mchp23k256"; - reg = <0>; - spi-max-frequency = <20000000>; - }; +* MTD SPI driver for Microchip 23K256 (and similar) serial SRAM + +Required properties: +- #address-cells, #size-cells : Must be present if the device has sub-nodes + representing partitions. +- compatible : Must be one of "microchip,mchp23k256" or "microchip,mchp23lcv1024" +- reg : Chip-Select number +- spi-max-frequency : Maximum frequency of the SPI bus the chip can operate at + +Example: + + spi-sram@0 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "microchip,mchp23k256"; + reg = <0>; + spi-max-frequency = <20000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spi-nand.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spi-nand.yaml index 0dcf2a8b9f..77a8727c79 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spi-nand.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/mtd/spi-nand.yaml @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/mtd/spi-nand.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: SPI-NAND flash - -maintainers: - - Miquel Raynal - -allOf: - - $ref: nand-chip.yaml# - - $ref: /schemas/spi/spi-peripheral-props.yaml# - -properties: - compatible: - const: spi-nand - - reg: - description: Encode the chip-select line on the SPI bus - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/spi-nand.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: SPI-NAND flash + +maintainers: + - Miquel Raynal + +allOf: + - $ref: nand-chip.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# + +properties: + compatible: + const: spi-nand + + reg: + description: Encode the chip-select line on the SPI bus + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/anarion-gmac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/anarion-gmac.txt index 4be914657a..fe678965ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/anarion-gmac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/anarion-gmac.txt @@ -1,25 +1,25 @@ -* Adaptrum Anarion ethernet controller - -This device is a platform glue layer for stmmac. -Please see stmmac.txt for the other unchanged properties. - -Required properties: - - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac" - - phy-mode: Should be "rgmii". Other modes are not currently supported. - - -Examples: - - gmac1: ethernet@f2014000 { - compatible = "adaptrum,anarion-gmac", "snps,dwmac"; - reg = <0xf2014000 0x4000>, <0xf2018100 8>; - - interrupt-parent = <&core_intc>; - interrupts = <21>; - interrupt-names = "macirq"; - - clocks = <&core_clk>; - clock-names = "stmmaceth"; - - phy-mode = "rgmii"; - }; +* Adaptrum Anarion ethernet controller + +This device is a platform glue layer for stmmac. +Please see stmmac.txt for the other unchanged properties. + +Required properties: + - compatible: Should be "adaptrum,anarion-gmac", "snps,dwmac" + - phy-mode: Should be "rgmii". Other modes are not currently supported. + + +Examples: + + gmac1: ethernet@f2014000 { + compatible = "adaptrum,anarion-gmac", "snps,dwmac"; + reg = <0xf2014000 0x4000>, <0xf2018100 8>; + + interrupt-parent = <&core_intc>; + interrupts = <21>; + interrupt-names = "macirq"; + + clocks = <&core_clk>; + clock-names = "stmmaceth"; + + phy-mode = "rgmii"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/atmel-can.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/atmel-can.txt index 094e28324e..218a3b3eb2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/atmel-can.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/atmel-can.txt @@ -1,15 +1,15 @@ -* AT91 CAN * - -Required properties: - - compatible: Should be "atmel,at91sam9263-can", "atmel,at91sam9x5-can" or - "microchip,sam9x60-can" - - reg: Should contain CAN controller registers location and length - - interrupts: Should contain IRQ line for the CAN controller - -Example: - - can0: can@f000c000 { - compatible = "atmel,at91sam9x5-can"; - reg = <0xf000c000 0x300>; - interrupts = <40 4 5> - }; +* AT91 CAN * + +Required properties: + - compatible: Should be "atmel,at91sam9263-can", "atmel,at91sam9x5-can" or + "microchip,sam9x60-can" + - reg: Should contain CAN controller registers location and length + - interrupts: Should contain IRQ line for the CAN controller + +Example: + + can0: can@f000c000 { + compatible = "atmel,at91sam9x5-can"; + reg = <0xf000c000 0x300>; + interrupts = <40 4 5> + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-controller.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-controller.yaml index ba0f27bc0e..217be90960 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-controller.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-controller.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/can-controller.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: CAN Controller Common Properties - -maintainers: - - Marc Kleine-Budde - -properties: - $nodename: - pattern: "^can(@.*)?$" - - termination-gpios: - description: GPIO pin to enable CAN bus termination. - maxItems: 1 - - termination-ohms: - description: The resistance value of the CAN bus termination resistor. - minimum: 1 - maximum: 65535 - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/can-controller.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CAN Controller Common Properties + +maintainers: + - Marc Kleine-Budde + +properties: + $nodename: + pattern: "^can(@.*)?$" + + termination-gpios: + description: GPIO pin to enable CAN bus termination. + maxItems: 1 + + termination-ohms: + description: The resistance value of the CAN bus termination resistor. + minimum: 1 + maximum: 65535 + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-transceiver.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-transceiver.yaml index 1b55eeb9ff..d422b3921f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-transceiver.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/can-transceiver.yaml @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/can/can-transceiver.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: CAN transceiver - -description: CAN transceiver generic properties bindings - -maintainers: - - Rob Herring - -properties: - max-bitrate: - $ref: /schemas/types.yaml#/definitions/uint32 - description: a positive non 0 value that determines the max speed that CAN/CAN-FD can run. - minimum: 1 - -additionalProperties: true +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/can/can-transceiver.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: CAN transceiver + +description: CAN transceiver generic properties bindings + +maintainers: + - Rob Herring + +properties: + max-bitrate: + $ref: /schemas/types.yaml#/definitions/uint32 + description: a positive non 0 value that determines the max speed that CAN/CAN-FD can run. + minimum: 1 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ifi_canfd.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ifi_canfd.txt index 77dba7a740..20ea5c70ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ifi_canfd.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/can/ifi_canfd.txt @@ -1,15 +1,15 @@ -IFI CANFD controller --------------------- - -Required properties: - - compatible: Should be "ifi,canfd-1.0" - - reg: Should contain CAN controller registers location and length - - interrupts: Should contain IRQ line for the CAN controller - -Example: - - canfd0: canfd@ff220000 { - compatible = "ifi,canfd-1.0"; - reg = <0xff220000 0x00001000>; - interrupts = <0 43 0>; - }; +IFI CANFD controller +-------------------- + +Required properties: + - compatible: Should be "ifi,canfd-1.0" + - reg: Should contain CAN controller registers location and length + - interrupts: Should contain IRQ line for the CAN controller + +Example: + + canfd0: canfd@ff220000 { + compatible = "ifi,canfd-1.0"; + reg = <0xff220000 0x00001000>; + interrupts = <0 43 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt index a2e249bd8a..c070076bac 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/cirrus,cs89x0.txt @@ -1,13 +1,13 @@ -* Cirrus Logic CS8900/CS8920 Network Controller - -Required properties: -- compatible : Should be "cirrus,cs8900" or "cirrus,cs8920". -- reg : Address and length of the IO space. -- interrupts : Should contain the controller interrupt line. - -Examples: - eth0: eth@10000000 { - compatible = "cirrus,cs8900"; - reg = <0x10000000 0x400>; - interrupts = <10>; - }; +* Cirrus Logic CS8900/CS8920 Network Controller + +Required properties: +- compatible : Should be "cirrus,cs8900" or "cirrus,cs8920". +- reg : Address and length of the IO space. +- interrupts : Should contain the controller interrupt line. + +Examples: + eth0: eth@10000000 { + compatible = "cirrus,cs8900"; + reg = <0x10000000 0x400>; + interrupts = <10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml index 8bfe85505c..d5cf7e40e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ethernet-switch-port.yaml @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/ethernet-switch-port.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Generic Ethernet Switch Port - -maintainers: - - Andrew Lunn - - Florian Fainelli - - Vladimir Oltean - -description: - An Ethernet switch port is a component of a switch that manages one MAC, and - can pass Ethernet frames. - -$ref: ethernet-controller.yaml# - -properties: - reg: - description: Port number - -additionalProperties: true - -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/ethernet-switch-port.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Generic Ethernet Switch Port + +maintainers: + - Andrew Lunn + - Florian Fainelli + - Vladimir Oltean + +description: + An Ethernet switch port is a component of a switch that manages one MAC, and + can pass Ethernet frames. + +$ref: ethernet-controller.yaml# + +properties: + reg: + description: Port number + +additionalProperties: true + +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ezchip_enet.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ezchip_enet.txt index 5272cc8f47..4e29b2b828 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ezchip_enet.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ezchip_enet.txt @@ -1,15 +1,15 @@ -* EZchip NPS Management Ethernet port driver - -Required properties: -- compatible: Should be "ezchip,nps-mgt-enet" -- reg: Address and length of the register set for the device -- interrupts: Should contain the ENET interrupt - -Examples: - - ethernet@f0003000 { - compatible = "ezchip,nps-mgt-enet"; - reg = <0xf0003000 0x44>; - interrupts = <7>; - mac-address = [ 00 11 22 33 44 55 ]; - }; +* EZchip NPS Management Ethernet port driver + +Required properties: +- compatible: Should be "ezchip,nps-mgt-enet" +- reg: Address and length of the register set for the device +- interrupts: Should contain the ENET interrupt + +Examples: + + ethernet@f0003000 { + compatible = "ezchip,nps-mgt-enet"; + reg = <0xf0003000 0x44>; + interrupts = <7>; + mac-address = [ 00 11 22 33 44 55 ]; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/faraday,ftmac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/faraday,ftmac.txt index 2f76969582..be4f55e23b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/faraday,ftmac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/faraday,ftmac.txt @@ -1,24 +1,24 @@ -Faraday Ethernet Controller - -Required properties: - -- compatible : Must contain "faraday,ftmac", as well as one of - the SoC specific identifiers: - "andestech,atmac100" - "moxa,moxart-mac" -- reg : Should contain register location and length -- interrupts : Should contain the mac interrupt number - -Example: - - mac0: mac@90900000 { - compatible = "moxa,moxart-mac"; - reg = <0x90900000 0x100>; - interrupts = <25 0>; - }; - - mac1: mac@92000000 { - compatible = "moxa,moxart-mac"; - reg = <0x92000000 0x100>; - interrupts = <27 0>; - }; +Faraday Ethernet Controller + +Required properties: + +- compatible : Must contain "faraday,ftmac", as well as one of + the SoC specific identifiers: + "andestech,atmac100" + "moxa,moxart-mac" +- reg : Should contain register location and length +- interrupts : Should contain the mac interrupt number + +Example: + + mac0: mac@90900000 { + compatible = "moxa,moxart-mac"; + reg = <0x90900000 0x100>; + interrupts = <25 0>; + }; + + mac1: mac@92000000 { + compatible = "moxa,moxart-mac"; + reg = <0x92000000 0x100>; + interrupts = <27 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt index a2c9724f2a..23a39a309d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/hisilicon-femac-mdio.txt @@ -1,22 +1,22 @@ -Hisilicon Fast Ethernet MDIO Controller interface - -Required properties: -- compatible: should be "hisilicon,hisi-femac-mdio". -- reg: address and length of the register set for the device. -- clocks: A phandle to the reference clock for this device. - -- PHY subnode: inherits from phy binding [1] -[1] Documentation/devicetree/bindings/net/phy.txt - -Example: -mdio: mdio@10091100 { - compatible = "hisilicon,hisi-femac-mdio"; - reg = <0x10091100 0x10>; - clocks = <&crg HI3516CV300_MDIO_CLK>; - #address-cells = <1>; - #size-cells = <0>; - - phy0: phy@1 { - reg = <1>; - }; -}; +Hisilicon Fast Ethernet MDIO Controller interface + +Required properties: +- compatible: should be "hisilicon,hisi-femac-mdio". +- reg: address and length of the register set for the device. +- clocks: A phandle to the reference clock for this device. + +- PHY subnode: inherits from phy binding [1] +[1] Documentation/devicetree/bindings/net/phy.txt + +Example: +mdio: mdio@10091100 { + compatible = "hisilicon,hisi-femac-mdio"; + reg = <0x10091100 0x10>; + clocks = <&crg HI3516CV300_MDIO_CLK>; + #address-cells = <1>; + #size-cells = <0>; + + phy0: phy@1 { + reg = <1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/adf7242.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/adf7242.txt index b5203f547c..d24172cc6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/adf7242.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/adf7242.txt @@ -1,18 +1,18 @@ -* ADF7242 IEEE 802.15.4 * - -Required properties: - - compatible: should be "adi,adf7242", "adi,adf7241" - - spi-max-frequency: maximal bus speed (12.5 MHz) - - reg: the chipselect index - - interrupts: the interrupt generated by the device via pin IRQ1. - IRQ_TYPE_LEVEL_HIGH (4) or IRQ_TYPE_EDGE_FALLING (1) - -Example: - - adf7242@0 { - compatible = "adi,adf7242"; - spi-max-frequency = <10000000>; - reg = <0>; - interrupts = <98 IRQ_TYPE_LEVEL_HIGH>; - interrupt-parent = <&gpio3>; - }; +* ADF7242 IEEE 802.15.4 * + +Required properties: + - compatible: should be "adi,adf7242", "adi,adf7241" + - spi-max-frequency: maximal bus speed (12.5 MHz) + - reg: the chipselect index + - interrupts: the interrupt generated by the device via pin IRQ1. + IRQ_TYPE_LEVEL_HIGH (4) or IRQ_TYPE_EDGE_FALLING (1) + +Example: + + adf7242@0 { + compatible = "adi,adf7242"; + spi-max-frequency = <10000000>; + reg = <0>; + interrupts = <98 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&gpio3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt index 9a397693d8..2aaef567c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mcr20a.txt @@ -1,23 +1,23 @@ -* MCR20A IEEE 802.15.4 * - -Required properties: - - compatible: should be "nxp,mcr20a" - - spi-max-frequency: maximal bus speed, should be set to a frequency - lower than 9000000 depends sync or async operation mode - - reg: the chipselect index - - interrupts: the interrupt generated by the device. Non high-level - can occur deadlocks while handling isr. - -Optional properties: - - rst_b-gpio: GPIO spec for the RST_B pin - -Example: - - mcr20a@0 { - compatible = "nxp,mcr20a"; - spi-max-frequency = <9000000>; - reg = <0>; - interrupts = <17 2>; - interrupt-parent = <&gpio>; - rst_b-gpio = <&gpio 27 1> - }; +* MCR20A IEEE 802.15.4 * + +Required properties: + - compatible: should be "nxp,mcr20a" + - spi-max-frequency: maximal bus speed, should be set to a frequency + lower than 9000000 depends sync or async operation mode + - reg: the chipselect index + - interrupts: the interrupt generated by the device. Non high-level + can occur deadlocks while handling isr. + +Optional properties: + - rst_b-gpio: GPIO spec for the RST_B pin + +Example: + + mcr20a@0 { + compatible = "nxp,mcr20a"; + spi-max-frequency = <9000000>; + reg = <0>; + interrupts = <17 2>; + interrupt-parent = <&gpio>; + rst_b-gpio = <&gpio 27 1> + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mrf24j40.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mrf24j40.txt index 3b67d46a68..a4ed2efb5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mrf24j40.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/ieee802154/mrf24j40.txt @@ -1,20 +1,20 @@ -* MRF24J40 IEEE 802.15.4 * - -Required properties: - - compatible: should be "microchip,mrf24j40", "microchip,mrf24j40ma", - or "microchip,mrf24j40mc" depends on your transceiver - board - - spi-max-frequency: maximal bus speed, should be set something under or equal - 10000000 - - reg: the chipselect index - - interrupts: the interrupt generated by the device. - -Example: - - mrf24j40ma@0 { - compatible = "microchip,mrf24j40ma"; - spi-max-frequency = <8500000>; - reg = <0>; - interrupts = <19 8>; - interrupt-parent = <&gpio3>; - }; +* MRF24J40 IEEE 802.15.4 * + +Required properties: + - compatible: should be "microchip,mrf24j40", "microchip,mrf24j40ma", + or "microchip,mrf24j40mc" depends on your transceiver + board + - spi-max-frequency: maximal bus speed, should be set something under or equal + 10000000 + - reg: the chipselect index + - interrupts: the interrupt generated by the device. + +Example: + + mrf24j40ma@0 { + compatible = "microchip,mrf24j40ma"; + spi-max-frequency = <8500000>; + reg = <0>; + interrupts = <19 8>; + interrupt-parent = <&gpio3>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/micrel-ks8995.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/micrel-ks8995.txt index b30f626f23..281bc2498d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/micrel-ks8995.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/micrel-ks8995.txt @@ -1,20 +1,20 @@ -Micrel KS8995 SPI controlled Ethernet Switch families - -Required properties (according to spi-bus.txt): -- compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795" - -Optional properties: -- reset-gpios : phandle of gpio that will be used to reset chip during probe - -Example: - -spi-master { - ... - switch@0 { - compatible = "micrel,ksz8795"; - - reg = <0>; - spi-max-frequency = <50000000>; - reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; - }; -}; +Micrel KS8995 SPI controlled Ethernet Switch families + +Required properties (according to spi-bus.txt): +- compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795" + +Optional properties: +- reset-gpios : phandle of gpio that will be used to reset chip during probe + +Example: + +spi-master { + ... + switch@0 { + compatible = "micrel,ksz8795"; + + reg = <0>; + spi-max-frequency = <50000000>; + reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt index 67f5f2df5d..7edba1264f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/nxp,lpc1850-dwmac.txt @@ -1,20 +1,20 @@ -* NXP LPC1850 GMAC ethernet controller - -This device is a platform glue layer for stmmac. -Please see stmmac.txt for the other unchanged properties. - -Required properties: - - compatible: Should contain "nxp,lpc1850-dwmac" - -Examples: - -mac: ethernet@40010000 { - compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac"; - reg = <0x40010000 0x2000>; - interrupts = <5>; - interrupt-names = "macirq"; - clocks = <&ccu1 CLK_CPU_ETHERNET>; - clock-names = "stmmaceth"; - resets = <&rgu 22>; - reset-names = "stmmaceth"; -} +* NXP LPC1850 GMAC ethernet controller + +This device is a platform glue layer for stmmac. +Please see stmmac.txt for the other unchanged properties. + +Required properties: + - compatible: Should contain "nxp,lpc1850-dwmac" + +Examples: + +mac: ethernet@40010000 { + compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac"; + reg = <0x40010000 0x2000>; + interrupts = <5>; + interrupt-names = "macirq"; + clocks = <&ccu1 CLK_CPU_ETHERNET>; + clock-names = "stmmaceth"; + resets = <&rgu 22>; + reset-names = "stmmaceth"; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-rhine.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-rhine.txt index efed1d425e..334eca2bf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-rhine.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-rhine.txt @@ -1,17 +1,17 @@ -* VIA Rhine 10/100 Network Controller - -Required properties: -- compatible : Should be "via,vt8500-rhine" for integrated - Rhine controllers found in VIA VT8500, WonderMedia WM8950 - and similar. These are listed as 1106:3106 rev. 0x84 on the - virtual PCI bus under vendor-provided kernels -- reg : Address and length of the io space -- interrupts : Should contain the controller interrupt line - -Examples: - -ethernet@d8004000 { - compatible = "via,vt8500-rhine"; - reg = <0xd8004000 0x100>; - interrupts = <10>; -}; +* VIA Rhine 10/100 Network Controller + +Required properties: +- compatible : Should be "via,vt8500-rhine" for integrated + Rhine controllers found in VIA VT8500, WonderMedia WM8950 + and similar. These are listed as 1106:3106 rev. 0x84 on the + virtual PCI bus under vendor-provided kernels +- reg : Address and length of the io space +- interrupts : Should contain the controller interrupt line + +Examples: + +ethernet@d8004000 { + compatible = "via,vt8500-rhine"; + reg = <0xd8004000 0x100>; + interrupts = <10>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-velocity.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-velocity.txt index fab7d88146..b3db469b1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-velocity.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/net/via-velocity.txt @@ -1,20 +1,20 @@ -* VIA Velocity 10/100/1000 Network Controller - -Required properties: -- compatible : Should be "via,velocity-vt6110" -- reg : Address and length of the io space -- interrupts : Should contain the controller interrupt line - -Optional properties: -- no-eeprom : PCI network cards use an external EEPROM to store data. Embedded - devices quite often set this data in uboot and do not provide an eeprom. - Specify this option if you have no external eeprom. - -Examples: - -eth0@d8004000 { - compatible = "via,velocity-vt6110"; - reg = <0xd8004000 0x400>; - interrupts = <10>; - no-eeprom; -}; +* VIA Velocity 10/100/1000 Network Controller + +Required properties: +- compatible : Should be "via,velocity-vt6110" +- reg : Address and length of the io space +- interrupts : Should contain the controller interrupt line + +Optional properties: +- no-eeprom : PCI network cards use an external EEPROM to store data. Embedded + devices quite often set this data in uboot and do not provide an eeprom. + Specify this option if you have no external eeprom. + +Examples: + +eth0@d8004000 { + compatible = "via,velocity-vt6110"; + reg = <0xd8004000 0x400>; + interrupts = <10>; + no-eeprom; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt index 822b3c6f17..0415265c21 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/brcm,ocotp.txt @@ -1,17 +1,17 @@ -Broadcom OTP memory controller - -Required Properties: -- compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used - in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second - generation Broadcom OTPC which is used in SoC's such as Stingray and supports - 64-bit read/write. -- reg: Base address of the OTP controller. -- brcm,ocotp-size: Amount of memory available, in 32 bit words - -Example: - -otp: otp@301c800 { - compatible = "brcm,ocotp"; - reg = <0x0301c800 0x2c>; - brcm,ocotp-size = <2048>; -}; +Broadcom OTP memory controller + +Required Properties: +- compatible: "brcm,ocotp" for the first generation Broadcom OTPC which is used + in Cygnus and supports 32 bit read/write. Use "brcm,ocotp-v2" for the second + generation Broadcom OTPC which is used in SoC's such as Stingray and supports + 64-bit read/write. +- reg: Base address of the OTP controller. +- brcm,ocotp-size: Amount of memory available, in 32 bit words + +Example: + +otp: otp@301c800 { + compatible = "brcm,ocotp"; + reg = <0x0301c800 0x2c>; + brcm,ocotp-size = <2048>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt index 2fe6f6b108..853b6a7546 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/lpc1850-otp.txt @@ -1,20 +1,20 @@ -* NXP LPC18xx OTP memory - -Internal OTP (One Time Programmable) memory for NXP LPC18xx/43xx devices. - -Required properties: - - compatible: Should be "nxp,lpc1850-otp" - - reg: Must contain an entry with the physical base address and length - for each entry in reg-names. - - address-cells: must be set to 1. - - size-cells: must be set to 1. - -See nvmem.txt for more information. - -Example: - otp: otp@40045000 { - compatible = "nxp,lpc1850-otp"; - reg = <0x40045000 0x1000>; - #address-cells = <1>; - #size-cells = <1>; - }; +* NXP LPC18xx OTP memory + +Internal OTP (One Time Programmable) memory for NXP LPC18xx/43xx devices. + +Required properties: + - compatible: Should be "nxp,lpc1850-otp" + - reg: Must contain an entry with the physical base address and length + for each entry in reg-names. + - address-cells: must be set to 1. + - size-cells: must be set to 1. + +See nvmem.txt for more information. + +Example: + otp: otp@40045000 { + compatible = "nxp,lpc1850-otp"; + reg = <0x40045000 0x1000>; + #address-cells = <1>; + #size-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml index bd5dbcf586..4009a9a038 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/nvmem-provider.yaml @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/nvmem/nvmem-provider.yaml# -$schema: http://devicetree.org/meta-schemas/base.yaml# - -title: NVMEM (Non Volatile Memory) Provider - -maintainers: - - Srinivas Kandagatla - -select: true - -properties: - '#nvmem-cell-cells': - enum: [0, 1] - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/nvmem/nvmem-provider.yaml# +$schema: http://devicetree.org/meta-schemas/base.yaml# + +title: NVMEM (Non Volatile Memory) Provider + +maintainers: + - Srinivas Kandagatla + +select: true + +properties: + '#nvmem-cell-cells': + enum: [0, 1] + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt index 326394b560..72ba628f6d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt @@ -1,19 +1,19 @@ -On-Chip OTP Memory for Freescale Vybrid - -Required Properties: - compatible: - - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx - #address-cells : Should be 1 - #size-cells : Should be 1 - reg : Address and length of OTP controller and fuse map registers - clocks : ipg clock we associate with the OCOTP peripheral - -Example for Vybrid VF5xx/VF6xx: - - ocotp: ocotp@400a5000 { - compatible = "fsl,vf610-ocotp", "syscon"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x400a5000 0xCF0>; - clocks = <&clks VF610_CLK_OCOTP>; - }; +On-Chip OTP Memory for Freescale Vybrid + +Required Properties: + compatible: + - "fsl,vf610-ocotp", "syscon" for VF5xx/VF6xx + #address-cells : Should be 1 + #size-cells : Should be 1 + reg : Address and length of OTP controller and fuse map registers + clocks : ipg clock we associate with the OCOTP peripheral + +Example for Vybrid VF5xx/VF6xx: + + ocotp: ocotp@400a5000 { + compatible = "fsl,vf610-ocotp", "syscon"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x400a5000 0xCF0>; + clocks = <&clks VF610_CLK_OCOTP>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml index 72840437ce..47a302ba4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie-ep.yaml @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/cdns-pcie-ep.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence PCIe Device - -maintainers: - - Tom Joseph - -allOf: - - $ref: cdns-pcie.yaml# - - $ref: pci-ep.yaml# - -properties: - cdns,max-outbound-regions: - description: maximum number of outbound regions - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 1 - maximum: 32 - default: 32 - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/cdns-pcie-ep.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence PCIe Device + +maintainers: + - Tom Joseph + +allOf: + - $ref: cdns-pcie.yaml# + - $ref: pci-ep.yaml# + +properties: + cdns,max-outbound-regions: + description: maximum number of outbound regions + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 32 + default: 32 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie.yaml index 94513345f2..2e14f422e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/cdns-pcie.yaml @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/pci/cdns-pcie.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Cadence PCIe Core - -maintainers: - - Tom Joseph - -properties: - phys: - description: - One per lane if more than one in the list. If only one PHY listed it must - manage all lanes. - minItems: 1 - maxItems: 16 - - phy-names: - items: - - const: pcie-phy - # FIXME: names when more than 1 - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/cdns-pcie.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cadence PCIe Core + +maintainers: + - Tom Joseph + +properties: + phys: + description: + One per lane if more than one in the list. If only one PHY listed it must + manage all lanes. + minItems: 1 + maxItems: 16 + + phy-names: + items: + - const: pcie-phy + # FIXME: names when more than 1 + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/spear13xx-pcie.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/spear13xx-pcie.txt index f5ac7329f2..d5a14f5dad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/spear13xx-pcie.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pci/spear13xx-pcie.txt @@ -1,14 +1,14 @@ -SPEAr13XX PCIe DT detail: -================================ - -SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY -controller. - -Required properties: -- compatible : should be "st,spear1340-pcie", "snps,dw-pcie". -- phys : phandle to PHY node associated with PCIe controller -- phy-names : must be "pcie-phy" -- All other definitions as per generic PCI bindings - - Optional properties: -- st,pcie-is-gen1 indicates that forced gen1 initialization is needed. +SPEAr13XX PCIe DT detail: +================================ + +SPEAr13XX uses the Synopsys DesignWare PCIe controller and ST MiPHY as PHY +controller. + +Required properties: +- compatible : should be "st,spear1340-pcie", "snps,dw-pcie". +- phys : phandle to PHY node associated with PCIe controller +- phy-names : must be "pcie-phy" +- All other definitions as per generic PCI bindings + + Optional properties: +- st,pcie-is-gen1 indicates that forced gen1 initialization is needed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml index cea2fb9c20..81c2654b7e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,g12a-mipi-dphy-analog.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic G12A MIPI analog PHY - -maintainers: - - Neil Armstrong - -properties: - compatible: - const: amlogic,g12a-mipi-dphy-analog - - "#phy-cells": - const: 0 - -required: - - compatible - - "#phy-cells" - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/amlogic,g12a-mipi-dphy-analog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic G12A MIPI analog PHY + +maintainers: + - Neil Armstrong + +properties: + compatible: + const: amlogic,g12a-mipi-dphy-analog + + "#phy-cells": + const: 0 + +required: + - compatible + - "#phy-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml index a8e9e3550a..70def36e56 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/amlogic,meson-axg-mipi-pcie-analog.yaml @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Amlogic AXG shared MIPI/PCIE analog PHY - -maintainers: - - Remi Pommarel - -properties: - compatible: - const: amlogic,axg-mipi-pcie-analog-phy - - "#phy-cells": - const: 0 - -required: - - compatible - - "#phy-cells" - -additionalProperties: false +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/phy/amlogic,meson-axg-mipi-pcie-analog.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Amlogic AXG shared MIPI/PCIE analog PHY + +maintainers: + - Remi Pommarel + +properties: + compatible: + const: amlogic,axg-mipi-pcie-analog-phy + + "#phy-cells": + const: 0 + +required: + - compatible + - "#phy-cells" + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-usb-phy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-usb-phy.txt index 91ec8b8f1a..be33780f66 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-usb-phy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/berlin-usb-phy.txt @@ -1,16 +1,16 @@ -* Marvell Berlin USB PHY - -Required properties: -- compatible: "marvell,berlin2-usb-phy" or "marvell,berlin2cd-usb-phy" -- reg: base address and length of the registers -- #phys-cells: should be 0 -- resets: reference to the reset controller - -Example: - - usb-phy@f774000 { - compatible = "marvell,berlin2-usb-phy"; - reg = <0xf774000 0x128>; - #phy-cells = <0>; - resets = <&chip 0x104 14>; - }; +* Marvell Berlin USB PHY + +Required properties: +- compatible: "marvell,berlin2-usb-phy" or "marvell,berlin2cd-usb-phy" +- reg: base address and length of the registers +- #phys-cells: should be 0 +- resets: reference to the reset controller + +Example: + + usb-phy@f774000 { + compatible = "marvell,berlin2-usb-phy"; + reg = <0xf774000 0x128>; + #phy-cells = <0>; + resets = <&chip 0x104 14>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt index d594f412dd..c3a29c5fee 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-ath79-usb.txt @@ -1,18 +1,18 @@ -* Atheros AR71XX/9XXX USB PHY - -Required properties: -- compatible: "qca,ar7100-usb-phy" -- #phys-cells: should be 0 -- reset-names: "phy"[, "suspend-override"] -- resets: references to the reset controllers - -Example: - - usb-phy { - compatible = "qca,ar7100-usb-phy"; - - reset-names = "phy", "suspend-override"; - resets = <&rst 4>, <&rst 3>; - - #phy-cells = <0>; - }; +* Atheros AR71XX/9XXX USB PHY + +Required properties: +- compatible: "qca,ar7100-usb-phy" +- #phys-cells: should be 0 +- reset-names: "phy"[, "suspend-override"] +- resets: references to the reset controllers + +Example: + + usb-phy { + compatible = "qca,ar7100-usb-phy"; + + reset-names = "phy", "suspend-override"; + resets = <&rst 4>, <&rst 3>; + + #phy-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-hi6220-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-hi6220-usb.txt index 0f5a655a43..f17a56e215 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-hi6220-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-hi6220-usb.txt @@ -1,16 +1,16 @@ -Hisilicon hi6220 usb PHY ------------------------ - -Required properties: -- compatible: should be "hisilicon,hi6220-usb-phy" -- #phy-cells: must be 0 -- hisilicon,peripheral-syscon: phandle of syscon used to control phy. -Refer to phy/phy-bindings.txt for the generic PHY binding properties - -Example: - usb_phy: usbphy { - compatible = "hisilicon,hi6220-usb-phy"; - #phy-cells = <0>; - phy-supply = <&fixed_5v_hub>; - hisilicon,peripheral-syscon = <&sys_ctrl>; - }; +Hisilicon hi6220 usb PHY +----------------------- + +Required properties: +- compatible: should be "hisilicon,hi6220-usb-phy" +- #phy-cells: must be 0 +- hisilicon,peripheral-syscon: phandle of syscon used to control phy. +Refer to phy/phy-bindings.txt for the generic PHY binding properties + +Example: + usb_phy: usbphy { + compatible = "hisilicon,hi6220-usb-phy"; + #phy-cells = <0>; + phy-supply = <&fixed_5v_hub>; + hisilicon,peripheral-syscon = <&sys_ctrl>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-pxa-usb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-pxa-usb.txt index 9d9c092775..d80e36a77e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-pxa-usb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/phy-pxa-usb.txt @@ -1,18 +1,18 @@ -Marvell PXA USB PHY -------------------- - -Required properties: -- compatible: one of: "marvell,mmp2-usb-phy", "marvell,pxa910-usb-phy", - "marvell,pxa168-usb-phy", -- #phy-cells: must be 0 - -Example: - usb-phy: usbphy@d4207000 { - compatible = "marvell,mmp2-usb-phy"; - reg = <0xd4207000 0x40>; - #phy-cells = <0>; - status = "okay"; - }; - -This document explains the device tree binding. For general -information about PHY subsystem refer to Documentation/driver-api/phy/phy.rst +Marvell PXA USB PHY +------------------- + +Required properties: +- compatible: one of: "marvell,mmp2-usb-phy", "marvell,pxa910-usb-phy", + "marvell,pxa168-usb-phy", +- #phy-cells: must be 0 + +Example: + usb-phy: usbphy@d4207000 { + compatible = "marvell,mmp2-usb-phy"; + reg = <0xd4207000 0x40>; + #phy-cells = <0>; + status = "okay"; + }; + +This document explains the device tree binding. For general +information about PHY subsystem refer to Documentation/driver-api/phy/phy.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st-spear-miphy.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st-spear-miphy.txt index b901f9b0dc..2a6bfdcc09 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st-spear-miphy.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/phy/st-spear-miphy.txt @@ -1,15 +1,15 @@ -ST SPEAr miphy DT details -========================= - -ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. - -Required properties: -- compatible : should be "st,spear1310-miphy" or "st,spear1340-miphy" -- reg : offset and length of the PHY register set. -- misc: phandle for the syscon node to access misc registers -- #phy-cells : from the generic PHY bindings, must be 1. - - cell[1]: 0 if phy used for SATA, 1 for PCIe. - -Optional properties: -- phy-id: Instance id of the phy. Only required when there are multiple phys - present on a implementation. +ST SPEAr miphy DT details +========================= + +ST Microelectronics SPEAr miphy is a phy controller supporting PCIe and SATA. + +Required properties: +- compatible : should be "st,spear1310-miphy" or "st,spear1340-miphy" +- reg : offset and length of the PHY register set. +- misc: phandle for the syscon node to access misc registers +- #phy-cells : from the generic PHY bindings, must be 1. + - cell[1]: 0 if phy used for SATA, 1 for PCIe. + +Optional properties: +- phy-id: Instance id of the phy. Only required when there are multiple phys + present on a implementation. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/axxia-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/axxia-reset.txt index afef6a511e..47e720d249 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/axxia-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/axxia-reset.txt @@ -1,20 +1,20 @@ -Axxia Restart Driver - -This driver can do reset of the Axxia SoC. It uses the registers in the syscon -block to initiate a chip reset. - -Required Properties: - -compatible: "lsi,axm55xx-reset" - -syscon: phandle to the syscon node. - -Example: - - syscon: syscon@2010030000 { - compatible = "lsi,axxia-syscon", "syscon"; - reg = <0x20 0x10030000 0 0x2000>; - }; - - reset: reset@2010031000 { - compatible = "lsi,axm55xx-reset"; - syscon = <&syscon>; - }; +Axxia Restart Driver + +This driver can do reset of the Axxia SoC. It uses the registers in the syscon +block to initiate a chip reset. + +Required Properties: + -compatible: "lsi,axm55xx-reset" + -syscon: phandle to the syscon node. + +Example: + + syscon: syscon@2010030000 { + compatible = "lsi,axxia-syscon", "syscon"; + reg = <0x20 0x10030000 0 0x2000>; + }; + + reset: reset@2010031000 { + compatible = "lsi,axm55xx-reset"; + syscon = <&syscon>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml index 45bbd9cbf0..3e28a59d71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/brcm,bcm21664-resetmgr.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/reset/brcm,bcm21664-resetmgr.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Broadcom Kona family reset manager - -maintainers: - - Florian Fainelli - -properties: - compatible: - const: brcm,bcm21664-resetmgr - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - reset-controller@35001f00 { - compatible = "brcm,bcm21664-resetmgr"; - reg = <0x35001f00 0x24>; - }; -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/reset/brcm,bcm21664-resetmgr.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Broadcom Kona family reset manager + +maintainers: + - Florian Fainelli + +properties: + compatible: + const: brcm,bcm21664-resetmgr + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + reset-controller@35001f00 { + compatible = "brcm,bcm21664-resetmgr"; + reg = <0x35001f00 0x24>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt index b43e02027a..7fec3e1002 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/gemini-poweroff.txt @@ -1,17 +1,17 @@ -* Device-Tree bindings for Cortina Systems Gemini Poweroff - -This is a special IP block in the Cortina Gemini SoC that only -deals with different ways to power the system down. - -Required properties: -- compatible: should be "cortina,gemini-power-controller" -- reg: should contain the physical memory base and size -- interrupts: should contain the power management interrupt - -Example: - -power-controller@4b000000 { - compatible = "cortina,gemini-power-controller"; - reg = <0x4b000000 0x100>; - interrupts = <26 IRQ_TYPE_EDGE_FALLING>; -}; +* Device-Tree bindings for Cortina Systems Gemini Poweroff + +This is a special IP block in the Cortina Gemini SoC that only +deals with different ways to power the system down. + +Required properties: +- compatible: should be "cortina,gemini-power-controller" +- reg: should contain the physical memory base and size +- interrupts: should contain the power management interrupt + +Example: + +power-controller@4b000000 { + compatible = "cortina,gemini-power-controller"; + reg = <0x4b000000 0x100>; + interrupts = <26 IRQ_TYPE_EDGE_FALLING>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt index 1295f52fc6..933f0c48e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/mt6323-poweroff.txt @@ -1,20 +1,20 @@ -Device Tree Bindings for Power Controller on MediaTek PMIC - -The power controller which could be found on PMIC is responsible for externally -powering off or on the remote MediaTek SoC through the circuit BBPU. - -Required properties: -- compatible: Should be one of follows - "mediatek,mt6323-pwrc": for MT6323 PMIC - -Example: - - pmic { - compatible = "mediatek,mt6323"; - - ... - - power-controller { - compatible = "mediatek,mt6323-pwrc"; - }; - } +Device Tree Bindings for Power Controller on MediaTek PMIC + +The power controller which could be found on PMIC is responsible for externally +powering off or on the remote MediaTek SoC through the circuit BBPU. + +Required properties: +- compatible: Should be one of follows + "mediatek,mt6323-pwrc": for MT6323 PMIC + +Example: + + pmic { + compatible = "mediatek,mt6323"; + + ... + + power-controller { + compatible = "mediatek,mt6323-pwrc"; + }; + } diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt index 8626c096b8..c5de7b555f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/ocelot-reset.txt @@ -1,19 +1,19 @@ -Microsemi Ocelot reset controller - -The DEVCPU_GCB:CHIP_REGS have a SOFT_RST register that can be used to reset the -SoC core. - -The reset registers are both present in the MSCC vcoreiii MIPS and -microchip Sparx5 armv8 SoC's. - -Required Properties: - - - compatible: "mscc,ocelot-chip-reset", "mscc,luton-chip-reset", - "mscc,jaguar2-chip-reset" or "microchip,sparx5-chip-reset" - -Example: - reset@1070008 { - compatible = "mscc,ocelot-chip-reset"; - reg = <0x1070008 0x4>; - }; - +Microsemi Ocelot reset controller + +The DEVCPU_GCB:CHIP_REGS have a SOFT_RST register that can be used to reset the +SoC core. + +The reset registers are both present in the MSCC vcoreiii MIPS and +microchip Sparx5 armv8 SoC's. + +Required Properties: + + - compatible: "mscc,ocelot-chip-reset", "mscc,luton-chip-reset", + "mscc,jaguar2-chip-reset" or "microchip,sparx5-chip-reset" + +Example: + reset@1070008 { + compatible = "mscc,ocelot-chip-reset"; + reg = <0x1070008 0x4>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt index b6b6d818f0..c363d71731 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/reset/qnap-poweroff.txt @@ -1,15 +1,15 @@ -* QNAP Power Off - -QNAP NAS devices have a microcontroller controlling the main power -supply. This microcontroller is connected to UART1 of the Kirkwood and -Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the -microcontroller to turn the power off. - -Synology NAS devices use a similar scheme, but a different baud rate, -9600, and a different character, '1'. - -Required Properties: -- compatible: Should be "qnap,power-off" or "synology,power-off" - -- reg: Address and length of the register set for UART1 -- clocks: tclk clock +* QNAP Power Off + +QNAP NAS devices have a microcontroller controlling the main power +supply. This microcontroller is connected to UART1 of the Kirkwood and +Orion5x SoCs. Sending the character 'A', at 19200 baud, tells the +microcontroller to turn the power off. + +Synology NAS devices use a similar scheme, but a different baud rate, +9600, and a different character, '1'. + +Required Properties: +- compatible: Should be "qnap,power-off" or "synology,power-off" + +- reg: Address and length of the register set for UART1 +- clocks: tclk clock diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/olpc-battery.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/olpc-battery.yaml index 5f329394f2..dd89e2532a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/olpc-battery.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/power/supply/olpc-battery.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/power/supply/olpc-battery.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: OLPC Battery - -maintainers: - - Sebastian Reichel - -allOf: - - $ref: power-supply.yaml# - -properties: - compatible: - oneOf: - - items: - - const: olpc,xo1.5-battery - - const: olpc,xo1-battery - - items: - - const: olpc,xo1-battery - -required: - - compatible - -additionalProperties: false +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/power/supply/olpc-battery.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: OLPC Battery + +maintainers: + - Sebastian Reichel + +allOf: + - $ref: power-supply.yaml# + +properties: + compatible: + oneOf: + - items: + - const: olpc,xo1.5-battery + - const: olpc,xo1-battery + - items: + - const: olpc,xo1-battery + +required: + - compatible + +additionalProperties: false diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/reboot.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/reboot.txt index d00ca5fc82..5bc6355131 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/reboot.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/4xx/reboot.txt @@ -1,18 +1,18 @@ -Reboot property to control system reboot on PPC4xx systems: - -By setting "reset_type" to one of the following values, the default -software reset mechanism may be overridden. Here the possible values of -"reset_type": - - 1 - PPC4xx core reset - 2 - PPC4xx chip reset - 3 - PPC4xx system reset (default) - -Example: - - cpu@0 { - device_type = "cpu"; - model = "PowerPC,440SPe"; - ... - reset-type = <2>; /* Use chip-reset */ - }; +Reboot property to control system reboot on PPC4xx systems: + +By setting "reset_type" to one of the following values, the default +software reset mechanism may be overridden. Here the possible values of +"reset_type": + + 1 - PPC4xx core reset + 2 - PPC4xx chip reset + 3 - PPC4xx system reset (default) + +Example: + + cpu@0 { + device_type = "cpu"; + model = "PowerPC,440SPe"; + ... + reset-type = <2>; /* Use chip-reset */ + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt index e330cbc51e..37f91fa576 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/mcu-mpc8349emitx.txt @@ -1,17 +1,17 @@ -Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) - -Required properties: -- compatible : "fsl,-", "fsl,mcu-mpc8349emitx". -- reg : should specify I2C address (0x0a). -- #gpio-cells : should be 2. -- gpio-controller : should be present. - -Example: - -mcu@a { - #gpio-cells = <2>; - compatible = "fsl,mc9s08qg8-mpc8349emitx", - "fsl,mcu-mpc8349emitx"; - reg = <0x0a>; - gpio-controller; -}; +Freescale MPC8349E-mITX-compatible Power Management Micro Controller Unit (MCU) + +Required properties: +- compatible : "fsl,-", "fsl,mcu-mpc8349emitx". +- reg : should specify I2C address (0x0a). +- #gpio-cells : should be 2. +- gpio-controller : should be present. + +Example: + +mcu@a { + #gpio-cells = <2>; + compatible = "fsl,mc9s08qg8-mpc8349emitx", + "fsl,mcu-mpc8349emitx"; + reg = <0x0a>; + gpio-controller; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt index b98d9fd5b0..0532c46b33 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/fsl/scfg.txt @@ -1,18 +1,18 @@ -Freescale Supplement configuration unit (SCFG) - -SCFG is the supplemental configuration unit, that provides SoC specific -configuration and status registers for the chip. Such as getting PEX port -status. - -Required properties: - -- compatible: should be "fsl,-scfg" -- reg: should contain base address and length of SCFG memory-mapped -registers - -Example: - - scfg: global-utilities@fc000 { - compatible = "fsl,t1040-scfg"; - reg = <0xfc000 0x1000>; - }; +Freescale Supplement configuration unit (SCFG) + +SCFG is the supplemental configuration unit, that provides SoC specific +configuration and status registers for the chip. Such as getting PEX port +status. + +Required properties: + +- compatible: should be "fsl,-scfg" +- reg: should contain base address and length of SCFG memory-mapped +registers + +Example: + + scfg: global-utilities@fc000 { + compatible = "fsl,t1040-scfg"; + reg = <0xfc000 0x1000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/oppanel-opal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/oppanel-opal.txt index f39c0d1c58..dffb79108b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/oppanel-opal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/powerpc/opal/oppanel-opal.txt @@ -1,14 +1,14 @@ -IBM OPAL Operator Panel Binding -------------------------------- - -Required properties: -- compatible : Should be "ibm,opal-oppanel". -- #lines : Number of lines on the operator panel e.g. <0x2>. -- #length : Number of characters per line of the operator panel e.g. <0x10>. - -Example: - oppanel { - compatible = "ibm,opal-oppanel"; - #lines = <0x2>; - #length = <0x10>; - }; +IBM OPAL Operator Panel Binding +------------------------------- + +Required properties: +- compatible : Should be "ibm,opal-oppanel". +- #lines : Number of lines on the operator panel e.g. <0x2>. +- #length : Number of characters per line of the operator panel e.g. <0x10>. + +Example: + oppanel { + compatible = "ibm,opal-oppanel"; + #lines = <0x2>; + #length = <0x10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt index e776ee04c3..c0b2028238 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/cirrus,clps711x-pwm.txt @@ -1,15 +1,15 @@ -* Cirris Logic CLPS711X PWM controller - -Required properties: -- compatible: Shall contain "cirrus,ep7209-pwm". -- reg: Physical base address and length of the controller's registers. -- clocks: phandle + clock specifier pair of the PWM reference clock. -- #pwm-cells: Should be 1. The cell specifies the index of the channel. - -Example: - pwm: pwm@80000400 { - compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm"; - reg = <0x80000400 0x4>; - clocks = <&clks 8>; - #pwm-cells = <1>; - }; +* Cirris Logic CLPS711X PWM controller + +Required properties: +- compatible: Shall contain "cirrus,ep7209-pwm". +- reg: Physical base address and length of the controller's registers. +- clocks: phandle + clock specifier pair of the PWM reference clock. +- #pwm-cells: Should be 1. The cell specifies the index of the channel. + +Example: + pwm: pwm@80000400 { + compatible = "cirrus,ep7312-pwm", "cirrus,ep7209-pwm"; + reg = <0x80000400 0x4>; + clocks = <&clks 8>; + #pwm-cells = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-berlin.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-berlin.txt index 38ff764dbc..f01e993a49 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-berlin.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/pwm-berlin.txt @@ -1,17 +1,17 @@ -Berlin PWM controller - -Required properties: -- compatible: should be "marvell,berlin-pwm" -- reg: physical base address and length of the controller's registers -- clocks: phandle to the input clock -- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of - the cells format. - -Example: - -pwm: pwm@f7f20000 { - compatible = "marvell,berlin-pwm"; - reg = <0xf7f20000 0x40>; - clocks = <&chip_clk CLKID_CFG>; - #pwm-cells = <3>; -} +Berlin PWM controller + +Required properties: +- compatible: should be "marvell,berlin-pwm" +- reg: physical base address and length of the controller's registers +- clocks: phandle to the input clock +- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of + the cells format. + +Example: + +pwm: pwm@f7f20000 { + compatible = "marvell,berlin-pwm"; + reg = <0xf7f20000 0x40>; + clocks = <&chip_clk CLKID_CFG>; + #pwm-cells = <3>; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/spear-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/spear-pwm.txt index bf473b21f4..95894128b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/spear-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/spear-pwm.txt @@ -1,17 +1,17 @@ -== ST SPEAr SoC PWM controller == - -Required properties: -- compatible: should be one of: - - "st,spear320-pwm" - - "st,spear1340-pwm" -- reg: physical base address and length of the controller's registers -- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of - the cells format. - -Example: - - pwm: pwm@a8000000 { - compatible ="st,spear320-pwm"; - reg = <0xa8000000 0x1000>; - #pwm-cells = <2>; - }; +== ST SPEAr SoC PWM controller == + +Required properties: +- compatible: should be one of: + - "st,spear320-pwm" + - "st,spear1340-pwm" +- reg: physical base address and length of the controller's registers +- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of + the cells format. + +Example: + + pwm: pwm@a8000000 { + compatible ="st,spear320-pwm"; + reg = <0xa8000000 0x1000>; + #pwm-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt index 5b1f136b96..f401316e02 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/st,stmpe-pwm.txt @@ -1,18 +1,18 @@ -== ST STMPE PWM controller == - -This is a PWM block embedded in the ST Microelectronics STMPE -(ST Multi-Purpose Expander) chips. The PWM is registered as a -subdevices of the STMPE MFD device. - -Required properties: -- compatible: should be: - - "st,stmpe-pwm" -- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of - the cells format. - -Example: - -pwm0: pwm { - compatible = "st,stmpe-pwm"; - #pwm-cells = <2>; -}; +== ST STMPE PWM controller == + +This is a PWM block embedded in the ST Microelectronics STMPE +(ST Multi-Purpose Expander) chips. The PWM is registered as a +subdevices of the STMPE MFD device. + +Required properties: +- compatible: should be: + - "st,stmpe-pwm" +- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of + the cells format. + +Example: + +pwm0: pwm { + compatible = "st,stmpe-pwm"; + #pwm-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt index f285bf1503..d97ca1964e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwm.txt @@ -1,17 +1,17 @@ -Texas Instruments TWL series PWM drivers - -Supported PWMs: -On TWL4030 series: PWM1 and PWM2 -On TWL6030 series: PWM0 and PWM1 - -Required properties: -- compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm" -- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of - the cells format. - -Example: - -twl_pwm: pwm { - compatible = "ti,twl6030-pwm"; - #pwm-cells = <2>; -}; +Texas Instruments TWL series PWM drivers + +Supported PWMs: +On TWL4030 series: PWM1 and PWM2 +On TWL6030 series: PWM0 and PWM1 + +Required properties: +- compatible: "ti,twl4030-pwm" or "ti,twl6030-pwm" +- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of + the cells format. + +Example: + +twl_pwm: pwm { + compatible = "ti,twl6030-pwm"; + #pwm-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt index 27800b98ed..31ca1b032e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/ti,twl-pwmled.txt @@ -1,17 +1,17 @@ -Texas Instruments TWL series PWM drivers connected to LED terminals - -Supported PWMs: -On TWL4030 series: PWMA and PWMB (connected to LEDA and LEDB terminals) -On TWL6030 series: LED PWM (mainly used as charging indicator LED) - -Required properties: -- compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled" -- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of - the cells format. - -Example: - -twl_pwmled: pwmled { - compatible = "ti,twl6030-pwmled"; - #pwm-cells = <2>; -}; +Texas Instruments TWL series PWM drivers connected to LED terminals + +Supported PWMs: +On TWL4030 series: PWMA and PWMB (connected to LEDA and LEDB terminals) +On TWL6030 series: LED PWM (mainly used as charging indicator LED) + +Required properties: +- compatible: "ti,twl4030-pwmled" or "ti,twl6030-pwmled" +- #pwm-cells: should be 2. See pwm.yaml in this directory for a description of + the cells format. + +Example: + +twl_pwmled: pwmled { + compatible = "ti,twl6030-pwmled"; + #pwm-cells = <2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt index dd9f931cdd..4fba93ce19 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/pwm/vt8500-pwm.txt @@ -1,18 +1,18 @@ -VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller - -Required properties: -- compatible: should be "via,vt8500-pwm" -- reg: physical base address and length of the controller's registers -- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of - the cells format. The only third cell flag supported by this binding is - PWM_POLARITY_INVERTED. -- clocks: phandle to the PWM source clock - -Example: - -pwm1: pwm@d8220000 { - #pwm-cells = <3>; - compatible = "via,vt8500-pwm"; - reg = <0xd8220000 0x1000>; - clocks = <&clkpwm>; -}; +VIA/Wondermedia VT8500/WM8xxx series SoC PWM controller + +Required properties: +- compatible: should be "via,vt8500-pwm" +- reg: physical base address and length of the controller's registers +- #pwm-cells: should be 3. See pwm.yaml in this directory for a description of + the cells format. The only third cell flag supported by this binding is + PWM_POLARITY_INVERTED. +- clocks: phandle to the PWM source clock + +Example: + +pwm1: pwm@d8220000 { + #pwm-cells = <3>; + compatible = "via,vt8500-pwm"; + reg = <0xd8220000 0x1000>; + clocks = <&clkpwm>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pg86x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pg86x.txt index f41290c3a5..13b7f49a2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pg86x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/88pg86x.txt @@ -1,22 +1,22 @@ -Marvell 88PG867/88PG868 voltage regulators - -Required properties: -- compatible: one of "marvell,88pg867", "marvell,88pg868"; -- reg: I2C slave address. - -Optional subnodes for regulators: "buck1", "buck2", using common regulator -bindings given in . - -Example: - - pg868@19 { - compatible = "marvell,88pg868"; - reg = <0x19>; - - vcpu: buck1 { - regulator-boot-on; - regulator-always-on; - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1350000>; - }; - }; +Marvell 88PG867/88PG868 voltage regulators + +Required properties: +- compatible: one of "marvell,88pg867", "marvell,88pg868"; +- reg: I2C slave address. + +Optional subnodes for regulators: "buck1", "buck2", using common regulator +bindings given in . + +Example: + + pg868@19 { + compatible = "marvell,88pg868"; + reg = <0x19>; + + vcpu: buck1 { + regulator-boot-on; + regulator-always-on; + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1350000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mp8859.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mp8859.txt index d19b1fcef9..74ad697309 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mp8859.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/mp8859.txt @@ -1,22 +1,22 @@ -Monolithic Power Systems MP8859 voltage regulator - -Required properties: -- compatible: "mps,mp8859"; -- reg: I2C slave address. - -Optional subnode for regulator: "mp8859_dcdc", using common regulator -bindings given in . - -Example: - - mp8859: regulator@66 { - compatible = "mps,mp8859"; - reg = <0x66>; - dc_12v: mp8859_dcdc { - regulator-name = "dc_12v"; - regulator-min-microvolt = <12000000>; - regulator-max-microvolt = <12000000>; - regulator-boot-on; - regulator-always-on; - }; - }; +Monolithic Power Systems MP8859 voltage regulator + +Required properties: +- compatible: "mps,mp8859"; +- reg: I2C slave address. + +Optional subnode for regulator: "mp8859_dcdc", using common regulator +bindings given in . + +Example: + + mp8859: regulator@66 { + compatible = "mps,mp8859"; + reg = <0x66>; + dc_12v: mp8859_dcdc { + regulator-name = "dc_12v"; + regulator-min-microvolt = <12000000>; + regulator-max-microvolt = <12000000>; + regulator-boot-on; + regulator-always-on; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/sky81452-regulator.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/sky81452-regulator.txt index ccced675aa..f9acbc1f3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/sky81452-regulator.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/regulator/sky81452-regulator.txt @@ -1,18 +1,18 @@ -SKY81452 voltage regulator - -Required properties: -- regulator node named lout. -- any required generic properties defined in regulator.txt - -Optional properties: -- any available generic properties defined in regulator.txt - -Example: - - regulator { - lout { - regulator-name = "sky81452-lout"; - regulator-min-microvolt = <4500000>; - regulator-max-microvolt = <8000000>; - }; - }; +SKY81452 voltage regulator + +Required properties: +- regulator node named lout. +- any required generic properties defined in regulator.txt + +Optional properties: +- any available generic properties defined in regulator.txt + +Example: + + regulator { + lout { + regulator-name = "sky81452-lout"; + regulator-min-microvolt = <4500000>; + regulator-max-microvolt = <8000000>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt index 41af818668..a98872d278 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/reset/brcm,bcm63138-pmb.txt @@ -1,19 +1,19 @@ -Broadcom BCM63138 Processor Monitor Bus binding -=============================================== - -Please also refer to reset.txt in this directory for common reset -controller binding usage. - -Require properties: - -- compatible: must be "brcm,bcm63138-pmb" -- reg: base register address and size for this bus controller -- #reset-cells: must be 2 first cell is the address within the bus instance designated - by the phandle, and the second is the number of zones for this peripheral - -Example: - pmb0: reset-controller@4800c0 { - compatible = "brcm,bcm63138-pmb"; - reg = <0x4800c0 0x10>; - #reset-cells = <2>; - }; +Broadcom BCM63138 Processor Monitor Bus binding +=============================================== + +Please also refer to reset.txt in this directory for common reset +controller binding usage. + +Require properties: + +- compatible: must be "brcm,bcm63138-pmb" +- reg: base register address and size for this bus controller +- #reset-cells: must be 2 first cell is the address within the bus instance designated + by the phandle, and the second is the number of zones for this peripheral + +Example: + pmb0: reset-controller@4800c0 { + compatible = "brcm,bcm63138-pmb"; + reg = <0x4800c0 0x10>; + #reset-cells = <2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml index 6cf42f0d5e..827983008e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/brcm,iproc-rng200.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: HWRNG support for the iproc-rng200 driver - -maintainers: - - Florian Fainelli - -properties: - compatible: - enum: - - brcm,bcm2711-rng200 - - brcm,bcm7211-rng200 - - brcm,bcm7278-rng200 - - brcm,iproc-rng200 - - reg: - maxItems: 1 - -additionalProperties: false - -examples: - - | - rng@18032000 { - compatible = "brcm,iproc-rng200"; - reg = <0x18032000 0x28>; - }; +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/brcm,iproc-rng200.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HWRNG support for the iproc-rng200 driver + +maintainers: + - Florian Fainelli + +properties: + compatible: + enum: + - brcm,bcm2711-rng200 + - brcm,bcm7211-rng200 + - brcm,bcm7278-rng200 + - brcm,iproc-rng200 + + reg: + maxItems: 1 + +additionalProperties: false + +examples: + - | + rng@18032000 { + compatible = "brcm,iproc-rng200"; + reg = <0x18032000 0x28>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt index 7e74e1a065..c6d1003bef 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/microchip,pic32-rng.txt @@ -1,17 +1,17 @@ -* Microchip PIC32 Random Number Generator - -The PIC32 RNG provides a pseudo random number generator which can be seeded by -another true random number generator. - -Required properties: -- compatible : should be "microchip,pic32mzda-rng" -- reg : Specifies base physical address and size of the registers. -- clocks: clock phandle. - -Example: - - rng: rng@1f8e6000 { - compatible = "microchip,pic32mzda-rng"; - reg = <0x1f8e6000 0x1000>; - clocks = <&PBCLK5>; - }; +* Microchip PIC32 Random Number Generator + +The PIC32 RNG provides a pseudo random number generator which can be seeded by +another true random number generator. + +Required properties: +- compatible : should be "microchip,pic32mzda-rng" +- reg : Specifies base physical address and size of the registers. +- clocks: clock phandle. + +Example: + + rng: rng@1f8e6000 { + compatible = "microchip,pic32mzda-rng"; + reg = <0x1f8e6000 0x1000>; + clocks = <&PBCLK5>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,rng.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,rng.yaml index 4a55895fb6..ff1211ef90 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,rng.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rng/st,rng.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rng/st,rng.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: STMicroelectronics Hardware Random Number Generator - -maintainers: - - Patrice Chotard - -properties: - compatible: - const: st,rng - - clocks: - maxItems: 1 - - reg: - maxItems: 1 - -required: - - compatible - - clocks - - reg - -additionalProperties: false - -examples: - - | - rng@fee80000 { - compatible = "st,rng"; - reg = <0xfee80000 0x1000>; - clocks = <&clk_sysin>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rng/st,rng.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: STMicroelectronics Hardware Random Number Generator + +maintainers: + - Patrice Chotard + +properties: + compatible: + const: st,rng + + clocks: + maxItems: 1 + + reg: + maxItems: 1 + +required: + - compatible + - clocks + - reg + +additionalProperties: false + +examples: + - | + rng@fee80000 { + compatible = "st,rng"; + reg = <0xfee80000 0x1000>; + clocks = <&clk_sysin>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt index 49575c5af8..45750ff311 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/cpcap-rtc.txt @@ -1,18 +1,18 @@ -Motorola CPCAP PMIC RTC ------------------------ - -This module is part of the CPCAP. For more details about the whole -chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. - -Requires node properties: -- compatible: should contain "motorola,cpcap-rtc" -- interrupts: An interrupt specifier for alarm and 1 Hz irq - -Example: - -&cpcap { - cpcap_rtc: rtc { - compatible = "motorola,cpcap-rtc"; - interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>; - }; -}; +Motorola CPCAP PMIC RTC +----------------------- + +This module is part of the CPCAP. For more details about the whole +chip see Documentation/devicetree/bindings/mfd/motorola-cpcap.txt. + +Requires node properties: +- compatible: should contain "motorola,cpcap-rtc" +- interrupts: An interrupt specifier for alarm and 1 Hz irq + +Example: + +&cpcap { + cpcap_rtc: rtc { + compatible = "motorola,cpcap-rtc"; + interrupts = <39 IRQ_TYPE_NONE>, <26 IRQ_TYPE_NONE>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/dallas,ds1390.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/dallas,ds1390.txt index e57ded8a31..9882b819f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/dallas,ds1390.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/dallas,ds1390.txt @@ -1,18 +1,18 @@ -* Dallas DS1390 SPI Serial Real-Time Clock - -Required properties: -- compatible: Should contain "dallas,ds1390". -- reg: SPI address for chip - -Optional properties: -- trickle-resistor-ohms : Selected resistor for trickle charger - Values usable for ds1390 are 250, 2000, 4000 - Should be given if trickle charger should be enabled -- trickle-diode-disable : Do not use internal trickle charger diode - Should be given if internal trickle charger diode should be disabled -Example: - ds1390: rtc@0 { - compatible = "dallas,ds1390"; - trickle-resistor-ohms = <250>; - reg = <0>; - }; +* Dallas DS1390 SPI Serial Real-Time Clock + +Required properties: +- compatible: Should contain "dallas,ds1390". +- reg: SPI address for chip + +Optional properties: +- trickle-resistor-ohms : Selected resistor for trickle charger + Values usable for ds1390 are 250, 2000, 4000 + Should be given if trickle charger should be enabled +- trickle-diode-disable : Do not use internal trickle charger diode + Should be given if internal trickle charger diode should be disabled +Example: + ds1390: rtc@0 { + compatible = "dallas,ds1390"; + trickle-resistor-ohms = <250>; + reg = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt index 65aab730eb..180b7144bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/microchip,pic32-rtc.txt @@ -1,21 +1,21 @@ -* Microchip PIC32 Real Time Clock and Calendar - -The RTCC keeps time in hours, minutes, and seconds, and one half second. It -provides a calendar in weekday, date, month, and year. It also provides a -configurable alarm. - -Required properties: -- compatible: should be: "microchip,pic32mzda-rtc" -- reg: physical base address of the controller and length of memory mapped - region. -- interrupts: RTC alarm/event interrupt -- clocks: clock phandle - -Example: - - rtc: rtc@1f8c0000 { - compatible = "microchip,pic32mzda-rtc"; - reg = <0x1f8c0000 0x60>; - interrupts = <166 IRQ_TYPE_EDGE_RISING>; - clocks = <&PBCLK6>; - }; +* Microchip PIC32 Real Time Clock and Calendar + +The RTCC keeps time in hours, minutes, and seconds, and one half second. It +provides a calendar in weekday, date, month, and year. It also provides a +configurable alarm. + +Required properties: +- compatible: should be: "microchip,pic32mzda-rtc" +- reg: physical base address of the controller and length of memory mapped + region. +- interrupts: RTC alarm/event interrupt +- clocks: clock phandle + +Example: + + rtc: rtc@1f8c0000 { + compatible = "microchip,pic32mzda-rtc"; + reg = <0x1f8c0000 0x60>; + interrupts = <166 IRQ_TYPE_EDGE_RISING>; + clocks = <&PBCLK6>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt index 5040360cb7..1374df7bf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt @@ -1,17 +1,17 @@ -MOXA ART real-time clock - -Required properties: - -- compatible : Should be "moxa,moxart-rtc" -- rtc-sclk-gpios : RTC sclk gpio, with zero flags -- rtc-data-gpios : RTC data gpio, with zero flags -- rtc-reset-gpios : RTC reset gpio, with zero flags - -Example: - - rtc: rtc { - compatible = "moxa,moxart-rtc"; - rtc-sclk-gpios = <&gpio 5 0>; - rtc-data-gpios = <&gpio 6 0>; - rtc-reset-gpios = <&gpio 7 0>; - }; +MOXA ART real-time clock + +Required properties: + +- compatible : Should be "moxa,moxart-rtc" +- rtc-sclk-gpios : RTC sclk gpio, with zero flags +- rtc-data-gpios : RTC data gpio, with zero flags +- rtc-reset-gpios : RTC reset gpio, with zero flags + +Example: + + rtc: rtc { + compatible = "moxa,moxart-rtc"; + rtc-sclk-gpios = <&gpio 5 0>; + rtc-data-gpios = <&gpio 6 0>; + rtc-reset-gpios = <&gpio 7 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml index 11a6266453..4c1f22ef5a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/mstar,ssd202d-rtc.yaml @@ -1,35 +1,35 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Mstar SSD202D Real Time Clock - -maintainers: - - Daniel Palmer - - Romain Perier - -allOf: - - $ref: rtc.yaml# - -properties: - compatible: - enum: - - mstar,ssd202d-rtc - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - rtc@6800 { - compatible = "mstar,ssd202d-rtc"; - reg = <0x6800 0x200>; - }; -... +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/rtc/mstar,ssd202d-rtc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Mstar SSD202D Real Time Clock + +maintainers: + - Daniel Palmer + - Romain Perier + +allOf: + - $ref: rtc.yaml# + +properties: + compatible: + enum: + - mstar,ssd202d-rtc + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + rtc@6800 { + compatible = "mstar,ssd202d-rtc"; + reg = <0x6800 0x200>; + }; +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt index f9695fec6c..bbf1ccb5df 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/realtek,rtd119x.txt @@ -1,16 +1,16 @@ -Realtek RTD129x Real-Time Clock -=============================== - -Required properties: -- compatible : Should be "realtek,rtd1295-rtc" -- reg : Specifies the physical base address and size -- clocks : Specifies the clock gate - - -Example: - - rtc@9801b600 { - compatible = "realtek,rtd1295-clk"; - reg = <0x9801b600 0x100>; - clocks = <&clkc RTD1295_CLK_EN_MISC_RTC>; - }; +Realtek RTD129x Real-Time Clock +=============================== + +Required properties: +- compatible : Should be "realtek,rtd1295-rtc" +- reg : Specifies the physical base address and size +- clocks : Specifies the clock gate + + +Example: + + rtc@9801b600 { + compatible = "realtek,rtd1295-clk"; + reg = <0x9801b600 0x100>; + clocks = <&clkc RTD1295_CLK_EN_MISC_RTC>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-opal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-opal.txt index a086ac0c70..2340938cd0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-opal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/rtc/rtc-opal.txt @@ -1,17 +1,17 @@ -IBM OPAL real-time clock ------------------------- - -Required properties: -- compatible: Should be "ibm,opal-rtc" - -Optional properties: -- wakeup-source: Decides if the wakeup is supported or not - (Legacy property supported: "has-tpo") - -Example: - rtc { - compatible = "ibm,opal-rtc"; - wakeup-source; - phandle = <0x10000029>; - linux,phandle = <0x10000029>; - }; +IBM OPAL real-time clock +------------------------ + +Required properties: +- compatible: Should be "ibm,opal-rtc" + +Optional properties: +- wakeup-source: Decides if the wakeup is supported or not + (Legacy property supported: "has-tpo") + +Example: + rtc { + compatible = "ibm,opal-rtc"; + wakeup-source; + phandle = <0x10000029>; + linux,phandle = <0x10000029>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arc-uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arc-uart.txt index bb86d8a679..256cc150ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arc-uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arc-uart.txt @@ -1,25 +1,25 @@ -* Synopsys ARC UART : Non standard UART used in some of the ARC FPGA boards - -Required properties: -- compatible : "snps,arc-uart" -- reg : offset and length of the register set for the device. -- interrupts : device interrupt -- clock-frequency : the input clock frequency for the UART -- current-speed : baud rate for UART - -e.g. - -arcuart0: serial@c0fc1000 { - compatible = "snps,arc-uart"; - reg = <0xc0fc1000 0x100>; - interrupts = <5>; - clock-frequency = <80000000>; - current-speed = <115200>; -}; - -Note: Each port should have an alias correctly numbered in "aliases" node. - -e.g. -aliases { - serial0 = &arcuart0; -}; +* Synopsys ARC UART : Non standard UART used in some of the ARC FPGA boards + +Required properties: +- compatible : "snps,arc-uart" +- reg : offset and length of the register set for the device. +- interrupts : device interrupt +- clock-frequency : the input clock frequency for the UART +- current-speed : baud rate for UART + +e.g. + +arcuart0: serial@c0fc1000 { + compatible = "snps,arc-uart"; + reg = <0xc0fc1000 0x100>; + interrupts = <5>; + clock-frequency = <80000000>; + current-speed = <115200>; +}; + +Note: Each port should have an alias correctly numbered in "aliases" node. + +e.g. +aliases { + serial0 = &arcuart0; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt index 4b81bcfdff..128cc6aed0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm,mps2-uart.txt @@ -1,19 +1,19 @@ -ARM MPS2 UART - -Required properties: -- compatible : Should be "arm,mps2-uart" -- reg : Address and length of the register set -- interrupts : Reference to the UART RX, TX and overrun interrupts - -Required clocking property: -- clocks : The input clock of the UART - - -Examples: - -uart0: serial@40004000 { - compatible = "arm,mps2-uart"; - reg = <0x40004000 0x1000>; - interrupts = <0 1 12>; - clocks = <&sysclk>; -}; +ARM MPS2 UART + +Required properties: +- compatible : Should be "arm,mps2-uart" +- reg : Address and length of the register set +- interrupts : Reference to the UART RX, TX and overrun interrupts + +Required clocking property: +- clocks : The input clock of the UART + + +Examples: + +uart0: serial@40004000 { + compatible = "arm,mps2-uart"; + reg = <0x40004000 0x1000>; + interrupts = <0 1 12>; + clocks = <&sysclk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt index 2850da157c..4163e7eb77 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/arm_sbsa_uart.txt @@ -1,10 +1,10 @@ -* ARM SBSA defined generic UART -This UART uses a subset of the PL011 registers and consequently lives -in the PL011 driver. It's baudrate and other communication parameters -cannot be adjusted at runtime, so it lacks a clock specifier here. - -Required properties: -- compatible: must be "arm,sbsa-uart" -- reg: exactly one register range -- interrupts: exactly one interrupt specifier -- current-speed: the (fixed) baud rate set by the firmware +* ARM SBSA defined generic UART +This UART uses a subset of the PL011 registers and consequently lives +in the PL011 driver. It's baudrate and other communication parameters +cannot be adjusted at runtime, so it lacks a clock specifier here. + +Required properties: +- compatible: must be "arm,sbsa-uart" +- reg: exactly one register range +- interrupts: exactly one interrupt specifier +- current-speed: the (fixed) baud rate set by the firmware diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/milbeaut-uart.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/milbeaut-uart.txt index b6d926a39f..3d2fb1a7ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/milbeaut-uart.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serial/milbeaut-uart.txt @@ -1,21 +1,21 @@ -Socionext Milbeaut UART controller - -Required properties: -- compatible: should be "socionext,milbeaut-usio-uart". -- reg: offset and length of the register set for the device. -- interrupts: two interrupts specifier. -- interrupt-names: should be "rx", "tx". -- clocks: phandle to the input clock. - -Optional properties: -- auto-flow-control: flow control enable. - -Example: - usio1: usio_uart@1e700010 { - compatible = "socionext,milbeaut-usio-uart"; - reg = <0x1e700010 0x10>; - interrupts = <0 141 0x4>, <0 149 0x4>; - interrupt-names = "rx", "tx"; - clocks = <&clk 2>; - auto-flow-control; - }; +Socionext Milbeaut UART controller + +Required properties: +- compatible: should be "socionext,milbeaut-usio-uart". +- reg: offset and length of the register set for the device. +- interrupts: two interrupts specifier. +- interrupt-names: should be "rx", "tx". +- clocks: phandle to the input clock. + +Optional properties: +- auto-flow-control: flow control enable. + +Example: + usio1: usio_uart@1e700010 { + compatible = "socionext,milbeaut-usio-uart"; + reg = <0x1e700010 0x10>; + interrupts = <0 141 0x4>, <0 149 0x4>; + interrupt-names = "rx", "tx"; + clocks = <&clk 2>; + auto-flow-control; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/snps-arc_ps2.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/snps-arc_ps2.txt index 89ab2dad59..38c2f21e80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/snps-arc_ps2.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/serio/snps-arc_ps2.txt @@ -1,16 +1,16 @@ -* ARC PS/2 driver: PS/2 block used in some ARC FPGA's & nSIM OSCI model - -Required properties: -- compatible : "snps,arc_ps2" -- reg : offset and length (always 0x14) of registers -- interrupts : interrupt -- interrupt-names : name of interrupt, must be "arc_ps2_irq" - -Example: - -serio@c9000400 { - compatible = "snps,arc_ps2"; - reg = <0xc9000400 0x14>; - interrupts = <13>; - interrupt-names = "arc_ps2_irq"; -} +* ARC PS/2 driver: PS/2 block used in some ARC FPGA's & nSIM OSCI model + +Required properties: +- compatible : "snps,arc_ps2" +- reg : offset and length (always 0x14) of registers +- interrupts : interrupt +- interrupt-names : name of interrupt, must be "arc_ps2_irq" + +Example: + +serio@c9000400 { + compatible = "snps,arc_ps2"; + reg = <0xc9000400 0x14>; + interrupts = <13>; + interrupt-names = "arc_ps2_irq"; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt index d333917ebf..55259cf39c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/siox/eckelmann,siox-gpio.txt @@ -1,19 +1,19 @@ -Eckelmann SIOX GPIO bus - -Required properties: -- compatible : "eckelmann,siox-gpio" -- din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the - corresponding bus signals. - -Examples: - - siox { - compatible = "eckelmann,siox-gpio"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_siox>; - - din-gpios = <&gpio6 11 0>; - dout-gpios = <&gpio6 8 0>; - dclk-gpios = <&gpio6 9 0>; - dld-gpios = <&gpio6 10 0>; - }; +Eckelmann SIOX GPIO bus + +Required properties: +- compatible : "eckelmann,siox-gpio" +- din-gpios, dout-gpios, dclk-gpios, dld-gpios: references gpios for the + corresponding bus signals. + +Examples: + + siox { + compatible = "eckelmann,siox-gpio"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_siox>; + + din-gpios = <&gpio6 11 0>; + dout-gpios = <&gpio6 8 0>; + dclk-gpios = <&gpio6 9 0>; + dld-gpios = <&gpio6 10 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/brg.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/brg.txt index 275325a031..4c7d45eaf0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/brg.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/brg.txt @@ -1,21 +1,21 @@ -* Baud Rate Generators - -Currently defined compatibles: -fsl,cpm-brg -fsl,cpm1-brg -fsl,cpm2-brg - -Properties: -- reg : There may be an arbitrary number of reg resources; BRG - numbers are assigned to these in order. -- clock-frequency : Specifies the base frequency driving - the BRG. - -Example: - brg@119f0 { - compatible = "fsl,mpc8272-brg", - "fsl,cpm2-brg", - "fsl,cpm-brg"; - reg = <119f0 10 115f0 10>; - clock-frequency = ; - }; +* Baud Rate Generators + +Currently defined compatibles: +fsl,cpm-brg +fsl,cpm1-brg +fsl,cpm2-brg + +Properties: +- reg : There may be an arbitrary number of reg resources; BRG + numbers are assigned to these in order. +- clock-frequency : Specifies the base frequency driving + the BRG. + +Example: + brg@119f0 { + compatible = "fsl,mpc8272-brg", + "fsl,cpm2-brg", + "fsl,cpm-brg"; + reg = <119f0 10 115f0 10>; + clock-frequency = ; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/pic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/pic.txt index 9606788a4b..8e3ee16816 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/pic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/pic.txt @@ -1,18 +1,18 @@ -* Interrupt Controllers - -Currently defined compatibles: -- fsl,cpm1-pic - - only one interrupt cell -- fsl,pq1-pic -- fsl,cpm2-pic - - second interrupt cell is level/sense: - - 2 is falling edge - - 8 is active low - -Example: - interrupt-controller@10c00 { - #interrupt-cells = <2>; - interrupt-controller; - reg = <10c00 80>; - compatible = "mpc8272-pic", "fsl,cpm2-pic"; - }; +* Interrupt Controllers + +Currently defined compatibles: +- fsl,cpm1-pic + - only one interrupt cell +- fsl,pq1-pic +- fsl,cpm2-pic + - second interrupt cell is level/sense: + - 2 is falling edge + - 8 is active low + +Example: + interrupt-controller@10c00 { + #interrupt-cells = <2>; + interrupt-controller; + reg = <10c00 80>; + compatible = "mpc8272-pic", "fsl,cpm2-pic"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt index 8018e01720..8823c86c80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/soc/fsl/cpm_qe/uqe_serial.txt @@ -1,17 +1,17 @@ -* Serial - -Required Properties: -compatible : must be "fsl,-ucc-uart". For t1040, must be -"fsl,t1040-ucc-uart". -port-number : port number of UCC-UART -tx/rx-clock-name : should be "brg1"-"brg16" for internal clock source, - should be "clk1"-"clk28" for external clock source. - -Example: - - ucc_serial: ucc@2200 { - compatible = "fsl,t1040-ucc-uart"; - port-number = <0>; - rx-clock-name = "brg2"; - tx-clock-name = "brg2"; - }; +* Serial + +Required Properties: +compatible : must be "fsl,-ucc-uart". For t1040, must be +"fsl,t1040-ucc-uart". +port-number : port number of UCC-UART +tx/rx-clock-name : should be "brg1"-"brg16" for internal clock source, + should be "clk1"-"clk28" for external clock source. + +Example: + + ucc_serial: ucc@2200 { + compatible = "fsl,t1040-ucc-uart"; + port-number = <0>; + rx-clock-name = "brg2"; + tx-clock-name = "brg2"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2305.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2305.txt index 0484a20a02..a9c9d83c8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2305.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2305.txt @@ -1,14 +1,14 @@ -Analog Devices SSM2305 Speaker Amplifier -======================================== - -Required properties: - - compatible : "adi,ssm2305" - - shutdown-gpios : The gpio connected to the shutdown pin. - The gpio signal is ACTIVE_LOW. - -Example: - -ssm2305: analog-amplifier { - compatible = "adi,ssm2305"; - shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; -}; +Analog Devices SSM2305 Speaker Amplifier +======================================== + +Required properties: + - compatible : "adi,ssm2305" + - shutdown-gpios : The gpio connected to the shutdown pin. + The gpio signal is ACTIVE_LOW. + +Example: + +ssm2305: analog-amplifier { + compatible = "adi,ssm2305"; + shutdown-gpios = <&gpio3 20 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2602.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2602.txt index f2e0442f5c..3b3302fe39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2602.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/adi,ssm2602.txt @@ -1,19 +1,19 @@ -Analog Devices SSM2602, SSM2603 and SSM2604 I2S audio CODEC devices - -SSM2602 support both I2C and SPI as the configuration interface, -the selection is made by the MODE strap-in pin. -SSM2603 and SSM2604 only support I2C as the configuration interface. - -Required properties: - - - compatible : One of "adi,ssm2602", "adi,ssm2603" or "adi,ssm2604" - - - reg : the I2C address of the device for I2C, the chip select - number for SPI. - - Example: - - ssm2602: ssm2602@1a { - compatible = "adi,ssm2602"; - reg = <0x1a>; - }; +Analog Devices SSM2602, SSM2603 and SSM2604 I2S audio CODEC devices + +SSM2602 support both I2C and SPI as the configuration interface, +the selection is made by the MODE strap-in pin. +SSM2603 and SSM2604 only support I2C as the configuration interface. + +Required properties: + + - compatible : One of "adi,ssm2602", "adi,ssm2603" or "adi,ssm2604" + + - reg : the I2C address of the device for I2C, the chip select + number for SPI. + + Example: + + ssm2602: ssm2602@1a { + compatible = "adi,ssm2602"; + reg = <0x1a>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak4118.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak4118.txt index 936bd36a85..6e11a2f740 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak4118.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak4118.txt @@ -1,22 +1,22 @@ -AK4118 S/PDIF transceiver - -This device supports I2C mode. - -Required properties: - -- compatible : "asahi-kasei,ak4118" -- reg : The I2C address of the device for I2C -- reset-gpios: A GPIO specifier for the reset pin -- irq-gpios: A GPIO specifier for the IRQ pin - -Example: - -&i2c { - ak4118: ak4118@13 { - #sound-dai-cells = <0>; - compatible = "asahi-kasei,ak4118"; - reg = <0x13>; - reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW> - irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; - }; -}; +AK4118 S/PDIF transceiver + +This device supports I2C mode. + +Required properties: + +- compatible : "asahi-kasei,ak4118" +- reg : The I2C address of the device for I2C +- reset-gpios: A GPIO specifier for the reset pin +- irq-gpios: A GPIO specifier for the IRQ pin + +Example: + +&i2c { + ak4118: ak4118@13 { + #sound-dai-cells = <0>; + compatible = "asahi-kasei,ak4118"; + reg = <0x13>; + reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW> + irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak5386.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak5386.txt index 3d4fa7ed1a..ec3df3abba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak5386.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ak5386.txt @@ -1,23 +1,23 @@ -AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC - -This device has no control interface. - -Required properties: - - - compatible : "asahi-kasei,ak5386" - -Optional properties: - - - reset-gpio : a GPIO spec for the reset/power down pin. - If specified, it will be deasserted at probe time. - - va-supply : a regulator spec, providing 5.0V - - vd-supply : a regulator spec, providing 3.3V - -Example: - -spdif: ak5386@0 { - compatible = "asahi-kasei,ak5386"; - reset-gpio = <&gpio0 23>; - va-supply = <&vdd_5v0_reg>; - vd-supply = <&vdd_3v3_reg>; -}; +AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC + +This device has no control interface. + +Required properties: + + - compatible : "asahi-kasei,ak5386" + +Optional properties: + + - reset-gpio : a GPIO spec for the reset/power down pin. + If specified, it will be deasserted at probe time. + - va-supply : a regulator spec, providing 5.0V + - vd-supply : a regulator spec, providing 3.3V + +Example: + +spdif: ak5386@0 { + compatible = "asahi-kasei,ak5386"; + reset-gpio = <&gpio0 23>; + va-supply = <&vdd_5v0_reg>; + vd-supply = <&vdd_3v3_reg>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/alc5623.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/alc5623.txt index 8122898fb2..26c86c98d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/alc5623.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/alc5623.txt @@ -1,25 +1,25 @@ -ALC5621/ALC5622/ALC5623 audio Codec - -Required properties: - - - compatible: "realtek,alc5623" - - reg: the I2C address of the device. - -Optional properties: - - - add-ctrl: Default register value for Reg-40h, Additional Control - Register. If absent or has the value of 0, the - register is untouched. - - - jack-det-ctrl: Default register value for Reg-5Ah, Jack Detect - Control Register. If absent or has value 0, the - register is untouched. - -Example: - - alc5621: alc5621@1a { - compatible = "alc5621"; - reg = <0x1a>; - add-ctrl = <0x3700>; - jack-det-ctrl = <0x4810>; - }; +ALC5621/ALC5622/ALC5623 audio Codec + +Required properties: + + - compatible: "realtek,alc5623" + - reg: the I2C address of the device. + +Optional properties: + + - add-ctrl: Default register value for Reg-40h, Additional Control + Register. If absent or has the value of 0, the + register is untouched. + + - jack-det-ctrl: Default register value for Reg-5Ah, Jack Detect + Control Register. If absent or has value 0, the + register is untouched. + +Example: + + alc5621: alc5621@1a { + compatible = "alc5621"; + reg = <0x1a>; + add-ctrl = <0x3700>; + jack-det-ctrl = <0x4810>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml index 33c27774c7..c77d85df23 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/asahi-kasei,ak4554.yaml @@ -1,27 +1,27 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4554.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: AK4554 sound codec - -maintainers: - - Kuninori Morimoto - - Liam Girdwood - - Mark Brown - -properties: - compatible: - const: asahi-kasei,ak4554 - -required: - - compatible - -additionalProperties: false - -examples: - - | - codec { - compatible = "asahi-kasei,ak4554"; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/asahi-kasei,ak4554.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: AK4554 sound codec + +maintainers: + - Kuninori Morimoto + - Liam Girdwood + - Mark Brown + +properties: + compatible: + const: asahi-kasei,ak4554 + +required: + - compatible + +additionalProperties: false + +examples: + - | + codec { + compatible = "asahi-kasei,ak4554"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt index 0429233528..860fc0da39 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cdns,xtfpga-i2s.txt @@ -1,18 +1,18 @@ -Bindings for I2S controller built into xtfpga Xtensa bitstreams. - -Required properties: -- compatible: shall be "cdns,xtfpga-i2s". -- reg: memory region (address and length) with device registers. -- interrupts: interrupt for the device. -- clocks: phandle to the clk used as master clock. I2S bus clock - is derived from it. - -Examples: - - i2s0: xtfpga-i2s@d080000 { - #sound-dai-cells = <0>; - compatible = "cdns,xtfpga-i2s"; - reg = <0x0d080000 0x40>; - interrupts = <2 1>; - clocks = <&cdce706 4>; - }; +Bindings for I2S controller built into xtfpga Xtensa bitstreams. + +Required properties: +- compatible: shall be "cdns,xtfpga-i2s". +- reg: memory region (address and length) with device registers. +- interrupts: interrupt for the device. +- clocks: phandle to the clk used as master clock. I2S bus clock + is derived from it. + +Examples: + + i2s0: xtfpga-i2s@d080000 { + #sound-dai-cells = <0>; + compatible = "cdns,xtfpga-i2s"; + reg = <0x0d080000 0x40>; + interrupts = <2 1>; + clocks = <&cdce706 4>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l73.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l73.txt index e822136731..47b868b5ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l73.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs42l73.txt @@ -1,22 +1,22 @@ -CS42L73 audio CODEC - -Required properties: - - - compatible : "cirrus,cs42l73" - - - reg : the I2C address of the device for I2C - -Optional properties: - - - reset_gpio : a GPIO spec for the reset pin. - - chgfreq : Charge Pump Frequency values 0x00-0x0F - - -Example: - -codec: cs42l73@4a { - compatible = "cirrus,cs42l73"; - reg = <0x4a>; - reset_gpio = <&gpio 10 0>; - chgfreq = <0x05>; -}; +CS42L73 audio CODEC + +Required properties: + + - compatible : "cirrus,cs42l73" + + - reg : the I2C address of the device for I2C + +Optional properties: + + - reset_gpio : a GPIO spec for the reset pin. + - chgfreq : Charge Pump Frequency values 0x00-0x0F + + +Example: + +codec: cs42l73@4a { + compatible = "cirrus,cs42l73"; + reg = <0x4a>; + reset_gpio = <&gpio 10 0>; + chgfreq = <0x05>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4341.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4341.txt index 7a18b7fedf..c1d5c8ad1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4341.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/cs4341.txt @@ -1,22 +1,22 @@ -Cirrus Logic CS4341 audio DAC - -This device supports both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - compatible: "cirrus,cs4341a" - - reg : the I2C address of the device for I2C, the chip select - number for SPI. - -For required properties on I2C-bus, please consult -dtschema schemas/i2c/i2c-controller.yaml -For required properties on SPI-bus, please consult -Documentation/devicetree/bindings/spi/spi-bus.txt - -Example: - codec: cs4341@0 { - #sound-dai-cells = <0>; - compatible = "cirrus,cs4341a"; - reg = <0>; - spi-max-frequency = <6000000>; - }; +Cirrus Logic CS4341 audio DAC + +This device supports both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + - compatible: "cirrus,cs4341a" + - reg : the I2C address of the device for I2C, the chip select + number for SPI. + +For required properties on I2C-bus, please consult +dtschema schemas/i2c/i2c-controller.yaml +For required properties on SPI-bus, please consult +Documentation/devicetree/bindings/spi/spi-bus.txt + +Example: + codec: cs4341@0 { + #sound-dai-cells = <0>; + compatible = "cirrus,cs4341a"; + reg = <0>; + spi-max-frequency = <6000000>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/da9055.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/da9055.txt index 24755f4cb0..75c6338b6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/da9055.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/da9055.txt @@ -1,22 +1,22 @@ -* Dialog DA9055 Audio CODEC - -DA9055 provides Audio CODEC support (I2C only). - -The Audio CODEC device in DA9055 has its own I2C address which is configurable, -so the device is instantiated separately from the PMIC (MFD) device. - -For details on accompanying PMIC I2C device, see the following: -Documentation/devicetree/bindings/mfd/da9055.txt - -Required properties: - - - compatible: "dlg,da9055-codec" - - reg: Specifies the I2C slave address - - -Example: - - codec: da9055-codec@1a { - compatible = "dlg,da9055-codec"; - reg = <0x1a>; - }; +* Dialog DA9055 Audio CODEC + +DA9055 provides Audio CODEC support (I2C only). + +The Audio CODEC device in DA9055 has its own I2C address which is configurable, +so the device is instantiated separately from the PMIC (MFD) device. + +For details on accompanying PMIC I2C device, see the following: +Documentation/devicetree/bindings/mfd/da9055.txt + +Required properties: + + - compatible: "dlg,da9055-codec" + - reg: Specifies the I2C slave address + + +Example: + + codec: da9055-codec@1a { + compatible = "dlg,da9055-codec"; + reg = <0x1a>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-common.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-common.yaml index 37695922dd..1aed2f0f17 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-common.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/dai-common.yaml @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/dai-common.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Digital Audio Interface Common Properties - -maintainers: - - Jerome Brunet - -allOf: - - $ref: component-common.yaml# - -properties: - '#sound-dai-cells': true - -additionalProperties: true +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/dai-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Digital Audio Interface Common Properties + +maintainers: + - Jerome Brunet + +allOf: + - $ref: component-common.yaml# + +properties: + '#sound-dai-cells': true + +additionalProperties: true diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml index 8b664af9b8..5329dc140b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/google,chv3-codec.yaml @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/google,chv3-codec.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Google Chameleon v3 audio codec - -maintainers: - - Paweł Anikiel - -allOf: - - $ref: dai-common.yaml# - -properties: - compatible: - const: google,chv3-codec - - "#sound-dai-cells": - const: 0 - -required: - - compatible - -additionalProperties: false - -examples: - - | - audio-codec { - compatible = "google,chv3-codec"; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/google,chv3-codec.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Google Chameleon v3 audio codec + +maintainers: + - Paweł Anikiel + +allOf: + - $ref: dai-common.yaml# + +properties: + compatible: + const: google,chv3-codec + + "#sound-dai-cells": + const: 0 + +required: + - compatible + +additionalProperties: false + +examples: + - | + audio-codec { + compatible = "google,chv3-codec"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,pistachio-internal-dac.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,pistachio-internal-dac.txt index 6427b1046d..4cc18fc047 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,pistachio-internal-dac.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/img,pistachio-internal-dac.txt @@ -1,18 +1,18 @@ -Pistachio internal DAC DT bindings - -Required properties: - - - compatible: "img,pistachio-internal-dac" - - - img,cr-top : Must contain a phandle to the top level control syscon - node which contains the internal dac control registers - - - VDD-supply : Digital power supply regulator (+1.8V or +3.3V) - -Examples: - -internal_dac: internal-dac { - compatible = "img,pistachio-internal-dac"; - img,cr-top = <&cr_top>; - VDD-supply = <&supply3v3>; -}; +Pistachio internal DAC DT bindings + +Required properties: + + - compatible: "img,pistachio-internal-dac" + + - img,cr-top : Must contain a phandle to the top level control syscon + node which contains the internal dac control registers + + - VDD-supply : Digital power supply regulator (+1.8V or +3.3V) + +Examples: + +internal_dac: internal-dac { + compatible = "img,pistachio-internal-dac"; + img,cr-top = <&cr_top>; + VDD-supply = <&supply3v3>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/inno-rk3036.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/inno-rk3036.txt index c3eadcf31a..758de8e275 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/inno-rk3036.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/inno-rk3036.txt @@ -1,20 +1,20 @@ -Inno audio codec for RK3036 - -Inno audio codec is integrated inside RK3036 SoC. - -Required properties: -- compatible : Should be "rockchip,rk3036-codec". -- reg : The registers of codec. -- clock-names : Should be "acodec_pclk". -- clocks : The clock of codec. -- rockchip,grf : The phandle of grf device node. - -Example: - - acodec: acodec-ana@20030000 { - compatible = "rk3036-codec"; - reg = <0x20030000 0x4000>; - rockchip,grf = <&grf>; - clock-names = "acodec_pclk"; - clocks = <&cru ACLK_VCODEC>; - }; +Inno audio codec for RK3036 + +Inno audio codec is integrated inside RK3036 SoC. + +Required properties: +- compatible : Should be "rockchip,rk3036-codec". +- reg : The registers of codec. +- clock-names : Should be "acodec_pclk". +- clocks : The clock of codec. +- rockchip,grf : The phandle of grf device node. + +Example: + + acodec: acodec-ana@20030000 { + compatible = "rk3036-codec"; + reg = <0x20030000 0x4000>; + rockchip,grf = <&grf>; + clock-names = "acodec_pclk"; + clocks = <&cru ACLK_VCODEC>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/max9860.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/max9860.txt index f3ec2dae31..e0d4e95e31 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/max9860.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/max9860.txt @@ -1,28 +1,28 @@ -MAX9860 Mono Audio Voice Codec - -Required properties: - - - compatible : "maxim,max9860" - - - reg : the I2C address of the device - - - AVDD-supply, DVDD-supply and DVDDIO-supply : power supplies for - the device, as covered in bindings/regulator/regulator.txt - - - clock-names : Required element: "mclk". - - - clocks : A clock specifier for the clock connected as MCLK. - -Examples: - - max9860: max9860@10 { - compatible = "maxim,max9860"; - reg = <0x10>; - - AVDD-supply = <®_1v8>; - DVDD-supply = <®_1v8>; - DVDDIO-supply = <®_3v0>; - - clock-names = "mclk"; - clocks = <&pck2>; - }; +MAX9860 Mono Audio Voice Codec + +Required properties: + + - compatible : "maxim,max9860" + + - reg : the I2C address of the device + + - AVDD-supply, DVDD-supply and DVDDIO-supply : power supplies for + the device, as covered in bindings/regulator/regulator.txt + + - clock-names : Required element: "mclk". + + - clocks : A clock specifier for the clock connected as MCLK. + +Examples: + + max9860: max9860@10 { + compatible = "maxim,max9860"; + reg = <0x10>; + + AVDD-supply = <®_1v8>; + DVDD-supply = <®_1v8>; + DVDDIO-supply = <®_3v0>; + + clock-names = "mclk"; + clocks = <&pck2>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-max98090.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-max98090.txt index 2af81df1e3..519e97c8f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-max98090.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-max98090.txt @@ -1,15 +1,15 @@ -MT8173 with MAX98090 CODEC - -Required properties: -- compatible : "mediatek,mt8173-max98090" -- mediatek,audio-codec: the phandle of the MAX98090 audio codec -- mediatek,platform: the phandle of MT8173 ASoC platform - -Example: - - sound { - compatible = "mediatek,mt8173-max98090"; - mediatek,audio-codec = <&max98090>; - mediatek,platform = <&afe>; - }; - +MT8173 with MAX98090 CODEC + +Required properties: +- compatible : "mediatek,mt8173-max98090" +- mediatek,audio-codec: the phandle of the MAX98090 audio codec +- mediatek,platform: the phandle of MT8173 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8173-max98090"; + mediatek,audio-codec = <&max98090>; + mediatek,platform = <&afe>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt index 0a8eee21b0..e8b3c80c6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5514.txt @@ -1,15 +1,15 @@ -MT8173 with RT5650 RT5514 CODECS - -Required properties: -- compatible : "mediatek,mt8173-rt5650-rt5514" -- mediatek,audio-codec: the phandles of rt5650 and rt5514 codecs -- mediatek,platform: the phandle of MT8173 ASoC platform - -Example: - - sound { - compatible = "mediatek,mt8173-rt5650-rt5514"; - mediatek,audio-codec = <&rt5650 &rt5514>; - mediatek,platform = <&afe>; - }; - +MT8173 with RT5650 RT5514 CODECS + +Required properties: +- compatible : "mediatek,mt8173-rt5650-rt5514" +- mediatek,audio-codec: the phandles of rt5650 and rt5514 codecs +- mediatek,platform: the phandle of MT8173 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8173-rt5650-rt5514"; + mediatek,audio-codec = <&rt5650 &rt5514>; + mediatek,platform = <&afe>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5676.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5676.txt index a46b7de9a9..ac28cdb491 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5676.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/mt8173-rt5650-rt5676.txt @@ -1,16 +1,16 @@ -MT8173 with RT5650 RT5676 CODECS and HDMI via I2S - -Required properties: -- compatible : "mediatek,mt8173-rt5650-rt5676" -- mediatek,audio-codec: the phandles of rt5650 and rt5676 codecs - and of the hdmi encoder node -- mediatek,platform: the phandle of MT8173 ASoC platform - -Example: - - sound { - compatible = "mediatek,mt8173-rt5650-rt5676"; - mediatek,audio-codec = <&rt5650 &rt5676 &hdmi0>; - mediatek,platform = <&afe>; - }; - +MT8173 with RT5650 RT5676 CODECS and HDMI via I2S + +Required properties: +- compatible : "mediatek,mt8173-rt5650-rt5676" +- mediatek,audio-codec: the phandles of rt5650 and rt5676 codecs + and of the hdmi encoder node +- mediatek,platform: the phandle of MT8173 ASoC platform + +Example: + + sound { + compatible = "mediatek,mt8173-rt5650-rt5676"; + mediatek,audio-codec = <&rt5650 &rt5676 &hdmi0>; + mediatek,platform = <&afe>; + }; + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/omap-dmic.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/omap-dmic.txt index ba44578e11..418e30e72e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/omap-dmic.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/omap-dmic.txt @@ -1,20 +1,20 @@ -* Texas Instruments OMAP4+ Digital Microphone Module - -Required properties: -- compatible: "ti,omap4-dmic" -- reg: Register location and size as an array: - , - ; -- interrupts: Interrupt number for DMIC -- ti,hwmods: Name of the hwmod associated with OMAP dmic IP - -Example: - -dmic: dmic@4012e000 { - compatible = "ti,omap4-dmic"; - reg = <0x4012e000 0x7f>, /* MPU private access */ - <0x4902e000 0x7f>; /* L3 Interconnect */ - interrupts = <0 114 0x4>; - interrupt-parent = <&gic>; - ti,hwmods = "dmic"; -}; +* Texas Instruments OMAP4+ Digital Microphone Module + +Required properties: +- compatible: "ti,omap4-dmic" +- reg: Register location and size as an array: + , + ; +- interrupts: Interrupt number for DMIC +- ti,hwmods: Name of the hwmod associated with OMAP dmic IP + +Example: + +dmic: dmic@4012e000 { + compatible = "ti,omap4-dmic"; + reg = <0x4012e000 0x7f>, /* MPU private access */ + <0x4902e000 0x7f>; /* L3 Interconnect */ + interrupts = <0 114 0x4>; + interrupt-parent = <&gic>; + ti,hwmods = "dmic"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm1789.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm1789.txt index 7d7c44877f..3c74ed220a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm1789.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm1789.txt @@ -1,22 +1,22 @@ -Texas Instruments pcm1789 DT bindings - -PCM1789 is a simple audio codec that can be connected via -I2C or SPI. Currently, only I2C bus is supported. - -Required properties: - - - compatible: "ti,pcm1789" - -Required properties on I2C: - - - reg: the I2C address - - reset-gpios: GPIO to control the RESET pin - -Examples: - - audio-codec@4c { - compatible = "ti,pcm1789"; - reg = <0x4c>; - reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; - #sound-dai-cells = <0>; - }; +Texas Instruments pcm1789 DT bindings + +PCM1789 is a simple audio codec that can be connected via +I2C or SPI. Currently, only I2C bus is supported. + +Required properties: + + - compatible: "ti,pcm1789" + +Required properties on I2C: + + - reg: the I2C address + - reset-gpios: GPIO to control the RESET pin + +Examples: + + audio-codec@4c { + compatible = "ti,pcm1789"; + reg = <0x4c>; + reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>; + #sound-dai-cells = <0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm179x.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm179x.txt index 6f6a8a8339..436c2b2476 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm179x.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm179x.txt @@ -1,27 +1,27 @@ -Texas Instruments pcm179x DT bindings - -This driver supports both the I2C and SPI bus. - -Required properties: - - - compatible: "ti,pcm1792a" - -For required properties on SPI, please consult -Documentation/devicetree/bindings/spi/spi-bus.txt - -Required properties on I2C: - - - reg: the I2C address - - -Examples: - - codec_spi: 1792a@0 { - compatible = "ti,pcm1792a"; - spi-max-frequency = <600000>; - }; - - codec_i2c: 1792a@4c { - compatible = "ti,pcm1792a"; - reg = <0x4c>; - }; +Texas Instruments pcm179x DT bindings + +This driver supports both the I2C and SPI bus. + +Required properties: + + - compatible: "ti,pcm1792a" + +For required properties on SPI, please consult +Documentation/devicetree/bindings/spi/spi-bus.txt + +Required properties on I2C: + + - reg: the I2C address + + +Examples: + + codec_spi: 1792a@0 { + compatible = "ti,pcm1792a"; + spi-max-frequency = <600000>; + }; + + codec_i2c: 1792a@4c { + compatible = "ti,pcm1792a"; + reg = <0x4c>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm3060.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm3060.txt index 824d4b0a42..97de66932d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm3060.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/pcm3060.txt @@ -1,23 +1,23 @@ -PCM3060 audio CODEC - -This driver supports both I2C and SPI. - -Required properties: - -- compatible: "ti,pcm3060" - -- reg : the I2C address of the device for I2C, the chip select - number for SPI. - -Optional properties: - -- ti,out-single-ended: "true" if output is single-ended; - "false" or not specified if output is differential. - -Examples: - - pcm3060: pcm3060@46 { - compatible = "ti,pcm3060"; - reg = <0x46>; - ti,out-single-ended = "true"; - }; +PCM3060 audio CODEC + +This driver supports both I2C and SPI. + +Required properties: + +- compatible: "ti,pcm3060" + +- reg : the I2C address of the device for I2C, the chip select + number for SPI. + +Optional properties: + +- ti,out-single-ended: "true" if output is single-ended; + "false" or not specified if output is differential. + +Examples: + + pcm3060: pcm3060@46 { + compatible = "ti,pcm3060"; + reg = <0x46>; + ti,out-single-ended = "true"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip-rt5645.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip-rt5645.txt index b5859d6b59..411a62b3ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip-rt5645.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rockchip-rt5645.txt @@ -1,17 +1,17 @@ -ROCKCHIP with RT5645/RT5650 CODECS - -Required properties: -- compatible: "rockchip,rockchip-audio-rt5645" -- rockchip,model: The user-visible name of this sound complex -- rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's - connected to the CODEC -- rockchip,audio-codec: The phandle of the RT5645/RT5650 audio codec - -Example: - -sound { - compatible = "rockchip,rockchip-audio-rt5645"; - rockchip,model = "ROCKCHIP-I2S"; - rockchip,i2s-controller = <&i2s>; - rockchip,audio-codec = <&rt5645>; -}; +ROCKCHIP with RT5645/RT5650 CODECS + +Required properties: +- compatible: "rockchip,rockchip-audio-rt5645" +- rockchip,model: The user-visible name of this sound complex +- rockchip,i2s-controller: The phandle of the Rockchip I2S controller that's + connected to the CODEC +- rockchip,audio-codec: The phandle of the RT5645/RT5650 audio codec + +Example: + +sound { + compatible = "rockchip,rockchip-audio-rt5645"; + rockchip,model = "ROCKCHIP-I2S"; + rockchip,i2s-controller = <&i2s>; + rockchip,audio-codec = <&rt5645>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt274.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt274.txt index c471516566..791a1bd767 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt274.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/rt274.txt @@ -1,33 +1,33 @@ -RT274 audio CODEC - -This device supports I2C only. - -Required properties: - -- compatible : "realtek,rt274". - -- reg : The I2C address of the device. - -Optional properties: - -- interrupts : The CODEC's interrupt output. - - -Pins on the device (for linking into audio routes) for RT274: - - * DMIC1 Pin - * DMIC2 Pin - * MIC - * LINE1 - * LINE2 - * HPO Pin - * SPDIF - * LINE3 - -Example: - -rt274: codec@1c { - compatible = "realtek,rt274"; - reg = <0x1c>; - interrupts = <7 IRQ_TYPE_EDGE_FALLING>; -}; +RT274 audio CODEC + +This device supports I2C only. + +Required properties: + +- compatible : "realtek,rt274". + +- reg : The I2C address of the device. + +Optional properties: + +- interrupts : The CODEC's interrupt output. + + +Pins on the device (for linking into audio routes) for RT274: + + * DMIC1 Pin + * DMIC2 Pin + * MIC + * LINE1 + * LINE2 + * HPO Pin + * SPDIF + * LINE3 + +Example: + +rt274: codec@1c { + compatible = "realtek,rt274"; + reg = <0x1c>; + interrupts = <7 IRQ_TYPE_EDGE_FALLING>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sound-dai.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sound-dai.yaml index bc15e16a62..ff9036e43c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sound-dai.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/sound-dai.yaml @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/sound/sound-dai.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Digital Audio Interface consumer - -maintainers: - - Rob Herring - -select: true - -properties: - sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle-array - description: A phandle plus args to digital audio interface provider(s) - -additionalProperties: true -... +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/sound/sound-dai.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Digital Audio Interface consumer + +maintainers: + - Rob Herring + +select: true + +properties: + sound-dai: + $ref: /schemas/types.yaml#/definitions/phandle-array + description: A phandle plus args to digital audio interface provider(s) + +additionalProperties: true +... diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ssm4567.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ssm4567.txt index a8a200f9ab..ec3d9e7004 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ssm4567.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ssm4567.txt @@ -1,15 +1,15 @@ -Analog Devices SSM4567 audio amplifier - -This device supports I2C only. - -Required properties: - - compatible : Must be "adi,ssm4567" - - reg : the I2C address of the device. This will either be 0x34 (LR_SEL/ADDR connected to AGND), - 0x35 (LR_SEL/ADDR connected to IOVDD) or 0x36 (LR_SEL/ADDR open). - -Example: - - ssm4567: ssm4567@34 { - compatible = "adi,ssm4567"; - reg = <0x34>; - }; +Analog Devices SSM4567 audio amplifier + +This device supports I2C only. + +Required properties: + - compatible : Must be "adi,ssm4567" + - reg : the I2C address of the device. This will either be 0x34 (LR_SEL/ADDR connected to AGND), + 0x35 (LR_SEL/ADDR connected to IOVDD) or 0x36 (LR_SEL/ADDR open). + +Example: + + ssm4567: ssm4567@34 { + compatible = "adi,ssm4567"; + reg = <0x34>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/storm.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/storm.txt index 07c74be35c..062a4c185f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/storm.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/storm.txt @@ -1,23 +1,23 @@ -* Sound complex for Storm boards - -Models a soundcard for Storm boards with the Qualcomm Technologies IPQ806x SOC -connected to a MAX98357A DAC via I2S. - -Required properties: - -- compatible : "google,storm-audio" -- cpu : Phandle of the CPU DAI -- codec : Phandle of the codec DAI - -Optional properties: - -- qcom,model : The user-visible name of this sound card. - -Example: - -sound { - compatible = "google,storm-audio"; - qcom,model = "ipq806x-storm"; - cpu = <&lpass_cpu>; - codec = <&max98357a>; -}; +* Sound complex for Storm boards + +Models a soundcard for Storm boards with the Qualcomm Technologies IPQ806x SOC +connected to a MAX98357A DAC via I2S. + +Required properties: + +- compatible : "google,storm-audio" +- cpu : Phandle of the CPU DAI +- codec : Phandle of the codec DAI + +Optional properties: + +- qcom,model : The user-visible name of this sound card. + +Example: + +sound { + compatible = "google,storm-audio"; + qcom,model = "ipq806x-storm"; + cpu = <&lpass_cpu>; + codec = <&max98357a>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tda7419.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tda7419.txt index c5831e05df..6b85ec38dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tda7419.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tda7419.txt @@ -1,38 +1,38 @@ -TDA7419 audio processor - -This device supports I2C only. - -Required properties: - -- compatible : "st,tda7419" -- reg : the I2C address of the device. -- vdd-supply : a regulator spec for the common power supply (8-10V) - -Optional properties: - -- st,mute-gpios : a GPIO spec for the MUTE pin. - -Pins on the device (for linking into audio routes): - - * SE3L - * SE3R - * SE2L - * SE2R - * SE1L - * SE1R - * DIFFL - * DIFFR - * MIX - * OUTLF - * OUTRF - * OUTLR - * OUTRR - * OUTSW - -Example: - -ap: tda7419@44 { - compatible = "st,tda7419"; - reg = <0x44>; - vdd-supply = <&vdd_9v0_reg>; -}; +TDA7419 audio processor + +This device supports I2C only. + +Required properties: + +- compatible : "st,tda7419" +- reg : the I2C address of the device. +- vdd-supply : a regulator spec for the common power supply (8-10V) + +Optional properties: + +- st,mute-gpios : a GPIO spec for the MUTE pin. + +Pins on the device (for linking into audio routes): + + * SE3L + * SE3R + * SE2L + * SE2R + * SE1L + * SE1R + * DIFFL + * DIFFR + * MIX + * OUTLF + * OUTRF + * OUTLR + * OUTRR + * OUTSW + +Example: + +ap: tda7419@44 { + compatible = "st,tda7419"; + reg = <0x44>; + vdd-supply = <&vdd_9v0_reg>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas6424.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas6424.txt index 02d257dfc8..00940c4892 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas6424.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/ti,tas6424.txt @@ -1,22 +1,22 @@ -Texas Instruments TAS6424 Quad-Channel Audio amplifier - -The TAS6424 serial control bus communicates through I2C protocols. - -Required properties: - - compatible: "ti,tas6424" - TAS6424 - - reg: I2C slave address - - sound-dai-cells: must be equal to 0 - - standby-gpios: GPIO used to shut the TAS6424 down. - - mute-gpios: GPIO used to mute all the outputs - -Example: - -tas6424: tas6424@6a { - compatible = "ti,tas6424"; - reg = <0x6a>; - - #sound-dai-cells = <0>; -}; - -For more product information please see the link below: -https://www.ti.com/product/TAS6424-Q1 +Texas Instruments TAS6424 Quad-Channel Audio amplifier + +The TAS6424 serial control bus communicates through I2C protocols. + +Required properties: + - compatible: "ti,tas6424" - TAS6424 + - reg: I2C slave address + - sound-dai-cells: must be equal to 0 + - standby-gpios: GPIO used to shut the TAS6424 down. + - mute-gpios: GPIO used to mute all the outputs + +Example: + +tas6424: tas6424@6a { + compatible = "ti,tas6424"; + reg = <0x6a>; + + #sound-dai-cells = <0>; +}; + +For more product information please see the link below: +https://www.ti.com/product/TAS6424-Q1 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs42xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs42xx.txt index 996e0a17fc..7eea32e9d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs42xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs42xx.txt @@ -1,22 +1,22 @@ -TSCS42XX Audio CODEC - -Required Properties: - - - compatible : "tempo,tscs42A1" for analog mic - "tempo,tscs42A2" for digital mic - - - reg : <0x71> for analog mic - <0x69> for digital mic - - - clock-names: Must one of the following "mclk1", "xtal", "mclk2" - - - clocks: phandle of the clock that provides the codec sysclk - -Example: - -wookie: codec@69 { - compatible = "tempo,tscs42A2"; - reg = <0x69>; - clock-names = "xtal"; - clocks = <&audio_xtal>; -}; +TSCS42XX Audio CODEC + +Required Properties: + + - compatible : "tempo,tscs42A1" for analog mic + "tempo,tscs42A2" for digital mic + + - reg : <0x71> for analog mic + <0x69> for digital mic + + - clock-names: Must one of the following "mclk1", "xtal", "mclk2" + + - clocks: phandle of the clock that provides the codec sysclk + +Example: + +wookie: codec@69 { + compatible = "tempo,tscs42A2"; + reg = <0x69>; + clock-names = "xtal"; + clocks = <&audio_xtal>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs454.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs454.txt index fe324eb1eb..3ba3e2d2c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs454.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/tscs454.txt @@ -1,23 +1,23 @@ -TSCS454 Audio CODEC - -Required Properties: - - - compatible : "tempo,tscs454" - - - reg : <0x69> - - - clock-names: Must one of the following "xtal", "mclk1", "mclk2" - - - clocks: phandle of the clock that provides the codec sysclk - - Note: If clock is not provided then bit clock is assumed - -Example: - -redwood: codec@69 { - #sound-dai-cells = <1>; - compatible = "tempo,tscs454"; - reg = <0x69>; - clock-names = "mclk1"; - clocks = <&audio_mclk>; -}; +TSCS454 Audio CODEC + +Required Properties: + + - compatible : "tempo,tscs454" + + - reg : <0x69> + + - clock-names: Must one of the following "xtal", "mclk1", "mclk2" + + - clocks: phandle of the clock that provides the codec sysclk + + Note: If clock is not provided then bit clock is assumed + +Example: + +redwood: codec@69 { + #sound-dai-cells = <1>; + compatible = "tempo,tscs454"; + reg = <0x69>; + clock-names = "mclk1"; + clocks = <&audio_mclk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/uda1334.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/uda1334.txt index 4b875b168e..f64071b25e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/uda1334.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/uda1334.txt @@ -1,17 +1,17 @@ -UDA1334 audio CODEC - -This device uses simple GPIO pins for controlling codec settings. - -Required properties: - - - compatible : "nxp,uda1334" - - nxp,mute-gpios: a GPIO spec for the MUTE pin. - - nxp,deemph-gpios: a GPIO spec for the De-emphasis pin - -Example: - -uda1334: audio-codec { - compatible = "nxp,uda1334"; - nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; - nxp,deemph-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; -}; +UDA1334 audio CODEC + +This device uses simple GPIO pins for controlling codec settings. + +Required properties: + + - compatible : "nxp,uda1334" + - nxp,mute-gpios: a GPIO spec for the MUTE pin. + - nxp,deemph-gpios: a GPIO spec for the De-emphasis pin + +Example: + +uda1334: audio-codec { + compatible = "nxp,uda1334"; + nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; + nxp,deemph-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/widgets.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/widgets.txt index a0840b0126..b6de5ba3b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/widgets.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/widgets.txt @@ -1,20 +1,20 @@ -Widgets: - -This mainly specifies audio off-codec DAPM widgets. - -Each entry is a pair of strings in DT: - - "template-wname", "user-supplied-wname" - -The "template-wname" being the template widget name and currently includes: -"Microphone", "Line", "Headphone" and "Speaker". - -The "user-supplied-wname" being the user specified widget name. - -For instance: - simple-audio-widgets = - "Microphone", "Microphone Jack", - "Line", "Line In Jack", - "Line", "Line Out Jack", - "Headphone", "Headphone Jack", - "Speaker", "Speaker External"; +Widgets: + +This mainly specifies audio off-codec DAPM widgets. + +Each entry is a pair of strings in DT: + + "template-wname", "user-supplied-wname" + +The "template-wname" being the template widget name and currently includes: +"Microphone", "Line", "Headphone" and "Speaker". + +The "user-supplied-wname" being the user specified widget name. + +For instance: + simple-audio-widgets = + "Microphone", "Microphone Jack", + "Line", "Line In Jack", + "Line", "Line Out Jack", + "Headphone", "Headphone Jack", + "Speaker", "Speaker External"; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8741.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8741.txt index 7888c76bb9..b69e196c74 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8741.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/sound/wm8741.txt @@ -1,29 +1,29 @@ -WM8741 audio CODEC - -This device supports both I2C and SPI (configured with pin strapping -on the board). - -Required properties: - - - compatible : "wlf,wm8741" - - - reg : the I2C address of the device for I2C, the chip select - number for SPI. - -Optional properties: - - - diff-mode: Differential output mode configuration. Default value for field - DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be: - 0 = stereo - 1 = mono left - 2 = stereo reversed - 3 = mono right - -Example: - -wm8741: codec@1a { - compatible = "wlf,wm8741"; - reg = <0x1a>; - - diff-mode = <3>; -}; +WM8741 audio CODEC + +This device supports both I2C and SPI (configured with pin strapping +on the board). + +Required properties: + + - compatible : "wlf,wm8741" + + - reg : the I2C address of the device for I2C, the chip select + number for SPI. + +Optional properties: + + - diff-mode: Differential output mode configuration. Default value for field + DIFF in register R8 (MODE_CONTROL_2). If absent, the default is 0, shall be: + 0 = stereo + 1 = mono left + 2 = stereo reversed + 3 = mono right + +Example: + +wm8741: codec@1a { + compatible = "wlf,wm8741"; + reg = <0x1a>; + + diff-mode = <3>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt index deceb9aa3c..d95c0b367a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/spi/spi_oc_tiny.txt @@ -1,12 +1,12 @@ -OpenCores tiny SPI - -Required properties: -- compatible : should be "opencores,tiny-spi-rtlsvn2". -- gpios : should specify GPIOs used for chipselect. -Optional properties: -- clock-frequency : input clock frequency to the core. -- baud-width: width, in bits, of the programmable divider used to scale - the input clock to SCLK. - -The clock-frequency and baud-width properties are needed only if the divider -is programmable. They are not needed if the divider is fixed. +OpenCores tiny SPI + +Required properties: +- compatible : should be "opencores,tiny-spi-rtlsvn2". +- gpios : should specify GPIOs used for chipselect. +Optional properties: +- clock-frequency : input clock frequency to the core. +- baud-width: width, in bits, of the programmable divider used to scale + the input clock to SCLK. + +The clock-frequency and baud-width properties are needed only if the divider +is programmable. They are not needed if the divider is fixed. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/dove-thermal.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/dove-thermal.txt index 21b0fbf98c..6f474677d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/dove-thermal.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/thermal/dove-thermal.txt @@ -1,18 +1,18 @@ -* Dove Thermal - -This driver is for Dove SoCs which contain a thermal sensor. - -Required properties: -- compatible : "marvell,dove-thermal" -- reg : Address range of the thermal registers - -The reg properties should contain two ranges. The first is for the -three Thermal Manager registers, while the second range contains the -Thermal Diode Control Registers. - -Example: - - thermal@10078 { - compatible = "marvell,dove-thermal"; - reg = <0xd001c 0x0c>, <0xd005c 0x08>; - }; +* Dove Thermal + +This driver is for Dove SoCs which contain a thermal sensor. + +Required properties: +- compatible : "marvell,dove-thermal" +- reg : Address range of the thermal registers + +The reg properties should contain two ranges. The first is for the +three Thermal Manager registers, while the second range contains the +Thermal Diode Control Registers. + +Example: + + thermal@10078 { + compatible = "marvell,dove-thermal"; + reg = <0xd001c 0x0c>, <0xd005c 0x08>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/altr,timer-1.0.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/altr,timer-1.0.txt index cb52d76e70..e698e34887 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/altr,timer-1.0.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/altr,timer-1.0.txt @@ -1,18 +1,18 @@ -Altera Timer - -Required properties: - -- compatible : should be "altr,timer-1.0" -- reg : Specifies base physical address and size of the registers. -- interrupts : Should contain the timer interrupt number -- clock-frequency : The frequency of the clock that drives the counter, in Hz. - -Example: - -timer { - compatible = "altr,timer-1.0"; - reg = <0x00400000 0x00000020>; - interrupt-parent = <&cpu>; - interrupts = <11>; - clock-frequency = <125000000>; -}; +Altera Timer + +Required properties: + +- compatible : should be "altr,timer-1.0" +- reg : Specifies base physical address and size of the registers. +- interrupts : Should contain the timer interrupt number +- clock-frequency : The frequency of the clock that drives the counter, in Hz. + +Example: + +timer { + compatible = "altr,timer-1.0"; + reg = <0x00400000 0x00000020>; + interrupt-parent = <&cpu>; + interrupts = <11>; + clock-frequency = <125000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/digicolor-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/digicolor-timer.txt index 6ec53ec3a0..d1b659bbc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/digicolor-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/digicolor-timer.txt @@ -1,18 +1,18 @@ -Conexant Digicolor SoCs Timer Controller - -Required properties: - -- compatible : should be "cnxt,cx92755-timer" -- reg : Specifies base physical address and size of the "Agent Communication" - timer registers -- interrupts : Contains 8 interrupts, one for each timer -- clocks: phandle to the main clock - -Example: - - timer@f0000fc0 { - compatible = "cnxt,cx92755-timer"; - reg = <0xf0000fc0 0x40>; - interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>; - clocks = <&main_clk>; - }; +Conexant Digicolor SoCs Timer Controller + +Required properties: + +- compatible : should be "cnxt,cx92755-timer" +- reg : Specifies base physical address and size of the "Agent Communication" + timer registers +- interrupts : Contains 8 interrupts, one for each timer +- clocks: phandle to the main clock + +Example: + + timer@f0000fc0 { + compatible = "cnxt,cx92755-timer"; + reg = <0xf0000fc0 0x40>; + interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>; + clocks = <&main_clk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer0.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer0.txt index e0cb1e0a1a..e3cfce8fec 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer0.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/ezchip,nps400-timer0.txt @@ -1,17 +1,17 @@ -NPS Network Processor - -Required properties: - -- compatible : should be "ezchip,nps400-timer0" - -Clocks required for compatible = "ezchip,nps400-timer0": -- interrupts : The interrupt of the first timer -- clocks : Must contain a single entry describing the clock input - -Example: - -timer { - compatible = "ezchip,nps400-timer0"; - interrupts = <3>; - clocks = <&sysclk>; -}; +NPS Network Processor + +Required properties: + +- compatible : should be "ezchip,nps400-timer0" + +Clocks required for compatible = "ezchip,nps400-timer0": +- interrupts : The interrupt of the first timer +- clocks : Must contain a single entry describing the clock input + +Example: + +timer { + compatible = "ezchip,nps400-timer0"; + interrupts = <3>; + clocks = <&sysclk>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt index 8547d4380a..cd1a0c256f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/marvell,orion-timer.txt @@ -1,16 +1,16 @@ -Marvell Orion SoC timer - -Required properties: -- compatible: shall be "marvell,orion-timer" -- reg: base address of the timer register starting with TIMERS CONTROL register -- interrupts: should contain the interrupts for Timer0 and Timer1 -- clocks: phandle of timer reference clock (tclk) - -Example: - timer: timer { - compatible = "marvell,orion-timer"; - reg = <0x20300 0x20>; - interrupt-parent = <&bridge_intc>; - interrupts = <1>, <2>; - clocks = <&core_clk 0>; - }; +Marvell Orion SoC timer + +Required properties: +- compatible: shall be "marvell,orion-timer" +- reg: base address of the timer register starting with TIMERS CONTROL register +- interrupts: should contain the interrupts for Timer0 and Timer1 +- clocks: phandle of timer reference clock (tclk) + +Example: + timer: timer { + compatible = "marvell,orion-timer"; + reg = <0x20300 0x20>; + interrupt-parent = <&bridge_intc>; + interrupts = <1>, <2>; + clocks = <&core_clk 0>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt index abed4b4cd5..ac44c4b675 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/socionext,milbeaut-timer.txt @@ -1,17 +1,17 @@ -Milbeaut SoCs Timer Controller - -Required properties: - -- compatible : should be "socionext,milbeaut-timer". -- reg : Specifies base physical address and size of the registers. -- interrupts : The interrupt of the first timer. -- clocks: phandle to the input clk. - -Example: - -timer { - compatible = "socionext,milbeaut-timer"; - reg = <0x1e000050 0x20> - interrupts = <0 91 4>; - clocks = <&clk 4>; -}; +Milbeaut SoCs Timer Controller + +Required properties: + +- compatible : should be "socionext,milbeaut-timer". +- reg : Specifies base physical address and size of the registers. +- interrupts : The interrupt of the first timer. +- clocks: phandle to the input clk. + +Example: + +timer { + compatible = "socionext,milbeaut-timer"; + reg = <0x1e000050 0x20> + interrupts = <0 91 4>; + clocks = <&clk 4>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/via,vt8500-timer.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/via,vt8500-timer.txt index 56d20e0bfc..901c73f0d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/via,vt8500-timer.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/timer/via,vt8500-timer.txt @@ -1,15 +1,15 @@ -VIA/Wondermedia VT8500 Timer ------------------------------------------------------ - -Required properties: -- compatible : "via,vt8500-timer" -- reg : Should contain 1 register ranges(address and length) -- interrupts : interrupt for the timer - -Example: - - timer@d8130100 { - compatible = "via,vt8500-timer"; - reg = <0xd8130100 0x28>; - interrupts = <36>; - }; +VIA/Wondermedia VT8500 Timer +----------------------------------------------------- + +Required properties: +- compatible : "via,vt8500-timer" +- reg : Should contain 1 register ranges(address and length) +- interrupts : interrupt for the timer + +Example: + + timer@d8130100 { + compatible = "via,vt8500-timer"; + reg = <0xd8130100 0x28>; + interrupts = <36>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/isp1301.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/isp1301.txt index 51740d1091..ecd607dacb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/isp1301.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/isp1301.txt @@ -1,24 +1,24 @@ -* NXP ISP1301 USB transceiver - -Required properties: -- compatible: must be "nxp,isp1301" -- reg: I2C address of the ISP1301 device - -Optional properties of devices using ISP1301: -- transceiver: phandle of isp1301 - this helps the ISP1301 driver to find the - ISP1301 instance associated with the respective USB driver - -Example: - - isp1301: usb-transceiver@2c { - compatible = "nxp,isp1301"; - reg = <0x2c>; - }; - - usbd@31020000 { - compatible = "nxp,lpc3220-udc"; - reg = <0x31020000 0x300>; - interrupt-parent = <&mic>; - interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>; - transceiver = <&isp1301>; - }; +* NXP ISP1301 USB transceiver + +Required properties: +- compatible: must be "nxp,isp1301" +- reg: I2C address of the ISP1301 device + +Optional properties of devices using ISP1301: +- transceiver: phandle of isp1301 - this helps the ISP1301 driver to find the + ISP1301 instance associated with the respective USB driver + +Example: + + isp1301: usb-transceiver@2c { + compatible = "nxp,isp1301"; + reg = <0x2c>; + }; + + usbd@31020000 { + compatible = "nxp,lpc3220-udc"; + reg = <0x31020000 0x300>; + interrupt-parent = <&mic>; + interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>; + transceiver = <&isp1301>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ohci-da8xx.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ohci-da8xx.txt index 2aa2ab5d9e..24a826d501 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ohci-da8xx.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ohci-da8xx.txt @@ -1,23 +1,23 @@ -DA8XX USB OHCI controller - -Required properties: - - - compatible: Should be "ti,da830-ohci" - - reg: Should contain one register range i.e. start and length - - interrupts: Description of the interrupt line - - phys: Phandle for the PHY device - - phy-names: Should be "usb-phy" - -Optional properties: - - vbus-supply: phandle of regulator that controls vbus power / over-current - -Example: - -ohci: usb@225000 { - compatible = "ti,da830-ohci"; - reg = <0x225000 0x1000>; - interrupts = <59>; - phys = <&usb_phy 1>; - phy-names = "usb-phy"; - vbus-supply = <®_usb_ohci>; -}; +DA8XX USB OHCI controller + +Required properties: + + - compatible: Should be "ti,da830-ohci" + - reg: Should contain one register range i.e. start and length + - interrupts: Description of the interrupt line + - phys: Phandle for the PHY device + - phy-names: Should be "usb-phy" + +Optional properties: + - vbus-supply: phandle of regulator that controls vbus power / over-current + +Example: + +ohci: usb@225000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + vbus-supply = <®_usb_ohci>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ulpi.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ulpi.txt index 9ab48122cc..ca179dc4bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ulpi.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/ulpi.txt @@ -1,20 +1,20 @@ -ULPI bus binding ----------------- - -Phys that are behind a ULPI connection can be described with the following -binding. The host controller shall have a "ulpi" named node as a child, and -that node shall have one enabled node underneath it representing the ulpi -device on the bus. - -EXAMPLE -------- - -usb { - compatible = "vendor,usb-controller"; - - ulpi { - phy { - compatible = "vendor,phy"; - }; - }; -}; +ULPI bus binding +---------------- + +Phys that are behind a ULPI connection can be described with the following +binding. The host controller shall have a "ulpi" named node as a child, and +that node shall have one enabled node underneath it representing the ulpi +device on the bus. + +EXAMPLE +------- + +usb { + compatible = "vendor,usb-controller"; + + ulpi { + phy { + compatible = "vendor,phy"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb4604.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb4604.txt index d3c44c5ae9..82506d1771 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb4604.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/usb/usb4604.txt @@ -1,19 +1,19 @@ -SMSC USB4604 High-Speed Hub Controller - -Required properties: -- compatible: Should be "smsc,usb4604" - -Optional properties: -- reg: Specifies the i2c slave address, it is required and should be 0x2d - if I2C is used. -- reset-gpios: Should specify GPIO for reset. -- initial-mode: Should specify initial mode. - (1 for HUB mode, 2 for STANDBY mode) - -Examples: - usb-hub@2d { - compatible = "smsc,usb4604"; - reg = <0x2d>; - reset-gpios = <&gpx3 5 1>; - initial-mode = <1>; - }; +SMSC USB4604 High-Speed Hub Controller + +Required properties: +- compatible: Should be "smsc,usb4604" + +Optional properties: +- reg: Specifies the i2c slave address, it is required and should be 0x2d + if I2C is used. +- reset-gpios: Should specify GPIO for reset. +- initial-mode: Should specify initial mode. + (1 for HUB mode, 2 for STANDBY mode) + +Examples: + usb-hub@2d { + compatible = "smsc,usb4604"; + reg = <0x2d>; + reset-gpios = <&gpx3 5 1>; + initial-mode = <1>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt index df1bb7ca83..913c5f91a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/omap-hdq.txt @@ -1,22 +1,22 @@ -* OMAP HDQ One wire bus master controller - -Required properties: -- compatible : should be "ti,omap3-1w" or "ti,am4372-hdq" -- reg : Address and length of the register set for the device -- interrupts : interrupt line. -- ti,hwmods : "hdq1w" - -Optional properties: -- ti,mode: should be "hdq": HDQ mode "1w": one-wire mode. - If not specified HDQ mode is implied. - -Example: - -- From omap3.dtsi - hdqw1w: 1w@480b2000 { - compatible = "ti,omap3-1w"; - reg = <0x480b2000 0x1000>; - interrupts = <58>; - ti,hwmods = "hdq1w"; - ti,mode = "hdq"; - }; +* OMAP HDQ One wire bus master controller + +Required properties: +- compatible : should be "ti,omap3-1w" or "ti,am4372-hdq" +- reg : Address and length of the register set for the device +- interrupts : interrupt line. +- ti,hwmods : "hdq1w" + +Optional properties: +- ti,mode: should be "hdq": HDQ mode "1w": one-wire mode. + If not specified HDQ mode is implied. + +Example: + +- From omap3.dtsi + hdqw1w: 1w@480b2000 { + compatible = "ti,omap3-1w"; + reg = <0x480b2000 0x1000>; + interrupts = <58>; + ti,hwmods = "hdq1w"; + ti,mode = "hdq"; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1.txt index 65d2215e62..05f26b27d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/w1/w1.txt @@ -1,25 +1,25 @@ -Generic devicetree bindings for onewire (w1) busses -=================================================== - -Onewire busses are described through nodes of their master bus controller. -Slave devices are listed as sub-nodes of such master devices. For now, only -one slave is allowed per bus master. - - -Example: - - charger: charger { - compatible = "gpio-charger"; - charger-type = "mains"; - gpios = <&gpio 1 GPIO_ACTIVE_LOW>; - }; - - onewire { - compatible = "w1-gpio"; - gpios = <&gpio 100 0>, <&gpio 101 0>; - - battery { - compatible = "maxim,ds2760"; - power-supplies = <&charger>; - }; - }; +Generic devicetree bindings for onewire (w1) busses +=================================================== + +Onewire busses are described through nodes of their master bus controller. +Slave devices are listed as sub-nodes of such master devices. For now, only +one slave is allowed per bus master. + + +Example: + + charger: charger { + compatible = "gpio-charger"; + charger-type = "mains"; + gpios = <&gpio 1 GPIO_ACTIVE_LOW>; + }; + + onewire { + compatible = "w1-gpio"; + gpios = <&gpio 100 0>, <&gpio 101 0>; + + battery { + compatible = "maxim,ds2760"; + power-supplies = <&charger>; + }; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml index a39defa06b..7af3571d89 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/atmel,at91rm9200-wdt.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/atmel,at91rm9200-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Atmel AT91RM9200 System Timer Watchdog - -maintainers: - - Nicolas Ferre - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: atmel,at91rm9200-wdt - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@fffffd00 { - compatible = "atmel,at91rm9200-wdt"; - reg = <0xfffffd00 0x10>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/atmel,at91rm9200-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Atmel AT91RM9200 System Timer Watchdog + +maintainers: + - Nicolas Ferre + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: atmel,at91rm9200-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@fffffd00 { + compatible = "atmel,at91rm9200-wdt"; + reg = <0xfffffd00 0x10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt index 8dbc356bea..49485f8313 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-dmt.txt @@ -1,19 +1,19 @@ -* Microchip PIC32 Deadman Timer - -The deadman timer is used to reset the processor in the event of a software -malfunction. It is a free-running instruction fetch timer, which is clocked -whenever an instruction fetch occurs until a count match occurs. - -Required properties: -- compatible: must be "microchip,pic32mzda-dmt". -- reg: physical base address of the controller and length of memory mapped - region. -- clocks: phandle of source clk. Should be <&rootclk PB7CLK>. - -Example: - - watchdog@1f800a00 { - compatible = "microchip,pic32mzda-dmt"; - reg = <0x1f800a00 0x80>; - clocks = <&rootclk PB7CLK>; - }; +* Microchip PIC32 Deadman Timer + +The deadman timer is used to reset the processor in the event of a software +malfunction. It is a free-running instruction fetch timer, which is clocked +whenever an instruction fetch occurs until a count match occurs. + +Required properties: +- compatible: must be "microchip,pic32mzda-dmt". +- reg: physical base address of the controller and length of memory mapped + region. +- clocks: phandle of source clk. Should be <&rootclk PB7CLK>. + +Example: + + watchdog@1f800a00 { + compatible = "microchip,pic32mzda-dmt"; + reg = <0x1f800a00 0x80>; + clocks = <&rootclk PB7CLK>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt index 10050be2b5..f03a29a1b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/microchip,pic32-wdt.txt @@ -1,18 +1,18 @@ -* Microchip PIC32 Watchdog Timer - -When enabled, the watchdog peripheral can be used to reset the device if the -WDT is not cleared periodically in software. - -Required properties: -- compatible: must be "microchip,pic32mzda-wdt". -- reg: physical base address of the controller and length of memory mapped - region. -- clocks: phandle of source clk. Should be <&rootclk LPRCCLK>. - -Example: - - watchdog@1f800800 { - compatible = "microchip,pic32mzda-wdt"; - reg = <0x1f800800 0x200>; - clocks = <&rootclk LPRCCLK>; - }; +* Microchip PIC32 Watchdog Timer + +When enabled, the watchdog peripheral can be used to reset the device if the +WDT is not cleared periodically in software. + +Required properties: +- compatible: must be "microchip,pic32mzda-wdt". +- reg: physical base address of the controller and length of memory mapped + region. +- clocks: phandle of source clk. Should be <&rootclk LPRCCLK>. + +Example: + + watchdog@1f800800 { + compatible = "microchip,pic32mzda-wdt"; + reg = <0x1f800800 0x200>; + clocks = <&rootclk LPRCCLK>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/moxa,moxart-watchdog.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/moxa,moxart-watchdog.txt index f391016f1c..1169857d1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/moxa,moxart-watchdog.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/moxa,moxart-watchdog.txt @@ -1,15 +1,15 @@ -MOXA ART Watchdog timer - -Required properties: - -- compatible : Must be "moxa,moxart-watchdog" -- reg : Should contain registers location and length -- clocks : Should contain phandle for the clock that drives the counter - -Example: - - watchdog: watchdog@98500000 { - compatible = "moxa,moxart-watchdog"; - reg = <0x98500000 0x10>; - clocks = <&coreclk>; - }; +MOXA ART Watchdog timer + +Required properties: + +- compatible : Must be "moxa,moxart-watchdog" +- reg : Should contain registers location and length +- clocks : Should contain phandle for the clock that drives the counter + +Example: + + watchdog: watchdog@98500000 { + compatible = "moxa,moxart-watchdog"; + reg = <0x98500000 0x10>; + clocks = <&coreclk>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/nxp,pnx4008-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/nxp,pnx4008-wdt.yaml index 663f8ecf4d..35ef940cba 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/nxp,pnx4008-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/nxp,pnx4008-wdt.yaml @@ -1,34 +1,34 @@ -# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/nxp,pnx4008-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: NXP PNX watchdog timer - -maintainers: - - Roland Stigge - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: nxp,pnx4008-wdt - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@4003c000 { - compatible = "nxp,pnx4008-wdt"; - reg = <0x4003c000 0x1000>; - timeout-sec = <10>; - }; +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/nxp,pnx4008-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP PNX watchdog timer + +maintainers: + - Roland Stigge + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: nxp,pnx4008-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@4003c000 { + compatible = "nxp,pnx4008-wdt"; + reg = <0x4003c000 0x1000>; + timeout-sec = <10>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/omap-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/omap-wdt.txt index 44d9bccc5f..1fa20e453a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/omap-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/omap-wdt.txt @@ -1,15 +1,15 @@ -TI Watchdog Timer (WDT) Controller for OMAP - -Required properties: -- compatible : "ti,omap3-wdt" for OMAP3 or "ti,omap4-wdt" for OMAP4 -- ti,hwmods : Name of the hwmod associated to the WDT - -Optional properties: -- timeout-sec : default watchdog timeout in seconds - -Examples: - -wdt2: wdt@4a314000 { - compatible = "ti,omap4-wdt", "ti,omap3-wdt"; - ti,hwmods = "wd_timer2"; -}; +TI Watchdog Timer (WDT) Controller for OMAP + +Required properties: +- compatible : "ti,omap3-wdt" for OMAP3 or "ti,omap4-wdt" for OMAP4 +- ti,hwmods : Name of the hwmod associated to the WDT + +Optional properties: +- timeout-sec : default watchdog timeout in seconds + +Examples: + +wdt2: wdt@4a314000 { + compatible = "ti,omap4-wdt", "ti,omap3-wdt"; + ti,hwmods = "wd_timer2"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/qca,ar7130-wdt.yaml b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/qca,ar7130-wdt.yaml index 3874296c10..82040ca10e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/qca,ar7130-wdt.yaml +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/qca,ar7130-wdt.yaml @@ -1,33 +1,33 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/watchdog/qca,ar7130-wdt.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller - -maintainers: - - Gabor Juhos - -allOf: - - $ref: watchdog.yaml# - -properties: - compatible: - const: qca,ar7130-wdt - - reg: - maxItems: 1 - -required: - - compatible - - reg - -unevaluatedProperties: false - -examples: - - | - watchdog@18060008 { - compatible = "qca,ar7130-wdt"; - reg = <0x18060008 0x8>; - }; +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/watchdog/qca,ar7130-wdt.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR7130 Watchdog Timer (WDT) Controller + +maintainers: + - Gabor Juhos + +allOf: + - $ref: watchdog.yaml# + +properties: + compatible: + const: qca,ar7130-wdt + + reg: + maxItems: 1 + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + watchdog@18060008 { + compatible = "qca,ar7130-wdt"; + reg = <0x18060008 0x8>; + }; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt index 98c4b4c5d0..8f6caad425 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/watchdog/ts4800-wdt.txt @@ -1,25 +1,25 @@ -Technologic Systems Watchdog - -Required properties: -- compatible: must be "technologic,ts4800-wdt" -- syscon: phandle / integer array that points to the syscon node which - describes the FPGA's syscon registers. - - phandle to FPGA's syscon - - offset to the watchdog register - -Optional property: -- timeout-sec: contains the watchdog timeout in seconds. - -Example: - -syscon: syscon@b0010000 { - compatible = "syscon", "simple-mfd"; - reg = <0xb0010000 0x3d>; - reg-io-width = <2>; - - wdt@e { - compatible = "technologic,ts4800-wdt"; - syscon = <&syscon 0xe>; - timeout-sec = <10>; - }; -} +Technologic Systems Watchdog + +Required properties: +- compatible: must be "technologic,ts4800-wdt" +- syscon: phandle / integer array that points to the syscon node which + describes the FPGA's syscon registers. + - phandle to FPGA's syscon + - offset to the watchdog register + +Optional property: +- timeout-sec: contains the watchdog timeout in seconds. + +Example: + +syscon: syscon@b0010000 { + compatible = "syscon", "simple-mfd"; + reg = <0xb0010000 0x3d>; + reg-io-width = <2>; + + wdt@e { + compatible = "technologic,ts4800-wdt"; + syscon = <&syscon 0xe>; + timeout-sec = <10>; + }; +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/xillybus/xillybus.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/xillybus/xillybus.txt index 1cb53d9c77..e65d1f94b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/xillybus/xillybus.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/bindings/xillybus/xillybus.txt @@ -1,18 +1,18 @@ -* Xillybus driver for generic FPGA interface - -Required properties: -- compatible: Should be "xillybus,xillybus-1.00.a" -- reg: Address and length of the register set for the device -- interrupts: Contains one interrupt node, typically consisting of three cells. - -Optional properties: -- dma-coherent: Present if DMA operations are coherent - -Example: - - xillybus@ff200400 { - compatible = "xillybus,xillybus-1.00.a"; - reg = < 0xff200400 0x00000080 >; - interrupts = < 0 40 1 >; - interrupt-parent = <&intc>; - } ; +* Xillybus driver for generic FPGA interface + +Required properties: +- compatible: Should be "xillybus,xillybus-1.00.a" +- reg: Address and length of the register set for the device +- interrupts: Contains one interrupt node, typically consisting of three cells. + +Optional properties: +- dma-coherent: Present if DMA operations are coherent + +Example: + + xillybus@ff200400 { + compatible = "xillybus,xillybus-1.00.a"; + reg = < 0xff200400 0x00000080 >; + interrupts = < 0 40 1 >; + interrupt-parent = <&intc>; + } ; diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/index.rst index c844d07eb1..1a2fc80149 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/devicetree/index.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================= -Open Firmware and Devicetree -============================= - -Kernel Devicetree Usage -======================= -.. toctree:: - :maxdepth: 1 - - usage-model - of_unittest - kernel-api - -Devicetree Overlays -=================== -.. toctree:: - :maxdepth: 1 - - changesets - dynamic-resolution-notes - overlay-notes - -Devicetree Bindings -=================== -.. toctree:: - :maxdepth: 1 - - bindings/index +.. SPDX-License-Identifier: GPL-2.0 + +============================= +Open Firmware and Devicetree +============================= + +Kernel Devicetree Usage +======================= +.. toctree:: + :maxdepth: 1 + + usage-model + of_unittest + kernel-api + +Devicetree Overlays +=================== +.. toctree:: + :maxdepth: 1 + + changesets + dynamic-resolution-notes + overlay-notes + +Devicetree Bindings +=================== +.. toctree:: + :maxdepth: 1 + + bindings/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/svg_image.svg b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/svg_image.svg index 11dfcab301..5405f85b81 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/svg_image.svg +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/doc-guide/svg_image.svg @@ -1,10 +1,10 @@ - - - - - - - - + + + + + + + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/introduction.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/introduction.rst index 0a6106e6c0..4938fa8769 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/introduction.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/80211/introduction.rst @@ -1,17 +1,17 @@ -============ -Introduction -============ - -Explaining wireless 802.11 networking in the Linux kernel - -Copyright 2007-2009 Johannes Berg - -These books attempt to give a description of the various subsystems -that play a role in 802.11 wireless networking in Linux. Since these -books are for kernel developers they attempts to document the -structures and functions used in the kernel as well as giving a -higher-level overview. - -The reader is expected to be familiar with the 802.11 standard as -published by the IEEE in 802.11-2007 (or possibly later versions). -References to this standard will be given as "802.11-2007 8.1.5". +============ +Introduction +============ + +Explaining wireless 802.11 networking in the Linux kernel + +Copyright 2007-2009 Johannes Berg + +These books attempt to give a description of the various subsystems +that play a role in 802.11 wireless networking in Linux. Since these +books are for kernel developers they attempts to document the +structures and functions used in the kernel as well as giving a +higher-level overview. + +The reader is expected to be familiar with the 802.11 standard as +published by the IEEE in 802.11-2007 (or possibly later versions). +References to this standard will be given as "802.11-2007 8.1.5". diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/index.rst index 61bb290913..7f6f3dcd5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/index.rst @@ -1,41 +1,41 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: - -=================================== -Media driver-specific documentation -=================================== - -Video4Linux (V4L) drivers -========================= - -.. toctree:: - :maxdepth: 5 - - bttv-devel - cx2341x-devel - cx88-devel - fimc-devel - pvrusb2 - pxa_camera - radiotrack - rkisp1 - saa7134-devel - sh_mobile_ceu_camera - tuners - vimc-devel - zoran - ccs/ccs - ipu6 - - -Digital TV drivers -================== - -.. toctree:: - :maxdepth: 5 - - dvb-usb - frontends - vidtv - contributors +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: + +=================================== +Media driver-specific documentation +=================================== + +Video4Linux (V4L) drivers +========================= + +.. toctree:: + :maxdepth: 5 + + bttv-devel + cx2341x-devel + cx88-devel + fimc-devel + pvrusb2 + pxa_camera + radiotrack + rkisp1 + saa7134-devel + sh_mobile_ceu_camera + tuners + vimc-devel + zoran + ccs/ccs + ipu6 + + +Digital TV drivers +================== + +.. toctree:: + :maxdepth: 5 + + dvb-usb + frontends + vidtv + contributors diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/vimc-devel.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/vimc-devel.rst index 82727b0283..9e984f914b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/vimc-devel.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/drivers/vimc-devel.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -The Virtual Media Controller Driver (vimc) -========================================== - -Source code documentation -------------------------- - -vimc-streamer -~~~~~~~~~~~~~ - -.. kernel-doc:: drivers/media/test-drivers/vimc/vimc-streamer.h - :internal: - -.. kernel-doc:: drivers/media/test-drivers/vimc/vimc-streamer.c +.. SPDX-License-Identifier: GPL-2.0 + +The Virtual Media Controller Driver (vimc) +========================================== + +Source code documentation +------------------------- + +vimc-streamer +~~~~~~~~~~~~~ + +.. kernel-doc:: drivers/media/test-drivers/vimc/vimc-streamer.h + :internal: + +.. kernel-doc:: drivers/media/test-drivers/vimc/vimc-streamer.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-core.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-core.rst index 0cd65aec36..ad987c34ad 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-core.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/media/v4l2-core.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -Video4Linux devices -------------------- - -.. toctree:: - :maxdepth: 1 - - v4l2-intro - v4l2-dev - v4l2-device - v4l2-fh - v4l2-subdev - v4l2-event - v4l2-controls - v4l2-videobuf2 - v4l2-dv-timings - v4l2-flash-led-class - v4l2-mc - v4l2-mediabus - v4l2-mem2mem - v4l2-async - v4l2-fwnode - v4l2-cci - v4l2-rect - v4l2-tuner - v4l2-common - v4l2-tveeprom - v4l2-jpeg +.. SPDX-License-Identifier: GPL-2.0 + +Video4Linux devices +------------------- + +.. toctree:: + :maxdepth: 1 + + v4l2-intro + v4l2-dev + v4l2-device + v4l2-fh + v4l2-subdev + v4l2-event + v4l2-controls + v4l2-videobuf2 + v4l2-dv-timings + v4l2-flash-led-class + v4l2-mc + v4l2-mediabus + v4l2-mem2mem + v4l2-async + v4l2-fwnode + v4l2-cci + v4l2-rect + v4l2-tuner + v4l2-common + v4l2-tveeprom + v4l2-jpeg diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/index.rst index aff7d77525..eae6f18f18 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/mei/index.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: - -=================================================== -Intel(R) Management Engine Interface (Intel(R) MEI) -=================================================== - -**Copyright** |copy| 2019 Intel Corporation - - -.. toctree:: - :caption: Table of Contents - :maxdepth: 3 - - mei - mei-client-bus - iamt +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: + +=================================================== +Intel(R) Management Engine Interface (Intel(R) MEI) +=================================================== + +**Copyright** |copy| 2019 Intel Corporation + + +.. toctree:: + :caption: Table of Contents + :maxdepth: 3 + + mei + mei-client-bus + iamt diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/clients/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/clients/index.rst index e027cf8cfe..30160513af 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/clients/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/surface_aggregator/clients/index.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -=========================== -Client Driver Documentation -=========================== - -This is the documentation for client drivers themselves. Refer to -Documentation/driver-api/surface_aggregator/client.rst for documentation -on how to write client drivers. - -.. toctree:: - :maxdepth: 1 - - cdev - dtx - san - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0+ + +=========================== +Client Driver Documentation +=========================== + +This is the documentation for client drivers themselves. Refer to +Documentation/driver-api/surface_aggregator/client.rst for documentation +on how to write client drivers. + +.. toctree:: + :maxdepth: 1 + + cdev + dtx + san + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/n_tty.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/n_tty.rst index caf530183e..15b70faee7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/n_tty.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/n_tty.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===== -N_TTY -===== - -.. contents:: :local: - -The default (and fallback) :doc:`TTY line discipline `. It tries to -handle characters as per POSIX. - -External Functions -================== - -.. kernel-doc:: drivers/tty/n_tty.c - :export: - -Internal Functions -================== - -.. kernel-doc:: drivers/tty/n_tty.c - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +===== +N_TTY +===== + +.. contents:: :local: + +The default (and fallback) :doc:`TTY line discipline `. It tries to +handle characters as per POSIX. + +External Functions +================== + +.. kernel-doc:: drivers/tty/n_tty.c + :export: + +Internal Functions +================== + +.. kernel-doc:: drivers/tty/n_tty.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_internals.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_internals.rst index 1d8a78918d..d0d4158203 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_internals.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/tty/tty_internals.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -TTY Internals -============= - -.. contents:: :local: - -Kopen -===== - -These functions serve for opening a TTY from the kernelspace: - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_kopen_exclusive tty_kopen_shared tty_kclose - ----- - -Exported Internal Functions -=========================== - -.. kernel-doc:: drivers/tty/tty_io.c - :identifiers: tty_release_struct tty_dev_name_to_number tty_get_icount - ----- - -Internal Functions -================== - -.. kernel-doc:: drivers/tty/tty_io.c - :internal: +.. SPDX-License-Identifier: GPL-2.0 + +============= +TTY Internals +============= + +.. contents:: :local: + +Kopen +===== + +These functions serve for opening a TTY from the kernelspace: + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_kopen_exclusive tty_kopen_shared tty_kclose + +---- + +Exported Internal Functions +=========================== + +.. kernel-doc:: drivers/tty/tty_io.c + :identifiers: tty_release_struct tty_dev_name_to_number tty_get_icount + +---- + +Internal Functions +================== + +.. kernel-doc:: drivers/tty/tty_io.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/usb/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/usb/index.rst index 50655855c9..cfa8797ea6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/usb/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/driver-api/usb/index.rst @@ -1,30 +1,30 @@ -============= -Linux USB API -============= - -.. toctree:: - - usb - gadget - anchors - bulk-streams - callbacks - dma - URB - power-management - hotplug - persist - error-codes - writing_usb_driver - dwc3 - writing_musb_glue_layer - typec - typec_bus - usb3-debug-port - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +============= +Linux USB API +============= + +.. toctree:: + + usb + gadget + anchors + bulk-streams + callbacks + dma + URB + power-management + hotplug + persist + error-codes + writing_usb_driver + dwc3 + writing_musb_glue_layer + typec + typec_bus + usb3-debug-port + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/index.rst index a9fe4a5889..33e3c49f88 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/fb/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/fb/index.rst @@ -1,49 +1,49 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -Frame Buffer -============ - -.. toctree:: - :maxdepth: 1 - - api - arkfb - aty128fb - cirrusfb - cmap_xfbdev - deferred_io - efifb - ep93xx-fb - fbcon - framebuffer - gxfb - intel810 - internals - lxfb - matroxfb - metronomefb - modedb - pvr2fb - pxafb - s3fb - sa1100fb - sh7760fb - sisfb - sm501 - sm712fb - sstfb - tgafb - tridentfb - udlfb - uvesafb - vesafb - viafb - vt8623fb - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============ +Frame Buffer +============ + +.. toctree:: + :maxdepth: 1 + + api + arkfb + aty128fb + cirrusfb + cmap_xfbdev + deferred_io + efifb + ep93xx-fb + fbcon + framebuffer + gxfb + intel810 + internals + lxfb + matroxfb + metronomefb + modedb + pvr2fb + pxafb + s3fb + sa1100fb + sh7760fb + sisfb + sm501 + sm712fb + sstfb + tgafb + tridentfb + udlfb + uvesafb + vesafb + viafb + vt8623fb + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/features/arch-support.txt b/image/debian/UFI003_MB_V02/kernel/Documentation/features/arch-support.txt index b0cc7c85ca..118ae03184 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/features/arch-support.txt +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/features/arch-support.txt @@ -1,12 +1,12 @@ - -For generic kernel features that need architecture support, the -arch-support.txt file in each feature directory shows the arch -support matrix, for all upstream Linux architectures. - -The meaning of entries in the tables is: - - | ok | # feature supported by the architecture - |TODO| # feature not yet supported by the architecture - | .. | # feature cannot be supported by the hardware - | N/A| # feature doesn't apply to the architecture - + +For generic kernel features that need architecture support, the +arch-support.txt file in each feature directory shows the arch +support matrix, for all upstream Linux architectures. + +The meaning of entries in the tables is: + + | ok | # feature supported by the architecture + |TODO| # feature not yet supported by the architecture + | .. | # feature cannot be supported by the hardware + | N/A| # feature doesn't apply to the architecture + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext3.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext3.rst index 32ccc3ccfc..c06cec3a8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext3.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/ext3.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -Ext3 Filesystem -=============== - -Ext3 was originally released in September 1999. Written by Stephen Tweedie -for the 2.2 branch, and ported to 2.4 kernels by Peter Braam, Andreas Dilger, -Andrew Morton, Alexander Viro, Ted Ts'o and Stephen Tweedie. - -Ext3 is the ext2 filesystem enhanced with journalling capabilities. The -filesystem is a subset of ext4 filesystem so use ext4 driver for accessing -ext3 filesystems. - +.. SPDX-License-Identifier: GPL-2.0 + +=============== +Ext3 Filesystem +=============== + +Ext3 was originally released in September 1999. Written by Stephen Tweedie +for the 2.2 branch, and ported to 2.4 kernels by Peter Braam, Andreas Dilger, +Andrew Morton, Alexander Viro, Ted Ts'o and Stephen Tweedie. + +Ext3 is the ext2 filesystem enhanced with journalling capabilities. The +filesystem is a subset of ext4 filesystem so use ext4 driver for accessing +ext3 filesystems. + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/splice.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/splice.rst index 7f2d92bcb9..edd8748084 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/splice.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/filesystems/splice.rst @@ -1,22 +1,22 @@ -================ -splice and pipes -================ - -splice API -========== - -splice is a method for moving blocks of data around inside the kernel, -without continually transferring them between the kernel and user space. - -.. kernel-doc:: fs/splice.c - -pipes API -========= - -Pipe interfaces are all for in-kernel (builtin image) use. They are not -exported for use by modules. - -.. kernel-doc:: include/linux/pipe_fs_i.h - :internal: - -.. kernel-doc:: fs/pipe.c +================ +splice and pipes +================ + +splice API +========== + +splice is a method for moving blocks of data around inside the kernel, +without continually transferring them between the kernel and user space. + +.. kernel-doc:: fs/splice.c + +pipes API +========= + +Pipe interfaces are all for in-kernel (builtin image) use. They are not +exported for use by modules. + +.. kernel-doc:: include/linux/pipe_fs_i.h + :internal: + +.. kernel-doc:: fs/pipe.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/acpi/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/acpi/index.rst index fae4bda57a..b246902f52 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/acpi/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware-guide/acpi/index.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============ -ACPI Support -============ - -.. toctree:: - :maxdepth: 1 - - namespace - dsd/graph - dsd/data-node-references - dsd/leds - dsd/phy - enumeration - osi - method-tracing - DSD-properties-rules - debug - aml-debugger - apei/output_format - apei/einj - gpio-properties - i2c-muxes - acpi-lid - lpit - video_extension - non-d0-probe - extcon-intel-int3496 - intel-pmc-mux - chromeos-acpi-device +.. SPDX-License-Identifier: GPL-2.0 + +============ +ACPI Support +============ + +.. toctree:: + :maxdepth: 1 + + namespace + dsd/graph + dsd/data-node-references + dsd/leds + dsd/phy + enumeration + osi + method-tracing + DSD-properties-rules + debug + aml-debugger + apei/output_format + apei/einj + gpio-properties + i2c-muxes + acpi-lid + lpit + video_extension + non-d0-probe + extcon-intel-int3496 + intel-pmc-mux + chromeos-acpi-device diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware_class/hotplug-script b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware_class/hotplug-script index 48750f5bb1..8143a950b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/firmware_class/hotplug-script +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/firmware_class/hotplug-script @@ -1,17 +1,17 @@ -#!/bin/sh - -# Simple hotplug script sample: -# -# Both $DEVPATH and $FIRMWARE are already provided in the environment. - -HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ - -if [ "$SUBSYSTEM" == "firmware" -a "$ACTION" == "add" ]; then - if [ -f $HOTPLUG_FW_DIR/$FIRMWARE ]; then - echo 1 > /sys/$DEVPATH/loading - cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data - echo 0 > /sys/$DEVPATH/loading - else - echo -1 > /sys/$DEVPATH/loading - fi -fi +#!/bin/sh + +# Simple hotplug script sample: +# +# Both $DEVPATH and $FIRMWARE are already provided in the environment. + +HOTPLUG_FW_DIR=/usr/lib/hotplug/firmware/ + +if [ "$SUBSYSTEM" == "firmware" -a "$ACTION" == "add" ]; then + if [ -f $HOTPLUG_FW_DIR/$FIRMWARE ]; then + echo 1 > /sys/$DEVPATH/loading + cat $HOTPLUG_FW_DIR/$FIRMWARE > /sys/$DEVPATH/data + echo 0 > /sys/$DEVPATH/loading + else + echo -1 > /sys/$DEVPATH/loading + fi +fi diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/display/trace-groups-table.csv b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/display/trace-groups-table.csv index e7bcec4aa9..3f6a50d1d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/display/trace-groups-table.csv +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/display/trace-groups-table.csv @@ -1,29 +1,29 @@ -Name, Mask Value -INFO, 0x1 -IRQ SVC, 0x2 -VBIOS, 0x4 -REGISTER, 0x8 -PHY DBG, 0x10 -PSR, 0x20 -AUX, 0x40 -SMU, 0x80 -MALL, 0x100 -ABM, 0x200 -ALPM, 0x400 -TIMER, 0x800 -HW LOCK MGR, 0x1000 -INBOX1, 0x2000 -PHY SEQ, 0x4000 -PSR STATE, 0x8000 -ZSTATE, 0x10000 -TRANSMITTER CTL, 0x20000 -PANEL CNTL, 0x40000 -FAMS, 0x80000 -DPIA, 0x100000 -SUBVP, 0x200000 -INBOX0, 0x400000 -SDP, 0x4000000 -REPLAY, 0x8000000 -REPLAY RESIDENCY, 0x20000000 -CURSOR INFO, 0x80000000 -IPS, 0x100000000 +Name, Mask Value +INFO, 0x1 +IRQ SVC, 0x2 +VBIOS, 0x4 +REGISTER, 0x8 +PHY DBG, 0x10 +PSR, 0x20 +AUX, 0x40 +SMU, 0x80 +MALL, 0x100 +ABM, 0x200 +ALPM, 0x400 +TIMER, 0x800 +HW LOCK MGR, 0x1000 +INBOX1, 0x2000 +PHY SEQ, 0x4000 +PSR STATE, 0x8000 +ZSTATE, 0x10000 +TRANSMITTER CTL, 0x20000 +PANEL CNTL, 0x40000 +FAMS, 0x80000 +DPIA, 0x100000 +SUBVP, 0x200000 +INBOX0, 0x400000 +SDP, 0x4000000 +REPLAY, 0x8000000 +REPLAY RESIDENCY, 0x20000000 +CURSOR INFO, 0x80000000 +IPS, 0x100000000 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/index.rst index 66bbc07580..847e049240 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/amdgpu/index.rst @@ -1,19 +1,19 @@ -========================== - drm/amdgpu AMDgpu driver -========================== - -The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core -Next (GCN), Radeon DNA (RDNA), and Compute DNA (CDNA) architectures. - -.. toctree:: - - module-parameters - driver-core - display/index - flashing - xgmi - ras - thermal - driver-misc - debugging - amdgpu-glossary +========================== + drm/amdgpu AMDgpu driver +========================== + +The drm/amdgpu driver supports all AMD Radeon GPUs based on the Graphics Core +Next (GCN), Radeon DNA (RDNA), and Compute DNA (CDNA) architectures. + +.. toctree:: + + module-parameters + driver-core + display/index + flashing + xgmi + ras + thermal + driver-misc + debugging + amdgpu-glossary diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/bridge/dw-hdmi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/bridge/dw-hdmi.rst index a4cad95fd9..486faadf00 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/bridge/dw-hdmi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/bridge/dw-hdmi.rst @@ -1,15 +1,15 @@ -======================================================= - drm/bridge/dw-hdmi Synopsys DesignWare HDMI Controller -======================================================= - -Synopsys DesignWare HDMI Controller -=================================== - -This section covers everything related to the Synopsys DesignWare HDMI -Controller implemented as a DRM bridge. - -Supported Input Formats and Encodings -------------------------------------- - -.. kernel-doc:: include/drm/bridge/dw_hdmi.h - :doc: Supported input formats and encodings +======================================================= + drm/bridge/dw-hdmi Synopsys DesignWare HDMI Controller +======================================================= + +Synopsys DesignWare HDMI Controller +=================================== + +This section covers everything related to the Synopsys DesignWare HDMI +Controller implemented as a DRM bridge. + +Supported Input Formats and Encodings +------------------------------------- + +.. kernel-doc:: include/drm/bridge/dw_hdmi.h + :doc: Supported input formats and encodings diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/driver-uapi.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/driver-uapi.rst index 3e0c74a320..971cdb4816 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/driver-uapi.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/driver-uapi.rst @@ -1,29 +1,29 @@ -=============== -DRM Driver uAPI -=============== - -drm/i915 uAPI -============= - -.. kernel-doc:: include/uapi/drm/i915_drm.h - -drm/nouveau uAPI -================ - -VM_BIND / EXEC uAPI -------------------- - -.. kernel-doc:: drivers/gpu/drm/nouveau/nouveau_exec.c - :doc: Overview - -.. kernel-doc:: include/uapi/drm/nouveau_drm.h - -drm/panthor uAPI -================ - -.. kernel-doc:: include/uapi/drm/panthor_drm.h - -drm/xe uAPI -=========== - -.. kernel-doc:: include/uapi/drm/xe_drm.h +=============== +DRM Driver uAPI +=============== + +drm/i915 uAPI +============= + +.. kernel-doc:: include/uapi/drm/i915_drm.h + +drm/nouveau uAPI +================ + +VM_BIND / EXEC uAPI +------------------- + +.. kernel-doc:: drivers/gpu/drm/nouveau/nouveau_exec.c + :doc: Overview + +.. kernel-doc:: include/uapi/drm/nouveau_drm.h + +drm/panthor uAPI +================ + +.. kernel-doc:: include/uapi/drm/panthor_drm.h + +drm/xe uAPI +=========== + +.. kernel-doc:: include/uapi/drm/xe_drm.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drivers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drivers.rst index 4cc9daa8c0..b899cbc5c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drivers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/drivers.rst @@ -1,31 +1,31 @@ -======================== -GPU Driver Documentation -======================== - -.. toctree:: - :maxdepth: 3 - - amdgpu/index - i915 - imagination/index - mcde - meson - pl111 - tegra - tve200 - v3d - vc4 - vkms - bridge/dw-hdmi - xen-front - xe/index - afbc - komeda-kms - panfrost - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +======================== +GPU Driver Documentation +======================== + +.. toctree:: + :maxdepth: 3 + + amdgpu/index + i915 + imagination/index + mcde + meson + pl111 + tegra + tve200 + v3d + vc4 + vkms + bridge/dw-hdmi + xen-front + xe/index + afbc + komeda-kms + panfrost + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/index.rst index e0b34c1078..37e383ccf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/index.rst @@ -1,30 +1,30 @@ -============================ -GPU Driver Developer's Guide -============================ - -.. toctree:: - - introduction - drm-internals - drm-mm - drm-kms - drm-kms-helpers - drm-uapi - drm-usage-stats - driver-uapi - drm-client - drivers - backlight - vga-switcheroo - vgaarbiter - automated_testing - implementation_guidelines - todo - rfc/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +============================ +GPU Driver Developer's Guide +============================ + +.. toctree:: + + introduction + drm-internals + drm-mm + drm-kms + drm-kms-helpers + drm-uapi + drm-usage-stats + driver-uapi + drm-client + drivers + backlight + vga-switcheroo + vgaarbiter + automated_testing + implementation_guidelines + todo + rfc/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/index.rst index f86fc1641c..89bbdcccf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/index.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -======================= -drm/xe Intel GFX Driver -======================= - -The drm/xe driver supports some future GFX cards with rendering, display, -compute and media. Support for currently available platforms like TGL, ADL, -DG2, etc is provided to prototype the driver. - -.. toctree:: - :titlesonly: - - xe_mm - xe_map - xe_migrate - xe_cs - xe_pm - xe_gt_freq - xe_pcode - xe_gt_mcr - xe_wa - xe_rtp - xe_firmware - xe_tile - xe_debugging - xe-drm-usage-stats.rst +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +======================= +drm/xe Intel GFX Driver +======================= + +The drm/xe driver supports some future GFX cards with rendering, display, +compute and media. Support for currently available platforms like TGL, ADL, +DG2, etc is provided to prototype the driver. + +.. toctree:: + :titlesonly: + + xe_mm + xe_map + xe_migrate + xe_cs + xe_pm + xe_gt_freq + xe_pcode + xe_gt_mcr + xe_wa + xe_rtp + xe_firmware + xe_tile + xe_debugging + xe-drm-usage-stats.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_mm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_mm.rst index d1d8f78954..95864a4502 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_mm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_mm.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -================= -Memory Management -================= - -.. kernel-doc:: drivers/gpu/drm/xe/xe_bo_doc.h - :doc: Buffer Objects (BO) - -GGTT -==== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt.c - :doc: Global Graphics Translation Table (GGTT) - -GGTT Internal API ------------------ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt_types.h - :internal: - -.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt.c - :internal: - -Pagetable building -================== - -.. kernel-doc:: drivers/gpu/drm/xe/xe_pt.c - :doc: Pagetable building +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +================= +Memory Management +================= + +.. kernel-doc:: drivers/gpu/drm/xe/xe_bo_doc.h + :doc: Buffer Objects (BO) + +GGTT +==== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt.c + :doc: Global Graphics Translation Table (GGTT) + +GGTT Internal API +----------------- + +.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt_types.h + :internal: + +.. kernel-doc:: drivers/gpu/drm/xe/xe_ggtt.c + :internal: + +Pagetable building +================== + +.. kernel-doc:: drivers/gpu/drm/xe/xe_pt.c + :doc: Pagetable building diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_rtp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_rtp.rst index 176f20e92d..7fdf4b6c1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_rtp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/gpu/xe/xe_rtp.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -========================= -Register Table Processing -========================= - -.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.c - :doc: Register Table Processing - -Internal API -============ - -.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp_types.h - :internal: - -.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.h - :internal: - -.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.c - :internal: +.. SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +========================= +Register Table Processing +========================= + +.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.c + :doc: Register Table Processing + +Internal API +============ + +.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp_types.h + :internal: + +.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.h + :internal: + +.. kernel-doc:: drivers/gpu/drm/xe/xe_rtp.c + :internal: diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/cros_ec_hwmon.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/cros_ec_hwmon.rst index 17026ae962..47ecae983b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/cros_ec_hwmon.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/cros_ec_hwmon.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver cros_ec_hwmon -=========================== - -Supported chips: - - * ChromeOS embedded controllers. - - Prefix: 'cros_ec' - - Addresses scanned: - - -Author: - - - Thomas Weißschuh - -Description ------------ - -This driver implements support for hardware monitoring commands exposed by the -ChromeOS embedded controller used in Chromebooks and other devices. - -The channel labels exposed via hwmon are retrieved from the EC itself. - -Fan and temperature readings are supported. +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver cros_ec_hwmon +=========================== + +Supported chips: + + * ChromeOS embedded controllers. + + Prefix: 'cros_ec' + + Addresses scanned: - + +Author: + + - Thomas Weißschuh + +Description +----------- + +This driver implements support for hardware monitoring commands exposed by the +ChromeOS embedded controller used in Chromebooks and other devices. + +The channel labels exposed via hwmon are retrieved from the EC itself. + +Fan and temperature readings are supported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/raspberrypi-hwmon.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/raspberrypi-hwmon.rst index 6bf8c6e748..8038ade364 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/raspberrypi-hwmon.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/raspberrypi-hwmon.rst @@ -1,25 +1,25 @@ -Kernel driver raspberrypi-hwmon -=============================== - -Supported boards: - - * Raspberry Pi A+ (via GPIO on SoC) - * Raspberry Pi B+ (via GPIO on SoC) - * Raspberry Pi 2 B (via GPIO on SoC) - * Raspberry Pi 3 B (via GPIO on port expander) - * Raspberry Pi 3 B+ (via PMIC) - -Author: Stefan Wahren - -Description ------------ - -This driver periodically polls a mailbox property of the VC4 firmware to detect -undervoltage conditions. - -Sysfs entries -------------- - -======================= ================== -in0_lcrit_alarm Undervoltage alarm -======================= ================== +Kernel driver raspberrypi-hwmon +=============================== + +Supported boards: + + * Raspberry Pi A+ (via GPIO on SoC) + * Raspberry Pi B+ (via GPIO on SoC) + * Raspberry Pi 2 B (via GPIO on SoC) + * Raspberry Pi 3 B (via GPIO on port expander) + * Raspberry Pi 3 B+ (via PMIC) + +Author: Stefan Wahren + +Description +----------- + +This driver periodically polls a mailbox property of the VC4 firmware to detect +undervoltage conditions. + +Sysfs entries +------------- + +======================= ================== +in0_lcrit_alarm Undervoltage alarm +======================= ================== diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sy7636a-hwmon.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sy7636a-hwmon.rst index 3dedbe653a..c85db7b329 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sy7636a-hwmon.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/sy7636a-hwmon.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -Kernel driver sy7636a-hwmon -=========================== - -Supported chips: - - * Silergy SY7636A PMIC - - -Description ------------ - -This driver adds hardware temperature reading support for -the Silergy SY7636A PMIC. - -The following sensors are supported - - * Temperature - - SoC on-die temperature in milli-degree C - -sysfs-Interface ---------------- - -temp0_input - - SoC on-die temperature (milli-degree C) +.. SPDX-License-Identifier: GPL-2.0-or-later + +Kernel driver sy7636a-hwmon +=========================== + +Supported chips: + + * Silergy SY7636A PMIC + + +Description +----------- + +This driver adds hardware temperature reading support for +the Silergy SY7636A PMIC. + +The following sensors are supported + + * Temperature + - SoC on-die temperature in milli-degree C + +sysfs-Interface +--------------- + +temp0_input + - SoC on-die temperature (milli-degree C) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tc74.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tc74.rst index 8a0024c3d5..f1764211c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tc74.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/hwmon/tc74.rst @@ -1,23 +1,23 @@ -Kernel driver tc74 -==================== - -Supported chips: - - * Microchip TC74 - - Prefix: 'tc74' - - Datasheet: Publicly available at Microchip website. - -Description ------------ - -Driver supports the above part. - -The tc74 has an 8-bit sensor, with 1 degree centigrade resolution -and +- 2 degrees centigrade accuracy. - -Notes ------ - -Currently entering low power standby mode is not supported. +Kernel driver tc74 +==================== + +Supported chips: + + * Microchip TC74 + + Prefix: 'tc74' + + Datasheet: Publicly available at Microchip website. + +Description +----------- + +Driver supports the above part. + +The tc74 has an 8-bit sensor, with 1 degree centigrade resolution +and +- 2 degrees centigrade accuracy. + +Notes +----- + +Currently entering low power standby mode is not supported. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd-mp2.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd-mp2.rst index 839b5a14c8..ebc2fa8993 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd-mp2.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-amd-mp2.rst @@ -1,25 +1,25 @@ -========================= -Kernel driver i2c-amd-mp2 -========================= - -Supported adapters: - * AMD MP2 PCIe interface - -Datasheet: not publicly available. - -Authors: - - Shyam Sundar S K - - Nehal Shah - - Elie Morisse - -Description ------------ - -The MP2 is an ARM processor programmed as an I2C controller and communicating -with the x86 host through PCI. - -If you see something like this:: - - 03:00.7 MP2 I2C controller: Advanced Micro Devices, Inc. [AMD] Device 15e6 - -in your ``lspci -v``, then this driver is for your device. +========================= +Kernel driver i2c-amd-mp2 +========================= + +Supported adapters: + * AMD MP2 PCIe interface + +Datasheet: not publicly available. + +Authors: + - Shyam Sundar S K + - Nehal Shah + - Elie Morisse + +Description +----------- + +The MP2 is an ARM processor programmed as an I2C controller and communicating +with the x86 host through PCI. + +If you see something like this:: + + 03:00.7 MP2 I2C controller: Advanced Micro Devices, Inc. [AMD] Device 15e6 + +in your ``lspci -v``, then this driver is for your device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-nvidia-gpu.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-nvidia-gpu.rst index c3ae4d0fd7..38fb8a4c87 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-nvidia-gpu.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-nvidia-gpu.rst @@ -1,20 +1,20 @@ -============================ -Kernel driver i2c-nvidia-gpu -============================ - -Datasheet: not publicly available. - -Authors: - Ajay Gupta - -Description ------------ - -i2c-nvidia-gpu is a driver for I2C controller included in NVIDIA Turing -and later GPUs and it is used to communicate with Type-C controller on GPUs. - -If your ``lspci -v`` listing shows something like the following:: - - 01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1) - -then this driver should support the I2C controller of your GPU. +============================ +Kernel driver i2c-nvidia-gpu +============================ + +Datasheet: not publicly available. + +Authors: + Ajay Gupta + +Description +----------- + +i2c-nvidia-gpu is a driver for I2C controller included in NVIDIA Turing +and later GPUs and it is used to communicate with Type-C controller on GPUs. + +If your ``lspci -v`` listing shows something like the following:: + + 01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1ad9 (rev a1) + +then this driver should support the I2C controller of your GPU. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-pca-isa.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-pca-isa.rst index 6438799beb..a254010c80 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-pca-isa.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/i2c-pca-isa.rst @@ -1,26 +1,26 @@ -========================= -Kernel driver i2c-pca-isa -========================= - -Supported adapters: - -This driver supports ISA boards using the Philips PCA 9564 -Parallel bus to I2C bus controller - -Author: Ian Campbell , Arcom Control Systems - -Module Parameters ------------------ - -* base int - I/O base address -* irq int - IRQ interrupt -* clock int - Clock rate as described in table 1 of PCA9564 datasheet - -Description ------------ - -This driver supports ISA boards using the Philips PCA 9564 -Parallel bus to I2C bus controller +========================= +Kernel driver i2c-pca-isa +========================= + +Supported adapters: + +This driver supports ISA boards using the Philips PCA 9564 +Parallel bus to I2C bus controller + +Author: Ian Campbell , Arcom Control Systems + +Module Parameters +----------------- + +* base int + I/O base address +* irq int + IRQ interrupt +* clock int + Clock rate as described in table 1 of PCA9564 datasheet + +Description +----------- + +This driver supports ISA boards using the Philips PCA 9564 +Parallel bus to I2C bus controller diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/index.rst index b6cf632f61..5e4077b08d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/i2c/busses/index.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=============== -I2C Bus Drivers -=============== - -.. toctree:: - :maxdepth: 1 - - i2c-ali1535 - i2c-ali1563 - i2c-ali15x3 - i2c-amd756 - i2c-amd8111 - i2c-amd-mp2 - i2c-diolan-u2c - i2c-i801 - i2c-ismt - i2c-mlxcpld - i2c-nforce2 - i2c-nvidia-gpu - i2c-ocores - i2c-parport - i2c-pca-isa - i2c-piix4 - i2c-sis5595 - i2c-sis630 - i2c-sis96x - i2c-taos-evm - i2c-viapro - i2c-via - scx200_acb +.. SPDX-License-Identifier: GPL-2.0 + +=============== +I2C Bus Drivers +=============== + +.. toctree:: + :maxdepth: 1 + + i2c-ali1535 + i2c-ali1563 + i2c-ali15x3 + i2c-amd756 + i2c-amd8111 + i2c-amd-mp2 + i2c-diolan-u2c + i2c-i801 + i2c-ismt + i2c-mlxcpld + i2c-nforce2 + i2c-nvidia-gpu + i2c-ocores + i2c-parport + i2c-pca-isa + i2c-piix4 + i2c-sis5595 + i2c-sis630 + i2c-sis96x + i2c-taos-evm + i2c-viapro + i2c-via + scx200_acb diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/iio/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/iio/index.rst index aba78c78e9..dfcf961856 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/iio/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/iio/index.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============== -Industrial I/O -============== - -.. toctree:: - :maxdepth: 1 - - iio_configfs - iio_devbuf - iio_dmabuf_api - iio_tools - -Industrial I/O Kernel Drivers -============================= - -.. toctree:: - :maxdepth: 1 - - ad4000 - ad4695 - ad7380 - ad7944 - adis16475 - adis16480 - adxl380 - bno055 - ep93xx_adc +.. SPDX-License-Identifier: GPL-2.0 + +============== +Industrial I/O +============== + +.. toctree:: + :maxdepth: 1 + + iio_configfs + iio_devbuf + iio_dmabuf_api + iio_tools + +Industrial I/O Kernel Drivers +============================= + +.. toctree:: + :maxdepth: 1 + + ad4000 + ad4695 + ad7380 + ad7944 + adis16475 + adis16480 + adxl380 + bno055 + ep93xx_adc diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/m_isdn.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/m_isdn.rst index 8882423c1e..5847a16428 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/m_isdn.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/isdn/m_isdn.rst @@ -1,9 +1,9 @@ -============ -mISDN Driver -============ - -mISDN is a new modular ISDN driver, in the long term it should replace -the old I4L driver architecture for passive ISDN cards. -It was designed to allow a broad range of applications and interfaces -but only have the basic function in kernel, the interface to the user -space is based on sockets with a own address family AF_ISDN. +============ +mISDN Driver +============ + +mISDN is a new modular ISDN driver, in the long term it should replace +the old I4L driver architecture for passive ISDN cards. +It was designed to allow a broad range of applications and interfaces +but only have the basic function in kernel, the interface to the user +space is based on sockets with a own address family AF_ISDN. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/index.rst index 930a08338b..cee2f99f73 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/kbuild/index.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -Kernel Build System -=================== - -.. toctree:: - :maxdepth: 1 - - kconfig-language - kconfig-macro-language - - kbuild - kconfig - makefiles - modules - - headers_install - - issues - reproducible-builds - gcc-plugins - llvm - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +=================== +Kernel Build System +=================== + +.. toctree:: + :maxdepth: 1 + + kconfig-language + kconfig-macro-language + + kbuild + kconfig + makefiles + modules + + headers_install + + issues + reproducible-builds + gcc-plugins + llvm + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/leds/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/leds/index.rst index f02dcb853b..3ade16c183 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/leds/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/leds/index.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==== -LEDs -==== - -.. toctree:: - :maxdepth: 1 - - leds-class - leds-class-flash - leds-class-multicolor - ledtrig-oneshot - ledtrig-transient - ledtrig-usbport - - uleds - - leds-blinkm - leds-cht-wcove - leds-el15203000 - leds-lm3556 - leds-lp3944 - leds-lp5521 - leds-lp5523 - leds-lp5562 - leds-lp55xx - leds-mlxcpld - leds-mt6370-rgb - leds-sc27xx - leds-qcom-lpg +.. SPDX-License-Identifier: GPL-2.0 + +==== +LEDs +==== + +.. toctree:: + :maxdepth: 1 + + leds-class + leds-class-flash + leds-class-multicolor + ledtrig-oneshot + ledtrig-transient + ledtrig-usbport + + uleds + + leds-blinkm + leds-cht-wcove + leds-el15203000 + leds-lm3556 + leds-lp3944 + leds-lp5521 + leds-lp5523 + leds-lp5562 + leds-lp55xx + leds-mlxcpld + leds-mt6370-rgb + leds-sc27xx + leds-qcom-lpg diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus index 0805d44aa8..9a8e31a44b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus @@ -1,32 +1,32 @@ -C Atomic-RMW+mb__after_atomic-is-stronger-than-acquire - -(* - * Result: Never - * - * Test that an atomic RMW followed by a smp_mb__after_atomic() is - * stronger than a normal acquire: both the read and write parts of - * the RMW are ordered before the subsequential memory accesses. - *) - -{ -} - -P0(int *x, atomic_t *y) -{ - int r0; - int r1; - - r0 = READ_ONCE(*x); - smp_rmb(); - r1 = atomic_read(y); -} - -P1(int *x, atomic_t *y) -{ - atomic_inc(y); - smp_mb__after_atomic(); - WRITE_ONCE(*x, 1); -} - -exists -(0:r0=1 /\ 0:r1=0) +C Atomic-RMW+mb__after_atomic-is-stronger-than-acquire + +(* + * Result: Never + * + * Test that an atomic RMW followed by a smp_mb__after_atomic() is + * stronger than a normal acquire: both the read and write parts of + * the RMW are ordered before the subsequential memory accesses. + *) + +{ +} + +P0(int *x, atomic_t *y) +{ + int r0; + int r1; + + r0 = READ_ONCE(*x); + smp_rmb(); + r1 = atomic_read(y); +} + +P1(int *x, atomic_t *y) +{ + atomic_inc(y); + smp_mb__after_atomic(); + WRITE_ONCE(*x, 1); +} + +exists +(0:r0=1 /\ 0:r1=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus index f52567640d..ffd4d3e79c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/Atomic-RMW-ops-are-atomic-WRT-atomic_set.litmus @@ -1,25 +1,25 @@ -C Atomic-RMW-ops-are-atomic-WRT-atomic_set - -(* - * Result: Never - * - * Test that atomic_set() cannot break the atomicity of atomic RMWs. - * NOTE: This requires herd7 7.56 or later which supports "(void)expr". - *) - -{ - atomic_t v = ATOMIC_INIT(1); -} - -P0(atomic_t *v) -{ - (void)atomic_add_unless(v, 1, 0); -} - -P1(atomic_t *v) -{ - atomic_set(v, 0); -} - -exists -(v=2) +C Atomic-RMW-ops-are-atomic-WRT-atomic_set + +(* + * Result: Never + * + * Test that atomic_set() cannot break the atomicity of atomic RMWs. + * NOTE: This requires herd7 7.56 or later which supports "(void)expr". + *) + +{ + atomic_t v = ATOMIC_INIT(1); +} + +P0(atomic_t *v) +{ + (void)atomic_add_unless(v, 1, 0); +} + +P1(atomic_t *v) +{ + atomic_set(v, 0); +} + +exists +(v=2) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus index 8d1e1de8ff..c0f93dc071 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus @@ -1,35 +1,35 @@ -C cmpxchg-fail-ordered-1 - -(* - * Result: Never - * - * Demonstrate that a failing cmpxchg() operation will act as a full - * barrier when followed by smp_mb__after_atomic(). - *) - -{} - -P0(int *x, int *y, int *z) -{ - int r0; - int r1; - - WRITE_ONCE(*x, 1); - r1 = cmpxchg(z, 1, 0); - smp_mb__after_atomic(); - r0 = READ_ONCE(*y); -} - -P1(int *x, int *y, int *z) -{ - int r0; - int r1; - - WRITE_ONCE(*y, 1); - r1 = cmpxchg(z, 1, 0); - smp_mb__after_atomic(); - r0 = READ_ONCE(*x); -} - -locations[0:r1;1:r1] -exists (0:r0=0 /\ 1:r0=0) +C cmpxchg-fail-ordered-1 + +(* + * Result: Never + * + * Demonstrate that a failing cmpxchg() operation will act as a full + * barrier when followed by smp_mb__after_atomic(). + *) + +{} + +P0(int *x, int *y, int *z) +{ + int r0; + int r1; + + WRITE_ONCE(*x, 1); + r1 = cmpxchg(z, 1, 0); + smp_mb__after_atomic(); + r0 = READ_ONCE(*y); +} + +P1(int *x, int *y, int *z) +{ + int r0; + int r1; + + WRITE_ONCE(*y, 1); + r1 = cmpxchg(z, 1, 0); + smp_mb__after_atomic(); + r0 = READ_ONCE(*x); +} + +locations[0:r1;1:r1] +exists (0:r0=0 /\ 1:r0=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus index 5d19b012fd..5c06054f46 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus @@ -1,30 +1,30 @@ -C cmpxchg-fail-ordered-2 - -(* - * Result: Never - * - * Demonstrate use of smp_mb__after_atomic() to make a failing cmpxchg - * operation have acquire ordering. - *) - -{} - -P0(int *x, int *y) -{ - int r1; - - WRITE_ONCE(*x, 1); - r1 = cmpxchg(y, 0, 1); -} - -P1(int *x, int *y) -{ - int r1; - int r2; - - r1 = cmpxchg(y, 0, 1); - smp_mb__after_atomic(); - r2 = READ_ONCE(*x); -} - -exists (0:r1=0 /\ 1:r1=1 /\ 1:r2=0) +C cmpxchg-fail-ordered-2 + +(* + * Result: Never + * + * Demonstrate use of smp_mb__after_atomic() to make a failing cmpxchg + * operation have acquire ordering. + *) + +{} + +P0(int *x, int *y) +{ + int r1; + + WRITE_ONCE(*x, 1); + r1 = cmpxchg(y, 0, 1); +} + +P1(int *x, int *y) +{ + int r1; + int r2; + + r1 = cmpxchg(y, 0, 1); + smp_mb__after_atomic(); + r2 = READ_ONCE(*x); +} + +exists (0:r1=0 /\ 1:r1=1 /\ 1:r2=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus index 7b68bf4dc6..39ea1f56a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus @@ -1,34 +1,34 @@ -C cmpxchg-fail-unordered-1 - -(* - * Result: Sometimes - * - * Demonstrate that a failing cmpxchg() operation does not act as a - * full barrier. (In contrast, a successful cmpxchg() does act as a - * full barrier.) - *) - -{} - -P0(int *x, int *y, int *z) -{ - int r0; - int r1; - - WRITE_ONCE(*x, 1); - r1 = cmpxchg(z, 1, 0); - r0 = READ_ONCE(*y); -} - -P1(int *x, int *y, int *z) -{ - int r0; - int r1; - - WRITE_ONCE(*y, 1); - r1 = cmpxchg(z, 1, 0); - r0 = READ_ONCE(*x); -} - -locations[0:r1;1:r1] -exists (0:r0=0 /\ 1:r0=0) +C cmpxchg-fail-unordered-1 + +(* + * Result: Sometimes + * + * Demonstrate that a failing cmpxchg() operation does not act as a + * full barrier. (In contrast, a successful cmpxchg() does act as a + * full barrier.) + *) + +{} + +P0(int *x, int *y, int *z) +{ + int r0; + int r1; + + WRITE_ONCE(*x, 1); + r1 = cmpxchg(z, 1, 0); + r0 = READ_ONCE(*y); +} + +P1(int *x, int *y, int *z) +{ + int r0; + int r1; + + WRITE_ONCE(*y, 1); + r1 = cmpxchg(z, 1, 0); + r0 = READ_ONCE(*x); +} + +locations[0:r1;1:r1] +exists (0:r0=0 /\ 1:r0=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus index b6728d7935..61aab24a4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus @@ -1,30 +1,30 @@ -C cmpxchg-fail-unordered-2 - -(* - * Result: Sometimes - * - * Demonstrate that a failing cmpxchg() operation does not act as either - * an acquire release operation. (In contrast, a successful cmpxchg() - * does act as both an acquire and a release operation.) - *) - -{} - -P0(int *x, int *y) -{ - int r1; - - WRITE_ONCE(*x, 1); - r1 = cmpxchg(y, 0, 1); -} - -P1(int *x, int *y) -{ - int r1; - int r2; - - r1 = cmpxchg(y, 0, 1); - r2 = READ_ONCE(*x); -} - -exists (0:r1=0 /\ 1:r1=1 /\ 1:r2=0) +C cmpxchg-fail-unordered-2 + +(* + * Result: Sometimes + * + * Demonstrate that a failing cmpxchg() operation does not act as either + * an acquire release operation. (In contrast, a successful cmpxchg() + * does act as both an acquire and a release operation.) + *) + +{} + +P0(int *x, int *y) +{ + int r1; + + WRITE_ONCE(*x, 1); + r1 = cmpxchg(y, 0, 1); +} + +P1(int *x, int *y) +{ + int r1; + int r2; + + r1 = cmpxchg(y, 0, 1); + r2 = READ_ONCE(*x); +} + +exists (0:r1=0 /\ 1:r1=1 /\ 1:r2=0) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/api.rst index 7eb7a9eba4..78944b63d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/livepatch/api.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================= -Livepatching APIs -================= - -Livepatch Enablement -==================== - -.. kernel-doc:: kernel/livepatch/core.c - :export: - - -Shadow Variables -================ - -.. kernel-doc:: kernel/livepatch/shadow.c - :export: - -System State Changes -==================== - -.. kernel-doc:: kernel/livepatch/state.c - :export: - -Object Types -============ - -.. kernel-doc:: include/linux/livepatch.h - :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state +.. SPDX-License-Identifier: GPL-2.0 + +================= +Livepatching APIs +================= + +Livepatch Enablement +==================== + +.. kernel-doc:: kernel/livepatch/core.c + :export: + + +Shadow Variables +================ + +.. kernel-doc:: kernel/livepatch/shadow.c + :export: + +System State Changes +==================== + +.. kernel-doc:: kernel/livepatch/state.c + :export: + +Object Types +============ + +.. kernel-doc:: include/linux/livepatch.h + :identifiers: klp_patch klp_object klp_func klp_callbacks klp_state diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/locking/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/locking/index.rst index 68a74ae638..6a9ea96c8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/locking/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/locking/index.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GPL-2.0 - -======= -Locking -======= - -.. toctree:: - :maxdepth: 1 - - locktypes - lockdep-design - lockstat - locktorture - mutex-design - rt-mutex-design - rt-mutex - seqlock - spinlocks - ww-mutex-design - preempt-locking - pi-futex - futex-requeue-pi - hwspinlock - percpu-rw-semaphore - robust-futexes - robust-futex-ABI - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +======= +Locking +======= + +.. toctree:: + :maxdepth: 1 + + locktypes + lockdep-design + lockstat + locktorture + mutex-design + rt-mutex-design + rt-mutex + seqlock + spinlocks + ww-mutex-design + preempt-locking + pi-futex + futex-requeue-pi + hwspinlock + percpu-rw-semaphore + robust-futexes + robust-futex-ABI + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/maintainer/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/maintainer/index.rst index 7406c0f0be..eeee27f8b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/maintainer/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/maintainer/index.rst @@ -1,19 +1,19 @@ -========================== -Kernel Maintainer Handbook -========================== - -This document is the humble beginning of a manual for kernel maintainers. -There is a lot yet to go here! Please feel free to propose (and write) -additions to this manual. - -.. toctree:: - :maxdepth: 2 - - feature-and-driver-maintainers - configure-git - rebasing-and-merging - pull-requests - messy-diffstat - maintainer-entry-profile - modifying-patches - +========================== +Kernel Maintainer Handbook +========================== + +This document is the humble beginning of a manual for kernel maintainers. +There is a lot yet to go here! Please feel free to propose (and write) +additions to this manual. + +.. toctree:: + :maxdepth: 2 + + feature-and-driver-maintainers + configure-git + rebasing-and-merging + pull-requests + messy-diffstat + maintainer-entry-profile + modifying-patches + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/misc-devices/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/misc-devices/index.rst index ae152e8125..8c5b226d83 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/misc-devices/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/misc-devices/index.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================================ -Assorted Miscellaneous Devices Documentation -============================================ - -This documentation contains information for assorted devices that do not -fit into other categories. - -.. toctree:: - :caption: Table of contents - :maxdepth: 2 - - ad525x_dpot - apds990x - bh1770glc - c2port - dw-xdata-pcie - ibmvmc - ics932s401 - isl29003 - lis3lv02d - max6875 - mrvl_cn10k_dpi - oxsemi-tornado - pci-endpoint-test - spear-pcie-gadget - tps6594-pfsm - uacce - xilinx_sdfec +.. SPDX-License-Identifier: GPL-2.0 + +============================================ +Assorted Miscellaneous Devices Documentation +============================================ + +This documentation contains information for assorted devices that do not +fit into other categories. + +.. toctree:: + :caption: Table of contents + :maxdepth: 2 + + ad525x_dpot + apds990x + bh1770glc + c2port + dw-xdata-pcie + ibmvmc + ics932s401 + isl29003 + lis3lv02d + max6875 + mrvl_cn10k_dpi + oxsemi-tornado + pci-endpoint-test + spear-pcie-gadget + tps6594-pfsm + uacce + xilinx_sdfec diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/damon/api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/damon/api.rst index d12c71a8b7..08f34df455 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/damon/api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/damon/api.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============= -API Reference -============= - -Kernel space programs can use every feature of DAMON using below APIs. All you -need to do is including ``damon.h``, which is located in ``include/linux/`` of -the source tree. - -Structures -========== - -.. kernel-doc:: include/linux/damon.h - - -Functions -========= - -.. kernel-doc:: mm/damon/core.c +.. SPDX-License-Identifier: GPL-2.0 + +============= +API Reference +============= + +Kernel space programs can use every feature of DAMON using below APIs. All you +need to do is including ``damon.h``, which is located in ``include/linux/`` of +the source tree. + +Structures +========== + +.. kernel-doc:: include/linux/damon.h + + +Functions +========= + +.. kernel-doc:: mm/damon/core.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_cache.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_cache.rst index 07b2db4b84..138d61f869 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_cache.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/mm/page_cache.rst @@ -1,15 +1,15 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========== -Page Cache -========== - -The page cache is the primary way that the user and the rest of the kernel -interact with filesystems. It can be bypassed (e.g. with O_DIRECT), -but normal reads, writes and mmaps go through the page cache. - -Folios -====== - -The folio is the unit of memory management within the page cache. -Operations +.. SPDX-License-Identifier: GPL-2.0 + +========== +Page Cache +========== + +The page cache is the primary way that the user and the rest of the kernel +interact with filesystems. It can be bypassed (e.g. with O_DIRECT), +but normal reads, writes and mmaps go through the page cache. + +Folios +====== + +The folio is the unit of memory management within the page cache. +Operations diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/atm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/atm.rst index 6d7d8e6d77..c1df8c0385 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/atm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/atm.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=== -ATM -=== - -In order to use anything but the most primitive functions of ATM, -several user-mode programs are required to assist the kernel. These -programs and related material can be found via the ATM on Linux Web -page at http://linux-atm.sourceforge.net/ - -If you encounter problems with ATM, please report them on the ATM -on Linux mailing list. Subscription information, archives, etc., -can be found on http://linux-atm.sourceforge.net/ +.. SPDX-License-Identifier: GPL-2.0 + +=== +ATM +=== + +In order to use anything but the most primitive functions of ATM, +several user-mode programs are required to assist the kernel. These +programs and related material can be found via the ATM on Linux Web +page at http://linux-atm.sourceforge.net/ + +If you encounter problems with ATM, please report them on the ATM +on Linux mailing list. Subscription information, archives, etc., +can be found on http://linux-atm.sourceforge.net/ diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/can/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/can/index.rst index dbe672801b..6a8a4f74fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/can/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/can/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Controller Area Network (CAN) Device Drivers -============================================ - -Device drivers for CAN devices. - -Contents: - -.. toctree:: - :maxdepth: 2 - - can327 - ctu/ctucanfd-driver - freescale/flexcan - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Controller Area Network (CAN) Device Drivers +============================================ + +Device drivers for CAN devices. + +Contents: + +.. toctree:: + :maxdepth: 2 + + can327 + ctu/ctucanfd-driver + freescale/flexcan + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/index.rst index 062593eb24..581a91caa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/index.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB -.. include:: - -Mellanox ConnectX(R) mlx5 core VPI Network Driver -================================================= - -:Copyright: |copy| 2019, Mellanox Technologies LTD. -:Copyright: |copy| 2020-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. - -Contents: - -.. toctree:: - :maxdepth: 2 - - kconfig - switchdev - tracepoints - counters - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB +.. include:: + +Mellanox ConnectX(R) mlx5 core VPI Network Driver +================================================= + +:Copyright: |copy| 2019, Mellanox Technologies LTD. +:Copyright: |copy| 2020-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + +Contents: + +.. toctree:: + :maxdepth: 2 + + kconfig + switchdev + tracepoints + counters + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst index dc018a8ad0..43a02f9943 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst @@ -1,14 +1,14 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================================================= -Linux Base Driver for WangXun(R) Gigabit PCI Express Adapters -============================================================= - -WangXun Gigabit Linux driver. -Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd. - -Support -======= - If you have problems with the software or hardware, please contact our - customer support team via email at nic-support@net-swift.com or check our website - at https://www.net-swift.com +.. SPDX-License-Identifier: GPL-2.0 + +============================================================= +Linux Base Driver for WangXun(R) Gigabit PCI Express Adapters +============================================================= + +WangXun Gigabit Linux driver. +Copyright (c) 2019 - 2022 Beijing WangXun Technology Co., Ltd. + +Support +======= + If you have problems with the software or hardware, please contact our + customer support team via email at nic-support@net-swift.com or check our website + at https://www.net-swift.com diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst index f732e07ce0..d052ef40fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================================================ -Linux Base Driver for WangXun(R) 10 Gigabit PCI Express Adapters -================================================================ - -WangXun 10 Gigabit Linux driver. -Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. - - -Contents -======== - -- Support - - -Support -======= -If you got any problem, contact Wangxun support team via nic-support@net-swift.com -and Cc: netdev. +.. SPDX-License-Identifier: GPL-2.0 + +================================================================ +Linux Base Driver for WangXun(R) 10 Gigabit PCI Express Adapters +================================================================ + +WangXun 10 Gigabit Linux driver. +Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. + + +Contents +======== + +- Support + + +Support +======= +If you got any problem, contact Wangxun support team via nic-support@net-swift.com +and Cc: netdev. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/index.rst index 972df5662b..0dd30a84ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/device_drivers/index.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) - -Hardware Device Drivers -======================= - -Contents: - -.. toctree:: - :maxdepth: 2 - - atm/index - cable/index - can/index - cellular/index - ethernet/index - fddi/index - hamradio/index - wifi/index - wwan/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) + +Hardware Device Drivers +======================= + +Contents: + +.. toctree:: + :maxdepth: 2 + + atm/index + cable/index + can/index + cellular/index + ethernet/index + fddi/index + hamradio/index + wifi/index + wwan/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/am65-nuss-cpsw-switch.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/am65-nuss-cpsw-switch.rst index a7b0c8ba42..1e589c26ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/am65-nuss-cpsw-switch.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/am65-nuss-cpsw-switch.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -am65-cpsw-nuss devlink support -============================== - -This document describes the devlink features implemented by the ``am65-cpsw-nuss`` -device driver. - -Parameters -========== - -The ``am65-cpsw-nuss`` driver implements the following driver-specific -parameters. - -.. list-table:: Driver-specific parameters implemented - :widths: 5 5 5 85 - - * - Name - - Type - - Mode - - Description - * - ``switch_mode`` - - Boolean - - runtime - - Enable switch mode +.. SPDX-License-Identifier: GPL-2.0 + +============================== +am65-cpsw-nuss devlink support +============================== + +This document describes the devlink features implemented by the ``am65-cpsw-nuss`` +device driver. + +Parameters +========== + +The ``am65-cpsw-nuss`` driver implements the following driver-specific +parameters. + +.. list-table:: Driver-specific parameters implemented + :widths: 5 5 5 85 + + * - Name + - Type + - Mode + - Description + * - ``switch_mode`` + - Boolean + - runtime + - Enable switch mode diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ionic.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ionic.rst index 5bcb2dea8c..48da9c92d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ionic.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/ionic.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -ionic devlink support -===================== - -This document describes the devlink features implemented by the ``ionic`` -device driver. - -Info versions -============= - -The ``ionic`` driver reports the following versions - -.. list-table:: devlink info versions implemented - :widths: 5 5 90 - - * - Name - - Type - - Description - * - ``fw`` - - running - - Version of firmware running on the device - * - ``asic.id`` - - fixed - - The ASIC type for this device - * - ``asic.rev`` - - fixed - - The revision of the ASIC for this device +.. SPDX-License-Identifier: GPL-2.0 + +===================== +ionic devlink support +===================== + +This document describes the devlink features implemented by the ``ionic`` +device driver. + +Info versions +============= + +The ``ionic`` driver reports the following versions + +.. list-table:: devlink info versions implemented + :widths: 5 5 90 + + * - Name + - Type + - Description + * - ``fw`` + - running + - Version of firmware running on the device + * - ``asic.id`` + - fixed + - The ASIC type for this device + * - ``asic.rev`` + - fixed + - The revision of the ASIC for this device diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/qed.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/qed.rst index 033defacd5..805c6f6362 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/qed.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/devlink/qed.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================== -qed devlink support -=================== - -This document describes the devlink features implemented by the ``qed`` core -device driver. - -Parameters -========== - -The ``qed`` driver implements the following driver-specific parameters. - -.. list-table:: Driver-specific parameters implemented - :widths: 5 5 5 85 - - * - Name - - Type - - Mode - - Description - * - ``iwarp_cmt`` - - Boolean - - runtime - - Enable iWARP functionality for 100g devices. Note that this impacts - L2 performance, and is therefore not enabled by default. +.. SPDX-License-Identifier: GPL-2.0 + +=================== +qed devlink support +=================== + +This document describes the devlink features implemented by the ``qed`` core +device driver. + +Parameters +========== + +The ``qed`` driver implements the following driver-specific parameters. + +.. list-table:: Driver-specific parameters implemented + :widths: 5 5 5 85 + + * - Name + - Type + - Mode + - Description + * - ``iwarp_cmt`` + - Boolean + - runtime + - Enable iWARP functionality for 100g devices. Note that this impacts + L2 performance, and is therefore not enabled by default. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ioam6-sysctl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ioam6-sysctl.rst index 9f9fa3a1ab..c18cab2c48 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ioam6-sysctl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/ioam6-sysctl.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 - -===================== -IOAM6 Sysfs variables -===================== - - -/proc/sys/net/conf//ioam6_* variables: -============================================= - -ioam6_enabled - BOOL - Accept (= enabled) or ignore (= disabled) IPv6 IOAM options on ingress - for this interface. - - * 0 - disabled (default) - * 1 - enabled - -ioam6_id - SHORT INTEGER - Define the IOAM id of this interface. - - Default is ~0. - -ioam6_id_wide - INTEGER - Define the wide IOAM id of this interface. - - Default is ~0. +.. SPDX-License-Identifier: GPL-2.0 + +===================== +IOAM6 Sysfs variables +===================== + + +/proc/sys/net/conf//ioam6_* variables: +============================================= + +ioam6_enabled - BOOL + Accept (= enabled) or ignore (= disabled) IPv6 IOAM options on ingress + for this interface. + + * 0 - disabled (default) + * 1 - enabled + +ioam6_id - SHORT INTEGER + Define the IOAM id of this interface. + + Default is ~0. + +ioam6_id_wide - INTEGER + Define the wide IOAM id of this interface. + + Default is ~0. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netfilter-sysctl.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netfilter-sysctl.rst index d3a6770b6b..beb6d7b275 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netfilter-sysctl.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/networking/netfilter-sysctl.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -Netfilter Sysfs variables -========================= - -/proc/sys/net/netfilter/* Variables: -==================================== - -nf_log_all_netns - BOOLEAN - - 0 - disabled (default) - - not 0 - enabled - - By default, only init_net namespace can log packets into kernel log - with LOG target; this aims to prevent containers from flooding host - kernel log. If enabled, this target also works in other network - namespaces. This variable is only accessible from init_net. +.. SPDX-License-Identifier: GPL-2.0 + +========================= +Netfilter Sysfs variables +========================= + +/proc/sys/net/netfilter/* Variables: +==================================== + +nf_log_all_netns - BOOLEAN + - 0 - disabled (default) + - not 0 - enabled + + By default, only init_net namespace can log packets into kernel log + with LOG target; this aims to prevent containers from flooding host + kernel log. If enabled, this target also works in other network + namespaces. This variable is only accessible from init_net. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/process/maintainer-handbooks.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/process/maintainer-handbooks.rst index ae57eb478a..976391cec5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/process/maintainer-handbooks.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/process/maintainer-handbooks.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. _maintainer_handbooks_main: - -Subsystem and maintainer tree specific development process notes -================================================================ - -The purpose of this document is to provide subsystem specific information -which is supplementary to the general development process handbook -:ref:`Documentation/process `. - -Contents: - -.. toctree:: - :numbered: - :maxdepth: 2 - - maintainer-netdev - maintainer-soc - maintainer-soc-clean-dts - maintainer-tip - maintainer-kvm-x86 +.. SPDX-License-Identifier: GPL-2.0 + +.. _maintainer_handbooks_main: + +Subsystem and maintainer tree specific development process notes +================================================================ + +The purpose of this document is to provide subsystem specific information +which is supplementary to the general development process handbook +:ref:`Documentation/process `. + +Contents: + +.. toctree:: + :numbered: + :maxdepth: 2 + + maintainer-netdev + maintainer-soc + maintainer-soc-clean-dts + maintainer-tip + maintainer-kvm-x86 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/index.rst index e364a6ac91..5dd53e47bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/scheduler/index.rst @@ -1,34 +1,34 @@ -========= -Scheduler -========= - -.. toctree:: - :maxdepth: 1 - - - completion - membarrier - sched-arch - sched-bwc - sched-deadline - sched-design-CFS - sched-eevdf - sched-domains - sched-capacity - sched-energy - schedutil - sched-util-clamp - sched-nice-design - sched-rt-group - sched-stats - sched-ext - sched-debug - - text_files - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +========= +Scheduler +========= + +.. toctree:: + :maxdepth: 1 + + + completion + membarrier + sched-arch + sched-bwc + sched-deadline + sched-design-CFS + sched-eevdf + sched-domains + sched-capacity + sched-energy + schedutil + sched-util-clamp + sched-nice-design + sched-rt-group + sched-stats + sched-ext + sched-debug + + text_files + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/ppa.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/ppa.rst index 1174cde71a..5fe3859a68 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/ppa.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/scsi/ppa.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================================== -Terse where to get ZIP Drive help info -====================================== - -General Iomega ZIP drive page for Linux: -http://web.archive.org/web/%2E/http://www.torque.net/~campbell/ - -Driver archive for old drivers: -http://web.archive.org/web/%2E/http://www.torque.net/~campbell/ppa - -Linux Parport page (parallel port) -http://web.archive.org/web/%2E/http://www.torque.net/parport/ - -Email list for Linux Parport -linux-parport@torque.net - +.. SPDX-License-Identifier: GPL-2.0 + +====================================== +Terse where to get ZIP Drive help info +====================================== + +General Iomega ZIP drive page for Linux: +http://web.archive.org/web/%2E/http://www.torque.net/~campbell/ + +Driver archive for old drivers: +http://web.archive.org/web/%2E/http://www.torque.net/~campbell/ppa + +Linux Parport page (parallel port) +http://web.archive.org/web/%2E/http://www.torque.net/parport/ + +Email list for Linux Parport +linux-parport@torque.net + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/index.rst index 054d84bc6e..c437f2a4bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sound/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sound/index.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================= -Sound Subsystem Documentation -============================= - -.. toctree:: - :maxdepth: 2 - - kernel-api/index - designs/index - soc/index - alsa-configuration - hd-audio/index - cards/index - utimers - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============================= +Sound Subsystem Documentation +============================= + +.. toctree:: + :maxdepth: 2 + + kernel-api/index + designs/index + soc/index + alsa-configuration + hd-audio/index + cards/index + utimers + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx-static/theme_rtd_colors.css b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx-static/theme_rtd_colors.css index 4b4d095efb..55b6e1c366 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx-static/theme_rtd_colors.css +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx-static/theme_rtd_colors.css @@ -1,37 +1,37 @@ -/* -*- coding: utf-8; mode: css -*- - * - * Sphinx HTML theme customization: color settings for RTD (non-dark) theme - * - */ - -/* Improve contrast and increase size for easier reading. */ - -body { - color: black; -} - -.wy-menu-vertical li.current a { - color: #505050; -} - -.wy-menu-vertical li.on a, .wy-menu-vertical li.current > a { - color: #303030; -} - -div[class^="highlight"] pre { - color: black; -} - -@media screen { - - /* Menu selection and keystrokes */ - - span.menuselection { - color: blue; - } - - code.kbd, code.kbd span { - color: white; - background-color: darkblue; - } -} +/* -*- coding: utf-8; mode: css -*- + * + * Sphinx HTML theme customization: color settings for RTD (non-dark) theme + * + */ + +/* Improve contrast and increase size for easier reading. */ + +body { + color: black; +} + +.wy-menu-vertical li.current a { + color: #505050; +} + +.wy-menu-vertical li.on a, .wy-menu-vertical li.current > a { + color: #303030; +} + +div[class^="highlight"] pre { + color: black; +} + +@media screen { + + /* Menu selection and keystrokes */ + + span.menuselection { + color: blue; + } + + code.kbd, code.kbd span { + color: white; + background-color: darkblue; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/kernellog.py b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/kernellog.py index 98e69cea26..0bc00c138c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/kernellog.py +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/kernellog.py @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Sphinx has deprecated its older logging interface, but the replacement -# only goes back to 1.6. So here's a wrapper layer to keep around for -# as long as we support 1.4. -# -# We don't support 1.4 anymore, but we'll keep the wrappers around until -# we change all the code to not use them anymore :) -# -import sphinx -from sphinx.util import logging - -logger = logging.getLogger('kerneldoc') - -def warn(app, message): - logger.warning(message) - -def verbose(app, message): - logger.verbose(message) - -def info(app, message): - logger.info(message) +# SPDX-License-Identifier: GPL-2.0 +# +# Sphinx has deprecated its older logging interface, but the replacement +# only goes back to 1.6. So here's a wrapper layer to keep around for +# as long as we support 1.4. +# +# We don't support 1.4 anymore, but we'll keep the wrappers around until +# we change all the code to not use them anymore :) +# +import sphinx +from sphinx.util import logging + +logger = logging.getLogger('kerneldoc') + +def warn(app, message): + logger.warning(message) + +def verbose(app, message): + logger.verbose(message) + +def info(app, message): + logger.info(message) diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/translations.html b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/translations.html index 95a2d90e2b..8df5d42d8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/translations.html +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/sphinx/templates/translations.html @@ -1,15 +1,15 @@ - - - -{# Create a language menu for translations #} -{% if languages|length > 0: %} -
-{{ current_language }} - - -
-{% endif %} + + + +{# Create a language menu for translations #} +{% if languages|length > 0: %} +
+{{ current_language }} + + +
+{% endif %} diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tee/tee.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tee/tee.rst index f053f53b27..fd9f8c4ff6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tee/tee.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tee/tee.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 - -=================================== -TEE (Trusted Execution Environment) -=================================== - -This document describes the TEE subsystem in Linux. - -Overview -======== - -A TEE is a trusted OS running in some secure environment, for example, -TrustZone on ARM CPUs, or a separate secure co-processor etc. A TEE driver -handles the details needed to communicate with the TEE. - -This subsystem deals with: - -- Registration of TEE drivers - -- Managing shared memory between Linux and the TEE - -- Providing a generic API to the TEE +.. SPDX-License-Identifier: GPL-2.0 + +=================================== +TEE (Trusted Execution Environment) +=================================== + +This document describes the TEE subsystem in Linux. + +Overview +======== + +A TEE is a trusted OS running in some secure environment, for example, +TrustZone on ARM CPUs, or a separate secure co-processor etc. A TEE driver +handles the details needed to communicate with the TEE. + +This subsystem deals with: + +- Registration of TEE drivers + +- Managing shared memory between Linux and the TEE + +- Providing a generic API to the TEE diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_hist_options.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_hist_options.rst index 92817e45c0..df53ff835b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_hist_options.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_hist_options.rst @@ -1,23 +1,23 @@ -**-b**, **--bucket-size** *N* - - Set the histogram bucket size (default *1*). - -**-E**, **--entries** *N* - - Set the number of entries of the histogram (default 256). - -**--no-header** - - Do not print header. - -**--no-summary** - - Do not print summary. - -**--no-index** - - Do not print index. - -**--with-zeros** - - Print zero only entries. +**-b**, **--bucket-size** *N* + + Set the histogram bucket size (default *1*). + +**-E**, **--entries** *N* + + Set the number of entries of the histogram (default 256). + +**--no-header** + + Do not print header. + +**--no-summary** + + Do not print summary. + +**--no-index** + + Do not print index. + +**--with-zeros** + + Print zero only entries. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_osnoise_description.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_osnoise_description.rst index 92aa0b8f44..d5d61615b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_osnoise_description.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_osnoise_description.rst @@ -1,8 +1,8 @@ -The **rtla osnoise** tool is an interface for the *osnoise* tracer. The -*osnoise* tracer dispatches a kernel thread per-cpu. These threads read the -time in a loop while with preemption, softirq and IRQs enabled, thus -allowing all the sources of operating system noise during its execution. -The *osnoise*'s tracer threads take note of the delta between each time -read, along with an interference counter of all sources of interference. -At the end of each period, the *osnoise* tracer displays a summary of -the results. +The **rtla osnoise** tool is an interface for the *osnoise* tracer. The +*osnoise* tracer dispatches a kernel thread per-cpu. These threads read the +time in a loop while with preemption, softirq and IRQs enabled, thus +allowing all the sources of operating system noise during its execution. +The *osnoise*'s tracer threads take note of the delta between each time +read, along with an interference counter of all sources of interference. +At the end of each period, the *osnoise* tracer displays a summary of +the results. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_description.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_description.rst index b419493d75..321201cb85 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_description.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/common_timerlat_description.rst @@ -1,10 +1,10 @@ -The **rtla timerlat** tool is an interface for the *timerlat* tracer. The -*timerlat* tracer dispatches a kernel thread per-cpu. These threads -set a periodic timer to wake themselves up and go back to sleep. After -the wakeup, they collect and generate useful information for the -debugging of operating system timer latency. - -The *timerlat* tracer outputs information in two ways. It periodically -prints the timer latency at the timer *IRQ* handler and the *Thread* -handler. It also enable the trace of the most relevant information via -**osnoise:** tracepoints. +The **rtla timerlat** tool is an interface for the *timerlat* tracer. The +*timerlat* tracer dispatches a kernel thread per-cpu. These threads +set a periodic timer to wake themselves up and go back to sleep. After +the wakeup, they collect and generate useful information for the +debugging of operating system timer latency. + +The *timerlat* tracer outputs information in two ways. It periodically +prints the timer latency at the timer *IRQ* handler and the *Thread* +handler. It also enable the trace of the most relevant information via +**osnoise:** tracepoints. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/index.rst index 295b7275c1..05d2652e40 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rtla/index.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================================ -The realtime Linux analysis tool -================================ - -RTLA provides a set of tools for the analysis of the kernel's realtime -behavior on specific hardware. - -.. toctree:: - :maxdepth: 1 - - rtla - rtla-osnoise - rtla-osnoise-hist - rtla-osnoise-top - rtla-timerlat - rtla-timerlat-hist - rtla-timerlat-top - rtla-hwnoise - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================================ +The realtime Linux analysis tool +================================ + +RTLA provides a set of tools for the analysis of the kernel's realtime +behavior on specific hardware. + +.. toctree:: + :maxdepth: 1 + + rtla + rtla-osnoise + rtla-osnoise-hist + rtla-osnoise-top + rtla-timerlat + rtla-timerlat-hist + rtla-timerlat-top + rtla-hwnoise + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_ikm.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_ikm.rst index 2c8effebb2..e50a5f8a71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_ikm.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/common_ikm.rst @@ -1,21 +1,21 @@ -**-h**, **--help** - - Print the monitor's options and the available reactors list. - -**-r**, **--reactor** *reactor* - - Enables the *reactor*. See **-h** for a list of available reactors. - -**-s**, **--self** - - When tracing (**-t**), also print the events that happened during the **rv** - command itself. If the **rv** command itself generates too many events, - the tool might get busy processing its own events only. - -**-t**, **--trace** - - Trace monitor's events and error. - -**-v**, **--verbose** - - Print debug messages. +**-h**, **--help** + + Print the monitor's options and the available reactors list. + +**-r**, **--reactor** *reactor* + + Enables the *reactor*. See **-h** for a list of available reactors. + +**-s**, **--self** + + When tracing (**-t**), also print the events that happened during the **rv** + command itself. If the **rv** command itself generates too many events, + the tool might get busy processing its own events only. + +**-t**, **--trace** + + Trace monitor's events and error. + +**-v**, **--verbose** + + Print debug messages. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/index.rst index 61d7e3695a..8fd16d91d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/tools/rv/index.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GPL-2.0 - -============================== -Runtime verification (rv) tool -============================== - -**rv** tool provides the interface for a collection of runtime verification -(rv) monitors. - -.. toctree:: - :maxdepth: 1 - - rv - rv-list - rv-mon - rv-mon-wip - rv-mon-wwnr - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +============================== +Runtime verification (rv) tool +============================== + +**rv** tool provides the interface for a collection of runtime verification +(rv) monitors. + +.. toctree:: + :maxdepth: 1 + + rv + rv-list + rv-mon + rv-mon-wip + rv-mon-wwnr + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/index.rst index 8365a264f0..0b300901fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/trace/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/trace/index.rst @@ -1,38 +1,38 @@ -========================== -Linux Tracing Technologies -========================== - -.. toctree:: - :maxdepth: 2 - - ftrace-design - tracepoint-analysis - ftrace - ftrace-uses - fprobe - kprobes - kprobetrace - uprobetracer - fprobetrace - tracepoints - events - events-kmem - events-power - events-nmi - events-msr - mmiotrace - histogram - histogram-design - boottime-trace - hwlat_detector - osnoise-tracer - timerlat-tracer - intel_th - ring-buffer-design - ring-buffer-map - stm - sys-t - coresight/index - user_events - rv/index - hisi-ptt +========================== +Linux Tracing Technologies +========================== + +.. toctree:: + :maxdepth: 2 + + ftrace-design + tracepoint-analysis + ftrace + ftrace-uses + fprobe + kprobes + kprobetrace + uprobetracer + fprobetrace + tracepoints + events + events-kmem + events-power + events-nmi + events-msr + mmiotrace + histogram + histogram-design + boottime-trace + hwlat_detector + osnoise-tracer + timerlat-tracer + intel_th + ring-buffer-design + ring-buffer-map + stm + sys-t + coresight/index + user_events + rv/index + hisi-ptt diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/index.rst index 1ab3db9fbf..dad20402d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/core-api/index.rst @@ -1,30 +1,30 @@ -=============================== -Documentazione dell'API di base -=============================== - -Utilità di base -=============== - -.. toctree:: - :maxdepth: 1 - - symbol-namespaces - -Primitive di sincronizzazione -============================= - -Come Linux impedisce che tutto si verifichi contemporaneamente. Consultate -Documentation/translations/it_IT/locking/index.rst per maggiorni informazioni -sul tema. - -.. toctree:: - :maxdepth: 1 - - ../RCU/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +=============================== +Documentazione dell'API di base +=============================== + +Utilità di base +=============== + +.. toctree:: + :maxdepth: 1 + + symbol-namespaces + +Primitive di sincronizzazione +============================= + +Come Linux impedisce che tutto si verifichi contemporaneamente. Consultate +Documentation/translations/it_IT/locking/index.rst per maggiorni informazioni +sul tema. + +.. toctree:: + :maxdepth: 1 + + ../RCU/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/doc-guide/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/doc-guide/index.rst index 44836eb97c..9fffff6267 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/doc-guide/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/doc-guide/index.rst @@ -1,24 +1,24 @@ -.. include:: ../disclaimer-ita.rst - -.. note:: Per leggere la documentazione originale in inglese: - :ref:`Documentation/doc-guide/index.rst ` - -.. _it_doc_guide: - -========================================== -Come scrivere la documentazione del kernel -========================================== - -.. toctree:: - :maxdepth: 1 - - sphinx - kernel-doc - parse-headers - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. include:: ../disclaimer-ita.rst + +.. note:: Per leggere la documentazione originale in inglese: + :ref:`Documentation/doc-guide/index.rst ` + +.. _it_doc_guide: + +========================================== +Come scrivere la documentazione del kernel +========================================== + +.. toctree:: + :maxdepth: 1 + + sphinx + kernel-doc + parse-headers + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/i2c/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/i2c/index.rst index 8040b25e19..14fbe3d782 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/i2c/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/i2c/index.rst @@ -1,46 +1,46 @@ -.. SPDX-License-Identifier: GPL-2.0 - -========================= -Il sottosistema I2C/SMBus -========================= - -Introduzione -============ - -.. toctree:: - :maxdepth: 1 - - summary - i2c-protocol - -Scrivere un device driver -========================= - -.. toctree:: - :maxdepth: 1 - -Debugging -========= - -.. toctree:: - :maxdepth: 1 - -Slave I2C -========= - -.. toctree:: - :maxdepth: 1 - - -Argomenti avanzati -================== - -.. toctree:: - :maxdepth: 1 - -.. only:: subproject and html - - Indici - ====== - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +========================= +Il sottosistema I2C/SMBus +========================= + +Introduzione +============ + +.. toctree:: + :maxdepth: 1 + + summary + i2c-protocol + +Scrivere un device driver +========================= + +.. toctree:: + :maxdepth: 1 + +Debugging +========= + +.. toctree:: + :maxdepth: 1 + +Slave I2C +========= + +.. toctree:: + :maxdepth: 1 + + +Argomenti avanzati +================== + +.. toctree:: + :maxdepth: 1 + +.. only:: subproject and html + + Indici + ====== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/applying-patches.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/applying-patches.rst index 1ea3421cff..1d30e5cd2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/applying-patches.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/applying-patches.rst @@ -1,15 +1,15 @@ -.. include:: ../disclaimer-ita.rst - -:Original: :ref:`Documentation/process/applying-patches.rst ` -:Translator: Federico Vaga - -.. _it_applying_patches: - -Applicare patch al kernel Linux -+++++++++++++++++++++++++++++++ - -.. note:: - - Questo documento è obsoleto. Nella maggior parte dei casi, piuttosto - che usare ``patch`` manualmente, vorrete usare Git. Per questo motivo - il documento non verrà tradotto. +.. include:: ../disclaimer-ita.rst + +:Original: :ref:`Documentation/process/applying-patches.rst ` +:Translator: Federico Vaga + +.. _it_applying_patches: + +Applicare patch al kernel Linux ++++++++++++++++++++++++++++++++ + +.. note:: + + Questo documento è obsoleto. Nella maggior parte dei casi, piuttosto + che usare ``patch`` manualmente, vorrete usare Git. Per questo motivo + il documento non verrà tradotto. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainers.rst index 4fe371b920..3225f7c89f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/it_IT/process/maintainers.rst @@ -1,13 +1,13 @@ -:Original: Documentation/process/maintainers.rst - -Lista dei manutentori e come inviare modifiche al kernel -======================================================== - -Questa pagina non verrà tradotta. Fate riferimento alla versione originale in -inglese. - -.. note:: La pagina originale usa una direttiva speciale per integrare il file - `MAINTAINERS` in sphinx. La parte di quel documento che si potrebbe - tradurre contiene comunque informazioni già presenti in - :ref:`Documentation/translations/it_IT/process/submitting-patches.rst - `. +:Original: Documentation/process/maintainers.rst + +Lista dei manutentori e come inviare modifiche al kernel +======================================================== + +Questa pagina non verrà tradotta. Fate riferimento alla versione originale in +inglese. + +.. note:: La pagina originale usa una direttiva speciale per integrare il file + `MAINTAINERS` in sphinx. La parte di quel documento che si potrebbe + tradurre contiene comunque informazioni già presenti in + :ref:`Documentation/translations/it_IT/process/submitting-patches.rst + `. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/core-api/wrappers/memory-barriers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/core-api/wrappers/memory-barriers.rst index e220ed740f..526ae534dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/core-api/wrappers/memory-barriers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/ko_KR/core-api/wrappers/memory-barriers.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 - This is a simple wrapper to bring memory-barriers.txt into the RST world - until such a time as that file can be converted directly. - -========================= -리눅스 커널 메모리 배리어 -========================= - -.. raw:: latex - - \footnotesize - -.. include:: ../../memory-barriers.txt - :literal: - -.. raw:: latex - - \normalsize +.. SPDX-License-Identifier: GPL-2.0 + This is a simple wrapper to bring memory-barriers.txt into the RST world + until such a time as that file can be converted directly. + +========================= +리눅스 커널 메모리 배리어 +========================= + +.. raw:: latex + + \footnotesize + +.. include:: ../../memory-barriers.txt + :literal: + +.. raw:: latex + + \normalsize diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/disclaimer-sp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/disclaimer-sp.rst index e16eb70b38..841c2523e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/disclaimer-sp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/disclaimer-sp.rst @@ -1,9 +1,9 @@ -:orphan: - -.. warning:: - Si tiene alguna duda sobre la exactitud del contenido de esta - traducción, la única referencia válida es la documentación oficial en - inglés. - Además, por defecto, los enlaces a documentos redirigen a la - documentación en inglés, incluso si existe una versión traducida. - Consulte el índice para más información. +:orphan: + +.. warning:: + Si tiene alguna duda sobre la exactitud del contenido de esta + traducción, la única referencia válida es la documentación oficial en + inglés. + Además, por defecto, los enlaces a documentos redirigen a la + documentación en inglés, incluso si existe una versión traducida. + Consulte el índice para más información. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/index.rst index b2878faab4..adb2cc8459 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/process/index.rst @@ -1,32 +1,32 @@ -.. raw:: latex - - \renewcommand\thesection* - \renewcommand\thesubsection* - -.. include:: ../disclaimer-sp.rst - -.. _sp_process_index: - -.. toctree:: - :maxdepth: 1 - - submitting-patches - kernel-docs - coding-style - code-of-conduct - kernel-enforcement-statement - email-clients - magic-number - programming-language - deprecated - adding-syscalls - researcher-guidelines - contribution-maturity-model - security-bugs - embargoed-hardware-issues - handling-regressions - management-style - submit-checklist - howto - development-process - maintainer-kvm-x86 +.. raw:: latex + + \renewcommand\thesection* + \renewcommand\thesubsection* + +.. include:: ../disclaimer-sp.rst + +.. _sp_process_index: + +.. toctree:: + :maxdepth: 1 + + submitting-patches + kernel-docs + coding-style + code-of-conduct + kernel-enforcement-statement + email-clients + magic-number + programming-language + deprecated + adding-syscalls + researcher-guidelines + contribution-maturity-model + security-bugs + embargoed-hardware-issues + handling-regressions + management-style + submit-checklist + howto + development-process + maintainer-kvm-x86 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/wrappers/memory-barriers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/wrappers/memory-barriers.rst index 20dd69ee1e..50715b7d51 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/wrappers/memory-barriers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/sp_SP/wrappers/memory-barriers.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GPL-2.0 - This is a simple wrapper to bring memory-barriers.txt (Spanish - translation) into the RST world until such a time as that file can be - converted directly. - -==================================== -Barreras de Memoria del kernel Linux -==================================== - -.. raw:: latex - - \footnotesize - -.. include:: ../memory-barriers.txt - :literal: - -.. raw:: latex - - \normalsize +.. SPDX-License-Identifier: GPL-2.0 + This is a simple wrapper to bring memory-barriers.txt (Spanish + translation) into the RST world until such a time as that file can be + converted directly. + +==================================== +Barreras de Memoria del kernel Linux +==================================== + +.. raw:: latex + + \footnotesize + +.. include:: ../memory-barriers.txt + :literal: + +.. raw:: latex + + \normalsize diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/PCI/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/PCI/index.rst index 39c65cff16..cbeb33c34a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/PCI/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/PCI/index.rst @@ -1,34 +1,34 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/PCI/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - -=================== -Linux PCI总线子系统 -=================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - pci - pciebus-howto - pci-iov-howto - msi-howto - sysfs-pci - acpi-info - - -Todolist: - -* pci-error-recovery -* pcieaer-howto -* endpoint/index -* boot-interrupts +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/PCI/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + +=================== +Linux PCI总线子系统 +=================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + pci + pciebus-howto + pci-iov-howto + msi-howto + sysfs-pci + acpi-info + + +Todolist: + +* pci-error-recovery +* pcieaer-howto +* endpoint/index +* boot-interrupts diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/mm/damon/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/mm/damon/index.rst index 4996243cd2..6f8676a50b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/mm/damon/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/admin-guide/mm/damon/index.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../../disclaimer-zh_CN.rst - -:Original: Documentation/admin-guide/mm/damon/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - -============ -监测数据访问 -============ - -:doc:`DAMON ` 允许轻量级的数据访问监测。使用DAMON, -用户可以分析他们系统的内存访问模式,并优化它们。 - -.. toctree:: - :maxdepth: 2 - - start - usage - reclaim - lru_sort - - - - +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../../disclaimer-zh_CN.rst + +:Original: Documentation/admin-guide/mm/damon/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + +============ +监测数据访问 +============ + +:doc:`DAMON ` 允许轻量级的数据访问监测。使用DAMON, +用户可以分析他们系统的内存访问模式,并优化它们。 + +.. toctree:: + :maxdepth: 2 + + start + usage + reclaim + lru_sort + + + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/index.rst index c75d20bea0..71186d9df7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/index.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -处理器体系结构 -============== - -以下文档提供了具体架构实现的编程细节。 - -.. toctree:: - :maxdepth: 2 - - mips/index - arm64/index - ../arch/riscv/index - openrisc/index - parisc/index - loongarch/index - -TODOList: - -* arm/index -* m68k/index -* nios2/index -* powerpc/index -* s390/index -* sh/index -* sparc/index -* x86/index -* xtensa/index +.. SPDX-License-Identifier: GPL-2.0 + +处理器体系结构 +============== + +以下文档提供了具体架构实现的编程细节。 + +.. toctree:: + :maxdepth: 2 + + mips/index + arm64/index + ../arch/riscv/index + openrisc/index + parisc/index + loongarch/index + +TODOList: + +* arm/index +* m68k/index +* nios2/index +* powerpc/index +* s390/index +* sh/index +* sparc/index +* x86/index +* xtensa/index diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/index.rst index 782a4798d0..4bd24f5ffe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/loongarch/index.rst @@ -1,27 +1,27 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/loongarch/index.rst -:Translator: Huacai Chen - -================= -LoongArch体系结构 -================= - -.. toctree:: - :maxdepth: 2 - :numbered: - - introduction - booting - irq-chip-model - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/loongarch/index.rst +:Translator: Huacai Chen + +================= +LoongArch体系结构 +================= + +.. toctree:: + :maxdepth: 2 + :numbered: + + introduction + booting + irq-chip-model + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/index.rst index 5997af7f33..2a34217119 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/mips/index.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/mips/index.rst - -:翻译: - - 司延腾 Yanteng Si - -=========================== -MIPS特性文档 -=========================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - booting - ingenic-tcu - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/mips/index.rst + +:翻译: + + 司延腾 Yanteng Si + +=========================== +MIPS特性文档 +=========================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + booting + ingenic-tcu + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/index.rst index 0dc575f299..da21f8ab89 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/openrisc/index.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/openrisc/index.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_openrisc_index: - -================= -OpenRISC 体系架构 -================= - -.. toctree:: - :maxdepth: 2 - - openrisc_port - todo - -Todolist: - features - - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/openrisc/index.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_openrisc_index: + +================= +OpenRISC 体系架构 +================= + +.. toctree:: + :maxdepth: 2 + + openrisc_port + todo + +Todolist: + features + + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/parisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/parisc/index.rst index 85ab6c7dca..9f69283bd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/parisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/parisc/index.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/parisc/index.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_parisc_index: - -==================== -PA-RISC体系架构 -==================== - -.. toctree:: - :maxdepth: 2 - - debugging - registers - -Todolist: - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/parisc/index.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_parisc_index: + +==================== +PA-RISC体系架构 +==================== + +.. toctree:: + :maxdepth: 2 + + debugging + registers + +Todolist: + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/riscv/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/riscv/index.rst index d5ea5bb06f..9657345910 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/riscv/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/arch/riscv/index.rst @@ -1,31 +1,31 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/arch/riscv/index.rst - -:翻译: - - 司延腾 Yanteng Si - -.. _cn_riscv_index: - -=============== -RISC-V 体系结构 -=============== - -.. toctree:: - :maxdepth: 1 - - boot - boot-image-header - vm-layout - patch-acceptance - - -.. only:: subproject and html - - 目录 - ==== - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/arch/riscv/index.rst + +:翻译: + + 司延腾 Yanteng Si + +.. _cn_riscv_index: + +=============== +RISC-V 体系结构 +=============== + +.. toctree:: + :maxdepth: 1 + + boot + boot-image-header + vm-layout + patch-acceptance + + +.. only:: subproject and html + + 目录 + ==== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst index ef2f3a6c98..eacd1d2ebd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/core-api/generic-radix-tree.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GPL-2.0+ - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/core-api/generic-radix-tree.rst - -:翻译: - - 周彬彬 Binbin Zhou - -=================== -通用基数树/稀疏数组 -=================== - -通用基数树/稀疏数组的相关内容请见include/linux/generic-radix-tree.h文件中的 -“DOC: Generic radix trees/sparse arrays”。 - -通用基数树函数 --------------- - -该API在以下内核代码中: - -include/linux/generic-radix-tree.h +.. SPDX-License-Identifier: GPL-2.0+ + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/core-api/generic-radix-tree.rst + +:翻译: + + 周彬彬 Binbin Zhou + +=================== +通用基数树/稀疏数组 +=================== + +通用基数树/稀疏数组的相关内容请见include/linux/generic-radix-tree.h文件中的 +“DOC: Generic radix trees/sparse arrays”。 + +通用基数树函数 +-------------- + +该API在以下内核代码中: + +include/linux/generic-radix-tree.h diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/disclaimer-zh_CN.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/disclaimer-zh_CN.rst index 999ae77e28..3c6db094a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/disclaimer-zh_CN.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/disclaimer-zh_CN.rst @@ -1,9 +1,9 @@ -:orphan: - -.. warning:: - 此文件的目的是为让中文读者更容易阅读和理解,而不是作为一个分支。 因此, - 如果您对此文件有任何意见或更新,请先尝试更新原始英文文件。 - -.. note:: - 如果您发现本文档与原始文件有任何不同或者有翻译问题,请联系该文件的译者, - 或者请求时奎亮的帮助:。 +:orphan: + +.. warning:: + 此文件的目的是为让中文读者更容易阅读和理解,而不是作为一个分支。 因此, + 如果您对此文件有任何意见或更新,请先尝试更新原始英文文件。 + +.. note:: + 如果您发现本文档与原始文件有任何不同或者有翻译问题,请联系该文件的译者, + 或者请求时奎亮的帮助:。 diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/doc-guide/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/doc-guide/index.rst index 6657c2d1e8..0ac1fc9315 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/doc-guide/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/doc-guide/index.rst @@ -1,28 +1,28 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/doc-guide/index.rst - -:译者: 吴想成 Wu XiangCheng - -.. _doc_guide_zh: - -================ -如何编写内核文档 -================ - -.. toctree:: - :maxdepth: 1 - - sphinx - kernel-doc - parse-headers - contributing - maintainer-profile - checktransupdate - -.. only:: subproject and html - - 目录 - ==== - - * :ref:`genindex` +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/doc-guide/index.rst + +:译者: 吴想成 Wu XiangCheng + +.. _doc_guide_zh: + +================ +如何编写内核文档 +================ + +.. toctree:: + :maxdepth: 1 + + sphinx + kernel-doc + parse-headers + contributing + maintainer-profile + checktransupdate + +.. only:: subproject and html + + 目录 + ==== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/index.rst index a4fb539cc7..5634cc4837 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/index.rst @@ -1,40 +1,40 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/infiniband/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - 王普宇 Puyu Wang - 时奎亮 Alex Shi - -.. _cn_infiniband_index: - -========== -infiniband -========== - -.. toctree:: - :maxdepth: 1 - - core_locking - ipoib - opa_vnic - sysfs - tag_matching - user_mad - user_verbs - - - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/infiniband/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + 王普宇 Puyu Wang + 时奎亮 Alex Shi + +.. _cn_infiniband_index: + +========== +infiniband +========== + +.. toctree:: + :maxdepth: 1 + + core_locking + ipoib + opa_vnic + sysfs + tag_matching + user_mad + user_verbs + + + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/sysfs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/sysfs.rst index bfdb72753e..e9a48b0b2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/sysfs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/infiniband/sysfs.rst @@ -1,21 +1,21 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/infiniband/sysfs.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - 王普宇 Puyu Wang - 时奎亮 Alex Shi - -.. _cn_infiniband_sysfs: - -========= -Sysfs文件 -========= - -sysfs接口已移至 -Documentation/ABI/stable/sysfs-class-infiniband. +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/infiniband/sysfs.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + 王普宇 Puyu Wang + 时奎亮 Alex Shi + +.. _cn_infiniband_sysfs: + +========= +Sysfs文件 +========= + +sysfs接口已移至 +Documentation/ABI/stable/sysfs-class-infiniband. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kbuild/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kbuild/index.rst index e2c2a39ddb..b51655d981 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kbuild/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/kbuild/index.rst @@ -1,35 +1,35 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/kbuild/index.rst -:Translator: 慕冬亮 Dongliang Mu - -============ -内核编译系统 -============ - -.. toctree:: - :maxdepth: 1 - - headers_install - gcc-plugins - -TODO: - -- kconfig-language -- kconfig-macro-language -- kbuild -- kconfig -- makefiles -- modules -- issues -- reproducible-builds -- llvm - -.. only:: subproject and html - - 目录 - ===== - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/kbuild/index.rst +:Translator: 慕冬亮 Dongliang Mu + +============ +内核编译系统 +============ + +.. toctree:: + :maxdepth: 1 + + headers_install + gcc-plugins + +TODO: + +- kconfig-language +- kconfig-macro-language +- kbuild +- kconfig +- makefiles +- modules +- issues +- reproducible-builds +- llvm + +.. only:: subproject and html + + 目录 + ===== + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/maintainer/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/maintainer/index.rst index 4803a3acd5..eb75ccea9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/maintainer/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/maintainer/index.rst @@ -1,21 +1,21 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/maintainer/index.rst - -============== -内核维护者手册 -============== - -本文档本是内核维护者手册的首页。 -本手册还需要大量完善!请自由提出(和编写)本手册的补充内容。 -*译注:指英文原版* - -.. toctree:: - :maxdepth: 2 - - configure-git - rebasing-and-merging - pull-requests - maintainer-entry-profile - modifying-patches - +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/maintainer/index.rst + +============== +内核维护者手册 +============== + +本文档本是内核维护者手册的首页。 +本手册还需要大量完善!请自由提出(和编写)本手册的补充内容。 +*译注:指英文原版* + +.. toctree:: + :maxdepth: 2 + + configure-git + rebasing-and-merging + pull-requests + maintainer-entry-profile + modifying-patches + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/mm/damon/api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/mm/damon/api.rst index 87a8ead044..5593a83c86 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/mm/damon/api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/mm/damon/api.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 - -:Original: Documentation/mm/damon/api.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - -======= -API参考 -======= - -内核空间的程序可以使用下面的API来使用DAMON的每个功能。你所需要做的就是引用 ``damon.h`` , -它位于源代码树的include/linux/。 - -结构体 -====== - -该API在以下内核代码中: - -include/linux/damon.h - - -函数 -==== - -该API在以下内核代码中: - -mm/damon/core.c +.. SPDX-License-Identifier: GPL-2.0 + +:Original: Documentation/mm/damon/api.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + +======= +API参考 +======= + +内核空间的程序可以使用下面的API来使用DAMON的每个功能。你所需要做的就是引用 ``damon.h`` , +它位于源代码树的include/linux/。 + +结构体 +====== + +该API在以下内核代码中: + +include/linux/damon.h + + +函数 +==== + +该API在以下内核代码中: + +mm/damon/core.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/rust/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/rust/index.rst index d9f77f6a0f..b01f887e71 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/rust/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/rust/index.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/rust/index.rst - -:翻译: - - 司延腾 Yanteng Si - -Rust -==== - -与内核中的Rust有关的文档。若要开始在内核中使用Rust,请阅读quick-start.rst指南。 - -.. toctree:: - :maxdepth: 1 - - quick-start - general-information - coding-guidelines - arch-support - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/rust/index.rst + +:翻译: + + 司延腾 Yanteng Si + +Rust +==== + +与内核中的Rust有关的文档。若要开始在内核中使用Rust,请阅读quick-start.rst指南。 + +.. toctree:: + :maxdepth: 1 + + quick-start + general-information + coding-guidelines + arch-support + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/scheduler/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/scheduler/index.rst index a03c352548..a8eaa7325f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/scheduler/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/scheduler/index.rst @@ -1,45 +1,45 @@ -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/scheduler/index.rst - -:翻译: - - 司延腾 Yanteng Si - 唐艺舟 Tang Yizhou - -:校译: - - - -=============== -Linux调度器 -=============== - -.. toctree:: - :maxdepth: 1 - - completion - sched-arch - sched-bwc - sched-design-CFS - sched-domains - sched-capacity - sched-energy - schedutil - sched-nice-design - sched-stats - sched-debug - -TODOList: - - sched-deadline - sched-rt-group - - text_files - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/scheduler/index.rst + +:翻译: + + 司延腾 Yanteng Si + 唐艺舟 Tang Yizhou + +:校译: + + + +=============== +Linux调度器 +=============== + +.. toctree:: + :maxdepth: 1 + + completion + sched-arch + sched-bwc + sched-design-CFS + sched-domains + sched-capacity + sched-energy + schedutil + sched-nice-design + sched-stats + sched-debug + +TODOList: + + sched-deadline + sched-rt-group + + text_files + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/index.rst index 94e0131c0d..28d5dca34a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/sound/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: :doc:`../../../sound/index` -:Translator: Huang Jianghui - - -==================== -Linux 声音子系统文档 -==================== - -.. toctree:: - :maxdepth: 2 - - hd-audio/index - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: :doc:`../../../sound/index` +:Translator: Huang Jianghui + + +==================== +Linux 声音子系统文档 +==================== + +.. toctree:: + :maxdepth: 2 + + hd-audio/index + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst index 42c71f7007..d52c7052f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/userspace-api/ebpf/index.rst - -:翻译: - - 李睿 Rui Li - -eBPF 用户空间API -================ - -eBPF是一种在Linux内核中提供沙箱化运行环境的机制,它可以在不改变内核源码或加载 -内核模块的情况下扩展运行时和编写工具。eBPF程序能够被附加到各种内核子系统中,包 -括网络,跟踪和Linux安全模块(LSM)等。 - -关于eBPF的内部内核文档,请查看 Documentation/bpf/index.rst 。 - -.. toctree:: - :maxdepth: 1 - - syscall +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/ebpf/index.rst + +:翻译: + + 李睿 Rui Li + +eBPF 用户空间API +================ + +eBPF是一种在Linux内核中提供沙箱化运行环境的机制,它可以在不改变内核源码或加载 +内核模块的情况下扩展运行时和编写工具。eBPF程序能够被附加到各种内核子系统中,包 +括网络,跟踪和Linux安全模块(LSM)等。 + +关于eBPF的内部内核文档,请查看 Documentation/bpf/index.rst 。 + +.. toctree:: + :maxdepth: 1 + + syscall diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/acrn/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/acrn/index.rst index 132c3931d8..34605d87f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/acrn/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/acrn/index.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_CN.rst - -:Original: Documentation/virt/acrn/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - 时奎亮 Alex Shi - -.. _cn_virt_acrn_index: - -============== -ACRN超级管理器 -============== - -.. toctree:: - :maxdepth: 1 - - introduction - io-request - cpuid +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/virt/acrn/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + 时奎亮 Alex Shi + +.. _cn_virt_acrn_index: + +============== +ACRN超级管理器 +============== + +.. toctree:: + :maxdepth: 1 + + introduction + io-request + cpuid diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/index.rst index 9af7132e2c..f8dd136813 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_CN/virt/index.rst @@ -1,38 +1,38 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../disclaimer-zh_CN.rst - -:Original: Documentation/virt/index.rst - -:翻译: - - 司延腾 Yanteng Si - -:校译: - - 时奎亮 Alex Shi - -.. _cn_virt_index: - -=============== -Linux虚拟化支持 -=============== - -.. toctree:: - :maxdepth: 2 - - paravirt_ops - guest-halt-polling - ne_overview - acrn/index - -TODOLIST: - - kvm/index - uml/user_mode_linux_howto_v2 - -.. only:: html and subproject - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/virt/index.rst + +:翻译: + + 司延腾 Yanteng Si + +:校译: + + 时奎亮 Alex Shi + +.. _cn_virt_index: + +=============== +Linux虚拟化支持 +=============== + +.. toctree:: + :maxdepth: 2 + + paravirt_ops + guest-halt-polling + ne_overview + acrn/index + +TODOLIST: + + kvm/index + uml/user_mode_linux_howto_v2 + +.. only:: html and subproject + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/clearing-warn-once.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/clearing-warn-once.rst index 788086493e..a3e82ff9da 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/clearing-warn-once.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/clearing-warn-once.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../disclaimer-zh_TW.rst - -:Translator: 胡皓文 Hu Haowen <2023002089@link.tyut.edu.cn> - -清除 WARN_ONCE --------------- - -WARN_ONCE / WARN_ON_ONCE / printk_once 僅僅打印一次消息. - -echo 1 > /sys/kernel/debug/clear_warn_once - -可以清除這種狀態並且再次允許打印一次告警信息,這對於運行測試集後重現問題 -很有用。 - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../disclaimer-zh_TW.rst + +:Translator: 胡皓文 Hu Haowen <2023002089@link.tyut.edu.cn> + +清除 WARN_ONCE +-------------- + +WARN_ONCE / WARN_ON_ONCE / printk_once 僅僅打印一次消息. + +echo 1 > /sys/kernel/debug/clear_warn_once + +可以清除這種狀態並且再次允許打印一次告警信息,這對於運行測試集後重現問題 +很有用。 + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/mm/damon/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/mm/damon/index.rst index d473d4ff8e..a472eb3c70 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/mm/damon/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/admin-guide/mm/damon/index.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../../disclaimer-zh_TW.rst - -:Original: Documentation/admin-guide/mm/damon/index.rst - -:翻譯: - - 司延騰 Yanteng Si - -:校譯: - -============ -監測數據訪問 -============ - -:doc:`DAMON ` 允許輕量級的數據訪問監測。使用DAMON, -用戶可以分析他們系統的內存訪問模式,並優化它們。 - -.. toctree:: - :maxdepth: 2 - - start - usage - reclaim - lru_sort - - - - - +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../../disclaimer-zh_TW.rst + +:Original: Documentation/admin-guide/mm/damon/index.rst + +:翻譯: + + 司延騰 Yanteng Si + +:校譯: + +============ +監測數據訪問 +============ + +:doc:`DAMON ` 允許輕量級的數據訪問監測。使用DAMON, +用戶可以分析他們系統的內存訪問模式,並優化它們。 + +.. toctree:: + :maxdepth: 2 + + start + usage + reclaim + lru_sort + + + + + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/arm64/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/arm64/index.rst index d8d7fa7321..8601434679 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/arm64/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/arm64/index.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: :ref:`Documentation/arch/arm64/index.rst ` -:Translator: Bailu Lin - Hu Haowen <2023002089@link.tyut.edu.cn> - -.. _tw_arm64_index: - - -========== -ARM64 架構 -========== - -.. toctree:: - :maxdepth: 2 - - amu - hugetlbpage - perf - elf_hwcaps - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: :ref:`Documentation/arch/arm64/index.rst ` +:Translator: Bailu Lin + Hu Haowen <2023002089@link.tyut.edu.cn> + +.. _tw_arm64_index: + + +========== +ARM64 架構 +========== + +.. toctree:: + :maxdepth: 2 + + amu + hugetlbpage + perf + elf_hwcaps + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/index.rst index c54d84c000..7c04905894 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/index.rst @@ -1,29 +1,29 @@ -.. SPDX-License-Identifier: GPL-2.0 - -處理器體系結構 -============== - -以下文檔提供了具體架構實現的編程細節。 - -.. toctree:: - :maxdepth: 2 - - mips/index - arm64/index - openrisc/index - parisc/index - loongarch/index - -TODOList: - -* arm/index -* m68k/index -* nios2/index -* powerpc/index -* s390/index -* sh/index -* sparc/index -* x86/index -* xtensa/index -* ../riscv/index - +.. SPDX-License-Identifier: GPL-2.0 + +處理器體系結構 +============== + +以下文檔提供了具體架構實現的編程細節。 + +.. toctree:: + :maxdepth: 2 + + mips/index + arm64/index + openrisc/index + parisc/index + loongarch/index + +TODOList: + +* arm/index +* m68k/index +* nios2/index +* powerpc/index +* s390/index +* sh/index +* sparc/index +* x86/index +* xtensa/index +* ../riscv/index + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/index.rst index ad470ee8d6..7281e050fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/loongarch/index.rst @@ -1,28 +1,28 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/loongarch/index.rst -:Translator: Huacai Chen - -================= -LoongArch體系結構 -================= - -.. toctree:: - :maxdepth: 2 - :numbered: - - introduction - booting - irq-chip-model - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/loongarch/index.rst +:Translator: Huacai Chen + +================= +LoongArch體系結構 +================= + +.. toctree:: + :maxdepth: 2 + :numbered: + + introduction + booting + irq-chip-model + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/index.rst index cc2b3216a2..4b7d288064 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/mips/index.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/mips/index.rst - -:翻譯: - - 司延騰 Yanteng Si - -=========================== -MIPS特性文檔 -=========================== - -.. toctree:: - :maxdepth: 2 - :numbered: - - booting - ingenic-tcu - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/mips/index.rst + +:翻譯: + + 司延騰 Yanteng Si + +=========================== +MIPS特性文檔 +=========================== + +.. toctree:: + :maxdepth: 2 + :numbered: + + booting + ingenic-tcu + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/index.rst index 679b1f0185..7585960783 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/openrisc/index.rst @@ -1,33 +1,33 @@ -.. SPDX-License-Identifier: GPL-2.0 - -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/openrisc/index.rst - -:翻譯: - - 司延騰 Yanteng Si - -.. _tw_openrisc_index: - -================= -OpenRISC 體系架構 -================= - -.. toctree:: - :maxdepth: 2 - - openrisc_port - todo - -Todolist: - features - - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - +.. SPDX-License-Identifier: GPL-2.0 + +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/openrisc/index.rst + +:翻譯: + + 司延騰 Yanteng Si + +.. _tw_openrisc_index: + +================= +OpenRISC 體系架構 +================= + +.. toctree:: + :maxdepth: 2 + + openrisc_port + todo + +Todolist: + features + + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/parisc/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/parisc/index.rst index 63ad431efa..35941bf68c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/parisc/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/arch/parisc/index.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GPL-2.0 -.. include:: ../../disclaimer-zh_TW.rst - -:Original: Documentation/arch/parisc/index.rst - -:翻譯: - - 司延騰 Yanteng Si - -.. _tw_parisc_index: - -==================== -PA-RISC體系架構 -==================== - -.. toctree:: - :maxdepth: 2 - - debugging - registers - -Todolist: - - features - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` - +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_TW.rst + +:Original: Documentation/arch/parisc/index.rst + +:翻譯: + + 司延騰 Yanteng Si + +.. _tw_parisc_index: + +==================== +PA-RISC體系架構 +==================== + +.. toctree:: + :maxdepth: 2 + + debugging + registers + +Todolist: + + features + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/disclaimer-zh_TW.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/disclaimer-zh_TW.rst index 66e664476a..28b734c223 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/disclaimer-zh_TW.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/translations/zh_TW/disclaimer-zh_TW.rst @@ -1,11 +1,11 @@ -:orphan: - -.. warning:: - 此文件的目的是爲讓中文讀者更容易閱讀和理解,而不是作爲一個分支。因此, - 如果您對此文件有任何意見或改動,請先嘗試更新原始英文文件。如果要更改或 - 修正某處翻譯文件,請將意見或補丁發送給維護者(聯繫方式見下)。 - -.. note:: - 如果您發現本文檔與原始文件有任何不同或者有翻譯問題,請聯繫該文件的譯者, - 或者發送電子郵件給胡皓文以獲取幫助:<2023002089@link.tyut.edu.cn>。 - +:orphan: + +.. warning:: + 此文件的目的是爲讓中文讀者更容易閱讀和理解,而不是作爲一個分支。因此, + 如果您對此文件有任何意見或改動,請先嘗試更新原始英文文件。如果要更改或 + 修正某處翻譯文件,請將意見或補丁發送給維護者(聯繫方式見下)。 + +.. note:: + 如果您發現本文檔與原始文件有任何不同或者有翻譯問題,請聯繫該文件的譯者, + 或者發送電子郵件給胡皓文以獲取幫助:<2023002089@link.tyut.edu.cn>。 + diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/index.rst index bb15256500..826492c813 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/index.rst @@ -1,40 +1,40 @@ -=========== -USB support -=========== - -.. toctree:: - :maxdepth: 1 - - acm - authorization - chipidea - dwc3 - ehci - functionfs - functionfs-desc - gadget_configfs - gadget_hid - gadget_multi - gadget_printer - gadget_serial - gadget_uvc - gadget-testing - iuu_phoenix - mass-storage - misc_usbsevseg - mtouchusb - ohci - raw-gadget - usbip_protocol - usbmon - usb-serial - - usb-help - text_files - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +=========== +USB support +=========== + +.. toctree:: + :maxdepth: 1 + + acm + authorization + chipidea + dwc3 + ehci + functionfs + functionfs-desc + gadget_configfs + gadget_hid + gadget_multi + gadget_printer + gadget_serial + gadget_uvc + gadget-testing + iuu_phoenix + mass-storage + misc_usbsevseg + mtouchusb + ohci + raw-gadget + usbip_protocol + usbmon + usb-serial + + usb-help + text_files + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/usb-help.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/usb-help.rst index f933cce2ba..dc23ecd4d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/usb/usb-help.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/usb/usb-help.rst @@ -1,17 +1,17 @@ -============== -USB references -============== - -2008-Mar-7 - -For USB help other than the readme files that are located in -`Documentation/usb/*`, see the following: - -- Linux-USB project: http://www.linux-usb.org - mirrors at http://usb.in.tum.de/linux-usb/ - and http://it.linux-usb.org -- Linux USB Guide: http://linux-usb.sourceforge.net -- Linux-USB device overview (working devices and drivers): - http://www.qbik.ch/usb/devices/ - -The Linux-USB mailing list is at linux-usb@vger.kernel.org +============== +USB references +============== + +2008-Mar-7 + +For USB help other than the readme files that are located in +`Documentation/usb/*`, see the following: + +- Linux-USB project: http://www.linux-usb.org + mirrors at http://usb.in.tum.de/linux-usb/ + and http://it.linux-usb.org +- Linux USB Guide: http://linux-usb.sourceforge.net +- Linux-USB device overview (working devices and drivers): + http://www.qbik.ch/usb/devices/ + +The Linux-USB mailing list is at linux-usb@vger.kernel.org diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/index.rst index 66fdc30a6b..473dfba781 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/ebpf/index.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GPL-2.0 - -eBPF Userspace API -================== - -eBPF is a kernel mechanism to provide a sandboxed runtime environment in the -Linux kernel for runtime extension and instrumentation without changing kernel -source code or loading kernel modules. eBPF programs can be attached to various -kernel subsystems, including networking, tracing and Linux security modules -(LSM). - -For internal kernel documentation on eBPF, see Documentation/bpf/index.rst. - -.. toctree:: - :maxdepth: 1 - - syscall +.. SPDX-License-Identifier: GPL-2.0 + +eBPF Userspace API +================== + +eBPF is a kernel mechanism to provide a sandboxed runtime environment in the +Linux kernel for runtime extension and instrumentation without changing kernel +source code or loading kernel modules. eBPF programs can be attached to various +kernel subsystems, including networking, tracing and Linux security modules +(LSM). + +For internal kernel documentation on eBPF, see Documentation/bpf/index.rst. + +.. toctree:: + :maxdepth: 1 + + syscall diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/isapnp.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/isapnp.rst index 06691b432e..d6fceb19b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/isapnp.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/isapnp.rst @@ -1,15 +1,15 @@ -======================= -ISA Plug & Play support -======================= - -Interface /proc/isapnp -====================== - -The interface was removed in kernel 2.5.53. See pnp.rst for more details. - -Interface /proc/bus/isapnp -========================== - -This directory allows access to ISA PnP cards and logical devices. -The regular files contain the contents of ISA PnP registers for -a logical device. +======================= +ISA Plug & Play support +======================= + +Interface /proc/isapnp +====================== + +The interface was removed in kernel 2.5.53. See pnp.rst for more details. + +Interface /proc/bus/isapnp +========================== + +This directory allows access to ISA PnP cards and logical devices. +The regular files contain the contents of ISA PnP registers for +a logical device. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-funcs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-funcs.rst index 3ed810f09d..aa6b790e84 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-funcs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/cec/cec-funcs.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _cec-user-func: - -****************** -Function Reference -****************** - - -.. toctree:: - :maxdepth: 1 - - cec-func-open - cec-func-close - cec-func-ioctl - cec-func-poll - cec-ioc-adap-g-caps - cec-ioc-adap-g-log-addrs - cec-ioc-adap-g-phys-addr - cec-ioc-adap-g-conn-info - cec-ioc-dqevent - cec-ioc-g-mode - cec-ioc-receive +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _cec-user-func: + +****************** +Function Reference +****************** + + +.. toctree:: + :maxdepth: 1 + + cec-func-open + cec-func-close + cec-func-ioctl + cec-func-poll + cec-ioc-adap-g-caps + cec-ioc-adap-g-log-addrs + cec-ioc-adap-g-phys-addr + cec-ioc-adap-g-conn-info + cec-ioc-dqevent + cec-ioc-g-mode + cec-ioc-receive diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/demux.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/demux.rst index dae478667d..ef05abcf14 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/demux.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/demux.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dvb_demux: - -####################### -Digital TV Demux Device -####################### - -The Digital TV demux device controls the MPEG-TS filters for the -digital TV. If the driver and hardware supports, those filters are -implemented at the hardware. Otherwise, the Kernel provides a software -emulation. - -It can be accessed through ``/dev/adapter?/demux?``. Data types and -ioctl definitions can be accessed by including ``linux/dvb/dmx.h`` in -your application. - - -.. toctree:: - :maxdepth: 1 - - dmx_types - dmx_fcalls +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dvb_demux: + +####################### +Digital TV Demux Device +####################### + +The Digital TV demux device controls the MPEG-TS filters for the +digital TV. If the driver and hardware supports, those filters are +implemented at the hardware. Otherwise, the Kernel provides a software +emulation. + +It can be accessed through ``/dev/adapter?/demux?``. Data types and +ioctl definitions can be accessed by including ``linux/dvb/dmx.h`` in +your application. + + +.. toctree:: + :maxdepth: 1 + + dmx_types + dmx_fcalls diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_fcalls.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_fcalls.rst index 705c0cab17..a14e7a61f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_fcalls.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/dmx_fcalls.rst @@ -1,30 +1,30 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dmx_fcalls: - -******************** -Demux Function Calls -******************** - -.. toctree:: - :maxdepth: 1 - - dmx-fopen - dmx-fclose - dmx-fread - dmx-fwrite - dmx-mmap - dmx-munmap - dmx-start - dmx-stop - dmx-set-filter - dmx-set-pes-filter - dmx-set-buffer-size - dmx-get-stc - dmx-get-pes-pids - dmx-add-pid - dmx-remove-pid - dmx-reqbufs - dmx-querybuf - dmx-expbuf - dmx-qbuf +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dmx_fcalls: + +******************** +Demux Function Calls +******************** + +.. toctree:: + :maxdepth: 1 + + dmx-fopen + dmx-fclose + dmx-fread + dmx-fwrite + dmx-mmap + dmx-munmap + dmx-start + dmx-stop + dmx-set-filter + dmx-set-pes-filter + dmx-set-buffer-size + dmx-get-stc + dmx-get-pes-pids + dmx-add-pid + dmx-remove-pid + dmx-reqbufs + dmx-querybuf + dmx-expbuf + dmx-qbuf diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/examples.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/examples.rst index a6803917ea..086587c65a 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/examples.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/examples.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _dvb_examples: - -******** -Examples -******** - -In the past, we used to have a set of examples here. However, those -examples got out of date and doesn't even compile nowadays. - -Also, nowadays, the best is to use the libdvbv5 DVB API nowadays, -with is fully documented. - -Please refer to the `libdvbv5 `__ -for updated/recommended examples. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _dvb_examples: + +******** +Examples +******** + +In the past, we used to have a set of examples here. However, those +examples got out of date and doesn't even compile nowadays. + +Also, nowadays, the best is to use the libdvbv5 DVB API nowadays, +with is fully documented. + +Please refer to the `libdvbv5 `__ +for updated/recommended examples. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_fcalls.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_fcalls.rst index c27f3510e9..1df27b6e84 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_fcalls.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_fcalls.rst @@ -1,24 +1,24 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _frontend_fcalls: - -####################### -Frontend Function Calls -####################### - -.. toctree:: - :maxdepth: 1 - - frontend_f_open - frontend_f_close - fe-get-info - fe-read-status - fe-get-property - fe-diseqc-reset-overload - fe-diseqc-send-master-cmd - fe-diseqc-recv-slave-reply - fe-diseqc-send-burst - fe-set-tone - fe-set-voltage - fe-enable-high-lnb-voltage - fe-set-frontend-tune-mode +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _frontend_fcalls: + +####################### +Frontend Function Calls +####################### + +.. toctree:: + :maxdepth: 1 + + frontend_f_open + frontend_f_close + fe-get-info + fe-read-status + fe-get-property + fe-diseqc-reset-overload + fe-diseqc-send-master-cmd + fe-diseqc-recv-slave-reply + fe-diseqc-send-burst + fe-set-tone + fe-set-voltage + fe-enable-high-lnb-voltage + fe-set-frontend-tune-mode diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_dvbv3_api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_dvbv3_api.rst index 6b28cc51b4..09de723c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_dvbv3_api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/frontend_legacy_dvbv3_api.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _frontend_legacy_dvbv3_api: - -*********************************************** -Digital TV Frontend legacy API (a. k. a. DVBv3) -*********************************************** - -The usage of this API is deprecated, as it doesn't support all digital -TV standards, doesn't provide good statistics measurements and provides -incomplete information. This is kept only to support legacy -applications. - - -.. toctree:: - :maxdepth: 1 - - frontend_legacy_api +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _frontend_legacy_dvbv3_api: + +*********************************************** +Digital TV Frontend legacy API (a. k. a. DVBv3) +*********************************************** + +The usage of this API is deprecated, as it doesn't support all digital +TV standards, doesn't provide good statistics measurements and provides +incomplete information. This is kept only to support legacy +applications. + + +.. toctree:: + :maxdepth: 1 + + frontend_legacy_api diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/headers.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/headers.rst index e6693001b5..88c3eb33a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/headers.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/headers.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -**************************** -Digital TV uAPI header files -**************************** - -Digital TV uAPI headers -*********************** - -.. kernel-include:: $BUILDDIR/frontend.h.rst - -.. kernel-include:: $BUILDDIR/dmx.h.rst - -.. kernel-include:: $BUILDDIR/ca.h.rst - -.. kernel-include:: $BUILDDIR/net.h.rst +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +**************************** +Digital TV uAPI header files +**************************** + +Digital TV uAPI headers +*********************** + +.. kernel-include:: $BUILDDIR/frontend.h.rst + +.. kernel-include:: $BUILDDIR/dmx.h.rst + +.. kernel-include:: $BUILDDIR/ca.h.rst + +.. kernel-include:: $BUILDDIR/net.h.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst index f684aea2dc..f099b49357 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/dvb/query-dvb-frontend-info.rst @@ -1,13 +1,13 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _query-dvb-frontend-info: - -***************************** -Querying frontend information -***************************** - -Usually, the first thing to do when the frontend is opened is to check -the frontend capabilities. This is done using -:ref:`FE_GET_INFO`. This ioctl will enumerate the -Digital TV API version and other characteristics about the frontend, and can -be opened either in read only or read/write mode. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _query-dvb-frontend-info: + +***************************** +Querying frontend information +***************************** + +Usually, the first thing to do when the frontend is opened is to check +the frontend capabilities. This is done using +:ref:`FE_GET_INFO`. This ioctl will enumerate the +Digital TV API version and other characteristics about the frontend, and can +be opened either in read only or read/write mode. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-funcs.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-funcs.rst index d0f30f46b2..e896296812 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-funcs.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/mediactl/media-funcs.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _media-user-func: - -****************** -Function Reference -****************** - - -.. toctree:: - :maxdepth: 1 - - media-func-open - media-func-close - media-func-ioctl - media-ioc-device-info - media-ioc-g-topology - media-ioc-enum-entities - media-ioc-enum-links - media-ioc-setup-link - media-ioc-request-alloc - request-func-close - request-func-ioctl - request-func-poll - media-request-ioc-queue - media-request-ioc-reinit +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _media-user-func: + +****************** +Function Reference +****************** + + +.. toctree:: + :maxdepth: 1 + + media-func-open + media-func-close + media-func-ioctl + media-ioc-device-info + media-ioc-g-topology + media-ioc-enum-entities + media-ioc-enum-links + media-ioc-setup-link + media-ioc-request-alloc + request-func-close + request-func-ioctl + request-func-poll + media-request-ioc-queue + media-request-ioc-reinit diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/net.h.rst.exceptions b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/net.h.rst.exceptions index 222481a209..5159aa4bbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/net.h.rst.exceptions +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/net.h.rst.exceptions @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 - -# Ignore header name -ignore define _DVBNET_H_ - -# Ignore old ioctls/structs -ignore ioctl __NET_ADD_IF_OLD -ignore ioctl __NET_GET_IF_OLD -ignore struct __dvb_net_if_old - -# Macros used at struct dvb_net_if -replace define DVB_NET_FEEDTYPE_MPE :c:type:`dvb_net_if` -replace define DVB_NET_FEEDTYPE_ULE :c:type:`dvb_net_if` +# SPDX-License-Identifier: GPL-2.0 + +# Ignore header name +ignore define _DVBNET_H_ + +# Ignore old ioctls/structs +ignore ioctl __NET_ADD_IF_OLD +ignore ioctl __NET_GET_IF_OLD +ignore struct __dvb_net_if_old + +# Macros used at struct dvb_net_if +replace define DVB_NET_FEEDTYPE_MPE :c:type:`dvb_net_if` +replace define DVB_NET_FEEDTYPE_ULE :c:type:`dvb_net_if` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-func.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-func.rst index 1803ef0ca3..5c84888f1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-func.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/lirc-func.rst @@ -1,26 +1,26 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later - -.. _lirc_func: - -LIRC Function Reference -======================= - - -.. toctree:: - :maxdepth: 1 - - lirc-read - lirc-write - lirc-get-features - lirc-get-send-mode - lirc-get-rec-mode - lirc-get-rec-resolution - lirc-set-send-duty-cycle - lirc-get-timeout - lirc-set-rec-timeout - lirc-set-rec-carrier - lirc-set-rec-carrier-range - lirc-set-send-carrier - lirc-set-transmitter-mask - lirc-set-measure-carrier-mode - lirc-set-wideband-receiver +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later + +.. _lirc_func: + +LIRC Function Reference +======================= + + +.. toctree:: + :maxdepth: 1 + + lirc-read + lirc-write + lirc-get-features + lirc-get-send-mode + lirc-get-rec-mode + lirc-get-rec-resolution + lirc-set-send-duty-cycle + lirc-get-timeout + lirc-set-rec-timeout + lirc-set-rec-carrier + lirc-set-rec-carrier-range + lirc-set-send-carrier + lirc-set-transmitter-mask + lirc-set-measure-carrier-mode + lirc-set-wideband-receiver diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-table-change.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-table-change.rst index 1735ba1c15..d7de8a56dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-table-change.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/rc/rc-table-change.rst @@ -1,18 +1,18 @@ -.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later - -.. _Remote_controllers_table_change: - -******************************************* -Changing default Remote Controller mappings -******************************************* - -The event interface provides two ioctls to be used against the -/dev/input/event device, to allow changing the default keymapping. - -This program demonstrates how to replace the keymap tables. - - -.. toctree:: - :maxdepth: 1 - - keytable.c +.. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later + +.. _Remote_controllers_table_change: + +******************************************* +Changing default Remote Controller mappings +******************************************* + +The event interface provides two ioctls to be used against the +/dev/input/event device, to allow changing the default keymapping. + +This program demonstrates how to replace the keymap tables. + + +.. toctree:: + :maxdepth: 1 + + keytable.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/hsv-formats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/hsv-formats.rst index 7c36c22702..d810c914b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/hsv-formats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/hsv-formats.rst @@ -1,19 +1,19 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _hsv-formats: - -*********** -HSV Formats -*********** - -These formats store the color information of the image -in a geometrical representation. The colors are mapped into a -cylinder, where the angle is the HUE, the height is the VALUE -and the distance to the center is the SATURATION. This is a very -useful format for image segmentation algorithms. - - -.. toctree:: - :maxdepth: 1 - - pixfmt-packed-hsv +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _hsv-formats: + +*********** +HSV Formats +*********** + +These formats store the color information of the image +in a geometrical representation. The colors are mapped into a +cylinder, where the angle is the HUE, the height is the VALUE +and the distance to the center is the SATURATION. This is a very +useful format for image segmentation algorithms. + + +.. toctree:: + :maxdepth: 1 + + pixfmt-packed-hsv diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/meta-formats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/meta-formats.rst index b75ee3c938..c6e56b5888 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/meta-formats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/meta-formats.rst @@ -1,23 +1,23 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _meta-formats: - -**************** -Metadata Formats -**************** - -These formats are used for the :ref:`metadata` interface only. - - -.. toctree:: - :maxdepth: 1 - - metafmt-d4xx - metafmt-generic - metafmt-intel-ipu3 - metafmt-pisp-be - metafmt-rkisp1 - metafmt-uvc - metafmt-vivid - metafmt-vsp1-hgo - metafmt-vsp1-hgt +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _meta-formats: + +**************** +Metadata Formats +**************** + +These formats are used for the :ref:`metadata` interface only. + + +.. toctree:: + :maxdepth: 1 + + metafmt-d4xx + metafmt-generic + metafmt-intel-ipu3 + metafmt-pisp-be + metafmt-rkisp1 + metafmt-uvc + metafmt-vivid + metafmt-vsp1-hgo + metafmt-vsp1-hgt diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-ru12le.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-ru12le.rst index e0e39f2137..2ad4706bfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-ru12le.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/pixfmt-sdr-ru12le.rst @@ -1,32 +1,32 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _V4L2-SDR-FMT-RU12LE: - -**************************** -V4L2_SDR_FMT_RU12LE ('RU12') -**************************** - - -Real unsigned 12-bit little endian sample - - -Description -=========== - -This format contains sequence of real number samples. Each sample is -represented as a 12 bit unsigned little endian number. Sample is stored -in 16 bit space with unused high bits padded with 0. - -**Byte Order.** -Each cell is one byte. - - - - -.. flat-table:: - :header-rows: 0 - :stub-columns: 0 - - * - start + 0: - - I'\ :sub:`0[7:0]` - - I'\ :sub:`0[11:8]` +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _V4L2-SDR-FMT-RU12LE: + +**************************** +V4L2_SDR_FMT_RU12LE ('RU12') +**************************** + + +Real unsigned 12-bit little endian sample + + +Description +=========== + +This format contains sequence of real number samples. Each sample is +represented as a 12 bit unsigned little endian number. Sample is stored +in 16 bit space with unused high bits padded with 0. + +**Byte Order.** +Each cell is one byte. + + + + +.. flat-table:: + :header-rows: 0 + :stub-columns: 0 + + * - start + 0: + - I'\ :sub:`0[7:0]` + - I'\ :sub:`0[11:8]` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/sdr-formats.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/sdr-formats.rst index 4429c748c8..d8bdfdb569 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/sdr-formats.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/sdr-formats.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _sdr-formats: - -*********** -SDR Formats -*********** - -These formats are used for :ref:`SDR ` interface only. - - -.. toctree:: - :maxdepth: 1 - - pixfmt-sdr-cu08 - pixfmt-sdr-cu16le - pixfmt-sdr-cs08 - pixfmt-sdr-cs14le - pixfmt-sdr-ru12le - pixfmt-sdr-pcu16be - pixfmt-sdr-pcu18be - pixfmt-sdr-pcu20be +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _sdr-formats: + +*********** +SDR Formats +*********** + +These formats are used for :ref:`SDR ` interface only. + + +.. toctree:: + :maxdepth: 1 + + pixfmt-sdr-cu08 + pixfmt-sdr-cu16le + pixfmt-sdr-cs08 + pixfmt-sdr-cs14le + pixfmt-sdr-ru12le + pixfmt-sdr-pcu16be + pixfmt-sdr-pcu18be + pixfmt-sdr-pcu20be diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api-targets.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api-targets.rst index cdbf90c16e..50fdadd5b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api-targets.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api-targets.rst @@ -1,20 +1,20 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -***************** -Selection targets -***************** - - -.. _sel-targets-capture: - -.. kernel-figure:: selection.svg - :alt: selection.svg - :align: center - - Cropping and composing targets - - Targets used by a cropping, composing and scaling process - - - -See :ref:`v4l2-selection-targets` for more information. +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +***************** +Selection targets +***************** + + +.. _sel-targets-capture: + +.. kernel-figure:: selection.svg + :alt: selection.svg + :align: center + + Cropping and composing targets + + Targets used by a cropping, composing and scaling process + + + +See :ref:`v4l2-selection-targets` for more information. diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api.rst index 8e06791a96..0360743746 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/selection-api.rst @@ -1,16 +1,16 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _selection-api: - -Cropping, composing and scaling -- the SELECTION API -==================================================== - - -.. toctree:: - :maxdepth: 1 - - selection-api-intro.rst - selection-api-targets.rst - selection-api-configuration.rst - selection-api-vs-crop-api.rst - selection-api-examples.rst +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _selection-api: + +Cropping, composing and scaling -- the SELECTION API +==================================================== + + +.. toctree:: + :maxdepth: 1 + + selection-api-intro.rst + selection-api-targets.rst + selection-api-configuration.rst + selection-api-vs-crop-api.rst + selection-api-examples.rst diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/v4l2grab-example.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/v4l2grab-example.rst index 428843914b..b323be42c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/v4l2grab-example.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/media/v4l/v4l2grab-example.rst @@ -1,17 +1,17 @@ -.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later - -.. _v4l2grab-example: - -********************************** -Video Grabber example using libv4l -********************************** - -This program demonstrates how to grab V4L2 images in ppm format by using -libv4l handlers. The advantage is that this grabber can potentially work -with any V4L2 driver. - - -.. toctree:: - :maxdepth: 1 - - v4l2grab.c +.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later + +.. _v4l2grab-example: + +********************************** +Video Grabber example using libv4l +********************************** + +This program demonstrates how to grab V4L2 images in ppm format by using +libv4l handlers. The advantage is that this grabber can potentially work +with any V4L2 driver. + + +.. toctree:: + :maxdepth: 1 + + v4l2grab.c diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/netlink/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/netlink/index.rst index 8f2b6e89b8..c1b6765cc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/netlink/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/userspace-api/netlink/index.rst @@ -1,21 +1,21 @@ -.. SPDX-License-Identifier: BSD-3-Clause - -================ -Netlink Handbook -================ - -Netlink documentation for users. - -.. toctree:: - :maxdepth: 2 - - intro - intro-specs - specs - c-code-gen - genetlink-legacy - netlink-raw - -See also: - - :ref:`Documentation/core-api/netlink.rst ` - - :ref:`Documentation/networking/netlink_spec/index.rst ` +.. SPDX-License-Identifier: BSD-3-Clause + +================ +Netlink Handbook +================ + +Netlink documentation for users. + +.. toctree:: + :maxdepth: 2 + + intro + intro-specs + specs + c-code-gen + genetlink-legacy + netlink-raw + +See also: + - :ref:`Documentation/core-api/netlink.rst ` + - :ref:`Documentation/networking/netlink_spec/index.rst ` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/index.rst index 4eddcde004..7fb55ae085 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/virt/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/virt/index.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -====================== -Virtualization Support -====================== - -.. toctree:: - :maxdepth: 2 - - kvm/index - uml/user_mode_linux_howto_v2 - paravirt_ops - guest-halt-polling - ne_overview - acrn/index - coco/sev-guest - coco/tdx-guest - hyperv/index - -.. only:: html and subproject - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +====================== +Virtualization Support +====================== + +.. toctree:: + :maxdepth: 2 + + kvm/index + uml/user_mode_linux_howto_v2 + paravirt_ops + guest-halt-polling + ne_overview + acrn/index + coco/sev-guest + coco/tdx-guest + hyperv/index + +.. only:: html and subproject + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/mxc-w1.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/mxc-w1.rst index c8aa6e395b..334f989310 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/mxc-w1.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/w1/masters/mxc-w1.rst @@ -1,17 +1,17 @@ -==================== -Kernel driver mxc_w1 -==================== - -Supported chips: - - * Freescale MX27, MX31 and probably other i.MX SoCs - - Datasheets: - - - http://www.freescale.com/files/32bit/doc/data_sheet/MCIMX31.pdf?fpsp=1 - - http://cache.freescale.com/files/dsp/doc/archive/MCIMX27.pdf?fsrch=1&WT_TYPE=Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation - -Author: - - Originally based on Freescale code, prepared for mainline by - Sascha Hauer +==================== +Kernel driver mxc_w1 +==================== + +Supported chips: + + * Freescale MX27, MX31 and probably other i.MX SoCs + + Datasheets: + + - http://www.freescale.com/files/32bit/doc/data_sheet/MCIMX31.pdf?fpsp=1 + - http://cache.freescale.com/files/dsp/doc/archive/MCIMX27.pdf?fsrch=1&WT_TYPE=Data%20Sheets&WT_VENDOR=FREESCALE&WT_FILE_FORMAT=pdf&WT_ASSET=Documentation + +Author: + + Originally based on Freescale code, prepared for mainline by + Sascha Hauer diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/index.rst index 6d3a1a37e2..4603f2511f 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/watchdog/index.rst @@ -1,25 +1,25 @@ -.. SPDX-License-Identifier: GPL-2.0 - -================ -Watchdog Support -================ - -.. toctree:: - :maxdepth: 1 - - hpwdt - mlx-wdt - pcwd-watchdog - watchdog-api - watchdog-kernel-api - watchdog-parameters - watchdog-pm - wdt - convert_drivers_to_kernel_api - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0 + +================ +Watchdog Support +================ + +.. toctree:: + :maxdepth: 1 + + hpwdt + mlx-wdt + pcwd-watchdog + watchdog-api + watchdog-kernel-api + watchdog-parameters + watchdog-pm + wdt + convert_drivers_to_kernel_api + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/index.rst b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/index.rst index edad8cc5af..c08735a9d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/index.rst +++ b/image/debian/UFI003_MB_V02/kernel/Documentation/wmi/devices/index.rst @@ -1,22 +1,22 @@ -.. SPDX-License-Identifier: GPL-2.0-or-later - -============================= -Driver-specific Documentation -============================= - -This section provides information about various devices supported by -the Linux kernel, their protocols and driver details. - -.. toctree:: - :maxdepth: 1 - :numbered: - :glob: - - * - -.. only:: subproject and html - - Indices - ======= - - * :ref:`genindex` +.. SPDX-License-Identifier: GPL-2.0-or-later + +============================= +Driver-specific Documentation +============================= + +This section provides information about various devices supported by +the Linux kernel, their protocols and driver details. + +.. toctree:: + :maxdepth: 1 + :numbered: + :glob: + + * + +.. only:: subproject and html + + Indices + ======= + + * :ref:`genindex` diff --git a/image/debian/UFI003_MB_V02/kernel/Kconfig b/image/debian/UFI003_MB_V02/kernel/Kconfig index 38044f5a07..745bc773f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/Kconfig @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# For a description of the syntax of this configuration file, -# see Documentation/kbuild/kconfig-language.rst. -# -mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration" - -source "scripts/Kconfig.include" - -source "init/Kconfig" - -source "kernel/Kconfig.freezer" - -source "fs/Kconfig.binfmt" - -source "mm/Kconfig" - -source "net/Kconfig" - -source "drivers/Kconfig" - -source "fs/Kconfig" - -source "security/Kconfig" - -source "crypto/Kconfig" - -source "lib/Kconfig" - -source "lib/Kconfig.debug" - -source "Documentation/Kconfig" +# SPDX-License-Identifier: GPL-2.0 +# +# For a description of the syntax of this configuration file, +# see Documentation/kbuild/kconfig-language.rst. +# +mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration" + +source "scripts/Kconfig.include" + +source "init/Kconfig" + +source "kernel/Kconfig.freezer" + +source "fs/Kconfig.binfmt" + +source "mm/Kconfig" + +source "net/Kconfig" + +source "drivers/Kconfig" + +source "fs/Kconfig" + +source "security/Kconfig" + +source "crypto/Kconfig" + +source "lib/Kconfig" + +source "lib/Kconfig.debug" + +source "Documentation/Kconfig" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/boot/bootloader.lds b/image/debian/UFI003_MB_V02/kernel/arch/alpha/boot/bootloader.lds index c5435cac88..8cdff54c6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/boot/bootloader.lds +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/boot/bootloader.lds @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -OUTPUT_FORMAT("elf64-alpha") -ENTRY(__start) -printk = srm_printk; -SECTIONS -{ - . = 0x20000000; - .text : { *(.text) } - _etext = .; - PROVIDE (etext = .); - .rodata : { *(.rodata) *(.rodata.*) } - .data : { *(.data) CONSTRUCTORS } - .got : { *(.got) } - .sdata : { *(.sdata) } - _edata = .; - PROVIDE (edata = .); - .sbss : { *(.sbss) *(.scommon) } - .bss : { *(.bss) *(COMMON) } - _end = . ; - PROVIDE (end = .); - - .mdebug 0 : { *(.mdebug) } - .note 0 : { *(.note) } - .comment 0 : { *(.comment) } -} +/* SPDX-License-Identifier: GPL-2.0 */ +OUTPUT_FORMAT("elf64-alpha") +ENTRY(__start) +printk = srm_printk; +SECTIONS +{ + . = 0x20000000; + .text : { *(.text) } + _etext = .; + PROVIDE (etext = .); + .rodata : { *(.rodata) *(.rodata.*) } + .data : { *(.data) CONSTRUCTORS } + .got : { *(.got) } + .sdata : { *(.sdata) } + _edata = .; + PROVIDE (edata = .); + .sbss : { *(.sbss) *(.scommon) } + .bss : { *(.bss) *(COMMON) } + _end = . ; + PROVIDE (end = .); + + .mdebug 0 : { *(.mdebug) } + .note 0 : { *(.note) } + .comment 0 : { *(.comment) } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/asm-prototypes.h index a72c700da7..c8ae46fc2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/asm-prototypes.h @@ -1,19 +1,19 @@ -#include - -#include -#include -#include -#include -#include - -#include - -extern void __divl(void); -extern void __reml(void); -extern void __divq(void); -extern void __remq(void); -extern void __divlu(void); -extern void __remlu(void); -extern void __divqu(void); -extern void __remqu(void); -extern unsigned long __udiv_qrnnd(unsigned long *, unsigned long, unsigned long , unsigned long); +#include + +#include +#include +#include +#include +#include + +#include + +extern void __divl(void); +extern void __reml(void); +extern void __divq(void); +extern void __remq(void); +extern void __divlu(void); +extern void __remlu(void); +extern void __divqu(void); +extern void __remqu(void); +extern unsigned long __udiv_qrnnd(unsigned long *, unsigned long, unsigned long , unsigned long); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/barrier.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/barrier.h index f6216c0918..c56bfffc99 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/barrier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/barrier.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __BARRIER_H -#define __BARRIER_H - -#define mb() __asm__ __volatile__("mb": : :"memory") -#define rmb() __asm__ __volatile__("mb": : :"memory") -#define wmb() __asm__ __volatile__("wmb": : :"memory") - -#define __smp_load_acquire(p) \ -({ \ - compiletime_assert_atomic_type(*p); \ - __READ_ONCE(*p); \ -}) - -#ifdef CONFIG_SMP -#define __ASM_SMP_MB "\tmb\n" -#else -#define __ASM_SMP_MB -#endif - -#include - -#endif /* __BARRIER_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __BARRIER_H +#define __BARRIER_H + +#define mb() __asm__ __volatile__("mb": : :"memory") +#define rmb() __asm__ __volatile__("mb": : :"memory") +#define wmb() __asm__ __volatile__("wmb": : :"memory") + +#define __smp_load_acquire(p) \ +({ \ + compiletime_assert_atomic_type(*p); \ + __READ_ONCE(*p); \ +}) + +#ifdef CONFIG_SMP +#define __ASM_SMP_MB "\tmb\n" +#else +#define __ASM_SMP_MB +#endif + +#include + +#endif /* __BARRIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/bug.h index 72b354fdcb..b88ebdfedf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/bug.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_BUG_H -#define _ALPHA_BUG_H - -#include - -#ifdef CONFIG_BUG -#include - -/* ??? Would be nice to use .gprel32 here, but we can't be sure that the - function loaded the GP, so this could fail in modules. */ -#define BUG() do { \ - __asm__ __volatile__( \ - "call_pal %0 # bugchk\n\t" \ - ".long %1\n\t.8byte %2" \ - : : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \ - unreachable(); \ - } while (0) - -#define HAVE_ARCH_BUG -#endif - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_BUG_H +#define _ALPHA_BUG_H + +#include + +#ifdef CONFIG_BUG +#include + +/* ??? Would be nice to use .gprel32 here, but we can't be sure that the + function loaded the GP, so this could fail in modules. */ +#define BUG() do { \ + __asm__ __volatile__( \ + "call_pal %0 # bugchk\n\t" \ + ".long %1\n\t.8byte %2" \ + : : "i"(PAL_bugchk), "i"(__LINE__), "i"(__FILE__)); \ + unreachable(); \ + } while (0) + +#define HAVE_ARCH_BUG +#endif + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/cache.h index 974e8d6147..6ce508c689 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/cache.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * include/asm-alpha/cache.h - */ -#ifndef __ARCH_ALPHA_CACHE_H -#define __ARCH_ALPHA_CACHE_H - - -/* Bytes per L1 (data) cache line. */ -#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6) -# define L1_CACHE_BYTES 64 -# define L1_CACHE_SHIFT 6 -#else -/* Both EV4 and EV5 are write-through, read-allocate, - direct-mapped, physical. -*/ -# define L1_CACHE_BYTES 32 -# define L1_CACHE_SHIFT 5 -#endif - -#define SMP_CACHE_BYTES L1_CACHE_BYTES - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * include/asm-alpha/cache.h + */ +#ifndef __ARCH_ALPHA_CACHE_H +#define __ARCH_ALPHA_CACHE_H + + +/* Bytes per L1 (data) cache line. */ +#if defined(CONFIG_ALPHA_GENERIC) || defined(CONFIG_ALPHA_EV6) +# define L1_CACHE_BYTES 64 +# define L1_CACHE_SHIFT 6 +#else +/* Both EV4 and EV5 are write-through, read-allocate, + direct-mapped, physical. +*/ +# define L1_CACHE_BYTES 32 +# define L1_CACHE_SHIFT 5 +#endif + +#define SMP_CACHE_BYTES L1_CACHE_BYTES + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/parport.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/parport.h index 1ce32d9c9a..0519a51e61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/parport.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/parport.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * parport.h: platform-specific PC-style parport initialisation - * - * Copyright (C) 1999, 2000 Tim Waugh - * - * This file should only be included by drivers/parport/parport_pc.c. - */ - -#ifndef _ASM_AXP_PARPORT_H -#define _ASM_AXP_PARPORT_H 1 - -static int parport_pc_find_isa_ports (int autoirq, int autodma); -static int parport_pc_find_nonpci_ports (int autoirq, int autodma) -{ - return parport_pc_find_isa_ports (autoirq, autodma); -} - -#endif /* !(_ASM_AXP_PARPORT_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * parport.h: platform-specific PC-style parport initialisation + * + * Copyright (C) 1999, 2000 Tim Waugh + * + * This file should only be included by drivers/parport/parport_pc.c. + */ + +#ifndef _ASM_AXP_PARPORT_H +#define _ASM_AXP_PARPORT_H 1 + +static int parport_pc_find_isa_ports (int autoirq, int autodma); +static int parport_pc_find_nonpci_ports (int autoirq, int autodma) +{ + return parport_pc_find_isa_ports (autoirq, autodma); +} + +#endif /* !(_ASM_AXP_PARPORT_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/percpu.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/percpu.h index 7368045327..6923249f2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/percpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/percpu.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_PERCPU_H -#define __ALPHA_PERCPU_H - -/* - * To calculate addresses of locally defined variables, GCC uses - * 32-bit displacement from the GP. Which doesn't work for per cpu - * variables in modules, as an offset to the kernel per cpu area is - * way above 4G. - * - * Always use weak definitions for percpu variables in modules. - */ -#if defined(MODULE) && defined(CONFIG_SMP) -#define ARCH_NEEDS_WEAK_PER_CPU -#endif - -#include - -#endif /* __ALPHA_PERCPU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_PERCPU_H +#define __ALPHA_PERCPU_H + +/* + * To calculate addresses of locally defined variables, GCC uses + * 32-bit displacement from the GP. Which doesn't work for per cpu + * variables in modules, as an offset to the kernel per cpu area is + * way above 4G. + * + * Always use weak definitions for percpu variables in modules. + */ +#if defined(MODULE) && defined(CONFIG_SMP) +#define ARCH_NEEDS_WEAK_PER_CPU +#endif + +#include + +#endif /* __ALPHA_PERCPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/sparsemem.h index d2da8838a5..a0820fd2d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/sparsemem.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ALPHA_SPARSEMEM_H -#define _ASM_ALPHA_SPARSEMEM_H - -#ifdef CONFIG_SPARSEMEM - -#define SECTION_SIZE_BITS 27 - -/* - * According to "Alpha Architecture Reference Manual" physical - * addresses are at most 48 bits. - * https://download.majix.org/dec/alpha_arch_ref.pdf - */ -#define MAX_PHYSMEM_BITS 48 - -#endif /* CONFIG_SPARSEMEM */ - -#endif /* _ASM_ALPHA_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ALPHA_SPARSEMEM_H +#define _ASM_ALPHA_SPARSEMEM_H + +#ifdef CONFIG_SPARSEMEM + +#define SECTION_SIZE_BITS 27 + +/* + * According to "Alpha Architecture Reference Manual" physical + * addresses are at most 48 bits. + * https://download.majix.org/dec/alpha_arch_ref.pdf + */ +#define MAX_PHYSMEM_BITS 48 + +#endif /* CONFIG_SPARSEMEM */ + +#endif /* _ASM_ALPHA_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/spinlock_types.h index 076c3eb1ca..2526fd3be5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/spinlock_types.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_SPINLOCK_TYPES_H -#define _ALPHA_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -typedef struct { - volatile unsigned int lock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } - -typedef struct { - volatile unsigned int lock; -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED { 0 } - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_SPINLOCK_TYPES_H +#define _ALPHA_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +typedef struct { + volatile unsigned int lock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } + +typedef struct { + volatile unsigned int lock; +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED { 0 } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/switch_to.h index 03dd6b17c9..762b7f9753 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/switch_to.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ALPHA_SWITCH_TO_H -#define __ALPHA_SWITCH_TO_H - - -struct task_struct; -extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct *); - -#define switch_to(P,N,L) \ - do { \ - (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \ - check_mmu_context(); \ - } while (0) - -#endif /* __ALPHA_SWITCH_TO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ALPHA_SWITCH_TO_H +#define __ALPHA_SWITCH_TO_H + + +struct task_struct; +extern struct task_struct *alpha_switch_to(unsigned long, struct task_struct *); + +#define switch_to(P,N,L) \ + do { \ + (L) = alpha_switch_to(virt_to_phys(&task_thread_info(N)->pcb), (P)); \ + check_mmu_context(); \ + } while (0) + +#endif /* __ALPHA_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/syscall.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/syscall.h index b4245c766a..f21babaeed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/syscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/syscall.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ALPHA_SYSCALL_H -#define _ASM_ALPHA_SYSCALL_H - -#include - -static inline int syscall_get_arch(struct task_struct *task) -{ - return AUDIT_ARCH_ALPHA; -} - -static inline long syscall_get_return_value(struct task_struct *task, - struct pt_regs *regs) -{ - return regs->r0; -} - -#endif /* _ASM_ALPHA_SYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ALPHA_SYSCALL_H +#define _ASM_ALPHA_SYSCALL_H + +#include + +static inline int syscall_get_arch(struct task_struct *task) +{ + return AUDIT_ARCH_ALPHA; +} + +static inline long syscall_get_return_value(struct task_struct *task, + struct pt_regs *regs) +{ + return regs->r0; +} + +#endif /* _ASM_ALPHA_SYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ucontext.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ucontext.h index bb5757f62d..af1f3465b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ucontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/ucontext.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMAXP_UCONTEXT_H -#define _ASMAXP_UCONTEXT_H - -struct ucontext { - unsigned long uc_flags; - struct ucontext *uc_link; - old_sigset_t uc_osf_sigmask; - stack_t uc_stack; - struct sigcontext uc_mcontext; - sigset_t uc_sigmask; /* mask last for extensibility */ -}; - -#endif /* !_ASMAXP_UCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMAXP_UCONTEXT_H +#define _ASMAXP_UCONTEXT_H + +struct ucontext { + unsigned long uc_flags; + struct ucontext *uc_link; + old_sigset_t uc_osf_sigmask; + stack_t uc_stack; + struct sigcontext uc_mcontext; + sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif /* !_ASMAXP_UCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/unistd.h index 1f7886e19c..caabd92ea7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/asm/unistd.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ALPHA_UNISTD_H -#define _ALPHA_UNISTD_H - -#include - -#define NR_syscalls __NR_syscalls - -#define __ARCH_WANT_NEW_STAT -#define __ARCH_WANT_OLD_READDIR -#define __ARCH_WANT_STAT64 -#define __ARCH_WANT_SYS_GETHOSTNAME -#define __ARCH_WANT_SYS_FADVISE64 -#define __ARCH_WANT_SYS_GETPGRP -#define __ARCH_WANT_SYS_OLDUMOUNT -#define __ARCH_WANT_SYS_SIGPENDING -#define __ARCH_WANT_SYS_UTIME -#define __ARCH_WANT_SYS_FORK -#define __ARCH_WANT_SYS_VFORK -#define __ARCH_WANT_SYS_CLONE - -#endif /* _ALPHA_UNISTD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ALPHA_UNISTD_H +#define _ALPHA_UNISTD_H + +#include + +#define NR_syscalls __NR_syscalls + +#define __ARCH_WANT_NEW_STAT +#define __ARCH_WANT_OLD_READDIR +#define __ARCH_WANT_STAT64 +#define __ARCH_WANT_SYS_GETHOSTNAME +#define __ARCH_WANT_SYS_FADVISE64 +#define __ARCH_WANT_SYS_GETPGRP +#define __ARCH_WANT_SYS_OLDUMOUNT +#define __ARCH_WANT_SYS_SIGPENDING +#define __ARCH_WANT_SYS_UTIME +#define __ARCH_WANT_SYS_FORK +#define __ARCH_WANT_SYS_VFORK +#define __ARCH_WANT_SYS_CLONE + +#endif /* _ALPHA_UNISTD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/posix_types.h index 4eb6990649..04f1ea5750 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/posix_types.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ALPHA_POSIX_TYPES_H -#define _ALPHA_POSIX_TYPES_H - -/* - * This file is generally used by user-level software, so you need to - * be a little careful about namespace pollution etc. Also, we cannot - * assume GCC is being used. - */ - -typedef unsigned int __kernel_ino_t; -#define __kernel_ino_t __kernel_ino_t - -typedef unsigned long __kernel_sigset_t; /* at least 32 bits */ - -#include - -#endif /* _ALPHA_POSIX_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ALPHA_POSIX_TYPES_H +#define _ALPHA_POSIX_TYPES_H + +/* + * This file is generally used by user-level software, so you need to + * be a little careful about namespace pollution etc. Also, we cannot + * assume GCC is being used. + */ + +typedef unsigned int __kernel_ino_t; +#define __kernel_ino_t __kernel_ino_t + +typedef unsigned long __kernel_sigset_t; /* at least 32 bits */ + +#include + +#endif /* _ALPHA_POSIX_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sockios.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sockios.h index 9dd05b9feb..af92bc27c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sockios.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/sockios.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_ALPHA_SOCKIOS_H -#define _ASM_ALPHA_SOCKIOS_H - -/* Socket-level I/O control calls. */ - -#define FIOGETOWN _IOR('f', 123, int) -#define FIOSETOWN _IOW('f', 124, int) - -#define SIOCATMARK _IOR('s', 7, int) -#define SIOCSPGRP _IOW('s', 8, pid_t) -#define SIOCGPGRP _IOR('s', 9, pid_t) - -#define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */ -#define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */ - -#endif /* _ASM_ALPHA_SOCKIOS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_ALPHA_SOCKIOS_H +#define _ASM_ALPHA_SOCKIOS_H + +/* Socket-level I/O control calls. */ + +#define FIOGETOWN _IOR('f', 123, int) +#define FIOSETOWN _IOW('f', 124, int) + +#define SIOCATMARK _IOR('s', 7, int) +#define SIOCSPGRP _IOW('s', 8, pid_t) +#define SIOCGPGRP _IOR('s', 9, pid_t) + +#define SIOCGSTAMP_OLD 0x8906 /* Get stamp (timeval) */ +#define SIOCGSTAMPNS_OLD 0x8907 /* Get stamp (timespec) */ + +#endif /* _ASM_ALPHA_SOCKIOS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/unistd.h index a50ffa2dd3..71fd5db068 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/include/uapi/asm/unistd.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_ALPHA_UNISTD_H -#define _UAPI_ALPHA_UNISTD_H - -/* These are traditionally the names linux-alpha uses for - * the two otherwise generic system calls */ -#define __NR_umount __NR_umount2 -#define __NR_osf_shmat __NR_shmat - -/* These return an extra value but can be used as aliases */ -#define __NR_getpid __NR_getxpid -#define __NR_getuid __NR_getxuid -#define __NR_getgid __NR_getxgid - -#include - -#endif /* _UAPI_ALPHA_UNISTD_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_ALPHA_UNISTD_H +#define _UAPI_ALPHA_UNISTD_H + +/* These are traditionally the names linux-alpha uses for + * the two otherwise generic system calls */ +#define __NR_umount __NR_umount2 +#define __NR_osf_shmat __NR_shmat + +/* These return an extra value but can be used as aliases */ +#define __NR_getpid __NR_getxpid +#define __NR_getuid __NR_getxuid +#define __NR_getgid __NR_getxgid + +#include + +#endif /* _UAPI_ALPHA_UNISTD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/clear_page.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/clear_page.S index 0f92b94e5f..af70ee309a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/clear_page.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/clear_page.S @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/clear_page.S - * - * Zero an entire page. - */ -#include - .text - .align 4 - .global clear_page - .ent clear_page -clear_page: - .prologue 0 - - lda $0,128 - nop - unop - nop - -1: stq $31,0($16) - stq $31,8($16) - stq $31,16($16) - stq $31,24($16) - - stq $31,32($16) - stq $31,40($16) - stq $31,48($16) - subq $0,1,$0 - - stq $31,56($16) - addq $16,64,$16 - unop - bne $0,1b - - ret - nop - unop - nop - - .end clear_page - EXPORT_SYMBOL(clear_page) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/clear_page.S + * + * Zero an entire page. + */ +#include + .text + .align 4 + .global clear_page + .ent clear_page +clear_page: + .prologue 0 + + lda $0,128 + nop + unop + nop + +1: stq $31,0($16) + stq $31,8($16) + stq $31,16($16) + stq $31,24($16) + + stq $31,32($16) + stq $31,40($16) + stq $31,48($16) + subq $0,1,$0 + + stq $31,56($16) + addq $16,64,$16 + unop + bne $0,1b + + ret + nop + unop + nop + + .end clear_page + EXPORT_SYMBOL(clear_page) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_current.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_current.S index 8efb7cc6b8..be66121312 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_current.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_current.S @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/dbg_current.S - * Contributed by Richard Henderson (rth@cygnus.com) - * - * Trap if we find current not correct. - */ - -#include - - .text - .set noat - - .globl _mcount - .ent _mcount -_mcount: - .frame $30, 0, $28, 0 - .prologue 0 - - lda $0, -0x4000($30) - cmpult $8, $30, $1 - cmpule $0, $30, $2 - and $1, $2, $3 - bne $3, 1f - - call_pal PAL_bugchk - -1: ret $31, ($28), 1 - - .end _mcount +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/dbg_current.S + * Contributed by Richard Henderson (rth@cygnus.com) + * + * Trap if we find current not correct. + */ + +#include + + .text + .set noat + + .globl _mcount + .ent _mcount +_mcount: + .frame $30, 0, $28, 0 + .prologue 0 + + lda $0, -0x4000($30) + cmpult $8, $30, $1 + cmpule $0, $30, $2 + and $1, $2, $3 + bne $3, 1f + + call_pal PAL_bugchk + +1: ret $31, ($28), 1 + + .end _mcount diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackcheck.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackcheck.S index 129da87970..b3b6fc94f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackcheck.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackcheck.S @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/dbg_stackcheck.S - * Contributed by Richard Henderson (rth@tamu.edu) - * - * Verify that we have not overflowed the stack. Oops if we have. - */ - -#include - - .text - .set noat - - .align 3 - .globl _mcount - .ent _mcount -_mcount: - .frame $30, 0, $28, 0 - .prologue 0 - - lda $0, TASK_SIZE($8) - cmpult $30, $0, $0 - bne $0, 1f - ret ($28) -1: stq $31, -8($31) # oops me, damn it. - br 1b - - .end _mcount +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/dbg_stackcheck.S + * Contributed by Richard Henderson (rth@tamu.edu) + * + * Verify that we have not overflowed the stack. Oops if we have. + */ + +#include + + .text + .set noat + + .align 3 + .globl _mcount + .ent _mcount +_mcount: + .frame $30, 0, $28, 0 + .prologue 0 + + lda $0, TASK_SIZE($8) + cmpult $30, $0, $0 + bne $0, 1f + ret ($28) +1: stq $31, -8($31) # oops me, damn it. + br 1b + + .end _mcount diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackkill.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackkill.S index 090593cf64..6d9197e52a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackkill.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/dbg_stackkill.S @@ -1,36 +1,36 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/dbg_stackkill.S - * Contributed by Richard Henderson (rth@cygnus.com) - * - * Clobber the balance of the kernel stack, hoping to catch - * uninitialized local variables in the act. - */ - -#include - - .text - .set noat - - .align 5 - .globl _mcount - .ent _mcount -_mcount: - .frame $30, 0, $28, 0 - .prologue 0 - - ldi $0, 0xdeadbeef - lda $2, -STACK_SIZE - sll $0, 32, $1 - and $30, $2, $2 - or $0, $1, $0 - lda $2, TASK_SIZE($2) - cmpult $2, $30, $1 - beq $1, 2f -1: stq $0, 0($2) - addq $2, 8, $2 - cmpult $2, $30, $1 - bne $1, 1b -2: ret ($28) - - .end _mcount +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/dbg_stackkill.S + * Contributed by Richard Henderson (rth@cygnus.com) + * + * Clobber the balance of the kernel stack, hoping to catch + * uninitialized local variables in the act. + */ + +#include + + .text + .set noat + + .align 5 + .globl _mcount + .ent _mcount +_mcount: + .frame $30, 0, $28, 0 + .prologue 0 + + ldi $0, 0xdeadbeef + lda $2, -STACK_SIZE + sll $0, 32, $1 + and $30, $2, $2 + or $0, $1, $0 + lda $2, TASK_SIZE($2) + cmpult $2, $30, $1 + beq $1, 2f +1: stq $0, 0($2) + addq $2, 8, $2 + cmpult $2, $30, $1 + bne $1, 1b +2: ret ($28) + + .end _mcount diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_puts.c b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_puts.c index fd446392f6..df7991f6fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_puts.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/srm_puts.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/alpha/lib/srm_puts.c - */ - -#include -#include - -long -srm_puts(const char *str, long len) -{ - long remaining, written; - - if (!callback_init_done) - return len; - - for (remaining = len; remaining > 0; remaining -= written) - { - written = callback_puts(0, str, remaining); - written &= 0xffffffff; - str += written; - } - return len; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/alpha/lib/srm_puts.c + */ + +#include +#include + +long +srm_puts(const char *str, long len) +{ + long remaining, written; + + if (!callback_init_done) + return len; + + for (remaining = len; remaining > 0; remaining -= written) + { + written = callback_puts(0, str, remaining); + written &= 0xffffffff; + str += written; + } + return len; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/strcpy.S b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/strcpy.S index 1c2c15c8f5..d8773ba775 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/strcpy.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/alpha/lib/strcpy.S @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/alpha/lib/strcpy.S - * Contributed by Richard Henderson (rth@tamu.edu) - * - * Copy a null-terminated string from SRC to DST. Return a pointer - * to the null-terminator in the source. - */ -#include - .text - - .align 3 - .globl strcpy - .ent strcpy -strcpy: - .frame $30, 0, $26 - .prologue 0 - - mov $16, $0 # set up return value - mov $26, $23 # set up return address - unop - br __stxcpy # do the copy - - .end strcpy - EXPORT_SYMBOL(strcpy) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/alpha/lib/strcpy.S + * Contributed by Richard Henderson (rth@tamu.edu) + * + * Copy a null-terminated string from SRC to DST. Return a pointer + * to the null-terminator in the source. + */ +#include + .text + + .align 3 + .globl strcpy + .ent strcpy +strcpy: + .frame $30, 0, $26 + .prologue 0 + + mov $16, $0 # set up return value + mov $26, $23 # set up return address + unop + br __stxcpy # do the copy + + .end strcpy + EXPORT_SYMBOL(strcpy) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/Kconfig.debug b/image/debian/UFI003_MB_V02/kernel/arch/arc/Kconfig.debug index 81825d671b..45add86dec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/Kconfig.debug +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/Kconfig.debug @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 - -config 16KSTACKS - bool "Use 16Kb for kernel stacks instead of 8Kb" - help - If you say Y here the kernel will use a 16Kb stacksize for the - kernel stack attached to each process/thread. The default is 8K. - This increases the resident kernel footprint and will cause less - threads to run on the system and also increase the pressure - on the VM subsystem for higher order allocations. +# SPDX-License-Identifier: GPL-2.0 + +config 16KSTACKS + bool "Use 16Kb for kernel stacks instead of 8Kb" + help + If you say Y here the kernel will use a 16Kb stacksize for the + kernel stack attached to each process/thread. The default is 8K. + This increases the resident kernel footprint and will cause less + threads to run on the system and also increase the pressure + on the VM subsystem for higher order allocations. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/Makefile index 3763e4eac4..48704dfdf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -# Built-in dtb -builtindtb-y := nsim_700 - -ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),) - builtindtb-y := $(CONFIG_ARC_BUILTIN_DTB_NAME) -endif - -obj-y += $(builtindtb-y).dtb.o -dtb-y := $(builtindtb-y).dtb - -# for CONFIG_OF_ALL_DTBS test -dtb- := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) - -# board-specific dtc flags -DTC_FLAGS_hsdk += --pad 20 +# SPDX-License-Identifier: GPL-2.0 +# Built-in dtb +builtindtb-y := nsim_700 + +ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),) + builtindtb-y := $(CONFIG_ARC_BUILTIN_DTB_NAME) +endif + +obj-y += $(builtindtb-y).dtb.o +dtb-y := $(builtindtb-y).dtb + +# for CONFIG_OF_ALL_DTBS test +dtb- := $(patsubst $(src)/%.dts,%.dtb, $(wildcard $(src)/*.dts)) + +# board-specific dtc flags +DTC_FLAGS_hsdk += --pad 20 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs101.dts b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs101.dts index 2a5ec1a05e..c4cfc5f4f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs101.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs101.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * ARC AXS101 S/W development platform - */ -/dts-v1/; - -/include/ "axc001.dtsi" -/include/ "axs10x_mb.dtsi" - -/ { - model = "snps,axs101"; - compatible = "snps,axs101", "snps,arc-sdp"; - - chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 print-fatal-signals=1"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) + * + * ARC AXS101 S/W development platform + */ +/dts-v1/; + +/include/ "axc001.dtsi" +/include/ "axs10x_mb.dtsi" + +/ { + model = "snps,axs101"; + compatible = "snps,axs101", "snps,arc-sdp"; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 print-fatal-signals=1"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103.dts b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103.dts index 26a8e0bba1..16ccb7ba7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - */ - -/* - * Device Tree for AXS103 SDP with AXS10X Main Board and - * AXC003 FPGA Card (with UP bitfile) - */ -/dts-v1/; - -/include/ "axc003.dtsi" -/include/ "axs10x_mb.dtsi" - -/ { - model = "snps,axs103"; - compatible = "snps,axs103", "snps,arc-sdp"; - - chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=ttyS3,115200n8 debug print-fatal-signals=1"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) + */ + +/* + * Device Tree for AXS103 SDP with AXS10X Main Board and + * AXC003 FPGA Card (with UP bitfile) + */ +/dts-v1/; + +/include/ "axc003.dtsi" +/include/ "axs10x_mb.dtsi" + +/ { + model = "snps,axs103"; + compatible = "snps,axs103", "snps,arc-sdp"; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=ttyS3,115200n8 debug print-fatal-signals=1"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103_idu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103_idu.dts index bf9b719c5a..a934b92a8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103_idu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/axs103_idu.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - */ - -/* - * Device Tree for AXS103 SDP with AXS10X Main Board and - * AXC003 FPGA Card (with SMP bitfile) - */ -/dts-v1/; - -/include/ "axc003_idu.dtsi" -/include/ "axs10x_mb.dtsi" - -/ { - model = "snps,axs103-smp"; - compatible = "snps,axs103", "snps,arc-sdp"; - - chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 print-fatal-signals=1 consoleblank=0"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) + */ + +/* + * Device Tree for AXS103 SDP with AXS10X Main Board and + * AXC003 FPGA Card (with SMP bitfile) + */ +/dts-v1/; + +/include/ "axc003_idu.dtsi" +/include/ "axs10x_mb.dtsi" + +/ { + model = "snps,axs103-smp"; + compatible = "snps,axs103", "snps,arc-sdp"; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 print-fatal-signals=1 consoleblank=0"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38.dts b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38.dts index b3c02ca4d2..cddea7eaca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * ARC HS38 Virtual Development Kit (VDK) - */ -/dts-v1/; - -/include/ "vdk_axc003.dtsi" -/include/ "vdk_axs10x_mb.dtsi" - -/ { - model = "snps,vdk_archs"; - compatible = "snps,axs103"; - - chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) + * + * ARC HS38 Virtual Development Kit (VDK) + */ +/dts-v1/; + +/include/ "vdk_axc003.dtsi" +/include/ "vdk_axs10x_mb.dtsi" + +/ { + model = "snps,vdk_archs"; + compatible = "snps,axs103"; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38_smp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38_smp.dts index b8f4856108..f57d1922ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38_smp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/boot/dts/vdk_hs38_smp.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * ARC HS38 Virtual Development Kit, SMP version (VDK) - */ -/dts-v1/; - -/include/ "vdk_axc003_idu.dtsi" -/include/ "vdk_axs10x_mb.dtsi" - -/ { - model = "snps,vdk_archs-smp"; - compatible = "snps,axs103"; - - chosen { - bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 video=640x480-24"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) + * + * ARC HS38 Virtual Development Kit, SMP version (VDK) + */ +/dts-v1/; + +/include/ "vdk_axc003_idu.dtsi" +/include/ "vdk_axs10x_mb.dtsi" + +/ { + model = "snps,vdk_archs-smp"; + compatible = "snps,axs103"; + + chosen { + bootargs = "earlycon=uart8250,mmio32,0xe0022000,115200n8 console=tty0 console=ttyS3,115200n8 consoleblank=0 video=640x480-24"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/current.h index bb9ef759a8..06be89f6f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/current.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - * - * Vineetg: May 16th, 2008 - * - Current macro is now implemented as "global register" r25 - */ - -#ifndef _ASM_ARC_CURRENT_H -#define _ASM_ARC_CURRENT_H - -#ifndef __ASSEMBLY__ - -#ifdef CONFIG_ARC_CURR_IN_REG - -register struct task_struct *curr_arc asm("gp"); -#define current (curr_arc) - -#else -#include -#endif /* ! CONFIG_ARC_CURR_IN_REG */ - -#endif /* ! __ASSEMBLY__ */ - -#endif /* _ASM_ARC_CURRENT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * Vineetg: May 16th, 2008 + * - Current macro is now implemented as "global register" r25 + */ + +#ifndef _ASM_ARC_CURRENT_H +#define _ASM_ARC_CURRENT_H + +#ifndef __ASSEMBLY__ + +#ifdef CONFIG_ARC_CURR_IN_REG + +register struct task_struct *curr_arc asm("gp"); +#define current (curr_arc) + +#else +#include +#endif /* ! CONFIG_ARC_CURR_IN_REG */ + +#endif /* ! __ASSEMBLY__ */ + +#endif /* _ASM_ARC_CURRENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irqflags.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irqflags.h index d7b8d4025b..edf201a699 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irqflags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/irqflags.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef __ASM_ARC_IRQFLAGS_H -#define __ASM_ARC_IRQFLAGS_H - -#ifdef CONFIG_ISA_ARCOMPACT -#include -#else -#include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef __ASM_ARC_IRQFLAGS_H +#define __ASM_ARC_IRQFLAGS_H + +#ifdef CONFIG_ISA_ARCOMPACT +#include +#else +#include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/mmu.h index 64e6254026..4ae2db59d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/mmu.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_MMU_H -#define _ASM_ARC_MMU_H - -#ifndef __ASSEMBLY__ - -#include /* NR_CPUS */ - -typedef struct { - unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ -} mm_context_t; - -struct pt_regs; -extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *); - -#endif - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_MMU_H +#define _ASM_ARC_MMU_H + +#ifndef __ASSEMBLY__ + +#include /* NR_CPUS */ + +typedef struct { + unsigned long asid[NR_CPUS]; /* 8 bit MMU PID + Generation cycle */ +} mm_context_t; + +struct pt_regs; +extern void do_tlb_overlap_fault(unsigned long, unsigned long, struct pt_regs *); + +#endif + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/module.h index a99299aa94..f534a1fef0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/module.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - * - * Amit Bhor, Sameer Dhavale: Codito Technologies 2004 - */ - -#ifndef _ASM_ARC_MODULE_H -#define _ASM_ARC_MODULE_H - -#include - -struct mod_arch_specific { -#ifdef CONFIG_ARC_DW2_UNWIND - void *unw_info; - int unw_sec_idx; -#endif - const char *secstr; -}; - -#endif /* _ASM_ARC_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * Amit Bhor, Sameer Dhavale: Codito Technologies 2004 + */ + +#ifndef _ASM_ARC_MODULE_H +#define _ASM_ARC_MODULE_H + +#include + +struct mod_arch_specific { +#ifdef CONFIG_ARC_DW2_UNWIND + void *unw_info; + int unw_sec_idx; +#endif + const char *secstr; +}; + +#endif /* _ASM_ARC_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pci.h index 7d773d850c..a6858e1117 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/pci.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_PCI_H -#define _ASM_ARC_PCI_H - -#ifdef __KERNEL__ -#include - -#define PCIBIOS_MIN_IO 0x100 -#define PCIBIOS_MIN_MEM 0x100000 - -#define pcibios_assign_all_busses() 1 - -#endif /* __KERNEL__ */ - -#endif /* _ASM_ARC_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_PCI_H +#define _ASM_ARC_PCI_H + +#ifdef __KERNEL__ +#include + +#define PCIBIOS_MIN_IO 0x100 +#define PCIBIOS_MIN_MEM 0x100000 + +#define pcibios_assign_all_busses() 1 + +#endif /* __KERNEL__ */ + +#endif /* _ASM_ARC_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/serial.h index 503d09debd..83062c8b97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/serial.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_SERIAL_H -#define _ASM_ARC_SERIAL_H - -/* - * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header. - * However to still determine it dynamically (for multi-platform images) - * we do this in a helper by parsing the FDT early - */ - -extern unsigned int __init arc_early_base_baud(void); - -#define BASE_BAUD arc_early_base_baud() - -#endif /* _ASM_ARC_SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_SERIAL_H +#define _ASM_ARC_SERIAL_H + +/* + * early 8250 (now earlycon) requires BASE_BAUD to be defined in this header. + * However to still determine it dynamically (for multi-platform images) + * we do this in a helper by parsing the FDT early + */ + +extern unsigned int __init arc_early_base_baud(void); + +#define BASE_BAUD arc_early_base_baud() + +#endif /* _ASM_ARC_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/switch_to.h index 737ee2a9e8..1f85de8288 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/switch_to.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_SWITCH_TO_H -#define _ASM_ARC_SWITCH_TO_H - -#ifndef __ASSEMBLY__ - -#include -#include -#include - -struct task_struct *__switch_to(struct task_struct *p, struct task_struct *n); - -#define switch_to(prev, next, last) \ -do { \ - dsp_save_restore(prev, next); \ - fpu_save_restore(prev, next); \ - last = __switch_to(prev, next);\ - mb(); \ -} while (0) - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_SWITCH_TO_H +#define _ASM_ARC_SWITCH_TO_H + +#ifndef __ASSEMBLY__ + +#include +#include +#include + +struct task_struct *__switch_to(struct task_struct *p, struct task_struct *n); + +#define switch_to(prev, next, last) \ +do { \ + dsp_save_restore(prev, next); \ + fpu_save_restore(prev, next); \ + last = __switch_to(prev, next);\ + mb(); \ +} while (0) + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/syscalls.h index f8bee094de..c3f4714a4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/syscalls.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_SYSCALLS_H -#define _ASM_ARC_SYSCALLS_H 1 - -#include -#include -#include - -int sys_clone_wrapper(int, int, int, int, int); -int sys_clone3_wrapper(void *, size_t); -int sys_cacheflush(uint32_t, uint32_t uint32_t); -int sys_arc_settls(void *); -int sys_arc_gettls(void); -int sys_arc_usr_cmpxchg(int *, int, int); - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_SYSCALLS_H +#define _ASM_ARC_SYSCALLS_H 1 + +#include +#include +#include + +int sys_clone_wrapper(int, int, int, int, int); +int sys_clone3_wrapper(void *, size_t); +int sys_cacheflush(uint32_t, uint32_t uint32_t); +int sys_arc_settls(void *); +int sys_arc_gettls(void); +int sys_arc_usr_cmpxchg(int *, int, int); + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/timex.h index 1180be5170..48b3482bc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/asm/timex.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#ifndef _ASM_ARC_TIMEX_H -#define _ASM_ARC_TIMEX_H - -#define CLOCK_TICK_RATE 80000000 /* slated to be removed */ - -#include - -/* XXX: get_cycles() to be implemented with RTSC insn */ - -#endif /* _ASM_ARC_TIMEX_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#ifndef _ASM_ARC_TIMEX_H +#define _ASM_ARC_TIMEX_H + +#define CLOCK_TICK_RATE 80000000 /* slated to be removed */ + +#include + +/* XXX: get_cycles() to be implemented with RTSC insn */ + +#endif /* _ASM_ARC_TIMEX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/byteorder.h index 4199eed0e6..5540111531 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/byteorder.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef __ASM_ARC_BYTEORDER_H -#define __ASM_ARC_BYTEORDER_H - -#ifdef __BIG_ENDIAN__ -#include -#else -#include -#endif - -#endif /* ASM_ARC_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#ifndef __ASM_ARC_BYTEORDER_H +#define __ASM_ARC_BYTEORDER_H + +#ifdef __BIG_ENDIAN__ +#include +#else +#include +#endif + +#endif /* ASM_ARC_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/unistd.h index b13d0429a3..cb2905c7c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/include/uapi/asm/unistd.h @@ -1,10 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#include +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/reset.c index 402f6eb7d2..fd6c3eb930 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/reset.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011-2012 Synopsys, Inc. (www.synopsys.com) - */ - -#include -#include -#include -#include - -void machine_halt(void) -{ - /* Halt the processor */ - __asm__ __volatile__("flag 1\n"); -} - -void machine_restart(char *__unused) -{ - /* Soft reset : jump to reset vector */ - pr_info("Put your restart handler here\n"); - machine_halt(); -} - -void machine_power_off(void) -{ - /* FIXME :: power off ??? */ - machine_halt(); -} - -void (*pm_power_off) (void) = NULL; -EXPORT_SYMBOL(pm_power_off); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2011-2012 Synopsys, Inc. (www.synopsys.com) + */ + +#include +#include +#include +#include + +void machine_halt(void) +{ + /* Halt the processor */ + __asm__ __volatile__("flag 1\n"); +} + +void machine_restart(char *__unused) +{ + /* Soft reset : jump to reset vector */ + pr_info("Put your restart handler here\n"); + machine_halt(); +} + +void machine_power_off(void) +{ + /* FIXME :: power off ??? */ + machine_halt(); +} + +void (*pm_power_off) (void) = NULL; +EXPORT_SYMBOL(pm_power_off); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/sys.c b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/sys.c index dd52f54b99..36a2a95c08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/sys.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/kernel/sys.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include -#include - -#include - -#define sys_clone sys_clone_wrapper -#define sys_clone3 sys_clone3_wrapper -#define sys_mmap2 sys_mmap_pgoff - -#define __SYSCALL(nr, call) [nr] = (call), -#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) - -void *sys_call_table[NR_syscalls] = { - [0 ... NR_syscalls-1] = sys_ni_syscall, -#include -}; +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include + +#include + +#define sys_clone sys_clone_wrapper +#define sys_clone3 sys_clone3_wrapper +#define sys_mmap2 sys_mmap_pgoff + +#define __SYSCALL(nr, call) [nr] = (call), +#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) + +void *sys_call_table[NR_syscalls] = { + [0 ... NR_syscalls-1] = sys_ni_syscall, +#include +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arc/lib/Makefile index 138ba0cc97..30158ae69f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/lib/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -# - -lib-y := strchr-700.o strcpy-700.o strlen.o memcmp.o - -lib-$(CONFIG_ISA_ARCOMPACT) += memcpy-700.o memset.o strcmp.o -lib-$(CONFIG_ISA_ARCV2) += memset-archs.o strcmp-archs.o - -ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS -lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o -else -lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs.o -endif +# SPDX-License-Identifier: GPL-2.0-only +# +# Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) +# + +lib-y := strchr-700.o strcpy-700.o strlen.o memcmp.o + +lib-$(CONFIG_ISA_ARCOMPACT) += memcpy-700.o memset.o strcmp.o +lib-$(CONFIG_ISA_ARCV2) += memset-archs.o strcmp-archs.o + +ifdef CONFIG_ARC_USE_UNALIGNED_MEM_ACCESS +lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs-unaligned.o +else +lib-$(CONFIG_ISA_ARCV2) +=memcpy-archs.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/extable.c b/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/extable.c index 0d86acad20..88fa3a4d49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/extable.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/mm/extable.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) - * - * Borrowed heavily from MIPS - */ - -#include -#include -#include - -int fixup_exception(struct pt_regs *regs) -{ - const struct exception_table_entry *fixup; - - fixup = search_exception_tables(instruction_pointer(regs)); - if (fixup) { - regs->ret = fixup->fixup; - - return 1; - } - - return 0; -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) + * + * Borrowed heavily from MIPS + */ + +#include +#include +#include + +int fixup_exception(struct pt_regs *regs) +{ + const struct exception_table_entry *fixup; + + fixup = search_exception_tables(instruction_pointer(regs)); + if (fixup) { + regs->ret = fixup->fixup; + + return 1; + } + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Kconfig index e4d8ce33cb..158d53aad4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/Kconfig @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only -# Abilis Systems TB10x platform kernel configuration file -# -# Author: Christian Ruppert -# - - -menuconfig ARC_PLAT_TB10X - bool "Abilis TB10x" - select PINCTRL - select PINCTRL_TB10X - select PINMUX - select GPIOLIB - select GPIO_TB10X - select TB10X_IRQC - help - Support for platforms based on the TB10x home media gateway SOC by - Abilis Systems. TB10x is based on the ARC700 CPU architecture. - Say Y if you are building a kernel for one of the SOCs in this - series (e.g. TB100 or TB101). If in doubt say N. +# SPDX-License-Identifier: GPL-2.0-only +# Abilis Systems TB10x platform kernel configuration file +# +# Author: Christian Ruppert +# + + +menuconfig ARC_PLAT_TB10X + bool "Abilis TB10x" + select PINCTRL + select PINCTRL_TB10X + select PINMUX + select GPIOLIB + select GPIO_TB10X + select TB10X_IRQC + help + Support for platforms based on the TB10x home media gateway SOC by + Abilis Systems. TB10x is based on the ARC700 CPU architecture. + Say Y if you are building a kernel for one of the SOCs in this + series (e.g. TB100 or TB101). If in doubt say N. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/tb10x.c b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/tb10x.c index af2e69d579..11d23420f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/tb10x.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arc/plat-tb10x/tb10x.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Abilis Systems TB10x platform initialisation - * - * Copyright (C) Abilis Systems 2012 - * - * Author: Christian Ruppert - */ - -#include -#include - -static const char *tb10x_compat[] __initdata = { - "abilis,arc-tb10x", - NULL, -}; - -MACHINE_START(TB10x, "tb10x") - .dt_compat = tb10x_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Abilis Systems TB10x platform initialisation + * + * Copyright (C) Abilis Systems 2012 + * + * Author: Christian Ruppert + */ + +#include +#include + +static const char *tb10x_compat[] __initdata = { + "abilis,arc-tb10x", + NULL, +}; + +MACHINE_START(TB10x, "tb10x") + .dt_compat = tb10x_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm/Kbuild index 9fc6c8b322..69de6b6243 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/Kbuild @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_FPE_NWFPE) += nwfpe/ -# Put arch/arm/fastfpe/ to use this. -obj-$(CONFIG_FPE_FASTFPE) += $(patsubst $(src)/%,%,$(wildcard $(src)/fastfpe/)) -obj-$(CONFIG_VFP) += vfp/ -obj-$(CONFIG_XEN) += xen/ -obj-$(CONFIG_VDSO) += vdso/ -obj-y += kernel/ mm/ common/ -obj-y += probes/ -obj-y += net/ -obj-y += crypto/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0-only +obj-$(CONFIG_FPE_NWFPE) += nwfpe/ +# Put arch/arm/fastfpe/ to use this. +obj-$(CONFIG_FPE_FASTFPE) += $(patsubst $(src)/%,%,$(wildcard $(src)/fastfpe/)) +obj-$(CONFIG_VFP) += vfp/ +obj-$(CONFIG_XEN) += xen/ +obj-$(CONFIG_VDSO) += vdso/ +obj-y += kernel/ mm/ common/ +obj-y += probes/ +obj-y += net/ +obj-y += crypto/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/bootp.lds b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/bootp.lds index b6369b3fd3..160128186b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/bootp.lds +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/bootp/bootp.lds @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/boot/bootp/bootp.lds - * - * Copyright (C) 2000-2002 Russell King - */ -OUTPUT_ARCH(arm) -ENTRY(_start) -SECTIONS -{ - . = 0; - .text : { - _stext = .; - *(.start) - *(.text) - initrd_size = initrd_end - initrd_start; - _etext = .; - } - - .stab 0 : { *(.stab) } - .stabstr 0 : { *(.stabstr) } - .stab.excl 0 : { *(.stab.excl) } - .stab.exclstr 0 : { *(.stab.exclstr) } - .stab.index 0 : { *(.stab.index) } - .stab.indexstr 0 : { *(.stab.indexstr) } - .comment 0 : { *(.comment) } -} +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/boot/bootp/bootp.lds + * + * Copyright (C) 2000-2002 Russell King + */ +OUTPUT_ARCH(arm) +ENTRY(_start) +SECTIONS +{ + . = 0; + .text : { + _stext = .; + *(.start) + *(.text) + initrd_size = initrd_end - initrd_start; + _etext = .; + } + + .stab 0 : { *(.stab) } + .stabstr 0 : { *(.stabstr) } + .stab.excl 0 : { *(.stab.excl) } + .stab.exclstr 0 : { *(.stab.exclstr) } + .stab.index 0 : { *(.stab.index) } + .stab.indexstr 0 : { *(.stab.indexstr) } + .comment 0 : { *(.comment) } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-cubieboard6.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-cubieboard6.dts index e7b8662457..c2b0289591 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-cubieboard6.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-cubieboard6.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Cubietech CubieBoard6 - * - * Copyright (c) 2017 Andreas Färber - */ - -/dts-v1/; - -#include "owl-s500.dtsi" - -/ { - compatible = "cubietech,cubieboard6", "actions,s500"; - model = "CubieBoard6"; - - aliases { - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial3:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x80000000>; - }; -}; - -&timer { - clocks = <&hosc>; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Cubietech CubieBoard6 + * + * Copyright (c) 2017 Andreas Färber + */ + +/dts-v1/; + +#include "owl-s500.dtsi" + +/ { + compatible = "cubietech,cubieboard6", "actions,s500"; + model = "CubieBoard6"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar-bb-rev-b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar-bb-rev-b.dts index 77d928e95b..7ae34a23e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar-bb-rev-b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-guitar-bb-rev-b.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016-2017 Andreas Färber - */ - -/dts-v1/; - -#include "owl-s500-guitar.dtsi" - -/ { - compatible = "lemaker,guitar-bb-rev-b", "lemaker,guitar", "actions,s500"; - model = "LeMaker Guitar Base Board rev. B"; - - aliases { - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial3:115200n8"; - }; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016-2017 Andreas Färber + */ + +/dts-v1/; + +#include "owl-s500-guitar.dtsi" + +/ { + compatible = "lemaker,guitar-bb-rev-b", "lemaker,guitar", "actions,s500"; + model = "LeMaker Guitar Base Board rev. B"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-base-m.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-base-m.dts index adbeb1b71e..1585e33f70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-base-m.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-base-m.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Caninos Labrador Base Board - * - * Copyright (c) 2019-2020 Matheus Castello - */ - -/dts-v1/; - -#include "owl-s500-labrador-v2.dtsi" - -/ { - model = "Caninos Labrador Core v2 on Labrador Base-M v1"; - compatible = "caninos,labrador-base-m", - "caninos,labrador-v2", "actions,s500"; - - aliases { - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial3:115200n8"; - }; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Caninos Labrador Base Board + * + * Copyright (c) 2019-2020 Matheus Castello + */ + +/dts-v1/; + +#include "owl-s500-labrador-v2.dtsi" + +/ { + model = "Caninos Labrador Core v2 on Labrador Base-M v1"; + compatible = "caninos,labrador-base-m", + "caninos,labrador-v2", "actions,s500"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-v2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-v2.dtsi index ce4c853f47..883ff2f988 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-v2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-labrador-v2.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Caninos Labrador SoM V2 - * - * Copyright (c) 2019-2020 Matheus Castello - */ - -#include "owl-s500.dtsi" - -/ { - model = "Caninos Labrador Core V2.1"; - compatible = "caninos,labrador-v2", "actions,s500"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x80000000>; - }; -}; - -&timer { - clocks = <&hosc>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Caninos Labrador SoM V2 + * + * Copyright (c) 2019-2020 Matheus Castello + */ + +#include "owl-s500.dtsi" + +/ { + model = "Caninos Labrador Core V2.1"; + compatible = "caninos,labrador-v2", "actions,s500"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x80000000>; + }; +}; + +&timer { + clocks = <&hosc>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-sparky.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-sparky.dts index 81792a69c0..9d8f7336be 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-sparky.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/actions/owl-s500-sparky.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Allo.com Sparky - * - * Copyright (c) 2017 Andreas Färber - */ - -/dts-v1/; - -#include "owl-s500.dtsi" - -/ { - compatible = "allo,sparky", "actions,s500"; - model = "Allo.com Sparky"; - - aliases { - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial3:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x40000000>; /* 1 or 2 GiB */ - }; -}; - -&timer { - clocks = <&hosc>; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Allo.com Sparky + * + * Copyright (c) 2017 Andreas Färber + */ + +/dts-v1/; + +#include "owl-s500.dtsi" + +/ { + compatible = "allo,sparky", "actions,s500"; + model = "Allo.com Sparky"; + + aliases { + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial3:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000>; /* 1 or 2 GiB */ + }; +}; + +&timer { + clocks = <&hosc>; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-initium.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-initium.dts index e000ac74ef..039677c2cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-initium.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/allwinner/sun8i-s3-elimo-initium.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Matteo Scordino - */ - -/dts-v1/; -#include "sun8i-s3-elimo-impetus.dtsi" - -/ { - model = "Elimo Initium"; - compatible = "elimo,initium", "elimo,impetus", "sochip,s3", - "allwinner,sun8i-v3"; - - aliases { - serial1 = &uart1; - }; -}; - -&uart1 { - pinctrl-0 = <&uart1_pg_pins>; - pinctrl-names = "default"; - status = "okay"; -}; - -&emac { - phy-handle = <&int_mii_phy>; - phy-mode = "mii"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Matteo Scordino + */ + +/dts-v1/; +#include "sun8i-s3-elimo-impetus.dtsi" + +/ { + model = "Elimo Initium"; + compatible = "elimo,initium", "elimo,impetus", "sochip,s3", + "allwinner,sun8i-v3"; + + aliases { + serial1 = &uart1; + }; +}; + +&uart1 { + pinctrl-0 = <&uart1_pg_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&emac { + phy-handle = <&int_mii_phy>; + phy-mode = "mii"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/meson6-atv1200.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/meson6-atv1200.dts index f0deb7a6dd..98e1c94c02 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/meson6-atv1200.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/amlogic/meson6-atv1200.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -/* - * Copyright 2014 Carlo Caione - */ - -/dts-v1/; -#include "meson6.dtsi" - -/ { - model = "Geniatech ATV1200"; - compatible = "geniatech,atv1200", "amlogic,meson6"; - - aliases { - serial0 = &uart_AO; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory { - device_type = "memory"; - reg = <0x40000000 0x80000000>; - }; -}; - -&uart_AO { - status = "okay"; -}; - -ðmac { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright 2014 Carlo Caione + */ + +/dts-v1/; +#include "meson6.dtsi" + +/ { + model = "Geniatech ATV1200"; + compatible = "geniatech,atv1200", "amlogic,meson6"; + + aliases { + serial0 = &uart_AO; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory { + device_type = "memory"; + reg = <0x40000000 0x80000000>; + }; +}; + +&uart_AO { + status = "okay"; +}; + +ðmac { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/armv7-m.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/armv7-m.dtsi index c1cfa7f112..26f5443d85 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/armv7-m.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/armv7-m.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/ { - nvic: interrupt-controller@e000e100 { - compatible = "arm,armv7m-nvic"; - interrupt-controller; - #interrupt-cells = <1>; - reg = <0xe000e100 0xc00>; - }; - - systick: timer@e000e010 { - compatible = "arm,armv7m-systick"; - reg = <0xe000e010 0x10>; - status = "disabled"; - }; - - soc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "simple-bus"; - interrupt-parent = <&nvic>; - ranges; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/ { + nvic: interrupt-controller@e000e100 { + compatible = "arm,armv7m-nvic"; + interrupt-controller; + #interrupt-cells = <1>; + reg = <0xe000e100 0xc00>; + }; + + systick: timer@e000e010 { + compatible = "arm,armv7m-systick"; + reg = <0xe000e010 0x10>; + status = "disabled"; + }; + + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + interrupt-parent = <&nvic>; + ranges; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb-a1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb-a1.dts index b95df7962a..f34a2b1ec2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb-a1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/aspeed-ast2600-evb-a1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -// Copyright 2021 IBM Corp. - -#include "aspeed-ast2600-evb.dts" - -/ { - model = "AST2600 A1 EVB"; - compatible = "aspeed,ast2600-evb-a1", "aspeed,ast2600-evb", "aspeed,ast2600"; - - /delete-node/regulator-vcc-sdhci0; - /delete-node/regulator-vcc-sdhci1; - /delete-node/regulator-vccq-sdhci0; - /delete-node/regulator-vccq-sdhci1; -}; - -/delete-node/ &sdc; +// SPDX-License-Identifier: GPL-2.0-or-later +// Copyright 2021 IBM Corp. + +#include "aspeed-ast2600-evb.dts" + +/ { + model = "AST2600 A1 EVB"; + compatible = "aspeed,ast2600-evb-a1", "aspeed,ast2600-evb", "aspeed,ast2600"; + + /delete-node/regulator-vcc-sdhci0; + /delete-node/regulator-vcc-sdhci1; + /delete-node/regulator-vccq-sdhci0; + /delete-node/regulator-vccq-sdhci1; +}; + +/delete-node/ &sdc; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-128.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-128.dtsi index 4744f39af8..05101a38c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-128.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-128.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0+ - -partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - u-boot@0 { - reg = <0x0 0xe0000>; // 896KB - label = "u-boot"; - }; - - u-boot-env@e0000 { - reg = <0xe0000 0x20000>; // 128KB - label = "u-boot-env"; - }; - - kernel@100000 { - reg = <0x100000 0x900000>; // 9MB - label = "kernel"; - }; - - rofs@a00000 { - reg = <0xa00000 0x5600000>; // 86MB - label = "rofs"; - }; - - rwfs@6000000 { - reg = <0x6000000 0x2000000>; // 32MB - label = "rwfs"; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0xe0000>; // 896KB + label = "u-boot"; + }; + + u-boot-env@e0000 { + reg = <0xe0000 0x20000>; // 128KB + label = "u-boot-env"; + }; + + kernel@100000 { + reg = <0x100000 0x900000>; // 9MB + label = "kernel"; + }; + + rofs@a00000 { + reg = <0xa00000 0x5600000>; // 86MB + label = "rofs"; + }; + + rwfs@6000000 { + reg = <0x6000000 0x2000000>; // 32MB + label = "rwfs"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64-alt.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64-alt.dtsi index 29e91d4fe0..6505258675 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64-alt.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64-alt.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2020 Bytedance. - */ - -partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - u-boot@0 { - reg = <0x0 0xe0000>; // 896KB - label = "alt-u-boot"; - }; - - u-boot-env@e0000 { - reg = <0xe0000 0x20000>; // 128KB - label = "alt-u-boot-env"; - }; - - kernel@100000 { - reg = <0x100000 0x900000>; // 9MB - label = "alt-kernel"; - }; - - rofs@a00000 { - reg = <0xa00000 0x2000000>; // 32MB - label = "alt-rofs"; - }; - - rwfs@6000000 { - reg = <0x2a00000 0x1600000>; // 22MB - label = "alt-rwfs"; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Bytedance. + */ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0xe0000>; // 896KB + label = "alt-u-boot"; + }; + + u-boot-env@e0000 { + reg = <0xe0000 0x20000>; // 128KB + label = "alt-u-boot-env"; + }; + + kernel@100000 { + reg = <0x100000 0x900000>; // 9MB + label = "alt-kernel"; + }; + + rofs@a00000 { + reg = <0xa00000 0x2000000>; // 32MB + label = "alt-rofs"; + }; + + rwfs@6000000 { + reg = <0x2a00000 0x1600000>; // 22MB + label = "alt-rwfs"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64.dtsi index 7a571a9889..7af41361c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout-64.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2020 Bytedance. - */ - -partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - u-boot@0 { - reg = <0x0 0xe0000>; // 896KB - label = "u-boot"; - }; - - u-boot-env@e0000 { - reg = <0xe0000 0x20000>; // 128KB - label = "u-boot-env"; - }; - - kernel@100000 { - reg = <0x100000 0x900000>; // 9MB - label = "kernel"; - }; - - rofs@a00000 { - reg = <0xa00000 0x2000000>; // 32MB - label = "rofs"; - }; - - rwfs@2a00000 { - reg = <0x2a00000 0x1600000>; // 22MB - label = "rwfs"; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2020 Bytedance. + */ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0xe0000>; // 896KB + label = "u-boot"; + }; + + u-boot-env@e0000 { + reg = <0xe0000 0x20000>; // 128KB + label = "u-boot-env"; + }; + + kernel@100000 { + reg = <0x100000 0x900000>; // 9MB + label = "kernel"; + }; + + rofs@a00000 { + reg = <0xa00000 0x2000000>; // 32MB + label = "rofs"; + }; + + rwfs@2a00000 { + reg = <0x2a00000 0x1600000>; // 22MB + label = "rwfs"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout.dtsi index 17df76118c..b47e14063c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/aspeed/openbmc-flash-layout.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0+ - -partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - u-boot@0 { - reg = <0x0 0x60000>; - label = "u-boot"; - }; - - u-boot-env@60000 { - reg = <0x60000 0x20000>; - label = "u-boot-env"; - }; - - kernel@80000 { - reg = <0x80000 0x440000>; - label = "kernel"; - }; - - rofs@4c0000 { - reg = <0x4c0000 0x1740000>; - label = "rofs"; - }; - - rwfs@1c00000 { - reg = <0x1c00000 0x400000>; - label = "rwfs"; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ + +partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + u-boot@0 { + reg = <0x0 0x60000>; + label = "u-boot"; + }; + + u-boot-env@60000 { + reg = <0x60000 0x20000>; + label = "u-boot-env"; + }; + + kernel@80000 { + reg = <0x80000 0x440000>; + label = "kernel"; + }; + + rofs@4c0000 { + reg = <0x4c0000 0x1740000>; + label = "rofs"; + }; + + rwfs@1c00000 { + reg = <0x1c00000 0x400000>; + label = "rwfs"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi index 5e5a0e8cba..8b3c21d9f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm2835-rpi-common.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * This include file covers the common peripherals and configuration between - * bcm2835, bcm2836 and bcm2837 implementations that interact with RPi's - * firmware interface. - */ - -#include - -&hdmi { - clocks = <&firmware_clocks 9>, - <&firmware_clocks 13>; - clock-names = "pixel", "hdmi"; -}; - -&v3d { - power-domains = <&power RPI_POWER_DOMAIN_V3D>; -}; - -&vec { - clocks = <&firmware_clocks 15>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * This include file covers the common peripherals and configuration between + * bcm2835, bcm2836 and bcm2837 implementations that interact with RPi's + * firmware interface. + */ + +#include + +&hdmi { + clocks = <&firmware_clocks 9>, + <&firmware_clocks 13>; + clock-names = "pixel", "hdmi"; +}; + +&v3d { + power-domains = <&power RPI_POWER_DOMAIN_V3D>; +}; + +&vec { + clocks = <&firmware_clocks 15>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-wifi-bt.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-wifi-bt.dtsi index be8d9a5517..0b64cc1994 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-wifi-bt.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm283x-rpi-wifi-bt.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 - -/ { - wifi_pwrseq: wifi-pwrseq { - compatible = "mmc-pwrseq-simple"; - }; -}; - -/* SDHCI is used to control the SDIO for wireless */ -&sdhci { - #address-cells = <1>; - #size-cells = <0>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_gpio34>; - bus-width = <4>; - non-removable; - mmc-pwrseq = <&wifi_pwrseq>; - status = "okay"; - - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; - -/* uart0 communicates with the BT module */ -&uart0 { - status = "okay"; - - bt: bluetooth { - compatible = "brcm,bcm43438-bt"; - max-speed = <2000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/ { + wifi_pwrseq: wifi-pwrseq { + compatible = "mmc-pwrseq-simple"; + }; +}; + +/* SDHCI is used to control the SDIO for wireless */ +&sdhci { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_gpio34>; + bus-width = <4>; + non-removable; + mmc-pwrseq = <&wifi_pwrseq>; + status = "okay"; + + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; + +/* uart0 communicates with the BT module */ +&uart0 { + status = "okay"; + + bt: bluetooth { + compatible = "brcm,bcm43438-bt"; + max-speed = <2000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp.dts index 560090193c..8e506269fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindigs for Buffalo WZR-1166DHP - * - * Copyright (C) 2022 SHIMAMOTO Takayoshi - */ - -/dts-v1/; - -#include "bcm4708-buffalo-wzr-1166dhp-common.dtsi" - -/ { - compatible = "buffalo,wzr-1166dhp", "brcm,bcm4708"; - model = "Buffalo WZR-1166DHP"; - - chosen { - bootargs = "console=ttyS0,115200"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>, - <0x88000000 0x18000000>; - }; - -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindigs for Buffalo WZR-1166DHP + * + * Copyright (C) 2022 SHIMAMOTO Takayoshi + */ + +/dts-v1/; + +#include "bcm4708-buffalo-wzr-1166dhp-common.dtsi" + +/ { + compatible = "buffalo,wzr-1166dhp", "brcm,bcm4708"; + model = "Buffalo WZR-1166DHP"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>, + <0x88000000 0x18000000>; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp2.dts index bd7a5214bc..5961290270 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm4708-buffalo-wzr-1166dhp2.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindigs for Buffalo WZR-1166DHP2 - * - * Copyright (C) 2022 SHIMAMOTO Takayoshi - */ - -/dts-v1/; - -#include "bcm4708-buffalo-wzr-1166dhp-common.dtsi" - -/ { - compatible = "buffalo,wzr-1166dhp2", "brcm,bcm4708"; - model = "Buffalo WZR-1166DHP2"; - - chosen { - bootargs = "console=ttyS0,115200"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>, - <0x88000000 0x08000000>; - }; - -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindigs for Buffalo WZR-1166DHP2 + * + * Copyright (C) 2022 SHIMAMOTO Takayoshi + */ + +/dts-v1/; + +#include "bcm4708-buffalo-wzr-1166dhp-common.dtsi" + +/ { + compatible = "buffalo,wzr-1166dhp2", "brcm,bcm4708"; + model = "Buffalo WZR-1166DHP2"; + + chosen { + bootargs = "console=ttyS0,115200"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>, + <0x88000000 0x08000000>; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47081.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47081.dtsi index 4d64fc69cd..ed13af0285 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47081.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47081.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Broadcom BCM470X / BCM5301X ARM platform code. - * DTS for BCM47081 SoC. - * - * Copyright © 2014 Rafał Miłecki - */ - -#include "bcm5301x.dtsi" - -/ { - compatible = "brcm,bcm47081"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "arm,cortex-a9"; - next-level-cache = <&L2>; - reg = <0x0>; - }; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom BCM470X / BCM5301X ARM platform code. + * DTS for BCM47081 SoC. + * + * Copyright © 2014 Rafał Miłecki + */ + +#include "bcm5301x.dtsi" + +/ { + compatible = "brcm,bcm47081"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a9"; + next-level-cache = <&L2>; + reg = <0x0>; + }; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts index 3bfc83ee2f..1655ac9576 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094-asus-rt-ac3100.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Author: Arınç ÜNAL - */ - -/dts-v1/; - -#include "bcm47094-asus-rt-ac3100.dtsi" - -/ { - compatible = "asus,rt-ac3100", "brcm,bcm47094", "brcm,bcm4708"; - model = "ASUS RT-AC3100"; - - nvram@1c080000 { - et0macaddr: et0macaddr { - #nvmem-cell-cells = <1>; - }; - }; -}; - -&gmac0 { - nvmem-cells = <&et0macaddr 0>; - nvmem-cell-names = "mac-address"; -}; - -&gmac1 { - nvmem-cells = <&et0macaddr 1>; - nvmem-cell-names = "mac-address"; -}; - -&gmac2 { - nvmem-cells = <&et0macaddr 2>; - nvmem-cell-names = "mac-address"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Author: Arınç ÜNAL + */ + +/dts-v1/; + +#include "bcm47094-asus-rt-ac3100.dtsi" + +/ { + compatible = "asus,rt-ac3100", "brcm,bcm47094", "brcm,bcm4708"; + model = "ASUS RT-AC3100"; + + nvram@1c080000 { + et0macaddr: et0macaddr { + #nvmem-cell-cells = <1>; + }; + }; +}; + +&gmac0 { + nvmem-cells = <&et0macaddr 0>; + nvmem-cell-names = "mac-address"; +}; + +&gmac1 { + nvmem-cells = <&et0macaddr 1>; + nvmem-cell-names = "mac-address"; +}; + +&gmac2 { + nvmem-cells = <&et0macaddr 2>; + nvmem-cell-names = "mac-address"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094.dtsi index 4d77d5e69e..6282363313 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm47094.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (C) 2016 Rafał Miłecki - */ - -#include "bcm4708.dtsi" - -/ { -}; - -&pinctrl { - compatible = "brcm,bcm4709-pinmux"; - - pinmux_mdio: mdio-pins { - groups = "mdio_grp"; - function = "mdio"; - }; -}; - -&usb3_phy { - compatible = "brcm,ns-bx-usb3-phy"; -}; - -&uart0 { - clock-frequency = <125000000>; - status = "okay"; -}; - -&srab { - compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (C) 2016 Rafał Miłecki + */ + +#include "bcm4708.dtsi" + +/ { +}; + +&pinctrl { + compatible = "brcm,bcm4709-pinmux"; + + pinmux_mdio: mdio-pins { + groups = "mdio_grp"; + function = "mdio"; + }; +}; + +&usb3_phy { + compatible = "brcm,ns-bx-usb3-phy"; +}; + +&uart0 { + clock-frequency = <125000000>; + status = "okay"; +}; + +&srab { + compatible = "brcm,bcm53012-srab", "brcm,bcm5301x-srab"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch8.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch8.dtsi index 0a337fdb27..c8e56d30bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch8.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0-bch8.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Broadcom BCM470X / BCM5301X Nand chip defaults. - * - * This should be included if the NAND controller is on chip select 0 - * and uses 8 bit ECC. - * - * Copyright (C) 2015 Hauke Mehrtens - */ - -#include "bcm5301x-nand-cs0.dtsi" - -&nandcs { - nand-ecc-algo = "bch"; - nand-ecc-strength = <8>; - nand-ecc-step-size = <512>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom BCM470X / BCM5301X Nand chip defaults. + * + * This should be included if the NAND controller is on chip select 0 + * and uses 8 bit ECC. + * + * Copyright (C) 2015 Hauke Mehrtens + */ + +#include "bcm5301x-nand-cs0.dtsi" + +&nandcs { + nand-ecc-algo = "bch"; + nand-ecc-strength = <8>; + nand-ecc-step-size = <512>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0.dtsi index 7ce10e929f..be9a00ff75 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm5301x-nand-cs0.dtsi @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Broadcom Northstar NAND. - * - * Copyright (C) 2015 Hauke Mehrtens - */ - -/ { - nand-controller@18028000 { - nandcs: nand@0 { - compatible = "brcm,nandcs"; - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - - partitions { - compatible = "brcm,bcm947xx-cfe-partitions"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Broadcom Northstar NAND. + * + * Copyright (C) 2015 Hauke Mehrtens + */ + +/ { + nand-controller@18028000 { + nandcs: nand@0 { + compatible = "brcm,nandcs"; + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + + partitions { + compatible = "brcm,bcm947xx-cfe-partitions"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm947622.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm947622.dts index d81e5aaca8..6241485408 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm947622.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm947622.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm47622.dtsi" - -/ { - model = "Broadcom BCM947622 Reference Board"; - compatible = "brcm,bcm947622", "brcm,bcm47622", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm47622.dtsi" + +/ { + model = "Broadcom BCM947622 Reference Board"; + compatible = "brcm,bcm947622", "brcm,bcm47622", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64-a0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64-a0.dts index 534423c297..9944566c11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64-a0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64-a0.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX64 with A0 SoC. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-kingpin.dtsi" -#include "bcm-nsp-ax.dtsi" - -/ { - model = "Cisco Meraki MX64(A0)"; - compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64 with A0 SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" +#include "bcm-nsp-ax.dtsi" + +/ { + model = "Cisco Meraki MX64(A0)"; + compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64.dts index 02dc100821..06939438e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX64 with B0+ SoC. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-kingpin.dtsi" - -/ { - model = "Cisco Meraki MX64"; - compatible = "meraki,mx64", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64 with B0+ SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" + +/ { + model = "Cisco Meraki MX64"; + compatible = "meraki,mx64", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w-a0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w-a0.dts index a261b8bb28..112fddb1ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w-a0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w-a0.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX64W with A0 SoC. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-kingpin.dtsi" -#include "bcm-nsp-ax.dtsi" - -/ { - model = "Cisco Meraki MX64W(A0)"; - compatible = "meraki,mx64w-a0", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64W with A0 SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" +#include "bcm-nsp-ax.dtsi" + +/ { + model = "Cisco Meraki MX64W(A0)"; + compatible = "meraki,mx64w-a0", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w.dts index 15b9fb5646..de2e367c3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx64w.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX64W with B0+ SoC. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-kingpin.dtsi" - -/ { - model = "Cisco Meraki MX64W"; - compatible = "meraki,mx64w", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX64W with B0+ SoC. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-kingpin.dtsi" + +/ { + model = "Cisco Meraki MX64W"; + compatible = "meraki,mx64w", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65.dts index 3ca458f74a..d1b684dcdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX65. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-alamo.dtsi" - -/ { - model = "Cisco Meraki MX65"; - compatible = "meraki,mx65", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX65. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-alamo.dtsi" + +/ { + model = "Cisco Meraki MX65"; + compatible = "meraki,mx65", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65w.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65w.dts index 4e65b0bd39..a2165aba36 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65w.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm958625-meraki-mx65w.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Device Tree Bindings for Cisco Meraki MX65W. - * - * Copyright (C) 2020-2021 Matthew Hagan - */ - -/dts-v1/; - -#include "bcm958625-meraki-alamo.dtsi" - -/ { - model = "Cisco Meraki MX65W"; - compatible = "meraki,mx65w", "brcm,bcm58625", "brcm,nsp"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@60000000 { - device_type = "memory"; - reg = <0x60000000 0x80000000>; - }; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Device Tree Bindings for Cisco Meraki MX65W. + * + * Copyright (C) 2020-2021 Matthew Hagan + */ + +/dts-v1/; + +#include "bcm958625-meraki-alamo.dtsi" + +/ { + model = "Cisco Meraki MX65W"; + compatible = "meraki,mx65w", "brcm,bcm58625", "brcm,nsp"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@60000000 { + device_type = "memory"; + reg = <0x60000000 0x80000000>; + }; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138.dts index c059b0df50..7fd87e05ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963138.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm63138.dtsi" - -/ { - model = "Broadcom BCM963138 Reference Board"; - compatible = "brcm,bcm963138", "brcm,bcm63138", "brcm,bcmbca"; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &serial0; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&serial0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63138.dtsi" + +/ { + model = "Broadcom BCM963138 Reference Board"; + compatible = "brcm,bcm963138", "brcm,bcm63138", "brcm,bcmbca"; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &serial0; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&serial0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963148.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963148.dts index 7d3adbe54d..44bca063a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963148.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963148.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm63148.dtsi" - -/ { - model = "Broadcom BCM963148 Reference Board"; - compatible = "brcm,bcm963148", "brcm,bcm63148", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63148.dtsi" + +/ { + model = "Broadcom BCM963148 Reference Board"; + compatible = "brcm,bcm963148", "brcm,bcm63148", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963178.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963178.dts index 0937159f69..098a222cd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963178.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm963178.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm63178.dtsi" - -/ { - model = "Broadcom BCM963178 Reference Board"; - compatible = "brcm,bcm963178", "brcm,bcm63178", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63178.dtsi" + +/ { + model = "Broadcom BCM963178 Reference Board"; + compatible = "brcm,bcm963178", "brcm,bcm63178", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96756.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96756.dts index 18e038ca7b..402038d3cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96756.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96756.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6756.dtsi" - -/ { - model = "Broadcom BCM96756 Reference Board"; - compatible = "brcm,bcm96756", "brcm,bcm6756", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6756.dtsi" + +/ { + model = "Broadcom BCM96756 Reference Board"; + compatible = "brcm,bcm96756", "brcm,bcm6756", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96846.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96846.dts index 366878e925..943896afb7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96846.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96846.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6846.dtsi" - -/ { - model = "Broadcom BCM96846 Reference Board"; - compatible = "brcm,bcm96846", "brcm,bcm6846", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6846.dtsi" + +/ { + model = "Broadcom BCM96846 Reference Board"; + compatible = "brcm,bcm96846", "brcm,bcm6846", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96855.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96855.dts index 696a346942..571663d9a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96855.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96855.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6855.dtsi" - -/ { - model = "Broadcom BCM96855 Reference Board"; - compatible = "brcm,bcm96855", "brcm,bcm6855", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6855.dtsi" + +/ { + model = "Broadcom BCM96855 Reference Board"; + compatible = "brcm,bcm96855", "brcm,bcm6855", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96878.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96878.dts index 9a7ca7f965..8d6eddd54c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96878.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/broadcom/bcm96878.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2019 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6878.dtsi" - -/ { - model = "Broadcom BCM96878 Reference Board"; - compatible = "brcm,bcm96878", "brcm,bcm6878", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2019 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6878.dtsi" + +/ { + model = "Broadcom BCM96878 Reference Board"; + compatible = "brcm,bcm96878", "brcm,bcm6878", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-ec-keyboard.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-ec-keyboard.dtsi index ab433c48ea..55c4744fa7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-ec-keyboard.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/cros-ec-keyboard.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Keyboard dts fragment for devices that use cros-ec-keyboard - * - * Copyright (c) 2014 Google, Inc -*/ - -#include -#include - -&cros_ec { - keyboard_controller: keyboard-controller { - compatible = "google,cros-ec-keyb"; - keypad,num-rows = <8>; - keypad,num-columns = <13>; - google,needs-ghost-filter; - - linux,keymap = < - CROS_STD_TOP_ROW_KEYMAP - CROS_STD_MAIN_KEYMAP - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Keyboard dts fragment for devices that use cros-ec-keyboard + * + * Copyright (c) 2014 Google, Inc +*/ + +#include +#include + +&cros_ec { + keyboard_controller: keyboard-controller { + compatible = "google,cros-ec-keyb"; + keypad,num-rows = <8>; + keypad,num-columns = <13>; + google,needs-ghost-filter; + + linux,keymap = < + CROS_STD_TOP_ROW_KEYMAP + CROS_STD_MAIN_KEYMAP + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hi3519-demb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hi3519-demb.dts index 428a24a7c6..f473fa22e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hi3519-demb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hi3519-demb.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2015 HiSilicon Technologies Co., Ltd. - */ - -/dts-v1/; -#include "hi3519.dtsi" - -/ { - model = "HiSilicon HI3519 DEMO Board"; - compatible = "hisilicon,hi3519"; - - aliases { - serial0 = &uart0; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&dual_timer0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2015 HiSilicon Technologies Co., Ltd. + */ + +/dts-v1/; +#include "hi3519.dtsi" + +/ { + model = "HiSilicon HI3519 DEMO Board"; + compatible = "hisilicon,hi3519"; + + aliases { + serial0 = &uart0; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&dual_timer0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip04-d01.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip04-d01.dts index 628e9410a3..0210064bf6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip04-d01.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hisilicon/hip04-d01.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013-2014 Linaro Ltd. - * Author: Haojian Zhuang - */ - -/dts-v1/; - -#include "hip04.dtsi" - -/ { - /* memory bus is 64-bit */ - #address-cells = <2>; - #size-cells = <2>; - model = "Hisilicon D01 Development Board"; - compatible = "hisilicon,hip04-d01"; - - memory@0,10000000 { - device_type = "memory"; - reg = <0x00000000 0x10000000 0x00000000 0xc0000000>, - <0x00000004 0xc0000000 0x00000003 0x40000000>; - }; - - soc { - uart0: serial@4007000 { - status = "okay"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013-2014 Linaro Ltd. + * Author: Haojian Zhuang + */ + +/dts-v1/; + +#include "hip04.dtsi" + +/ { + /* memory bus is 64-bit */ + #address-cells = <2>; + #size-cells = <2>; + model = "Hisilicon D01 Development Board"; + compatible = "hisilicon,hip04-d01"; + + memory@0,10000000 { + device_type = "memory"; + reg = <0x00000000 0x10000000 0x00000000 0xc0000000>, + <0x00000004 0xc0000000 0x00000003 0x40000000>; + }; + + soc { + uart0: serial@4007000 { + status = "okay"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/hpe-bmc-dl360gen10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/hpe-bmc-dl360gen10.dts index ad90c91d56..3a7382ce40 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/hpe-bmc-dl360gen10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/hpe/hpe-bmc-dl360gen10.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree file for HPE DL360Gen10 - */ - -/include/ "hpe-gxp.dtsi" - -/ { - #address-cells = <1>; - #size-cells = <1>; - compatible = "hpe,gxp-dl360gen10", "hpe,gxp"; - model = "Hewlett Packard Enterprise ProLiant dl360 Gen10"; - - aliases { - serial0 = &uartc; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree file for HPE DL360Gen10 + */ + +/include/ "hpe-gxp.dtsi" + +/ { + #address-cells = <1>; + #size-cells = <1>; + compatible = "hpe,gxp-dl360gen10", "hpe,gxp"; + model = "Hewlett Packard Enterprise ProLiant dl360 Gen10"; + + aliases { + serial0 = &uartc; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts index 38963c2b3b..2e2ad3c7ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * arch/arm/boot/dts/axm5516-amarillo.dts - * - * Copyright (C) 2013 LSI - */ - -/dts-v1/; - -/memreserve/ 0x00000000 0x00400000; - -#include "axm55xx.dtsi" -#include "axm5516-cpus.dtsi" - -/ { - model = "Amarillo AXM5516"; - compatible = "lsi,axm5516-amarillo", "lsi,axm5516"; - - memory { - device_type = "memory"; - reg = <0 0x00000000 0x02 0x00000000>; - }; -}; - -&serial0 { - status = "okay"; -}; - -&serial1 { - status = "okay"; -}; - -&serial2 { - status = "okay"; -}; - -&serial3 { - status = "okay"; -}; - -&gpio0 { - status = "okay"; -}; - -&gpio1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * arch/arm/boot/dts/axm5516-amarillo.dts + * + * Copyright (C) 2013 LSI + */ + +/dts-v1/; + +/memreserve/ 0x00000000 0x00400000; + +#include "axm55xx.dtsi" +#include "axm5516-cpus.dtsi" + +/ { + model = "Amarillo AXM5516"; + compatible = "lsi,axm5516-amarillo", "lsi,axm5516"; + + memory { + device_type = "memory"; + reg = <0 0x00000000 0x02 0x00000000>; + }; +}; + +&serial0 { + status = "okay"; +}; + +&serial1 { + status = "okay"; +}; + +&serial2 { + status = "okay"; +}; + +&serial3 { + status = "okay"; +}; + +&gpio0 { + status = "okay"; +}; + +&gpio1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp43x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp43x.dtsi index b26ef7e08e..60bf9903e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp43x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/ixp/intel-ixp43x.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: ISC -/* - * Device Tree file for Intel XScale Network Processors - * in the IXP 43x series. This series has 64 interrupts and adds a few more - * peripherals over the 42x series. - */ -#include "intel-ixp4xx.dtsi" - -/ { - soc { - bus@c4000000 { - compatible = "intel,ixp43x-expansion-bus-controller", "syscon"; - /* Uses at least up to 0x230 */ - reg = <0xc4000000 0x1000>; - }; - - pci@c0000000 { - compatible = "intel,ixp43x-pci"; - }; - - interrupt-controller@c8003000 { - compatible = "intel,ixp43x-interrupt"; - }; - }; -}; +// SPDX-License-Identifier: ISC +/* + * Device Tree file for Intel XScale Network Processors + * in the IXP 43x series. This series has 64 interrupts and adds a few more + * peripherals over the 42x series. + */ +#include "intel-ixp4xx.dtsi" + +/ { + soc { + bus@c4000000 { + compatible = "intel,ixp43x-expansion-bus-controller", "syscon"; + /* Uses at least up to 0x230 */ + reg = <0xc4000000 0x1000>; + }; + + pci@c0000000 { + compatible = "intel,ixp43x-pci"; + }; + + interrupt-controller@c8003000 { + compatible = "intel,ixp43x-interrupt"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/Makefile index b1cd185502..c467828aeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \ - socfpga_arria5_socdk.dtb \ - socfpga_arria10_chameleonv3.dtb \ - socfpga_arria10_mercury_pe1.dtb \ - socfpga_arria10_socdk_nand.dtb \ - socfpga_arria10_socdk_qspi.dtb \ - socfpga_arria10_socdk_sdmmc.dtb \ - socfpga_cyclone5_chameleon96.dtb \ - socfpga_cyclone5_mcvevk.dtb \ - socfpga_cyclone5_socdk.dtb \ - socfpga_cyclone5_de0_nano_soc.dtb \ - socfpga_cyclone5_sockit.dtb \ - socfpga_cyclone5_socrates.dtb \ - socfpga_cyclone5_sodia.dtb \ - socfpga_cyclone5_vining_fpga.dtb \ - socfpga_vt.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_INTEL_SOCFPGA) += \ + socfpga_arria5_socdk.dtb \ + socfpga_arria10_chameleonv3.dtb \ + socfpga_arria10_mercury_pe1.dtb \ + socfpga_arria10_socdk_nand.dtb \ + socfpga_arria10_socdk_qspi.dtb \ + socfpga_arria10_socdk_sdmmc.dtb \ + socfpga_cyclone5_chameleon96.dtb \ + socfpga_cyclone5_mcvevk.dtb \ + socfpga_cyclone5_socdk.dtb \ + socfpga_cyclone5_de0_nano_soc.dtb \ + socfpga_cyclone5_sockit.dtb \ + socfpga_cyclone5_socrates.dtb \ + socfpga_cyclone5_sodia.dtb \ + socfpga_cyclone5_vining_fpga.dtb \ + socfpga_vt.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_nand.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_nand.dts index 054208bf7c..a662df319a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_nand.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_nand.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2015 Altera Corporation. All rights reserved. - */ - -/dts-v1/; -#include "socfpga_arria10_socdk.dtsi" - -&nand { - status = "okay"; - - nand@0 { - reg = <0>; - #address-cells = <1>; - #size-cells = <1>; - - partition@0 { - label = "Boot and fpga data"; - reg = <0x0 0x02500000>; - }; - partition@1c00000 { - label = "Root Filesystem - JFFS2"; - reg = <0x02500000 0x05500000>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015 Altera Corporation. All rights reserved. + */ + +/dts-v1/; +#include "socfpga_arria10_socdk.dtsi" + +&nand { + status = "okay"; + + nand@0 { + reg = <0>; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "Boot and fpga data"; + reg = <0x0 0x02500000>; + }; + partition@1c00000 { + label = "Root Filesystem - JFFS2"; + reg = <0x02500000 0x05500000>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_sdmmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_sdmmc.dts index 20662383e8..d3969367f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_sdmmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria10_socdk_sdmmc.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2014-2015 Altera Corporation - */ - -/dts-v1/; -#include "socfpga_arria10_socdk.dtsi" - -&mmc { - status = "okay"; - cap-sd-highspeed; - cap-mmc-highspeed; - broken-cd; - bus-width = <4>; - clk-phase-sd-hs = <0>, <135>; -}; - -&eccmgr { - sdmmca-ecc@ff8c2c00 { - compatible = "altr,socfpga-sdmmc-ecc"; - reg = <0xff8c2c00 0x400>; - altr,ecc-parent = <&mmc>; - interrupts = <15 IRQ_TYPE_LEVEL_HIGH>, - <47 IRQ_TYPE_LEVEL_HIGH>, - <16 IRQ_TYPE_LEVEL_HIGH>, - <48 IRQ_TYPE_LEVEL_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2014-2015 Altera Corporation + */ + +/dts-v1/; +#include "socfpga_arria10_socdk.dtsi" + +&mmc { + status = "okay"; + cap-sd-highspeed; + cap-mmc-highspeed; + broken-cd; + bus-width = <4>; + clk-phase-sd-hs = <0>, <135>; +}; + +&eccmgr { + sdmmca-ecc@ff8c2c00 { + compatible = "altr,socfpga-sdmmc-ecc"; + reg = <0xff8c2c00 0x400>; + altr,ecc-parent = <&mmc>; + interrupts = <15 IRQ_TYPE_LEVEL_HIGH>, + <47 IRQ_TYPE_LEVEL_HIGH>, + <16 IRQ_TYPE_LEVEL_HIGH>, + <48 IRQ_TYPE_LEVEL_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria5.dtsi index 84c58c2bdc..40fecde65c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_arria5.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2013 Altera Corporation - */ - -/dts-v1/; -/* First 4KB has trampoline code for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; -#include "socfpga.dtsi" - -/ { - soc { - clkmgr@ffd04000 { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; - - mmc0: mmc@ff704000 { - broken-cd; - bus-width = <4>; - cap-mmc-highspeed; - cap-sd-highspeed; - clk-phase-sd-hs = <0>, <135>; - }; - - sysmgr@ffd08000 { - cpu1-start-addr = <0xffd080c4>; - }; - }; -}; - -&watchdog0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2013 Altera Corporation + */ + +/dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; +#include "socfpga.dtsi" + +/ { + soc { + clkmgr@ffd04000 { + clocks { + osc1 { + clock-frequency = <25000000>; + }; + }; + }; + + mmc0: mmc@ff704000 { + broken-cd; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + clk-phase-sd-hs = <0>, <135>; + }; + + sysmgr@ffd08000 { + cpu1-start-addr = <0xffd080c4>; + }; + }; +}; + +&watchdog0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5.dtsi index ef5bdeeebb..305fe207b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2012 Altera Corporation - */ - -/dts-v1/; -/* First 4KB has trampoline code for secondary cores. */ -/memreserve/ 0x00000000 0x0001000; -#include "socfpga.dtsi" - -/ { - soc { - clkmgr@ffd04000 { - clocks { - osc1 { - clock-frequency = <25000000>; - }; - }; - }; - - mmc0: mmc@ff704000 { - broken-cd; - bus-width = <4>; - cap-mmc-highspeed; - cap-sd-highspeed; - clk-phase-sd-hs = <0>, <135>; - }; - - sysmgr@ffd08000 { - cpu1-start-addr = <0xffd080c4>; - }; - }; -}; - -&watchdog0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2012 Altera Corporation + */ + +/dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; +#include "socfpga.dtsi" + +/ { + soc { + clkmgr@ffd04000 { + clocks { + osc1 { + clock-frequency = <25000000>; + }; + }; + }; + + mmc0: mmc@ff704000 { + broken-cd; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + clk-phase-sd-hs = <0>, <135>; + }; + + sysmgr@ffd08000 { + cpu1-start-addr = <0xffd080c4>; + }; + }; +}; + +&watchdog0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_mcv.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_mcv.dtsi index c85176a845..3b9daddf91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_mcv.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_mcv.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2015 Marek Vasut - */ - -#include "socfpga_cyclone5.dtsi" - -/ { - model = "Aries/DENX MCV"; - compatible = "altr,socfpga-cyclone5", "altr,socfpga"; - - memory@0 { - name = "memory"; - device_type = "memory"; - reg = <0x0 0x40000000>; /* 1 GiB */ - }; -}; - -&mmc0 { /* On-SoM eMMC */ - bus-width = <8>; - clk-phase-sd-hs = <0>, <135>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2015 Marek Vasut + */ + +#include "socfpga_cyclone5.dtsi" + +/ { + model = "Aries/DENX MCV"; + compatible = "altr,socfpga-cyclone5", "altr,socfpga"; + + memory@0 { + name = "memory"; + device_type = "memory"; + reg = <0x0 0x40000000>; /* 1 GiB */ + }; +}; + +&mmc0 { /* On-SoM eMMC */ + bus-width = <8>; + clk-phase-sd-hs = <0>, <135>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388-clearfog-pro.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388-clearfog-pro.dts index ba0bf1aa57..ff890c09c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388-clearfog-pro.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-388-clearfog-pro.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828) - * - * Copyright (C) 2015 Russell King - */ -#include "armada-388-clearfog.dts" - -/ { - model = "SolidRun Clearfog Pro A1"; - compatible = "solidrun,clearfog-pro-a1", - "solidrun,clearfog-a1", "marvell,armada388", - "marvell,armada385", "marvell,armada380"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828) + * + * Copyright (C) 2015 Russell King + */ +#include "armada-388-clearfog.dts" + +/ { + model = "SolidRun Clearfog Pro A1"; + compatible = "solidrun,clearfog-pro-a1", + "solidrun,clearfog-a1", "marvell,armada388", + "marvell,armada385", "marvell,armada380"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-390.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-390.dtsi index d97dfcbd6b..aa2057d4d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-390.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/armada-390.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 390 SoC. - * - * Copyright (C) 2015 Marvell - * - * Thomas Petazzoni - */ - -#include "armada-39x.dtsi" - -/ { - compatible = "marvell,armada390"; - - soc { - internal-regs { - pinctrl@18000 { - compatible = "marvell,mv88f6920-pinctrl"; - reg = <0x18000 0x20>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 390 SoC. + * + * Copyright (C) 2015 Marvell + * + * Thomas Petazzoni + */ + +#include "armada-39x.dtsi" + +/ { + compatible = "marvell,armada390"; + + soc { + internal-regs { + pinctrl@18000 { + compatible = "marvell,mv88f6920-pinctrl"; + reg = <0x18000 0x20>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6281.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6281.dts index c5e3943375..a9a8e6b744 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6281.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6281.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell DB-88F6281-BP Development Board Setup - * - * Saeed Bishara - * Thomas Petazzoni - * - */ - -/dts-v1/; - -#include "kirkwood-db.dtsi" -#include "kirkwood-6281.dtsi" - -/ { - model = "Marvell DB-88F6281-BP Development Board"; - compatible = "marvell,db-88f6281-bp", "marvell,kirkwood-88f6281", "marvell,kirkwood"; -}; - -&pciec { - status = "okay"; -}; - -&pcie0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell DB-88F6281-BP Development Board Setup + * + * Saeed Bishara + * Thomas Petazzoni + * + */ + +/dts-v1/; + +#include "kirkwood-db.dtsi" +#include "kirkwood-6281.dtsi" + +/ { + model = "Marvell DB-88F6281-BP Development Board"; + compatible = "marvell,db-88f6281-bp", "marvell,kirkwood-88f6281", "marvell,kirkwood"; +}; + +&pciec { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6282.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6282.dts index d58e196529..6dc6579d45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6282.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-db-88f6282.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell DB-88F6282-BP Development Board Setup - * - * Saeed Bishara - * Thomas Petazzoni - * - */ - -/dts-v1/; - -#include "kirkwood-db.dtsi" -#include "kirkwood-6282.dtsi" - -/ { - model = "Marvell DB-88F6282-BP Development Board"; - compatible = "marvell,db-88f6282-bp", "marvell,kirkwood-88f6282", "marvell,kirkwood"; -}; - -&pciec { - status = "okay"; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell DB-88F6282-BP Development Board Setup + * + * Saeed Bishara + * Thomas Petazzoni + * + */ + +/dts-v1/; + +#include "kirkwood-db.dtsi" +#include "kirkwood-6282.dtsi" + +/ { + model = "Marvell DB-88F6282-BP Development Board"; + compatible = "marvell,db-88f6282-bp", "marvell,kirkwood-88f6282", "marvell,kirkwood"; +}; + +&pciec { + status = "okay"; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409slim.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409slim.dts index 4fdf5feaf2..27a1d840bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409slim.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ds409slim.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6281.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology 409slim"; - compatible = "synology,ds409slim", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-150-32-35 { - status = "okay"; - }; - - gpio-leds-hdd-20 { - status = "okay"; - }; -}; - -&rs5c372 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology 409slim"; + compatible = "synology,ds409slim", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-150-32-35 { + status = "okay"; + }; + + gpio-leds-hdd-20 { + status = "okay"; + }; +}; + +&rs5c372 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_fixedeth.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_fixedeth.dts index c6dba99c40..515be7bccc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_fixedeth.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_fixedeth.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-98dx4122.dtsi" -#include "kirkwood-km_common.dtsi" - -/ { - model = "Keymile Kirkwood Fixed Eth"; - compatible = "keymile,km_fixedeth", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; -}; - -ð0 { - status = "okay"; - ethernet0-port@0 { - speed = <1000>; /* */ - duplex = <1>; /* */ - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-98dx4122.dtsi" +#include "kirkwood-km_common.dtsi" + +/ { + model = "Keymile Kirkwood Fixed Eth"; + compatible = "keymile,km_fixedeth", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + speed = <1000>; /* */ + duplex = <1>; /* */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_kirkwood.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_kirkwood.dts index 9535724b91..f035eff1c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_kirkwood.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-km_kirkwood.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-98dx4122.dtsi" -#include "kirkwood-km_common.dtsi" - -/ { - model = "Keymile Kirkwood Reference Design"; - compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x08000000>; - }; -}; - -&mdio { - status = "okay"; - - ethphy0: ethernet-phy@0 { - reg = <0>; - }; -}; - -ð0 { - status = "okay"; - ethernet0-port@0 { - phy-handle = <ðphy0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-98dx4122.dtsi" +#include "kirkwood-km_common.dtsi" + +/ { + model = "Keymile Kirkwood Reference Design"; + compatible = "keymile,km_kirkwood", "marvell,kirkwood-98DX4122", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; +}; + +&mdio { + status = "okay"; + + ethphy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + ethernet0-port@0 { + phy-handle = <ðphy0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lsvl.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lsvl.dts index 4a8174fa6b..3f2a0bfe03 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lsvl.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lsvl.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Buffalo Linkstation LS-VL - * - * Copyright (C) 2015, 2016 - * Roger Shimizu - */ - -/dts-v1/; -#include "kirkwood-linkstation-6282.dtsi" - -/ { - model = "Buffalo Linkstation LS-VL"; - compatible = "buffalo,lsvl", "marvell,kirkwood-88f6282", "marvell,kirkwood"; - - memory { /* 256 MB */ - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Buffalo Linkstation LS-VL + * + * Copyright (C) 2015, 2016 + * Roger Shimizu + */ + +/dts-v1/; +#include "kirkwood-linkstation-6282.dtsi" + +/ { + model = "Buffalo Linkstation LS-VL"; + compatible = "buffalo,lsvl", "marvell,kirkwood-88f6282", "marvell,kirkwood"; + + memory { /* 256 MB */ + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lswsxl.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lswsxl.dts index 64b11825ff..c42d0da38f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lswsxl.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-linkstation-lswsxl.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Buffalo Linkstation LS-WSXL - * - * Copyright (C) 2015, 2016 - * Roger Shimizu - */ - -/dts-v1/; -#include "kirkwood-linkstation-duo-6281.dtsi" - -/ { - model = "Buffalo Linkstation LS-WSXL"; - compatible = "buffalo,lswsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { /* 128 MB */ - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Buffalo Linkstation LS-WSXL + * + * Copyright (C) 2015, 2016 + * Roger Shimizu + */ + +/dts-v1/; +#include "kirkwood-linkstation-duo-6281.dtsi" + +/ { + model = "Buffalo Linkstation LS-WSXL"; + compatible = "buffalo,lswsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { /* 128 MB */ + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lschlv2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lschlv2.dts index 27b8134f29..1d737d903f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lschlv2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lschlv2.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "kirkwood-lsxl.dtsi" - -/ { - model = "Buffalo Linkstation LS-CHLv2"; - compatible = "buffalo,lschlv2", "buffalo,lsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x4000000>; - }; - - ocp@f1000000 { - serial@12000 { - status = "okay"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "kirkwood-lsxl.dtsi" + +/ { + model = "Buffalo Linkstation LS-CHLv2"; + compatible = "buffalo,lschlv2", "buffalo,lsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x4000000>; + }; + + ocp@f1000000 { + serial@12000 { + status = "okay"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lsxhl.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lsxhl.dts index ea9a150da2..a56e0d7977 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lsxhl.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-lsxhl.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "kirkwood-lsxl.dtsi" - -/ { - model = "Buffalo Linkstation LS-XHL"; - compatible = "buffalo,lsxhl", "buffalo,lsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x10000000>; - }; - - ocp@f1000000 { - serial@12000 { - status = "okay"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "kirkwood-lsxl.dtsi" + +/ { + model = "Buffalo Linkstation LS-XHL"; + compatible = "buffalo,lsxhl", "buffalo,lsxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x10000000>; + }; + + ocp@f1000000 { + serial@12000 { + status = "okay"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-z0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-z0.dts index e7950e293e..72edd47e19 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-z0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rd88f6281-z0.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Marvell RD88F6181 Z0 stepping descrition - * - * Andrew Lunn - * - * This file contains the definitions for the board using the Z0 - * stepping of the SoC. The ethernet switch has a "wan" port. -*/ - -/dts-v1/; - -#include "kirkwood-rd88f6281.dtsi" - -/ { - model = "Marvell RD88f6281 Reference design, with Z0 SoC"; - compatible = "marvell,rd88f6281-z0", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; - -}; - -ð1 { - status = "disabled"; -}; - -&switch { - reg = <0>; - - ports { - port@4 { - reg = <4>; - label = "wan"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Marvell RD88F6181 Z0 stepping descrition + * + * Andrew Lunn + * + * This file contains the definitions for the board using the Z0 + * stepping of the SoC. The ethernet switch has a "wan" port. +*/ + +/dts-v1/; + +#include "kirkwood-rd88f6281.dtsi" + +/ { + model = "Marvell RD88f6281 Reference design, with Z0 SoC"; + compatible = "marvell,rd88f6281-z0", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood"; + +}; + +ð1 { + status = "disabled"; +}; + +&switch { + reg = <0>; + + ports { + port@4 { + reg = <4>; + label = "wan"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs409.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs409.dts index d598727eaf..43673b03cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs409.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-rs409.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Andrew Lunn - * Ben Peddell - * - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6281.dtsi" -#include "kirkwood-synology.dtsi" - -/ { - model = "Synology RS409"; - compatible = "synology,rs409", "marvell,kirkwood"; - - memory { - device_type = "memory"; - reg = <0x00000000 0x8000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200n8"; - stdout-path = &uart0; - }; - - gpio-fan-150-15-18 { - status = "okay"; - }; - - gpio-leds-hdd-36 { - status = "okay"; - }; -}; - -ð1 { - status = "okay"; -}; - -&rs5c372 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Andrew Lunn + * Ben Peddell + * + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6281.dtsi" +#include "kirkwood-synology.dtsi" + +/ { + model = "Synology RS409"; + compatible = "synology,rs409", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8"; + stdout-path = &uart0; + }; + + gpio-fan-150-15-18 { + status = "okay"; + }; + + gpio-leds-hdd-36 { + status = "okay"; + }; +}; + +ð1 { + status = "okay"; +}; + +&rs5c372 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6282.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6282.dts index 290ebf497b..be772e194c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6282.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/kirkwood-ts419-6282.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Device Tree file for QNAP TS41X with 6282 SoC - * - * Copyright (C) 2013, Andrew Lunn - */ - -/dts-v1/; - -#include "kirkwood.dtsi" -#include "kirkwood-6282.dtsi" -#include "kirkwood-ts219.dtsi" -#include "kirkwood-ts419.dtsi" - -ðphy0 { reg = <0>; }; -ðphy1 { reg = <1>; }; - -&pciec { status = "okay"; }; -&pcie1 { status = "okay"; }; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Device Tree file for QNAP TS41X with 6282 SoC + * + * Copyright (C) 2013, Andrew Lunn + */ + +/dts-v1/; + +#include "kirkwood.dtsi" +#include "kirkwood-6282.dtsi" +#include "kirkwood-ts219.dtsi" +#include "kirkwood-ts419.dtsi" + +ðphy0 { reg = <0>; }; +ðphy1 { reg = <1>; }; + +&pciec { status = "okay"; }; +&pcie1 { status = "okay"; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/pxa168-aspenite.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/pxa168-aspenite.dts index d7f17fd408..8bade6bf39 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/pxa168-aspenite.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/marvell/pxa168-aspenite.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Marvell Technology Group Ltd. - * Author: Haojian Zhuang - */ - -/dts-v1/; -#include "pxa168.dtsi" - -/ { - model = "Marvell PXA168 Aspenite Development Board"; - compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; - - chosen { - bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; - }; - - memory { - reg = <0x00000000 0x04000000>; - }; -}; - -&uart1 { - status = "okay"; -}; - -&twsi1 { - status = "okay"; -}; - -&rtc { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Marvell Technology Group Ltd. + * Author: Haojian Zhuang + */ + +/dts-v1/; +#include "pxa168.dtsi" + +/ { + model = "Marvell PXA168 Aspenite Development Board"; + compatible = "mrvl,pxa168-aspenite", "mrvl,pxa168"; + + chosen { + bootargs = "console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.1.100:/nfsroot/ ip=192.168.1.101:192.168.1.100::255.255.255.0::eth0:on"; + }; + + memory { + reg = <0x00000000 0x04000000>; + }; +}; + +&uart1 { + status = "okay"; +}; + +&twsi1 { + status = "okay"; +}; + +&rtc { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/Makefile index 7924b59b25..1957947cb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MEDIATEK) += \ - mt2701-evb.dtb \ - mt6580-evbp1.dtb \ - mt6582-prestigio-pmt5008-3g.dtb \ - mt6589-aquaris5.dtb \ - mt6589-fairphone-fp1.dtb \ - mt6592-evb.dtb \ - mt7623a-rfb-emmc.dtb \ - mt7623a-rfb-nand.dtb \ - mt7623n-rfb-emmc.dtb \ - mt7623n-bananapi-bpi-r2.dtb \ - mt7629-rfb.dtb \ - mt8127-moose.dtb \ - mt8135-evbp1.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MEDIATEK) += \ + mt2701-evb.dtb \ + mt6580-evbp1.dtb \ + mt6582-prestigio-pmt5008-3g.dtb \ + mt6589-aquaris5.dtb \ + mt6589-fairphone-fp1.dtb \ + mt6592-evb.dtb \ + mt7623a-rfb-emmc.dtb \ + mt7623a-rfb-nand.dtb \ + mt7623n-rfb-emmc.dtb \ + mt7623n-bananapi-bpi-r2.dtb \ + mt7629-rfb.dtb \ + mt8127-moose.dtb \ + mt8135-evbp1.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6580-evbp1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6580-evbp1.dts index 81941799a0..755a0774a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6580-evbp1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6580-evbp1.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2015 MediaTek Inc. - * Author: Mars.C - * - */ - -/dts-v1/; -#include "mt6580.dtsi" - -/ { - model = "MediaTek MT6580 evaluation board"; - compatible = "mediatek,mt6580-evbp1", "mediatek,mt6580"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; - - memory { - device_type = "memory"; - reg = <0x80000000 0x20000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2015 MediaTek Inc. + * Author: Mars.C + * + */ + +/dts-v1/; +#include "mt6580.dtsi" + +/ { + model = "MediaTek MT6580 evaluation board"; + compatible = "mediatek,mt6580-evbp1", "mediatek,mt6580"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x20000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6582-prestigio-pmt5008-3g.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6582-prestigio-pmt5008-3g.dts index be84fdf1be..b057e037f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6582-prestigio-pmt5008-3g.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6582-prestigio-pmt5008-3g.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2021 Maxim Kutnij - */ - -/dts-v1/; -#include "mt6582.dtsi" - -/ { - model = "Prestigio PMT5008 3G"; - compatible = "prestigio,pmt5008-3g", "mediatek,mt6582"; - - aliases { - bootargs = "console=ttyS0,921600n8 earlyprintk"; - serial0 = &uart0; - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&uart2 { - status = "okay"; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2021 Maxim Kutnij + */ + +/dts-v1/; +#include "mt6582.dtsi" + +/ { + model = "Prestigio PMT5008 3G"; + compatible = "prestigio,pmt5008-3g", "mediatek,mt6582"; + + aliases { + bootargs = "console=ttyS0,921600n8 earlyprintk"; + serial0 = &uart0; + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-aquaris5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-aquaris5.dts index 1d85206891..1e7079a3b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-aquaris5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-aquaris5.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2014 MundoReader S.L. - * Author: Matthias Brugger - * - */ - -/dts-v1/; -#include "mt6589.dtsi" - -/ { - model = "bq Aquaris5"; - compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589"; - - chosen { - bootargs = "console=ttyS0,921600n8 earlyprintk"; - stdout-path = &uart0; - }; - - memory { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; - -}; - -&uart0 { - status = "okay"; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2014 MundoReader S.L. + * Author: Matthias Brugger + * + */ + +/dts-v1/; +#include "mt6589.dtsi" + +/ { + model = "bq Aquaris5"; + compatible = "mundoreader,bq-aquaris5", "mediatek,mt6589"; + + chosen { + bootargs = "console=ttyS0,921600n8 earlyprintk"; + stdout-path = &uart0; + }; + + memory { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; + +}; + +&uart0 { + status = "okay"; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-fairphone-fp1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-fairphone-fp1.dts index 784d63ec31..c952347981 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-fairphone-fp1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt6589-fairphone-fp1.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, Luca Weiss - */ - -/dts-v1/; -#include "mt6589.dtsi" - -/ { - model = "Fairphone 1"; - compatible = "fairphone,fp1", "mediatek,mt6589"; - - chosen { - stdout-path = &uart3; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&cpus { - /* SMP is not stable on this board, makes the kernel panic */ - /delete-property/ enable-method; -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Luca Weiss + */ + +/dts-v1/; +#include "mt6589.dtsi" + +/ { + model = "Fairphone 1"; + compatible = "fairphone,fp1", "mediatek,mt6589"; + + chosen { + stdout-path = &uart3; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&cpus { + /* SMP is not stable on this board, makes the kernel panic */ + /delete-property/ enable-method; +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt8127-moose.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt8127-moose.dts index c65320017d..560687af87 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt8127-moose.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/mediatek/mt8127-moose.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2014 MediaTek Inc. - * Author: Joe.C - * - */ - -/dts-v1/; -#include "mt8127.dtsi" - -/ { - model = "MediaTek MT8127 Moose Board"; - compatible = "mediatek,mt8127-moose", "mediatek,mt8127"; - - memory { - device_type = "memory"; - reg = <0 0x80000000 0 0x40000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2014 MediaTek Inc. + * Author: Joe.C + * + */ + +/dts-v1/; +#include "mt8127.dtsi" + +/ { + model = "MediaTek MT8127 Moose Board"; + compatible = "mediatek,mt8127-moose", "mediatek,mt8127"; + + memory { + device_type = "memory"; + reg = <0 0x80000000 0 0x40000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizbox2-2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizbox2-2.dts index d55a47baa1..cab8b3579e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizbox2-2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizbox2-2.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * at91-kizbox2-2.dts - Device Tree file for the Kizbox2 with - * two head board - * - * Copyright (C) 2015 Overkiz SAS - * - * Authors: Antoine Aubert - * Kévin Raymond - */ -/dts-v1/; -#include "at91-kizbox2-common.dtsi" - -/ { - model = "Overkiz Kizbox 2 with two heads"; - compatible = "overkiz,kizbox2-2", "atmel,sama5d31", - "atmel,sama5d3", "atmel,sama5"; -}; - -&usart1 { - status = "okay"; -}; - -&usart2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * at91-kizbox2-2.dts - Device Tree file for the Kizbox2 with + * two head board + * + * Copyright (C) 2015 Overkiz SAS + * + * Authors: Antoine Aubert + * Kévin Raymond + */ +/dts-v1/; +#include "at91-kizbox2-common.dtsi" + +/ { + model = "Overkiz Kizbox 2 with two heads"; + compatible = "overkiz,kizbox2-2", "atmel,sama5d31", + "atmel,sama5d3", "atmel,sama5"; +}; + +&usart1 { + status = "okay"; +}; + +&usart2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts index 275ee70d26..c07d3076a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91-kizboxmini-mb.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2015-2018 Overkiz SAS - * Author: Mickael Gardet - * Kévin Raymond - */ -/dts-v1/; -#include "at91-kizboxmini-common.dtsi" - -/ { - model = "Overkiz Kizbox Mini Mother Board"; - compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", - "atmel,at91sam9x5", "atmel,at91sam9"; -}; - -&usb0 { - num-ports = <2>; -}; - -&rtc { - status = "okay"; -}; - -&led_blue { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2015-2018 Overkiz SAS + * Author: Mickael Gardet + * Kévin Raymond + */ +/dts-v1/; +#include "at91-kizboxmini-common.dtsi" + +/ { + model = "Overkiz Kizbox Mini Mother Board"; + compatible = "overkiz,kizboxmini-mb", "atmel,at91sam9g25", + "atmel,at91sam9x5", "atmel,at91sam9"; +}; + +&usb0 { + num-ports = <2>; +}; + +&rtc { + status = "okay"; +}; + +&led_blue { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20ek.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20ek.dts index a89a0a1d89..6de7a7cd3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20ek.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9g20ek.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "at91sam9g20ek_common.dtsi" - -/ { - model = "Atmel at91sam9g20ek"; - compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9"; - - leds { - compatible = "gpio-leds"; - - ds1 { - label = "ds1"; - gpios = <&pioA 9 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; - }; - - ds5 { - label = "ds5"; - gpios = <&pioA 6 GPIO_ACTIVE_LOW>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * at91sam9g20ek.dts - Device Tree file for Atmel at91sam9g20ek board + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "at91sam9g20ek_common.dtsi" + +/ { + model = "Atmel at91sam9g20ek"; + compatible = "atmel,at91sam9g20ek", "atmel,at91sam9g20", "atmel,at91sam9"; + + leds { + compatible = "gpio-leds"; + + ds1 { + label = "ds1"; + gpios = <&pioA 9 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + + ds5 { + label = "ds5"; + gpios = <&pioA 6 GPIO_ACTIVE_LOW>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9xe.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9xe.dtsi index b20ea3a156..f571f77779 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9xe.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/at91sam9xe.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * at91sam9xe.dtsi - Device Tree Include file for AT91SAM9XE family SoC - * - * Copyright (C) 2015 Atmel, - * 2015 Alexandre Belloni - */ - -#include "at91sam9260.dtsi" - -/ { - model = "Atmel AT91SAM9XE family SoC"; - compatible = "atmel,at91sam9xe", "atmel,at91sam9260"; - - sram0: sram@2ff000 { - status = "disabled"; - }; - - sram1: sram@300000 { - compatible = "mmio-sram"; - reg = <0x00300000 0x4000>; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0 0x00300000 0x4000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * at91sam9xe.dtsi - Device Tree Include file for AT91SAM9XE family SoC + * + * Copyright (C) 2015 Atmel, + * 2015 Alexandre Belloni + */ + +#include "at91sam9260.dtsi" + +/ { + model = "Atmel AT91SAM9XE family SoC"; + compatible = "atmel,at91sam9xe", "atmel,at91sam9260"; + + sram0: sram@2ff000 { + status = "disabled"; + }; + + sram1: sram@300000 { + compatible = "mmio-sram"; + reg = <0x00300000 0x4000>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x00300000 0x4000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d29.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d29.dtsi index 15c755cfd3..17991c28a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d29.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d29.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * sama5d29.dtsi - Device Tree Include file for SAMA5D29 SoC of the SAMA5D2 - * family. - * - * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries - * - * Author: Hari Prasath - * - */ - -#include "sama5d2.dtsi" - -&macb0 { - compatible = "atmel,sama5d29-gem"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * sama5d29.dtsi - Device Tree Include file for SAMA5D29 SoC of the SAMA5D2 + * family. + * + * Copyright (C) 2021 Microchip Technology, Inc. and its subsidiaries + * + * Author: Hari Prasath + * + */ + +#include "sama5d2.dtsi" + +&macb0 { + compatible = "atmel,sama5d29-gem"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31.dtsi index e2ec387dbe..cbe8f275ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d31.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d31.dtsi - Device Tree Include file for SAMA5D31 SoC - * - * Copyright (C) 2013 Boris BREZILLON - */ -#include "sama5d3.dtsi" -#include "sama5d3_lcd.dtsi" -#include "sama5d3_emac.dtsi" -#include "sama5d3_mci2.dtsi" -#include "sama5d3_uart.dtsi" - -/ { - compatible = "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d31.dtsi - Device Tree Include file for SAMA5D31 SoC + * + * Copyright (C) 2013 Boris BREZILLON + */ +#include "sama5d3.dtsi" +#include "sama5d3_lcd.dtsi" +#include "sama5d3_emac.dtsi" +#include "sama5d3_mci2.dtsi" +#include "sama5d3_uart.dtsi" + +/ { + compatible = "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d34.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d34.dtsi index ecc0898bb8..132918c889 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d34.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d34.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d34.dtsi - Device Tree Include file for SAMA5D34 SoC - * - * Copyright (C) 2013 Boris BREZILLON - */ -#include "sama5d3.dtsi" -#include "sama5d3_lcd.dtsi" -#include "sama5d3_gmac.dtsi" -#include "sama5d3_can.dtsi" -#include "sama5d3_mci2.dtsi" - -/ { - compatible = "atmel,sama5d34", "atmel,sama5d3", "atmel,sama5"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d34.dtsi - Device Tree Include file for SAMA5D34 SoC + * + * Copyright (C) 2013 Boris BREZILLON + */ +#include "sama5d3.dtsi" +#include "sama5d3_lcd.dtsi" +#include "sama5d3_gmac.dtsi" +#include "sama5d3_can.dtsi" +#include "sama5d3_mci2.dtsi" + +/ { + compatible = "atmel,sama5d34", "atmel,sama5d3", "atmel,sama5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d35.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d35.dtsi index c10890c723..b2ccfa77c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d35.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d35.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d35.dtsi - Device Tree Include file for SAMA5D35 SoC - * - * Copyright (C) 2013 Boris BREZILLON - */ -#include "sama5d3.dtsi" -#include "sama5d3_gmac.dtsi" -#include "sama5d3_emac.dtsi" -#include "sama5d3_can.dtsi" -#include "sama5d3_mci2.dtsi" -#include "sama5d3_uart.dtsi" -#include "sama5d3_tcb1.dtsi" - -/ { - compatible = "atmel,sama5d35", "atmel,sama5d3", "atmel,sama5"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d35.dtsi - Device Tree Include file for SAMA5D35 SoC + * + * Copyright (C) 2013 Boris BREZILLON + */ +#include "sama5d3.dtsi" +#include "sama5d3_gmac.dtsi" +#include "sama5d3_emac.dtsi" +#include "sama5d3_can.dtsi" +#include "sama5d3_mci2.dtsi" +#include "sama5d3_uart.dtsi" +#include "sama5d3_tcb1.dtsi" + +/ { + compatible = "atmel,sama5d35", "atmel,sama5d3", "atmel,sama5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36.dtsi index e671e89818..5d88f99671 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d36.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d36.dtsi - Device Tree Include file for SAMA5D36 SoC - * - * Copyright (C) 2013 Atmel, - * 2013 Josh Wu - */ -#include "sama5d3.dtsi" -#include "sama5d3_can.dtsi" -#include "sama5d3_gmac.dtsi" -#include "sama5d3_emac.dtsi" -#include "sama5d3_lcd.dtsi" -#include "sama5d3_mci2.dtsi" -#include "sama5d3_tcb1.dtsi" -#include "sama5d3_uart.dtsi" - -/ { - compatible = "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d36.dtsi - Device Tree Include file for SAMA5D36 SoC + * + * Copyright (C) 2013 Atmel, + * 2013 Josh Wu + */ +#include "sama5d3.dtsi" +#include "sama5d3_can.dtsi" +#include "sama5d3_gmac.dtsi" +#include "sama5d3_emac.dtsi" +#include "sama5d3_lcd.dtsi" +#include "sama5d3_mci2.dtsi" +#include "sama5d3_tcb1.dtsi" +#include "sama5d3_uart.dtsi" + +/ { + compatible = "atmel,sama5d36", "atmel,sama5d3", "atmel,sama5"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xmb_emac.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xmb_emac.dtsi index 3c13253aef..a5dd41cd95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xmb_emac.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/sama5d3xmb_emac.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * sama5d3xmb_emac.dts - Device Tree Include file for SAMA5D3x mother board - * Ethernet - * - * Copyright (C) 2016 Atmel, - */ - -/ { - ahb { - apb { - macb1: ethernet@f802c000 { - phy-mode = "rmii"; - - #address-cells = <1>; - #size-cells = <0>; - phy0: ethernet-phy@1 { - interrupt-parent = <&pioE>; - interrupts = <30 IRQ_TYPE_EDGE_FALLING>; - reg = <1>; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * sama5d3xmb_emac.dts - Device Tree Include file for SAMA5D3x mother board + * Ethernet + * + * Copyright (C) 2016 Atmel, + */ + +/ { + ahb { + apb { + macb1: ethernet@f802c000 { + phy-mode = "rmii"; + + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@1 { + interrupt-parent = <&pioE>; + interrupts = <30 IRQ_TYPE_EDGE_FALLING>; + reg = <1>; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9260.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9260.dts index 647bdbf371..ef6d586ce8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9260.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9260.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * tny_a9260.dts - Device Tree file for Caloa TNY A9260 board - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "at91sam9260.dtsi" -#include "tny_a9260_common.dtsi" - -/ { - model = "Calao TNY A9260"; - compatible = "calao,tny-a9260", "atmel,at91sam9260", "atmel,at91sam9"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * tny_a9260.dts - Device Tree file for Caloa TNY A9260 board + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "at91sam9260.dtsi" +#include "tny_a9260_common.dtsi" + +/ { + model = "Calao TNY A9260"; + compatible = "calao,tny-a9260", "atmel,at91sam9260", "atmel,at91sam9"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9g20.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9g20.dts index ceb7a9cb70..118d766a12 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9g20.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/tny_a9g20.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * tny_a9g20.dts - Device Tree file for Caloa TNY A9G20 board - * - * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "at91sam9g20.dtsi" -#include "tny_a9260_common.dtsi" - -/ { - model = "Calao TNY A9G20"; - compatible = "calao,tny-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * tny_a9g20.dts - Device Tree file for Caloa TNY A9G20 board + * + * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "at91sam9g20.dtsi" +#include "tny_a9260_common.dtsi" + +/ { + model = "Calao TNY A9G20"; + compatible = "calao,tny-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20.dts index fbe567a6f5..2f667b083e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20.dts @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - */ -/dts-v1/; -#include "usb_a9g20_common.dtsi" - -/ { - model = "Calao USB A9G20"; - compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board + * + * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD + */ +/dts-v1/; +#include "usb_a9g20_common.dtsi" + +/ { + model = "Calao USB A9G20"; + compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_common.dtsi index d80220d2b1..7d10b36db1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/microchip/usb_a9g20_common.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board - * - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD - */ - -#include "at91sam9g20.dtsi" -#include "usb_a9260_common.dtsi" - -/ { - chosen { - bootargs = "mem=64M root=/dev/mtdblock5 rw rootfstype=ubifs"; - stdout-path = "serial0:115200n8"; - }; - - memory@20000000 { - reg = <0x20000000 0x4000000>; - }; - - i2c-gpio-0 { - rtc@56 { - compatible = "microcrystal,rv3029"; - reg = <0x56>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * usb_a9g20.dts - Device Tree file for Caloa USB A9G20 board + * + * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD + */ + +#include "at91sam9g20.dtsi" +#include "usb_a9260_common.dtsi" + +/ { + chosen { + bootargs = "mem=64M root=/dev/mtdblock5 rw rootfstype=ubifs"; + stdout-path = "serial0:115200n8"; + }; + + memory@20000000 { + reg = <0x20000000 0x4000000>; + }; + + i2c-gpio-0 { + rtc@56 { + compatible = "microcrystal,rv3029"; + reg = <0x56>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx31-bug.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx31-bug.dts index 43756f1624..d87eee3f9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx31-bug.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx31-bug.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2012 Denis 'GNUtoo' Carikli - */ - -/dts-v1/; -#include "imx31.dtsi" - -/ { - model = "Buglabs i.MX31 Bug 1.x"; - compatible = "buglabs,imx31-bug", "fsl,imx31"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x8000000>; /* 128M */ - }; -}; - -&uart5 { - uart-has-rtscts; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2012 Denis 'GNUtoo' Carikli + */ + +/dts-v1/; +#include "imx31.dtsi" + +/ { + model = "Buglabs i.MX31 Bug 1.x"; + compatible = "buglabs,imx31-bug", "fsl,imx31"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x8000000>; /* 128M */ + }; +}; + +&uart5 { + uart-has-rtscts; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-apf6dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-apf6dev.dts index b7670f10af..3dcce3454b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-apf6dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-apf6dev.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright 2015 Armadeus Systems - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-apf6.dtsi" -#include "imx6qdl-apf6dev.dtsi" - -/ { - model = "Armadeus APF6 Solo Module on APF6Dev Board"; - compatible = "armadeus,imx6dl-apf6dev", "armadeus,imx6dl-apf6", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright 2015 Armadeus Systems + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-apf6.dtsi" +#include "imx6qdl-apf6dev.dtsi" + +/ { + model = "Armadeus APF6 Solo Module on APF6Dev Board"; + compatible = "armadeus,imx6dl-apf6dev", "armadeus,imx6dl-apf6", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dfi-fs700-m60.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dfi-fs700-m60.dts index 9a0ea1c57d..cece4aafda 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dfi-fs700-m60.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dfi-fs700-m60.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer - */ - -#ifndef __DTS_V1__ -#define __DTS_V1__ -/dts-v1/; -#endif - -#include "imx6dl.dtsi" -#include "imx6qdl-dfi-fs700-m60.dtsi" - -/ { - model = "DFI FS700-M60-6DL i.MX6dl Q7 Board"; - compatible = "dfi,fs700-m60-6dl", "dfi,fs700e-m60", "fsl,imx6dl"; - - /* Will be filled by the bootloader */ - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer + */ + +#ifndef __DTS_V1__ +#define __DTS_V1__ +/dts-v1/; +#endif + +#include "imx6dl.dtsi" +#include "imx6qdl-dfi-fs700-m60.dtsi" + +/ { + model = "DFI FS700-M60-6DL i.MX6dl Q7 Board"; + compatible = "dfi,fs700-m60-6dl", "dfi,fs700e-m60", "fsl,imx6dl"; + + /* Will be filled by the bootloader */ + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-picoitx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-picoitx.dts index 7f7243d63d..038bb00255 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-picoitx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-dhcom-picoitx.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2021 DH electronics GmbH - * - * DHCOM iMX6 variant: - * DHCM-iMX6DL-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2 - * DHCOM PCB number: 493-300 or newer - * PicoITX PCB number: 487-600 or newer - */ -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-dhcom-som.dtsi" -#include "imx6qdl-dhcom-picoitx.dtsi" - -/ { - model = "DH electronics i.MX6DL DHCOM on PicoITX"; - compatible = "dh,imx6dl-dhcom-picoitx", "dh,imx6dl-dhcom-som", - "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2021 DH electronics GmbH + * + * DHCOM iMX6 variant: + * DHCM-iMX6DL-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2 + * DHCOM PCB number: 493-300 or newer + * PicoITX PCB number: 487-600 or newer + */ +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-dhcom-som.dtsi" +#include "imx6qdl-dhcom-picoitx.dtsi" + +/ { + model = "DH electronics i.MX6DL DHCOM on PicoITX"; + compatible = "dh,imx6dl-dhcom-picoitx", "dh,imx6dl-dhcom-som", + "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-mipi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-mipi.dts index 0520c87ed5..d8f3821a0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-mipi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore-mipi.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2018 Engicam S.r.l. - * Copyright (C) 2018 Amarula Solutions B.V. - * Author: Jagan Teki - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-icore-1.5.dtsi" - -/ { - model = "Engicam i.CoreM6 DualLite/Solo MIPI Starter Kit"; - compatible = "engicam,imx6-icore", "fsl,imx6dl"; -}; - -&hdmi { - ddc-i2c-bus = <&i2c2>; - status = "okay"; -}; - -&usdhc3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2018 Engicam S.r.l. + * Copyright (C) 2018 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-icore-1.5.dtsi" + +/ { + model = "Engicam i.CoreM6 DualLite/Solo MIPI Starter Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6dl"; +}; + +&hdmi { + ddc-i2c-bus = <&i2c2>; + status = "okay"; +}; + +&usdhc3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore.dts index 6b21874ef5..80fa60607a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-icore.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2016 Amarula Solutions B.V. - * Copyright (C) 2016 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-icore.dtsi" - -/ { - model = "Engicam i.CoreM6 DualLite/Solo Starter Kit"; - compatible = "engicam,imx6-icore", "fsl,imx6dl"; -}; - -&can1 { - status = "okay"; -}; - -&can2 { - status = "okay"; -}; - -&i2c1 { - max11801: touchscreen@48 { - compatible = "maxim,max11801"; - reg = <0x48>; - interrupt-parent = <&gpio3>; - interrupts = <31 IRQ_TYPE_EDGE_FALLING>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2016 Amarula Solutions B.V. + * Copyright (C) 2016 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-icore.dtsi" + +/ { + model = "Engicam i.CoreM6 DualLite/Solo Starter Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6dl"; +}; + +&can1 { + status = "okay"; +}; + +&can2 { + status = "okay"; +}; + +&i2c1 { + max11801: touchscreen@48 { + compatible = "maxim,max11801"; + reg = <0x48>; + interrupt-parent = <&gpio3>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6.dtsi index 88bf51a3c4..b749b424bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -ðphy { - rxdv-skew-ps = <180>; - txen-skew-ps = <0>; - rxd3-skew-ps = <180>; - rxd2-skew-ps = <180>; - rxd1-skew-ps = <180>; - rxd0-skew-ps = <180>; - txd3-skew-ps = <120>; - txd2-skew-ps = <0>; - txd1-skew-ps = <300>; - txd0-skew-ps = <120>; - txc-skew-ps = <1860>; - rxc-skew-ps = <1860>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +ðphy { + rxdv-skew-ps = <180>; + txen-skew-ps = <0>; + rxd3-skew-ps = <180>; + rxd2-skew-ps = <180>; + rxd1-skew-ps = <180>; + rxd0-skew-ps = <180>; + txd3-skew-ps = <120>; + txd2-skew-ps = <0>; + txd1-skew-ps = <300>; + txd0-skew-ps = <120>; + txc-skew-ps = <1860>; + rxc-skew-ps = <1860>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6a.dts index a17ce7b591..df0a96b28a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6a.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include -#include "imx6dl-tqma6a.dtsi" -#include "imx6qdl-mba6.dtsi" -#include "imx6qdl-mba6a.dtsi" -#include "imx6dl-mba6.dtsi" - -/ { - model = "TQ TQMa6S/DL on MBa6x"; - compatible = "tq,imx6dl-mba6x-a", "tq,mba6a", - "tq,imx6dl-tqma6dl-a", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include +#include "imx6dl-tqma6a.dtsi" +#include "imx6qdl-mba6.dtsi" +#include "imx6qdl-mba6a.dtsi" +#include "imx6dl-mba6.dtsi" + +/ { + model = "TQ TQMa6S/DL on MBa6x"; + compatible = "tq,imx6dl-mba6x-a", "tq,mba6a", + "tq,imx6dl-tqma6dl-a", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6b.dts index 0669b9943b..610b19d2db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-mba6b.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include -#include "imx6dl-tqma6b.dtsi" -#include "imx6qdl-mba6.dtsi" -#include "imx6qdl-mba6b.dtsi" -#include "imx6dl-mba6.dtsi" - -/ { - model = "TQ TQMa6S/DL on MBa6x"; - compatible = "tq,imx6dl-mba6x-b", "tq,mba6b", - "tq,imx6dl-tqma6dl-b", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include +#include "imx6dl-tqma6b.dtsi" +#include "imx6qdl-mba6.dtsi" +#include "imx6qdl-mba6b.dtsi" +#include "imx6dl-mba6.dtsi" + +/ { + model = "TQ TQMa6S/DL on MBa6x"; + compatible = "tq,imx6dl-mba6x-b", "tq,mba6b", + "tq,imx6dl-tqma6dl-b", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nitrogen6x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nitrogen6x.dts index bf2a6915ea..ef58d3b0ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nitrogen6x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-nitrogen6x.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2013 Boundary Devices, Inc. - * Copyright 2012 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - */ - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-nitrogen6x.dtsi" - -/ { - model = "Boundary Devices i.MX6 DualLite Nitrogen6x Board"; - compatible = "boundary,imx6dl-nitrogen6x", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2013 Boundary Devices, Inc. + * Copyright 2012 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + */ + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Boundary Devices i.MX6 DualLite Nitrogen6x Board"; + compatible = "boundary,imx6dl-nitrogen6x", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pfla02.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pfla02.dtsi index 5c2ba2a6d1..6f8aaf5244 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pfla02.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-phytec-pfla02.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH - */ - -#include "imx6dl.dtsi" -#include "imx6qdl-phytec-pfla02.dtsi" - -/ { - model = "Phytec phyFLEX-i.MX6 DualLite/Solo"; - compatible = "phytec,imx6dl-pfla02", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH + */ + +#include "imx6dl.dtsi" +#include "imx6qdl-phytec-pfla02.dtsi" + +/ { + model = "Phytec phyFLEX-i.MX6 DualLite/Solo"; + compatible = "phytec,imx6dl-pfla02", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-dwarf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-dwarf.dts index a91ba3c83b..d85b15a8c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-dwarf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-dwarf.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 DualLite/Solo Board and Dwarf baseboard"; - compatible = "technexion,imx6dl-pico-dwarf", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 DualLite/Solo Board and Dwarf baseboard"; + compatible = "technexion,imx6dl-pico-dwarf", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-hobbit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-hobbit.dts index f16db13719..08fedcbcc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-hobbit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-hobbit.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-pico-hobbit.dtsi" - -/ { - model = "TechNexion PICO-IMX6 DualLite/Solo Board and Hobbit baseboard"; - compatible = "technexion,imx6dl-pico-hobbit", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-pico-hobbit.dtsi" + +/ { + model = "TechNexion PICO-IMX6 DualLite/Solo Board and Hobbit baseboard"; + compatible = "technexion,imx6dl-pico-hobbit", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-nymph.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-nymph.dts index 9c8d2eff08..32ccfc5d41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-nymph.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-nymph.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 DualLite/Solo Board and Nymph baseboard"; - compatible = "technexion,imx6dl-pico-nymph", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 DualLite/Solo Board and Nymph baseboard"; + compatible = "technexion,imx6dl-pico-nymph", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-pi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-pi.dts index be77ac56f9..4590e8ad9a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-pi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-pico-pi.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 DualLite/Solo Board and PI baseboard"; - compatible = "technexion,imx6dl-pico-pi", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 DualLite/Solo Board and PI baseboard"; + compatible = "technexion,imx6dl-pico-pi", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-rex-basic.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-rex-basic.dts index f5b8a76d98..b72f8ea1e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-rex-basic.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-rex-basic.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2014 FEDEVEL, Inc. - * - * Author: Robert Nelson - */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-rex.dtsi" - -/ { - model = "Rex Basic i.MX6 Dual Lite Board"; - compatible = "rex,imx6dl-rex-basic", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x20000000>; - }; -}; - -&ecspi3 { - flash: flash@0 { - compatible = "sst,sst25vf016b", "jedec,spi-nor"; - spi-max-frequency = <20000000>; - reg = <0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2014 FEDEVEL, Inc. + * + * Author: Robert Nelson + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-rex.dtsi" + +/ { + model = "Rex Basic i.MX6 Dual Lite Board"; + compatible = "rex,imx6dl-rex-basic", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x20000000>; + }; +}; + +&ecspi3 { + flash: flash@0 { + compatible = "sst,sst25vf016b", "jedec,spi-nor"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabreauto.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabreauto.dts index c7ef2cb7e8..ff3283c83a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabreauto.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabreauto.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2013 Freescale Semiconductor, Inc. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-sabreauto.dtsi" - -/ { - model = "Freescale i.MX6 DualLite/Solo SABRE Automotive Board"; - compatible = "fsl,imx6dl-sabreauto", "fsl,imx6dl"; -}; - -&cpu0 { - operating-points = < - /* kHz uV */ - 996000 1275000 - 792000 1175000 - 396000 1150000 - >; - fsl,soc-operating-points = < - /* ARM kHz SOC-PU uV */ - 996000 1200000 - 792000 1175000 - 396000 1175000 - >; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2013 Freescale Semiconductor, Inc. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-sabreauto.dtsi" + +/ { + model = "Freescale i.MX6 DualLite/Solo SABRE Automotive Board"; + compatible = "fsl,imx6dl-sabreauto", "fsl,imx6dl"; +}; + +&cpu0 { + operating-points = < + /* kHz uV */ + 996000 1275000 + 792000 1175000 + 396000 1150000 + >; + fsl,soc-operating-points = < + /* ARM kHz SOC-PU uV */ + 996000 1200000 + 792000 1175000 + 396000 1175000 + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabresd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabresd.dts index b828cca43e..cd6bbf22a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabresd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-sabresd.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2013 Freescale Semiconductor, Inc. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6qdl-sabresd.dtsi" - -/ { - model = "Freescale i.MX6 DualLite SABRE Smart Device Board"; - compatible = "fsl,imx6dl-sabresd", "fsl,imx6dl"; -}; - -&ipu1_csi1_from_ipu1_csi1_mux { - clock-lanes = <0>; - data-lanes = <1 2>; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2013 Freescale Semiconductor, Inc. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6qdl-sabresd.dtsi" + +/ { + model = "Freescale i.MX6 DualLite SABRE Smart Device Board"; + compatible = "fsl,imx6dl-sabresd", "fsl,imx6dl"; +}; + +&ipu1_csi1_from_ipu1_csi1_mux { + clock-lanes = <0>; + data-lanes = <1 2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dts index 3e166aed17..b12b5aabe7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-skov-revc-lt2.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2020 Pengutronix, Ulrich Oelmann - -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-skov-cpu.dtsi" -#include "imx6qdl-skov-cpu-revc.dtsi" -#include "imx6qdl-skov-revc-lt2.dtsi" - -/ { - model = "SKOV IMX6 CPU SoloCore"; - compatible = "skov,imx6dl-skov-revc-lt2", "fsl,imx6dl"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2020 Pengutronix, Ulrich Oelmann + +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-skov-cpu.dtsi" +#include "imx6qdl-skov-cpu-revc.dtsi" +#include "imx6qdl-skov-revc-lt2.dtsi" + +/ { + model = "SKOV IMX6 CPU SoloCore"; + compatible = "skov,imx6dl-skov-revc-lt2", "fsl,imx6dl"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revb1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revb1.dts index 656e2c943f..c2946fbaa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revb1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revb1.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-wandboard-revb1.dtsi" - -/ { - model = "Wandboard i.MX6 Dual Lite Board rev B1"; - compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-wandboard-revb1.dtsi" + +/ { + model = "Wandboard i.MX6 Dual Lite Board rev B1"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revd1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revd1.dts index f1d25e7b75..6d1d863c2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revd1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard-revd1.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-wandboard-revd1.dtsi" - -/ { - model = "Wandboard i.MX6 Dual Lite Board revD1"; - compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-wandboard-revd1.dtsi" + +/ { + model = "Wandboard i.MX6 Dual Lite Board revD1"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard.dts index 771a1caa3b..4a08d5a994 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-wandboard.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6dl.dtsi" -#include "imx6qdl-wandboard-revc1.dtsi" - -/ { - model = "Wandboard i.MX6 Dual Lite Board"; - compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6dl.dtsi" +#include "imx6qdl-wandboard-revc1.dtsi" + +/ { + model = "Wandboard i.MX6 Dual Lite Board"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-phoenix.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-phoenix.dts index 112b88db1f..e0292f11d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-phoenix.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6dl-yapp4-phoenix.dts @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2021 Y Soft Corporation, a.s. - -/dts-v1/; - -#include "imx6dl.dtsi" -#include "imx6dl-yapp43-common.dtsi" - -/ { - model = "Y Soft IOTA Phoenix i.MX6DualLite board"; - compatible = "ysoft,imx6dl-yapp4-phoenix", "fsl,imx6dl"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; - -&aliases { - /delete-property/ ethernet1; -}; - -&gpio_keys { - status = "okay"; -}; - -®_usb_h1_vbus { - status = "okay"; -}; - -&switch_ports { - /delete-node/ port@2; -}; - -&usbh1 { - status = "okay"; -}; - -&usbphy2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2021 Y Soft Corporation, a.s. + +/dts-v1/; + +#include "imx6dl.dtsi" +#include "imx6dl-yapp43-common.dtsi" + +/ { + model = "Y Soft IOTA Phoenix i.MX6DualLite board"; + compatible = "ysoft,imx6dl-yapp4-phoenix", "fsl,imx6dl"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; + +&aliases { + /delete-property/ ethernet1; +}; + +&gpio_keys { + status = "okay"; +}; + +®_usb_h1_vbus { + status = "okay"; +}; + +&switch_ports { + /delete-node/ port@2; +}; + +&usbh1 { + status = "okay"; +}; + +&usbphy2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apf6dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apf6dev.dts index 1e25c20ff5..664b0af8f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apf6dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-apf6dev.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright 2015 Armadeus Systems - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-apf6.dtsi" -#include "imx6qdl-apf6dev.dtsi" - -/ { - model = "Armadeus APF6 Quad / Dual Module on APF6Dev Board"; - compatible = "armadeus,imx6q-apf6dev", "armadeus,imx6q-apf6", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright 2015 Armadeus Systems + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-apf6.dtsi" +#include "imx6qdl-apf6dev.dtsi" + +/ { + model = "Armadeus APF6 Quad / Dual Module on APF6Dev Board"; + compatible = "armadeus,imx6q-apf6dev", "armadeus,imx6q-apf6", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dfi-fs700-m60.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dfi-fs700-m60.dts index 35af26f6ef..8bfe6337cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dfi-fs700-m60.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dfi-fs700-m60.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Sascha Hauer - */ - -#ifndef __DTS_V1__ -#define __DTS_V1__ -/dts-v1/; -#endif - -#include "imx6q.dtsi" -#include "imx6qdl-dfi-fs700-m60.dtsi" - -/ { - model = "DFI FS700-M60-6QD i.MX6qd Q7 Board"; - compatible = "dfi,fs700-m60-6qd", "dfi,fs700e-m60", "fsl,imx6q"; - - /* Will be filled by the bootloader */ - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Sascha Hauer + */ + +#ifndef __DTS_V1__ +#define __DTS_V1__ +/dts-v1/; +#endif + +#include "imx6q.dtsi" +#include "imx6qdl-dfi-fs700-m60.dtsi" + +/ { + model = "DFI FS700-M60-6QD i.MX6qd Q7 Board"; + compatible = "dfi,fs700-m60-6qd", "dfi,fs700e-m60", "fsl,imx6q"; + + /* Will be filled by the bootloader */ + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dts index 536e24d98d..d4d5737061 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-dhcom-pdk2.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2015-2021 DH electronics GmbH - * Copyright (C) 2018 Marek Vasut - * - * DHCOM iMX6 variant: - * DHCM-iMX6Q-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2 - * DHCOM PCB number: 493-300 or newer - * PDK2 PCB number: 516-400 or newer - */ -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-dhcom-som.dtsi" -#include "imx6qdl-dhcom-pdk2.dtsi" - -/ { - model = "DH electronics i.MX6Q DHCOM on Premium Developer Kit (2)"; - compatible = "dh,imx6q-dhcom-pdk2", "dh,imx6q-dhcom-som", - "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2015-2021 DH electronics GmbH + * Copyright (C) 2018 Marek Vasut + * + * DHCOM iMX6 variant: + * DHCM-iMX6Q-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2 + * DHCOM PCB number: 493-300 or newer + * PDK2 PCB number: 516-400 or newer + */ +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-dhcom-som.dtsi" +#include "imx6qdl-dhcom-pdk2.dtsi" + +/ { + model = "DH electronics i.MX6Q DHCOM on Premium Developer Kit (2)"; + compatible = "dh,imx6q-dhcom-pdk2", "dh,imx6q-dhcom-som", + "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-ds.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-ds.dts index 02d2a61046..b0a63a1339 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-ds.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-ds.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0+ -// -// Copyright 2021 Dillon Min -// -// Based on imx6qdl-sabresd.dtsi which is: -// Copyright 2012 Freescale Semiconductor, Inc. -// Copyright 2011 Linaro Ltd. - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-ds.dtsi" - -/ { - model = "DaSheng i.MX6 Quad Com-9xx Board"; - compatible = "ds,imx6q-sbc", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2021 Dillon Min +// +// Based on imx6qdl-sabresd.dtsi which is: +// Copyright 2012 Freescale Semiconductor, Inc. +// Copyright 2011 Linaro Ltd. + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-ds.dtsi" + +/ { + model = "DaSheng i.MX6 Quad Com-9xx Board"; + compatible = "ds,imx6q-sbc", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-mipi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-mipi.dts index 842606c7c3..d51745268d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-mipi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-mipi.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright (C) 2017 Engicam S.r.l. - * Copyright (C) 2017 Amarula Solutions B.V. - * Author: Jagan Teki - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-icore-1.5.dtsi" - -/ { - model = "Engicam i.CoreM6 1.5 Quad/Dual MIPI Starter Kit"; - compatible = "engicam,imx6-icore", "fsl,imx6q"; -}; - -&hdmi { - ddc-i2c-bus = <&i2c2>; - status = "okay"; -}; - -&mipi_csi { - status = "okay"; -}; - -&ov5640 { - status = "okay"; -}; - -&usdhc3 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright (C) 2017 Engicam S.r.l. + * Copyright (C) 2017 Amarula Solutions B.V. + * Author: Jagan Teki + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore-1.5.dtsi" + +/ { + model = "Engicam i.CoreM6 1.5 Quad/Dual MIPI Starter Kit"; + compatible = "engicam,imx6-icore", "fsl,imx6q"; +}; + +&hdmi { + ddc-i2c-bus = <&i2c2>; + status = "okay"; +}; + +&mipi_csi { + status = "okay"; +}; + +&ov5640 { + status = "okay"; +}; + +&usdhc3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-rqs.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-rqs.dts index c312ca9600..cf6ba724f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-rqs.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-icore-rqs.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2015 Amarula Solutions B.V. - * Copyright (C) 2015 Engicam S.r.l. - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-icore-rqs.dtsi" - -/ { - model = "Engicam i.CoreM6 Quad/Dual RQS Starter Kit"; - compatible = "engicam,imx6-icore-rqs", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2015 Amarula Solutions B.V. + * Copyright (C) 2015 Engicam S.r.l. + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-icore-rqs.dtsi" + +/ { + model = "Engicam i.CoreM6 Quad/Dual RQS Starter Kit"; + compatible = "engicam,imx6-icore-rqs", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kp-tpc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kp-tpc.dts index 4a64e79d6f..50fbf46d17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kp-tpc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-kp-tpc.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2018 - * Lukasz Majewski, DENX Software Engineering, lukma@denx.de - */ - -/dts-v1/; - -#include "imx6q-kp.dtsi" - -/ { - model = "Freescale i.MX6 Qwuad K+P TPC Board"; - compatible = "kiebackpeter,imx6q-tpc", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x40000000>; - }; -}; - -&ipu1_di0_disp0 { - remote-endpoint = <&lcd_display_in>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2018 + * Lukasz Majewski, DENX Software Engineering, lukma@denx.de + */ + +/dts-v1/; + +#include "imx6q-kp.dtsi" + +/ { + model = "Freescale i.MX6 Qwuad K+P TPC Board"; + compatible = "kiebackpeter,imx6q-tpc", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x40000000>; + }; +}; + +&ipu1_di0_disp0 { + remote-endpoint = <&lcd_display_in>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dts index ba66b77ba2..349a08605a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6a.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6q-tqma6a.dtsi" -#include "imx6qdl-mba6.dtsi" -#include "imx6qdl-mba6a.dtsi" -#include "imx6q-mba6.dtsi" - -/ { - model = "TQ TQMa6Q on MBa6x"; - compatible = "tq,imx6q-mba6x-a", "tq,mba6a", - "tq,imx6q-tqma6q-a", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6q-tqma6a.dtsi" +#include "imx6qdl-mba6.dtsi" +#include "imx6qdl-mba6a.dtsi" +#include "imx6q-mba6.dtsi" + +/ { + model = "TQ TQMa6Q on MBa6x"; + compatible = "tq,imx6q-mba6x-a", "tq,mba6a", + "tq,imx6q-tqma6q-a", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6b.dts index 0c5eab5617..02c9f3e91b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-mba6b.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2013 Sascha Hauer, Pengutronix - * - * Copyright 2013-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6q-tqma6b.dtsi" -#include "imx6qdl-mba6.dtsi" -#include "imx6qdl-mba6b.dtsi" -#include "imx6q-mba6.dtsi" - -/ { - model = "TQ TQMa6Q on MBa6x"; - compatible = "tq,imx6q-mba6x-b", "tq,mba6b", - "tq,imx6q-tqma6q-b", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2013 Sascha Hauer, Pengutronix + * + * Copyright 2013-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6q-tqma6b.dtsi" +#include "imx6qdl-mba6.dtsi" +#include "imx6qdl-mba6b.dtsi" +#include "imx6q-mba6.dtsi" + +/ { + model = "TQ TQMa6Q on MBa6x"; + compatible = "tq,imx6q-mba6x-b", "tq,mba6b", + "tq,imx6q-tqma6q-b", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6x.dts index c116a9c40b..435445a34a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-nitrogen6x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2013 Boundary Devices, Inc. - * Copyright 2012 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - */ - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-nitrogen6x.dtsi" - -/ { - model = "Boundary Devices i.MX6 Quad Nitrogen6x Board"; - compatible = "boundary,imx6q-nitrogen6x", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2013 Boundary Devices, Inc. + * Copyright 2012 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-nitrogen6x.dtsi" + +/ { + model = "Boundary Devices i.MX6 Quad Nitrogen6x Board"; + compatible = "boundary,imx6q-nitrogen6x", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pbab01.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pbab01.dts index 16f7a63661..affe30b02d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pbab01.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pbab01.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH - */ - -/dts-v1/; -#include "imx6q-phytec-pfla02.dtsi" -#include "imx6qdl-phytec-pbab01.dtsi" - -/ { - model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board"; - compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q"; - - chosen { - stdout-path = &uart4; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH + */ + +/dts-v1/; +#include "imx6q-phytec-pfla02.dtsi" +#include "imx6qdl-phytec-pbab01.dtsi" + +/ { + model = "Phytec phyFLEX-i.MX6 Quad Carrier-Board"; + compatible = "phytec,imx6q-pbab01", "phytec,imx6q-pfla02", "fsl,imx6q"; + + chosen { + stdout-path = &uart4; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pfla02.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pfla02.dtsi index 0bbe10fd94..500944bd2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pfla02.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-phytec-pfla02.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH - */ - -#include "imx6q.dtsi" -#include "imx6qdl-phytec-pfla02.dtsi" - -/ { - model = "Phytec phyFLEX-i.MX6 Quad"; - compatible = "phytec,imx6q-pfla02", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH + */ + +#include "imx6q.dtsi" +#include "imx6qdl-phytec-pfla02.dtsi" + +/ { + model = "Phytec phyFLEX-i.MX6 Quad"; + compatible = "phytec,imx6q-pfla02", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-dwarf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-dwarf.dts index 129ef9ac94..479a63ed42 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-dwarf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-dwarf.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 Quad Board and Dwarf baseboard"; - compatible = "technexion,imx6q-pico-dwarf", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 Quad Board and Dwarf baseboard"; + compatible = "technexion,imx6q-pico-dwarf", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-hobbit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-hobbit.dts index 05ab94e1bd..b767131068 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-hobbit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-hobbit.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-pico-hobbit.dtsi" - -/ { - model = "TechNexion PICO-IMX6 Quad Board and Hobbit baseboard"; - compatible = "technexion,imx6q-pico-hobbit", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-pico-hobbit.dtsi" + +/ { + model = "TechNexion PICO-IMX6 Quad Board and Hobbit baseboard"; + compatible = "technexion,imx6q-pico-hobbit", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-nymph.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-nymph.dts index 0ee2bba0fb..e8ad4c12b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-nymph.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-nymph.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 Quad Board and Nymph baseboard"; - compatible = "technexion,imx6q-pico-nymph", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 Quad Board and Nymph baseboard"; + compatible = "technexion,imx6q-pico-nymph", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-pi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-pi.dts index b50119e050..cc2394ddad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-pi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-pico-pi.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -// -// Copyright 2018 Technexion Ltd. -// -// Author: Wig Cheng -// Richard Hu -// Tapani Utriainen - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-pico-pi.dtsi" - -/ { - model = "TechNexion PICO-IMX6 Quad Board and PI baseboard"; - compatible = "technexion,imx6q-pico-pi", "fsl,imx6q"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +// +// Copyright 2018 Technexion Ltd. +// +// Author: Wig Cheng +// Richard Hu +// Tapani Utriainen + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-pico-pi.dtsi" + +/ { + model = "TechNexion PICO-IMX6 Quad Board and PI baseboard"; + compatible = "technexion,imx6q-pico-pi", "fsl,imx6q"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-rex-pro.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-rex-pro.dts index f9fa8cd272..271f4b2d9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-rex-pro.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-rex-pro.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2014 FEDEVEL, Inc. - * - * Author: Robert Nelson - */ -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-rex.dtsi" - -/ { - model = "Rex Pro i.MX6 Quad Board"; - compatible = "rex,imx6q-rex-pro", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&ecspi3 { - flash: flash@0 { - compatible = "sst,sst25vf032b", "jedec,spi-nor"; - spi-max-frequency = <20000000>; - reg = <0>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2014 FEDEVEL, Inc. + * + * Author: Robert Nelson + */ +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-rex.dtsi" + +/ { + model = "Rex Pro i.MX6 Quad Board"; + compatible = "rex,imx6q-rex-pro", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&ecspi3 { + flash: flash@0 { + compatible = "sst,sst25vf032b", "jedec,spi-nor"; + spi-max-frequency = <20000000>; + reg = <0>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabrelite.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabrelite.dts index e1771d131d..7c6a2f234c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabrelite.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabrelite.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2011 Freescale Semiconductor, Inc. - * Copyright 2011 Linaro Ltd. - * - */ - -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-sabrelite.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Lite Board"; - compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; - -&ipu1_csi1_from_mipi_vc1 { - clock-lanes = <0>; - data-lanes = <1 2>; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2011 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + * + */ + +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-sabrelite.dtsi" + +/ { + model = "Freescale i.MX6 Quad SABRE Lite Board"; + compatible = "fsl,imx6q-sabrelite", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; + +&ipu1_csi1_from_mipi_vc1 { + clock-lanes = <0>; + data-lanes = <1 2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabresd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabresd.dts index 881429084d..eec944673c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabresd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-sabresd.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0+ -// -// Copyright 2012 Freescale Semiconductor, Inc. -// Copyright 2011 Linaro Ltd. - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-sabresd.dtsi" - -/ { - model = "Freescale i.MX6 Quad SABRE Smart Device Board"; - compatible = "fsl,imx6q-sabresd", "fsl,imx6q"; -}; - -&sata { - status = "okay"; -}; - -&ipu1_csi1_from_mipi_vc1 { - clock-lanes = <0>; - data-lanes = <1 2>; -}; +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2012 Freescale Semiconductor, Inc. +// Copyright 2011 Linaro Ltd. + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-sabresd.dtsi" + +/ { + model = "Freescale i.MX6 Quad SABRE Smart Device Board"; + compatible = "fsl,imx6q-sabresd", "fsl,imx6q"; +}; + +&sata { + status = "okay"; +}; + +&ipu1_csi1_from_mipi_vc1 { + clock-lanes = <0>; + data-lanes = <1 2>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revb1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revb1.dts index cf81fcce59..f6ccbecff9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revb1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revb1.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-wandboard-revb1.dtsi" - -/ { - model = "Wandboard i.MX6 Quad Board rev B1"; - compatible = "wand,imx6q-wandboard", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-wandboard-revb1.dtsi" + +/ { + model = "Wandboard i.MX6 Quad Board rev B1"; + compatible = "wand,imx6q-wandboard", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revd1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revd1.dts index 7966388afe..55331021d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revd1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard-revd1.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-wandboard-revd1.dtsi" - -/ { - model = "Wandboard i.MX6 Quad Board revD1"; - compatible = "wand,imx6q-wandboard", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-wandboard-revd1.dtsi" + +/ { + model = "Wandboard i.MX6 Quad Board revD1"; + compatible = "wand,imx6q-wandboard", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard.dts index e39625e8eb..0be548beef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-wandboard.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6q.dtsi" -#include "imx6qdl-wandboard-revc1.dtsi" - -/ { - model = "Wandboard i.MX6 Quad Board"; - compatible = "wand,imx6q-wandboard", "fsl,imx6q"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6q.dtsi" +#include "imx6qdl-wandboard-revc1.dtsi" + +/ { + model = "Wandboard i.MX6 Quad Board"; + compatible = "wand,imx6q-wandboard", "fsl,imx6q"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-zii-rdu2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-zii-rdu2.dts index 32deaf91e9..a1c5e69d81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-zii-rdu2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6q-zii-rdu2.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2016-2017 Zodiac Inflight Innovations - */ - -/dts-v1/; - -#include "imx6q.dtsi" -#include "imx6qdl-zii-rdu2.dtsi" - -/ { - model = "ZII RDU2 Board"; - compatible = "zii,imx6q-zii-rdu2", "fsl,imx6q"; - - /* Will be filled by the bootloader */ - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2016-2017 Zodiac Inflight Innovations + */ + +/dts-v1/; + +#include "imx6q.dtsi" +#include "imx6qdl-zii-rdu2.dtsi" + +/ { + model = "ZII RDU2 Board"; + compatible = "zii,imx6q-zii-rdu2", "fsl,imx6q"; + + /* Will be filled by the bootloader */ + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-hobbit.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-hobbit.dtsi index 9514a45e8b..144c4727fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-hobbit.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-hobbit.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright 2017 NXP - -#include "imx6qdl-pico.dtsi" - -/ { - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_leds>; - - led { - label = "gpio-led"; - gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; - }; - }; - -}; - -&i2c2 { - status = "okay"; - - adc081c: adc@50 { - compatible = "ti,adc081c"; - reg = <0x50>; - vref-supply = <®_3p3v>; - }; -}; - -&iomuxc { - pinctrl_gpio_leds: gpioledsgrp { - fsl,pins = < - MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright 2017 NXP + +#include "imx6qdl-pico.dtsi" + +/ { + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; + + led { + label = "gpio-led"; + gpios = <&gpio5 31 GPIO_ACTIVE_HIGH>; + }; + }; + +}; + +&i2c2 { + status = "okay"; + + adc081c: adc@50 { + compatible = "ti,adc081c"; + reg = <0x50>; + vref-supply = <®_3p3v>; + }; +}; + +&iomuxc { + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6QDL_PAD_CSI0_DAT13__GPIO5_IO31 0x1b0b0 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-pi.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-pi.dtsi index 86b42045ee..b823dce62e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-pi.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qdl-pico-pi.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -// -// Copyright 2017 NXP - -#include "imx6qdl-pico.dtsi" - -/ { - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_gpio_leds>; - - led { - label = "gpio-led"; - gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; - }; - }; - -}; - -&hdmi { - status = "disabled"; -}; - -&iomuxc { - pinctrl_gpio_leds: gpioledsgrp { - fsl,pins = < - MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18 0x1b0b0 - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +// +// Copyright 2017 NXP + +#include "imx6qdl-pico.dtsi" + +/ { + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio_leds>; + + led { + label = "gpio-led"; + gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>; + }; + }; + +}; + +&hdmi { + status = "disabled"; +}; + +&iomuxc { + pinctrl_gpio_leds: gpioledsgrp { + fsl,pins = < + MX6QDL_PAD_CSI0_PIXCLK__GPIO5_IO18 0x1b0b0 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-mba6b.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-mba6b.dts index 6cbf219bc2..eee2e09d6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-mba6b.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-mba6b.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2015-2021 TQ-Systems GmbH - * Author: Markus Niebel - */ -/dts-v1/; - -#include -#include "imx6qp-tqma6b.dtsi" -#include "imx6qdl-mba6.dtsi" -#include "imx6qdl-mba6b.dtsi" -#include "imx6q-mba6.dtsi" - -/ { - model = "TQ TQMa6QP on MBa6x"; - compatible = "tq,imx6qp-mba6x-b", "tq,mba6b", - "tq,imx6qp-tqma6qp-b", "fsl,imx6qp"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2015-2021 TQ-Systems GmbH + * Author: Markus Niebel + */ +/dts-v1/; + +#include +#include "imx6qp-tqma6b.dtsi" +#include "imx6qdl-mba6.dtsi" +#include "imx6qdl-mba6b.dtsi" +#include "imx6q-mba6.dtsi" + +/ { + model = "TQ TQMa6QP on MBa6x"; + compatible = "tq,imx6qp-mba6x-b", "tq,mba6b", + "tq,imx6qp-tqma6qp-b", "fsl,imx6qp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_max.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_max.dts index d13acd88b1..741d1ed338 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_max.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-nitrogen6_max.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Copyright 2016 Boundary Devices, Inc. - */ - -/dts-v1/; - -#include "imx6qp.dtsi" -#include "imx6qdl-nitrogen6_max.dtsi" - -/ { - model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_MAX Board"; - compatible = "boundary,imx6qp-nitrogen6_max", "fsl,imx6qp"; -}; - -&pcie { - status = "disabled"; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Copyright 2016 Boundary Devices, Inc. + */ + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6qdl-nitrogen6_max.dtsi" + +/ { + model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_MAX Board"; + compatible = "boundary,imx6qp-nitrogen6_max", "fsl,imx6qp"; +}; + +&pcie { + status = "disabled"; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-wandboard-revd1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-wandboard-revd1.dts index 2becdc5eb4..08d8b78a20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-wandboard-revd1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-wandboard-revd1.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2013 Freescale Semiconductor, Inc. - * - * Author: Fabio Estevam - */ -/dts-v1/; -#include "imx6qp.dtsi" -#include "imx6qdl-wandboard-revd1.dtsi" - -/ { - model = "Wandboard i.MX6 QuadPlus Board revD1"; - compatible = "wand,imx6qp-wandboard", "fsl,imx6qp"; - - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0x80000000>; - }; -}; - -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + */ +/dts-v1/; +#include "imx6qp.dtsi" +#include "imx6qdl-wandboard-revd1.dtsi" + +/ { + model = "Wandboard i.MX6 QuadPlus Board revD1"; + compatible = "wand,imx6qp-wandboard", "fsl,imx6qp"; + + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0x80000000>; + }; +}; + +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-zii-rdu2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-zii-rdu2.dts index e238f2d87d..57de447c46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-zii-rdu2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6qp-zii-rdu2.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2016-2017 Zodiac Inflight Innovations - */ - -/dts-v1/; - -#include "imx6qp.dtsi" -#include "imx6qdl-zii-rdu2.dtsi" - -/ { - model = "ZII RDU2+ Board"; - compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp"; - - /* Will be filled by the bootloader */ - memory@10000000 { - device_type = "memory"; - reg = <0x10000000 0>; - }; -}; - -&gpu_3d { - assigned-clocks = <&clks IMX6QDL_CLK_GPU3D_SHADER_SEL>; - assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD1_594M>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2016-2017 Zodiac Inflight Innovations + */ + +/dts-v1/; + +#include "imx6qp.dtsi" +#include "imx6qdl-zii-rdu2.dtsi" + +/ { + model = "ZII RDU2+ Board"; + compatible = "zii,imx6qp-zii-rdu2", "fsl,imx6qp"; + + /* Will be filled by the bootloader */ + memory@10000000 { + device_type = "memory"; + reg = <0x10000000 0>; + }; +}; + +&gpu_3d { + assigned-clocks = <&clks IMX6QDL_CLK_GPU3D_SHADER_SEL>; + assigned-clock-parents = <&clks IMX6QDL_CLK_PLL2_PFD1_594M>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dts index e4168e0a36..1c4eacd68e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-sdb-sai.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2016 Freescale Semiconductor, Inc. - -#include "imx6sx-sdb.dts" - -/ { - sound { - audio-cpu = <&sai1>; - }; -}; - -&audmux { - /* pin conflict with sai */ - status = "disabled"; -}; - -&sai1 { - status = "okay"; -}; - -&sdma { - gpr = <&gpr>; - /* SDMA event remap for SAI1 */ - fsl,sdma-event-remap = <0 15 1>, <0 16 1>; -}; - -&ssi2 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2016 Freescale Semiconductor, Inc. + +#include "imx6sx-sdb.dts" + +/ { + sound { + audio-cpu = <&sai1>; + }; +}; + +&audmux { + /* pin conflict with sai */ + status = "disabled"; +}; + +&sai1 { + status = "okay"; +}; + +&sdma { + gpr = <&gpr>; + /* SDMA event remap for SAI1 */ + fsl,sdma-event-remap = <0 15 1>, <0 16 1>; +}; + +&ssi2 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-basic.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-basic.dts index 5c8139f6c0..205ea26484 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-basic.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-basic.dts @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "imx6sx-udoo-neo.dtsi" - -/ { - model = "UDOO Neo Basic"; - compatible = "udoo,neobasic", "fsl,imx6sx"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x20000000>; - }; -}; - -&fec1 { - phy-handle = <ðphy1>; - status = "okay"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - ethphy1: ethernet-phy@0 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <0>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "imx6sx-udoo-neo.dtsi" + +/ { + model = "UDOO Neo Basic"; + compatible = "udoo,neobasic", "fsl,imx6sx"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x20000000>; + }; +}; + +&fec1 { + phy-handle = <ðphy1>; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-extended.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-extended.dts index 1474b7293d..5817b49853 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-extended.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-extended.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "imx6sx-udoo-neo.dtsi" - -/ { - model = "UDOO Neo Extended"; - compatible = "udoo,neoextended", "fsl,imx6sx"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&i2c4 { /* Onboard Motion sensors */ - status = "okay"; -}; - -&uart3 { /* Bluetooth */ - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "imx6sx-udoo-neo.dtsi" + +/ { + model = "UDOO Neo Extended"; + compatible = "udoo,neoextended", "fsl,imx6sx"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&i2c4 { /* Onboard Motion sensors */ + status = "okay"; +}; + +&uart3 { /* Bluetooth */ + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-full.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-full.dts index 83d94bdd10..96f4d89848 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-full.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6sx-udoo-neo-full.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "imx6sx-udoo-neo.dtsi" - -/ { - model = "UDOO Neo Full"; - compatible = "udoo,neofull", "fsl,imx6sx"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x40000000>; - }; -}; - -&fec1 { - phy-handle = <ðphy1>; - status = "okay"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - - ethphy1: ethernet-phy@0 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <0>; - }; - }; -}; - -&i2c4 { /* Onboard Motion sensors */ - status = "okay"; -}; - -&uart3 { /* Bluetooth */ - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "imx6sx-udoo-neo.dtsi" + +/ { + model = "UDOO Neo Full"; + compatible = "udoo,neofull", "fsl,imx6sx"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x40000000>; + }; +}; + +&fec1 { + phy-handle = <ðphy1>; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ethphy1: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <0>; + }; + }; +}; + +&i2c4 { /* Onboard Motion sensors */ + status = "okay"; +}; + +&uart3 { /* Bluetooth */ + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl.dts index 99765a3e94..dadf6d3d5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-bl.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2018 Kontron Electronics GmbH - * Copyright (c) 2019 Krzysztof Kozlowski - */ - -/dts-v1/; - -#include "imx6ul-kontron-sl.dtsi" -#include "imx6ul-kontron-bl-common.dtsi" - -/ { - model = "Kontron BL i.MX6UL (N631X S)"; - compatible = "kontron,bl-imx6ul", "kontron,sl-imx6ul", "fsl,imx6ul"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + * Copyright (c) 2019 Krzysztof Kozlowski + */ + +/dts-v1/; + +#include "imx6ul-kontron-sl.dtsi" +#include "imx6ul-kontron-bl-common.dtsi" + +/ { + model = "Kontron BL i.MX6UL (N631X S)"; + compatible = "kontron,bl-imx6ul", "kontron,sl-imx6ul", "fsl,imx6ul"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl.dtsi index 924941287c..0580d043e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-kontron-sl.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2018 Kontron Electronics GmbH - * Copyright (c) 2019 Krzysztof Kozlowski - */ - -#include "imx6ul.dtsi" -#include "imx6ul-kontron-sl-common.dtsi" - -/ { - model = "Kontron SL i.MX6UL (N631X SOM)"; - compatible = "kontron,sl-imx6ul", "fsl,imx6ul"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2018 Kontron Electronics GmbH + * Copyright (c) 2019 Krzysztof Kozlowski + */ + +#include "imx6ul.dtsi" +#include "imx6ul-kontron-sl-common.dtsi" + +/ { + model = "Kontron SL i.MX6UL (N631X SOM)"; + compatible = "kontron,sl-imx6ul", "fsl,imx6ul"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2-mba6ulx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2-mba6ulx.dts index 6ec2f5529d..0757df2b8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2-mba6ulx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2-mba6ulx.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6ul-tqma6ul2.dtsi" -#include "mba6ulx.dtsi" - -/ { - model = "TQ-Systems TQMa6ULx SoM on MBa6ULx board"; - compatible = "tq,imx6ul-tqma6ul2-mba6ulx", "tq,imx6ul-tqma6ul2", "fsl,imx6ul"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6ul-tqma6ul2.dtsi" +#include "mba6ulx.dtsi" + +/ { + model = "TQ-Systems TQMa6ULx SoM on MBa6ULx board"; + compatible = "tq,imx6ul-tqma6ul2-mba6ulx", "tq,imx6ul-tqma6ul2", "fsl,imx6ul"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dts index 31e31f0afa..9d9b6b744a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ul-tqma6ul2l-mba6ulx.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6ul-tqma6ul2l.dtsi" -#include "mba6ulx.dtsi" - -/ { - model = "TQ Systems TQMa6UL2L SoM on MBa6ULx board"; - compatible = "tq,imx6ul-tqma6ul2l-mba6ulx", "tq,imx6ul-tqma6ul2l", "fsl,imx6ul"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6ul-tqma6ul2l.dtsi" +#include "mba6ulx.dtsi" + +/ { + model = "TQ Systems TQMa6UL2L SoM on MBa6ULx board"; + compatible = "tq,imx6ul-tqma6ul2l-mba6ulx", "tq,imx6ul-tqma6ul2l", "fsl,imx6ul"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-14x14-evk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-14x14-evk.dts index 1a9575a9ac..74aaa8a56a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-14x14-evk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-14x14-evk.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (C) 2016 Freescale Semiconductor, Inc. - -/dts-v1/; - -#include "imx6ull.dtsi" -#include "imx6ul-14x14-evk.dtsi" - -/ { - model = "Freescale i.MX6 UltraLiteLite 14x14 EVK Board"; - compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull"; -}; - -&clks { - assigned-clocks = <&clks IMX6UL_CLK_PLL3_PFD2>; - assigned-clock-rates = <320000000>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (C) 2016 Freescale Semiconductor, Inc. + +/dts-v1/; + +#include "imx6ull.dtsi" +#include "imx6ul-14x14-evk.dtsi" + +/ { + model = "Freescale i.MX6 UltraLiteLite 14x14 EVK Board"; + compatible = "fsl,imx6ull-14x14-evk", "fsl,imx6ull"; +}; + +&clks { + assigned-clocks = <&clks IMX6UL_CLK_PLL3_PFD2>; + assigned-clock-rates = <320000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-aster.dts index 540c24b885..b2cdf48777 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-aster.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-emmc-nonwifi.dtsi" -#include "imx6ull-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Aster"; - compatible = "toradex,colibri-imx6ull-emmc-aster", - "toradex,colibri-imx6ull-emmc", - "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-emmc-nonwifi.dtsi" +#include "imx6ull-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Aster"; + compatible = "toradex,colibri-imx6ull-emmc-aster", + "toradex,colibri-imx6ull-emmc", + "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-eval-v3.dts index c369ca57bf..2dc16c54fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-eval-v3.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Copyright 2021 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-emmc-nonwifi.dtsi" -#include "imx6ull-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx6ull-emmc-eval", - "toradex,colibri-imx6ull-emmc", - "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2021 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-emmc-nonwifi.dtsi" +#include "imx6ull-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx6ull-emmc-eval", + "toradex,colibri-imx6ull-emmc", + "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-v2.dts index 48e3903c1e..9bae08fb7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris-v2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-emmc-nonwifi.dtsi" -#include "imx6ull-colibri-iris-v2.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 1G (eMMC) on Colibri Iris V2"; - compatible = "toradex,colibri-imx6ull-emmc-iris-v2", - "toradex,colibri-imx6ull-emmc", - "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-emmc-nonwifi.dtsi" +#include "imx6ull-colibri-iris-v2.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 1G (eMMC) on Colibri Iris V2"; + compatible = "toradex,colibri-imx6ull-emmc-iris-v2", + "toradex,colibri-imx6ull-emmc", + "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris.dts index 9faa58afd7..0b1603ff94 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-emmc-iris.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-emmc-nonwifi.dtsi" -#include "imx6ull-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Iris"; - compatible = "toradex,colibri-imx6ull-emmc-iris", - "toradex,colibri-imx6ull-emmc", - "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-emmc-nonwifi.dtsi" +#include "imx6ull-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 1GB (eMMC) on Colibri Iris"; + compatible = "toradex,colibri-imx6ull-emmc-iris", + "toradex,colibri-imx6ull-emmc", + "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-eval-v3.dts index 0cb6f7a6de..c5bc255b21 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-eval-v3.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-nonwifi.dtsi" -#include "imx6ull-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx6ull-eval", "toradex,colibri-imx6ull", "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-nonwifi.dtsi" +#include "imx6ull-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx6ull-eval", "toradex,colibri-imx6ull", "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +&pwm4 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris-v2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris-v2.dtsi index 03124b4177..93649cad0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris-v2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris-v2.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2022 Toradex - */ - -#include "imx6ull-colibri-iris.dtsi" - -/ { - reg_3v3_vmmc: regulator-3v3-vmmc { - compatible = "regulator-fixed"; - regulator-name = "3v3_vmmc"; - regulator-min-microvolt = <3300000>; - regulator-max-microvolt = <3300000>; - gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; - startup-delay-us = <100>; - enable-active-high; - }; -}; - - -&usdhc1 { - cap-power-off-card; - vmmc-supply = <®_3v3_vmmc>; - /delete-property/ keep-power-in-suspend; - /delete-property/ no-1-8-v; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2022 Toradex + */ + +#include "imx6ull-colibri-iris.dtsi" + +/ { + reg_3v3_vmmc: regulator-3v3-vmmc { + compatible = "regulator-fixed"; + regulator-name = "3v3_vmmc"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio1 26 GPIO_ACTIVE_HIGH>; + startup-delay-us = <100>; + enable-active-high; + }; +}; + + +&usdhc1 { + cap-power-off-card; + vmmc-supply = <®_3v3_vmmc>; + /delete-property/ keep-power-in-suspend; + /delete-property/ no-1-8-v; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris.dts index d99ab348a3..2a0d0fc3b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-iris.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-nonwifi.dtsi" -#include "imx6ull-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Iris"; - compatible = "toradex,colibri-imx6ull-iris", - "toradex,colibri-imx6ull", - "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-nonwifi.dtsi" +#include "imx6ull-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 256/512MB on Colibri Iris"; + compatible = "toradex,colibri-imx6ull-iris", + "toradex,colibri-imx6ull", + "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +&pwm4 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-eval-v3.dts index 317d28754a..0ac306c9ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-eval-v3.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-wifi.dtsi" -#include "imx6ull-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 512MB on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx6ull-wifi-eval", "toradex,colibri-imx6ull-wifi", "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -&pwm4 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-wifi.dtsi" +#include "imx6ull-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 512MB on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx6ull-wifi-eval", "toradex,colibri-imx6ull-wifi", "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +&pwm4 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-iris.dts index 76d543b0be..5f60df64f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-colibri-wifi-iris.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2022 Toradex - */ - -/dts-v1/; - -#include "imx6ull-colibri-wifi.dtsi" -#include "imx6ull-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX6ULL 512MB on Colibri Iris"; - compatible = "toradex,colibri-imx6ull-wifi-iris", - "toradex,colibri-imx6ull-wifi", - "fsl,imx6ull"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&i2c2 { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2022 Toradex + */ + +/dts-v1/; + +#include "imx6ull-colibri-wifi.dtsi" +#include "imx6ull-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX6ULL 512MB on Colibri Iris"; + compatible = "toradex,colibri-imx6ull-wifi-iris", + "toradex,colibri-imx6ull-wifi", + "fsl,imx6ull"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-bl.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-bl.dts index cfd19ccdbf..fa016465cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-bl.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-kontron-bl.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2017 exceet electronics GmbH - * Copyright (C) 2019 Kontron Electronics GmbH - */ - -/dts-v1/; - -#include "imx6ull-kontron-sl.dtsi" -#include "imx6ul-kontron-bl-common.dtsi" - -/ { - model = "Kontron BL i.MX6ULL (N641X S)"; - compatible = "kontron,bl-imx6ull", "kontron,sl-imx6ull", "fsl,imx6ull"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2017 exceet electronics GmbH + * Copyright (C) 2019 Kontron Electronics GmbH + */ + +/dts-v1/; + +#include "imx6ull-kontron-sl.dtsi" +#include "imx6ul-kontron-bl-common.dtsi" + +/ { + model = "Kontron BL i.MX6ULL (N641X S)"; + compatible = "kontron,bl-imx6ull", "kontron,sl-imx6ull", "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx-eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx-eval.dts index 23fefae67e..79cc45728c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx-eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-myir-mys-6ulx-eval.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2020 Linumiz - * Author: Parthiban Nallathambi - */ - -/dts-v1/; -#include "imx6ull.dtsi" -#include "imx6ull-myir-mys-6ulx.dtsi" - -/ { - model = "MYiR i.MX6ULL MYS-6ULX Single Board Computer with NAND"; - compatible = "myir,imx6ull-mys-6ulx-eval", "fsl,imx6ull"; -}; - -&gpmi { - fsl,use-minimum-ecc; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020 Linumiz + * Author: Parthiban Nallathambi + */ + +/dts-v1/; +#include "imx6ull.dtsi" +#include "imx6ull-myir-mys-6ulx.dtsi" + +/ { + model = "MYiR i.MX6ULL MYS-6ULX Single Board Computer with NAND"; + compatible = "myir,imx6ull-mys-6ulx-eval", "fsl,imx6ull"; +}; + +&gpmi { + fsl,use-minimum-ecc; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-phycore-som.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-phycore-som.dtsi index b28fa67076..56cd16e5a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-phycore-som.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-phycore-som.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 PHYTEC Messtechnik GmbH - * Author: Stefan Riedmueller - */ - -#include "imx6ul-phytec-phycore-som.dtsi" - -/ { - model = "PHYTEC phyCORE-i.MX6 ULL"; - compatible = "phytec,imx6ull-pcl063", "fsl,imx6ull"; -}; - -&iomuxc { - /delete-node/ gpioledssomgrp; -}; - -&iomuxc_snvs { - pinctrl_gpioleds_som: gpioledssomgrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x0b0b0 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 PHYTEC Messtechnik GmbH + * Author: Stefan Riedmueller + */ + +#include "imx6ul-phytec-phycore-som.dtsi" + +/ { + model = "PHYTEC phyCORE-i.MX6 ULL"; + compatible = "phytec,imx6ull-pcl063", "fsl,imx6ull"; +}; + +&iomuxc { + /delete-node/ gpioledssomgrp; +}; + +&iomuxc_snvs { + pinctrl_gpioleds_som: gpioledssomgrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x0b0b0 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-av-02.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-av-02.dtsi index 940e65c186..06bb7f3277 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-av-02.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-av-02.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright (C) 2018 PHYTEC Messtechnik GmbH - * Author: Stefan Riedmueller - */ - -#include "imx6ul-phytec-segin-peb-av-02.dtsi" - -&iomuxc { - /delete-node/ edtft5406grp; - /delete-node/ stmpegrp; -}; - -&iomuxc_snvs { - pinctrl_edt_ft5406: edtft5406grp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x1b0b0 - >; - }; - - pinctrl_stmpe: stmpegrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright (C) 2018 PHYTEC Messtechnik GmbH + * Author: Stefan Riedmueller + */ + +#include "imx6ul-phytec-segin-peb-av-02.dtsi" + +&iomuxc { + /delete-node/ edtft5406grp; + /delete-node/ stmpegrp; +}; + +&iomuxc_snvs { + pinctrl_edt_ft5406: edtft5406grp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER5__GPIO5_IO05 0x1b0b0 + >; + }; + + pinctrl_stmpe: stmpegrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-eval-01.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-eval-01.dtsi index 4021af2c61..ff08d95a1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-eval-01.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-segin-peb-eval-01.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 PHYTEC Messtechnik GmbH - * Author: Stefan Riedmueller - */ - -#include "imx6ul-phytec-segin-peb-eval-01.dtsi" - -&iomuxc { - /delete-node/ gpio_keysgrp; -}; - -&iomuxc_snvs { - pinctrl_gpio_keys: gpio_keysgrp { - fsl,pins = < - MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x79 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 PHYTEC Messtechnik GmbH + * Author: Stefan Riedmueller + */ + +#include "imx6ul-phytec-segin-peb-eval-01.dtsi" + +&iomuxc { + /delete-node/ gpio_keysgrp; +}; + +&iomuxc_snvs { + pinctrl_gpio_keys: gpio_keysgrp { + fsl,pins = < + MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x79 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-emmc.dts index 0e2e2dd38d..1610f3892d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-emmc.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2021 PHYTEC Messtechnik GmbH - * Author: Alexander Bauer - */ - -/dts-v1/; -#include "imx6ull-phytec-tauri.dtsi" - -/ { - model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; - compatible = "phytec,imx6ull-phygate-tauri-emmc", - "phytec,imx6ull-phygate-tauri", - "phytec,imx6ull-pcl063", "fsl,imx6ull"; -}; - -/* EMMC-Version */ -&usdhc2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2021 PHYTEC Messtechnik GmbH + * Author: Alexander Bauer + */ + +/dts-v1/; +#include "imx6ull-phytec-tauri.dtsi" + +/ { + model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; + compatible = "phytec,imx6ull-phygate-tauri-emmc", + "phytec,imx6ull-phygate-tauri", + "phytec,imx6ull-pcl063", "fsl,imx6ull"; +}; + +/* EMMC-Version */ +&usdhc2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-nand.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-nand.dts index 2705c6a009..92e7d38d56 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-nand.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-phytec-tauri-nand.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2021 PHYTEC Messtechnik GmbH - * Author: Alexander Bauer - */ - -/dts-v1/; -#include "imx6ull-phytec-tauri.dtsi" - -/ { - model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; - compatible = "phytec,imx6ull-phygate-tauri-nand", - "phytec,imx6ull-phygate-tauri", - "phytec,imx6ull-pcl063", "fsl,imx6ull"; -}; - -/* NAND-Version */ -&gpmi { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2021 PHYTEC Messtechnik GmbH + * Author: Alexander Bauer + */ + +/dts-v1/; +#include "imx6ull-phytec-tauri.dtsi" + +/ { + model = "PHYTEC phyGate-Tauri i.MX6 UltraLite"; + compatible = "phytec,imx6ull-phygate-tauri-nand", + "phytec,imx6ull-phygate-tauri", + "phytec,imx6ull-pcl063", "fsl,imx6ull"; +}; + +/* NAND-Version */ +&gpmi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-emmc.dts index 64c835d875..cfcd8783c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-emmc.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2024 Linumiz - * Author: Parthiban - */ - -/dts-v1/; -#include "imx6ull.dtsi" -#include "imx6ull-seeed-npi.dtsi" -#include "imx6ull-seeed-npi-dev-board.dtsi" - -/ { - model = "Seeed NPi iMX6ULL Dev Board with NAND"; - compatible = "seeed,imx6ull-seeed-npi-emmc", "seeed,imx6ull-seeed-npi", "fsl,imx6ull"; -}; - -&usdhc2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2024 Linumiz + * Author: Parthiban + */ + +/dts-v1/; +#include "imx6ull.dtsi" +#include "imx6ull-seeed-npi.dtsi" +#include "imx6ull-seeed-npi-dev-board.dtsi" + +/ { + model = "Seeed NPi iMX6ULL Dev Board with NAND"; + compatible = "seeed,imx6ull-seeed-npi-emmc", "seeed,imx6ull-seeed-npi", "fsl,imx6ull"; +}; + +&usdhc2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-nand.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-nand.dts index f8df99da4f..87c9434b09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-nand.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-seeed-npi-dev-board-nand.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2024 Linumiz - * Author: Parthiban - */ - -/dts-v1/; -#include "imx6ull.dtsi" -#include "imx6ull-seeed-npi.dtsi" -#include "imx6ull-seeed-npi-dev-board.dtsi" - -/ { - model = "Seeed NPi iMX6ULL Dev Board with NAND"; - compatible = "seeed,imx6ull-seeed-npi-nand", "seeed,imx6ull-seeed-npi", "fsl,imx6ull"; -}; - -&gpmi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2024 Linumiz + * Author: Parthiban + */ + +/dts-v1/; +#include "imx6ull.dtsi" +#include "imx6ull-seeed-npi.dtsi" +#include "imx6ull-seeed-npi-dev-board.dtsi" + +/ { + model = "Seeed NPi iMX6ULL Dev Board with NAND"; + compatible = "seeed,imx6ull-seeed-npi-nand", "seeed,imx6ull-seeed-npi", "fsl,imx6ull"; +}; + +&gpmi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dts index 50adfddd09..e593b7036f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2-mba6ulx.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6ull-tqma6ull2.dtsi" -#include "mba6ulx.dtsi" - -/ { - model = "TQ-Systems TQMa6ULL2 SoM on MBa6ULx board"; - compatible = "tq,imx6ull-tqma6ull2-mba6ulx", "tq,imx6ull-tqma6ull2", "fsl,imx6ull"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6ull-tqma6ull2.dtsi" +#include "mba6ulx.dtsi" + +/ { + model = "TQ-Systems TQMa6ULL2 SoM on MBa6ULx board"; + compatible = "tq,imx6ull-tqma6ull2-mba6ulx", "tq,imx6ull-tqma6ull2", "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2l-mba6ulx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2l-mba6ulx.dts index 60ebfa0eec..33437aae98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2l-mba6ulx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ull-tqma6ull2l-mba6ulx.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) -/* - * Copyright 2018-2022 TQ-Systems GmbH - * Author: Markus Niebel - */ - -/dts-v1/; - -#include "imx6ull-tqma6ull2l.dtsi" -#include "mba6ulx.dtsi" - -/ { - model = "TQ Systems TQMa6ULL2L SoM on MBa6ULx board"; - compatible = "tq,imx6ull-tqma6ull2l-mba6ulx", "tq,imx6ull-tqma6ull2l", "fsl,imx6ull"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR MIT) +/* + * Copyright 2018-2022 TQ-Systems GmbH + * Author: Markus Niebel + */ + +/dts-v1/; + +#include "imx6ull-tqma6ull2l.dtsi" +#include "mba6ulx.dtsi" + +/ { + model = "TQ Systems TQMa6ULL2L SoM on MBa6ULx board"; + compatible = "tq,imx6ull-tqma6ull2l-mba6ulx", "tq,imx6ull-tqma6ull2l", "fsl,imx6ull"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz-14x14-evk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz-14x14-evk.dts index 70d4e5a4c3..483d9732c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz-14x14-evk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx6ulz-14x14-evk.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright 2018 NXP. - -/dts-v1/; - -#include "imx6ulz.dtsi" -#include "imx6ul-14x14-evk.dtsi" - -/delete-node/ &fec1; -/delete-node/ &fec2; -/delete-node/ &can1; -/delete-node/ &can2; -/delete-node/ &lcdif; -/delete-node/ &tsc; - -/ { - model = "Freescale i.MX6 ULZ 14x14 EVK Board"; - compatible = "fsl,imx6ulz-14x14-evk", "fsl,imx6ull", "fsl,imx6ulz"; - - /delete-node/ panel; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2018 NXP. + +/dts-v1/; + +#include "imx6ulz.dtsi" +#include "imx6ul-14x14-evk.dtsi" + +/delete-node/ &fec1; +/delete-node/ &fec2; +/delete-node/ &can1; +/delete-node/ &can2; +/delete-node/ &lcdif; +/delete-node/ &tsc; + +/ { + model = "Freescale i.MX6 ULZ 14x14 EVK Board"; + compatible = "fsl,imx6ulz-14x14-evk", "fsl,imx6ull", "fsl,imx6ulz"; + + /delete-node/ panel; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-aster.dts index bca7b1bdbe..00ab92e56d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-aster.dts @@ -1,41 +1,41 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - */ - -/dts-v1/; -#include "imx7d-colibri.dtsi" -#include "imx7-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX7D on Aster Carrier Board"; - compatible = "toradex,colibri-imx7d-aster", - "toradex,colibri-imx7d", - "fsl,imx7d"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; - -/* Colibri USBH */ -&usbotg2 { - disable-over-current; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + */ + +/dts-v1/; +#include "imx7d-colibri.dtsi" +#include "imx7-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX7D on Aster Carrier Board"; + compatible = "toradex,colibri-imx7d-aster", + "toradex,colibri-imx7d", + "fsl,imx7d"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; + +/* Colibri USBH */ +&usbotg2 { + disable-over-current; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-aster.dts index 4cbf86583d..212e068558 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-aster.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - * - */ - -/dts-v1/; -#include "imx7d-colibri-emmc.dtsi" -#include "imx7-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX7D 1GB (eMMC) on Aster Carrier Board"; - compatible = "toradex,colibri-imx7d-emmc-aster", - "toradex,colibri-imx7d-emmc", - "fsl,imx7d"; -}; - -/* Colibri USBH */ -&usbotg2 { - disable-over-current; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + * + */ + +/dts-v1/; +#include "imx7d-colibri-emmc.dtsi" +#include "imx7-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX7D 1GB (eMMC) on Aster Carrier Board"; + compatible = "toradex,colibri-imx7d-emmc-aster", + "toradex,colibri-imx7d-emmc", + "fsl,imx7d"; +}; + +/* Colibri USBH */ +&usbotg2 { + disable-over-current; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-eval-v3.dts index f62d4edce2..1deece7e71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-eval-v3.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - */ - -/dts-v1/; -#include "imx7d-colibri-emmc.dtsi" -#include "imx7-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri iMX7D 1GB (eMMC) on Colibri Evaluation Board V3"; - compatible = "toradex,colibri-imx7d-emmc-eval-v3", - "toradex,colibri-imx7d-emmc", - "fsl,imx7d"; -}; - -/* Colibri USBH */ -&usbotg2 { - disable-over-current; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + */ + +/dts-v1/; +#include "imx7d-colibri-emmc.dtsi" +#include "imx7-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri iMX7D 1GB (eMMC) on Colibri Evaluation Board V3"; + compatible = "toradex,colibri-imx7d-emmc-eval-v3", + "toradex,colibri-imx7d-emmc", + "fsl,imx7d"; +}; + +/* Colibri USBH */ +&usbotg2 { + disable-over-current; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-v2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-v2.dts index 1e96ea03b3..22e7863c2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-v2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris-v2.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; -#include "imx7d-colibri-emmc.dtsi" -#include "imx7-colibri-iris-v2.dtsi" - -/ { - model = "Toradex Colibri iMX7D 1GB on Iris V2 Carrier Board"; - compatible = "toradex,colibri-imx7d-emmc-iris-v2", - "toradex,colibri-imx7d-emmc", - "fsl,imx7d"; -}; - -/* Colibri USBH */ -&usbotg2 { - disable-over-current; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; +#include "imx7d-colibri-emmc.dtsi" +#include "imx7-colibri-iris-v2.dtsi" + +/ { + model = "Toradex Colibri iMX7D 1GB on Iris V2 Carrier Board"; + compatible = "toradex,colibri-imx7d-emmc-iris-v2", + "toradex,colibri-imx7d-emmc", + "fsl,imx7d"; +}; + +/* Colibri USBH */ +&usbotg2 { + disable-over-current; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris.dts index e84fbdf284..a3cf8f50e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri-emmc-iris.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; -#include "imx7d-colibri-emmc.dtsi" -#include "imx7-colibri-iris.dtsi" - -/ { - model = "Toradex Colibri iMX7D 1GB on Iris Carrier Board"; - compatible = "toradex,colibri-imx7d-emmc-iris", - "toradex,colibri-imx7d-emmc", - "fsl,imx7d"; -}; - -/* Colibri USBH */ -&usbotg2 { - disable-over-current; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; +#include "imx7d-colibri-emmc.dtsi" +#include "imx7-colibri-iris.dtsi" + +/ { + model = "Toradex Colibri iMX7D 1GB on Iris Carrier Board"; + compatible = "toradex,colibri-imx7d-emmc-iris", + "toradex,colibri-imx7d-emmc", + "fsl,imx7d"; +}; + +/* Colibri USBH */ +&usbotg2 { + disable-over-current; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri.dtsi index 6f8a966edd..531a45b176 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-colibri.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2016-2022 Toradex - */ - -#include "imx7d.dtsi" -#include "imx7-colibri.dtsi" - -/ { - aliases { - /* Required to properly pass MAC addresses from bootloader. */ - ethernet0 = &fec1; - ethernet1 = &fec2; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x20000000>; - }; -}; - -&cpu1 { - cpu-supply = <®_DCDC2>; -}; - -/* NAND */ -&gpmi { - status = "okay"; -}; - -/* Colibri USBH */ -&usbotg2 { - dr_mode = "host"; - vbus-supply = <®_usbh_vbus>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2016-2022 Toradex + */ + +#include "imx7d.dtsi" +#include "imx7-colibri.dtsi" + +/ { + aliases { + /* Required to properly pass MAC addresses from bootloader. */ + ethernet0 = &fec1; + ethernet1 = &fec2; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x20000000>; + }; +}; + +&cpu1 { + cpu-supply = <®_DCDC2>; +}; + +/* NAND */ +&gpmi { + status = "okay"; +}; + +/* Colibri USBH */ +&usbotg2 { + dr_mode = "host"; + vbus-supply = <®_usbh_vbus>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-flex-concentrator-mfg.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-flex-concentrator-mfg.dts index da6afcd7a0..a6d68165fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-flex-concentrator-mfg.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-flex-concentrator-mfg.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for Kamstrup OMNIA Flex Concentrator in - * manufacturing/debugging mode. - * - * Copyright (C) 2020 Kamstrup A/S - * Author: Bruno Thomsen - */ - -/dts-v1/; - -#include "imx7d-flex-concentrator.dts" - -/ { - model = "Kamstrup OMNIA Flex Concentrator - Manufacturing"; - compatible = "kam,imx7d-flex-concentrator-mfg", "fsl,imx7d"; - - chosen { - stdout-path = &uart4; - }; -}; - -&uart4 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for Kamstrup OMNIA Flex Concentrator in + * manufacturing/debugging mode. + * + * Copyright (C) 2020 Kamstrup A/S + * Author: Bruno Thomsen + */ + +/dts-v1/; + +#include "imx7d-flex-concentrator.dts" + +/ { + model = "Kamstrup OMNIA Flex Concentrator - Manufacturing"; + compatible = "kam,imx7d-flex-concentrator-mfg", "fsl,imx7d"; + + chosen { + stdout-path = &uart4; + }; +}; + +&uart4 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-tqma7.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-tqma7.dtsi index 39964bc5d6..3ee2017c1a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-tqma7.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7d-tqma7.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Device Tree Include file for TQ-Systems TQMa7D board with NXP i.MX7Dual SoC. - * - * Copyright (C) 2016 TQ-Systems GmbH - * Author: Markus Niebel - * Copyright (C) 2019 Bruno Thomsen - */ - -#include "imx7d.dtsi" -#include "imx7-tqma7.dtsi" - -&cpu1 { - cpu-supply = <&sw1a_reg>; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Device Tree Include file for TQ-Systems TQMa7D board with NXP i.MX7Dual SoC. + * + * Copyright (C) 2016 TQ-Systems GmbH + * Author: Markus Niebel + * Copyright (C) 2019 Bruno Thomsen + */ + +#include "imx7d.dtsi" +#include "imx7-tqma7.dtsi" + +&cpu1 { + cpu-supply = <&sw1a_reg>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri-aster.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri-aster.dts index baef9b4270..58ebb02d94 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri-aster.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-colibri-aster.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2017-2022 Toradex - * - */ - -/dts-v1/; -#include "imx7s-colibri.dtsi" -#include "imx7-colibri-aster.dtsi" - -/ { - model = "Toradex Colibri iMX7S on Aster Carrier Board"; - compatible = "toradex,colibri-imx7s-aster", - "toradex,colibri-imx7s", - "fsl,imx7s"; -}; - -&ad7879_ts { - status = "okay"; -}; - -&atmel_mxt_ts { - status = "okay"; -}; - -&backlight { - status = "okay"; -}; - -&lcdif { - status = "okay"; -}; - -&panel_dpi { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2017-2022 Toradex + * + */ + +/dts-v1/; +#include "imx7s-colibri.dtsi" +#include "imx7-colibri-aster.dtsi" + +/ { + model = "Toradex Colibri iMX7S on Aster Carrier Board"; + compatible = "toradex,colibri-imx7s-aster", + "toradex,colibri-imx7s", + "fsl,imx7s"; +}; + +&ad7879_ts { + status = "okay"; +}; + +&atmel_mxt_ts { + status = "okay"; +}; + +&backlight { + status = "okay"; +}; + +&lcdif { + status = "okay"; +}; + +&panel_dpi { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-mba7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-mba7.dts index b740cbfd68..8e4cf589c9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-mba7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/imx/imx7s-mba7.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 OR X11 -/* - * Device Tree Source for TQ-Systems TQMa7S board on MBa7 carrier board. - * - * Copyright (C) 2016 TQ-Systems GmbH - * Author: Markus Niebel - * Copyright (C) 2019 Bruno Thomsen - */ - -/dts-v1/; - -#include "imx7s-tqma7.dtsi" -#include "imx7-mba7.dtsi" - -/ { - model = "TQ-Systems TQMa7S board on MBa7 carrier board"; - compatible = "tq,imx7s-mba7", "tq,imx7s-tqma7", "fsl,imx7s"; -}; +// SPDX-License-Identifier: GPL-2.0 OR X11 +/* + * Device Tree Source for TQ-Systems TQMa7S board on MBa7 carrier board. + * + * Copyright (C) 2016 TQ-Systems GmbH + * Author: Markus Niebel + * Copyright (C) 2019 Bruno Thomsen + */ + +/dts-v1/; + +#include "imx7s-tqma7.dtsi" +#include "imx7-mba7.dtsi" + +/ { + model = "TQ-Systems TQMa7S board on MBa7 carrier board"; + compatible = "tq,imx7s-mba7", "tq,imx7s-tqma7", "fsl,imx7s"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/mxs-pinfunc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/mxs-pinfunc.h index 53190aa674..31297abcbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/mxs-pinfunc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/mxs/mxs-pinfunc.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Header providing constants for i.MX28 pinctrl bindings. - * - * Copyright (C) 2013 Lothar Waßmann - */ - -#ifndef __DT_BINDINGS_MXS_PINCTRL_H__ -#define __DT_BINDINGS_MXS_PINCTRL_H__ - -/* fsl,drive-strength property */ -#define MXS_DRIVE_4mA 0 -#define MXS_DRIVE_8mA 1 -#define MXS_DRIVE_12mA 2 -#define MXS_DRIVE_16mA 3 - -/* fsl,voltage property */ -#define MXS_VOLTAGE_LOW 0 -#define MXS_VOLTAGE_HIGH 1 - -/* fsl,pull-up property */ -#define MXS_PULL_DISABLE 0 -#define MXS_PULL_ENABLE 1 - -#endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Header providing constants for i.MX28 pinctrl bindings. + * + * Copyright (C) 2013 Lothar Waßmann + */ + +#ifndef __DT_BINDINGS_MXS_PINCTRL_H__ +#define __DT_BINDINGS_MXS_PINCTRL_H__ + +/* fsl,drive-strength property */ +#define MXS_DRIVE_4mA 0 +#define MXS_DRIVE_8mA 1 +#define MXS_DRIVE_12mA 2 +#define MXS_DRIVE_16mA 3 + +/* fsl,voltage property */ +#define MXS_VOLTAGE_LOW 0 +#define MXS_VOLTAGE_HIGH 1 + +/* fsl,pull-up property */ +#define MXS_PULL_DISABLE 0 +#define MXS_PULL_ENABLE 1 + +#endif /* __DT_BINDINGS_MXS_PINCTRL_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/Makefile index 7d36ea78e3..0a4a7f9dd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_SOC_VF610) += \ - vf500-colibri-eval-v3.dtb \ - vf610-bk4.dtb \ - vf610-colibri-eval-v3.dtb \ - vf610m4-colibri.dtb \ - vf610-cosmic.dtb \ - vf610m4-cosmic.dtb \ - vf610-twr.dtb \ - vf610-zii-cfu1.dtb \ - vf610-zii-dev-rev-b.dtb \ - vf610-zii-dev-rev-c.dtb \ - vf610-zii-scu4-aib.dtb \ - vf610-zii-spb4.dtb \ - vf610-zii-ssmb-dtu.dtb \ - vf610-zii-ssmb-spu3.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_SOC_VF610) += \ + vf500-colibri-eval-v3.dtb \ + vf610-bk4.dtb \ + vf610-colibri-eval-v3.dtb \ + vf610m4-colibri.dtb \ + vf610-cosmic.dtb \ + vf610m4-cosmic.dtb \ + vf610-twr.dtb \ + vf610-zii-cfu1.dtb \ + vf610-zii-dev-rev-b.dtb \ + vf610-zii-dev-rev-c.dtb \ + vf610-zii-scu4-aib.dtb \ + vf610-zii-spb4.dtb \ + vf610-zii-ssmb-dtu.dtb \ + vf610-zii-ssmb-spu3.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf500-colibri-eval-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf500-colibri-eval-v3.dts index 8b1544466b..088964f8dc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf500-colibri-eval-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf500-colibri-eval-v3.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Copyright 2014-2020 Toradex - */ - -/dts-v1/; -#include "vf500-colibri.dtsi" -#include "vf-colibri-eval-v3.dtsi" - -/ { - model = "Toradex Colibri VF50 on Colibri Evaluation Board"; - compatible = "toradex,vf500-colibri_vf50-on-eval", "toradex,vf500-colibri_vf50", "fsl,vf500"; -}; - -&touchscreen { - vf50-ts-min-pressure = <200>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2014-2020 Toradex + */ + +/dts-v1/; +#include "vf500-colibri.dtsi" +#include "vf-colibri-eval-v3.dtsi" + +/ { + model = "Toradex Colibri VF50 on Colibri Evaluation Board"; + compatible = "toradex,vf500-colibri_vf50-on-eval", "toradex,vf500-colibri_vf50", "fsl,vf500"; +}; + +&touchscreen { + vf50-ts-min-pressure = <200>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri.dtsi index 20e8bbd7a5..607cec2df8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610-colibri.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Copyright 2014-2020 Toradex - */ - -#include "vf610.dtsi" -#include "vf-colibri.dtsi" - -/ { - model = "Toradex Colibri VF61 COM"; - compatible = "toradex,vf610-colibri_vf61", "fsl,vf610"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; -}; - -&nfc { - assigned-clocks = <&clks VF610_CLK_NFC>; - assigned-clock-rates = <50000000>; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2014-2020 Toradex + */ + +#include "vf610.dtsi" +#include "vf-colibri.dtsi" + +/ { + model = "Toradex Colibri VF61 COM"; + compatible = "toradex,vf610-colibri_vf61", "fsl,vf610"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; +}; + +&nfc { + assigned-clocks = <&clks VF610_CLK_NFC>; + assigned-clock-rates = <50000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610.dtsi index be94399926..2fba923821 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/nxp/vf/vf610.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright 2013 Freescale Semiconductor, Inc. - -#include "vf500.dtsi" - -&a5_cpu { - next-level-cache = <&L2>; -}; - -&aips0 { - L2: cache-controller@40006000 { - compatible = "arm,pl310-cache"; - reg = <0x40006000 0x1000>; - cache-unified; - cache-level = <2>; - arm,data-latency = <3 3 3>; - arm,tag-latency = <2 2 2>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright 2013 Freescale Semiconductor, Inc. + +#include "vf500.dtsi" + +&a5_cpu { + next-level-cache = <&L2>; +}; + +&aips0 { + L2: cache-controller@40006000 { + compatible = "arm,pl310-cache"; + reg = <0x40006000 0x1000>; + cache-unified; + cache-level = <2>; + arm,data-latency = <3 3 3>; + arm,tag-latency = <2 2 2>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pm8821.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pm8821.dtsi index 083a94c35d..064e3ba54e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pm8821.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/pm8821.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 - -/* This PMIC is used on a secondary SSBI bus */ -&ssbi2 { - pm8821: pmic { - compatible = "qcom,pm8821"; - interrupt-controller; - #interrupt-cells = <2>; - #address-cells = <1>; - #size-cells = <0>; - - pm8821_mpps: mpps@50 { - compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; - reg = <0x50>; - gpio-controller; - #gpio-cells = <2>; - gpio-ranges = <&pm8821_mpps 0 0 4>; - interrupt-controller; - #interrupt-cells = <2>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/* This PMIC is used on a secondary SSBI bus */ +&ssbi2 { + pm8821: pmic { + compatible = "qcom,pm8821"; + interrupt-controller; + #interrupt-cells = <2>; + #address-cells = <1>; + #size-cells = <0>; + + pm8821_mpps: mpps@50 { + compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp"; + reg = <0x50>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&pm8821_mpps 0 0 4>; + interrupt-controller; + #interrupt-cells = <2>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-ifc6540.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-ifc6540.dts index aff1277ffc..1df24c922b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-ifc6540.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-ifc6540.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-apq8084.dtsi" -#include "pma8084.dtsi" - -/ { - model = "Qualcomm APQ8084/IFC6540"; - compatible = "qcom,apq8084-sbc", "qcom,apq8084"; - - aliases { - serial0 = &blsp2_uart2; - usid0 = &pma8084_0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - soc { - serial@f995e000 { - status = "okay"; - }; - }; -}; - -&sdhc_1 { - bus-width = <8>; - non-removable; - status = "okay"; -}; - -&sdhc_2 { - cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>; - bus-width = <4>; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-apq8084.dtsi" +#include "pma8084.dtsi" + +/ { + model = "Qualcomm APQ8084/IFC6540"; + compatible = "qcom,apq8084-sbc", "qcom,apq8084"; + + aliases { + serial0 = &blsp2_uart2; + usid0 = &pma8084_0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + soc { + serial@f995e000 { + status = "okay"; + }; + }; +}; + +&sdhc_1 { + bus-width = <8>; + non-removable; + status = "okay"; +}; + +&sdhc_2 { + cd-gpios = <&tlmm 122 GPIO_ACTIVE_LOW>; + bus-width = <4>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-mtp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-mtp.dts index 410177cae6..d4e6aee034 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-mtp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-apq8084-mtp.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-apq8084.dtsi" -#include "pma8084.dtsi" - -/ { - model = "Qualcomm APQ 8084-MTP"; - compatible = "qcom,apq8084-mtp", "qcom,apq8084"; - - aliases { - serial0 = &blsp2_uart2; - usid0 = &pma8084_0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - soc { - serial@f995e000 { - status = "okay"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-apq8084.dtsi" +#include "pma8084.dtsi" + +/ { + model = "Qualcomm APQ 8084-MTP"; + compatible = "qcom,apq8084-mtp", "qcom,apq8084"; + + aliases { + serial0 = &blsp2_uart2; + usid0 = &pma8084_0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + soc { + serial@f995e000 { + status = "okay"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c1.dts index 68d3eba272..0993f840d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk04.1-c1.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, The Linux Foundation. All rights reserved. - -#include "qcom-ipq4019-ap.dk04.1.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; - compatible = "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019"; - - soc { - dma-controller@7984000 { - status = "okay"; - }; - }; -}; - -&nand { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019-ap.dk04.1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK04.1-C1"; + compatible = "qcom,ipq4019-dk04.1-c1", "qcom,ipq4019"; + + soc { + dma-controller@7984000 { + status = "okay"; + }; + }; +}; + +&nand { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk07.1-c2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk07.1-c2.dts index 7241208b90..67ee99d697 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk07.1-c2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq4019-ap.dk07.1-c2.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, The Linux Foundation. All rights reserved. - -#include "qcom-ipq4019-ap.dk07.1.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C2"; - compatible = "qcom,ipq4019-ap-dk07.1-c2", "qcom,ipq4019"; - - soc { - pinctrl@1000000 { - serial_1_pins: serial1-state { - pins = "gpio8", "gpio9"; - function = "blsp_uart1"; - bias-disable; - }; - }; - - serial@78b0000 { - pinctrl-0 = <&serial_1_pins>; - pinctrl-names = "default"; - status = "okay"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#include "qcom-ipq4019-ap.dk07.1.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK07.1-C2"; + compatible = "qcom,ipq4019-ap-dk07.1-c2", "qcom,ipq4019"; + + soc { + pinctrl@1000000 { + serial_1_pins: serial1-state { + pins = "gpio8", "gpio9"; + function = "blsp_uart1"; + bias-disable; + }; + }; + + serial@78b0000 { + pinctrl-0 = <&serial_1_pins>; + pinctrl-names = "default"; + status = "okay"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-ap148.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-ap148.dts index 30d280e657..5a8bf1a6f5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-ap148.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-ipq8064-ap148.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-ipq8064-v1.0.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ8064/AP-148"; - compatible = "qcom,ipq8064-ap148", "qcom,ipq8064"; - - soc { - pinmux@800000 { - buttons_pins: buttons-state { - pins = "gpio54", "gpio65"; - function = "gpio"; - drive-strength = <2>; - bias-pull-up; - }; - }; - - gsbi@16300000 { - i2c@16380000 { - status = "okay"; - clock-frequency = <200000>; - pinctrl-0 = <&i2c4_pins>; - pinctrl-names = "default"; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-ipq8064-v1.0.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ8064/AP-148"; + compatible = "qcom,ipq8064-ap148", "qcom,ipq8064"; + + soc { + pinmux@800000 { + buttons_pins: buttons-state { + pins = "gpio54", "gpio65"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + gsbi@16300000 { + i2c@16380000 { + status = "okay"; + clock-frequency = <200000>; + pinctrl-0 = <&i2c4_pins>; + pinctrl-names = "default"; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts index ba1008728f..2c664b5934 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-dempsey.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2023, Jack Matthews - * Copyright (c) 2023, Ivaylo Ivanov - * Copyright (c) 2023, Dominik Kobinski - * Copyright (c) 2023, Rayyan Ansari - */ - -/dts-v1/; - -#include "qcom-msm8226-microsoft-common.dtsi" - -/ { - model = "Microsoft Lumia 640"; - compatible = "microsoft,dempsey", "qcom,msm8226"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640"; + compatible = "microsoft,dempsey", "qcom,msm8226"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts index 853a1ccb59..731c5c3756 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-microsoft-makepeace.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2023, Jack Matthews - * Copyright (c) 2023, Ivaylo Ivanov - * Copyright (c) 2023, Dominik Kobinski - * Copyright (c) 2023, Rayyan Ansari - */ - -/dts-v1/; - -#include "qcom-msm8226-microsoft-common.dtsi" - -/ { - model = "Microsoft Lumia 640 XL"; - compatible = "microsoft,makepeace", "qcom,msm8226"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Jack Matthews + * Copyright (c) 2023, Ivaylo Ivanov + * Copyright (c) 2023, Dominik Kobinski + * Copyright (c) 2023, Rayyan Ansari + */ + +/dts-v1/; + +#include "qcom-msm8226-microsoft-common.dtsi" + +/ { + model = "Microsoft Lumia 640 XL"; + compatible = "microsoft,makepeace", "qcom,msm8226"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-s3ve3g.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-s3ve3g.dts index f5db10b12d..288cacd5d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-s3ve3g.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8226-samsung-s3ve3g.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, The Linux Foundation. All rights reserved. - */ - -#include "qcom-msm8226.dtsi" - -/ { - model = "Samsung Galaxy S III Neo"; - compatible = "samsung,s3ve3g", "qcom,msm8226"; - chassis-type = "handset"; - - aliases { - serial0 = &blsp1_uart3; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&blsp1_uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, The Linux Foundation. All rights reserved. + */ + +#include "qcom-msm8226.dtsi" + +/ { + model = "Samsung Galaxy S III Neo"; + compatible = "samsung,s3ve3g", "qcom,msm8226"; + chassis-type = "handset"; + + aliases { + serial0 = &blsp1_uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&blsp1_uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi index e662d4ec98..4fa9827712 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8960-pins.dtsi @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only - -&msmgpio { - i2c3_default_state: i2c3-default-state { - i2c3-pins { - pins = "gpio16", "gpio17"; - function = "gsbi3"; - drive-strength = <8>; - bias-disable; - }; - }; - - i2c3_sleep_state: i2c3-sleep-state { - i2c3-pins { - pins = "gpio16", "gpio17"; - function = "gpio"; - drive-strength = <2>; - bias-bus-hold; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only + +&msmgpio { + i2c3_default_state: i2c3-default-state { + i2c3-pins { + pins = "gpio16", "gpio17"; + function = "gsbi3"; + drive-strength = <8>; + bias-disable; + }; + }; + + i2c3_sleep_state: i2c3-sleep-state { + i2c3-pins { + pins = "gpio16", "gpio17"; + function = "gpio"; + drive-strength = <2>; + bias-bus-hold; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts index cda44fd4c7..954665f3a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-msm8974pro-samsung-klte-common.dtsi" - -/ { - model = "Samsung Galaxy S5"; - compatible = "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; -}; - -&i2c_led_gpio { - scl-gpios = <&tlmm 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios = <&tlmm 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; -}; - -&i2c_led_gpioex_pins { - pins = "gpio120", "gpio121"; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974pro-samsung-klte-common.dtsi" + +/ { + model = "Samsung Galaxy S5"; + compatible = "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; +}; + +&i2c_led_gpio { + scl-gpios = <&tlmm 121 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&tlmm 120 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; +}; + +&i2c_led_gpioex_pins { + pins = "gpio120", "gpio121"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts index 5d56bc8554..b902e31b16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-msm8974pro-samsung-klte-common.dtsi" - -/ { - model = "Samsung Galaxy S5 China"; - compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; -}; - -&i2c_led_gpio { - scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; - sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; -}; - -&i2c_led_gpioex_pins { - pins = "gpio60", "gpio61"; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974pro-samsung-klte-common.dtsi" + +/ { + model = "Samsung Galaxy S5 China"; + compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974"; +}; + +&i2c_led_gpio { + scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; +}; + +&i2c_led_gpioex_pins { + pins = "gpio60", "gpio61"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro.dtsi index 688b471b2a..58df6e75ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/qcom/qcom-msm8974pro.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qcom-msm8974.dtsi" - -&gcc { - compatible = "qcom,gcc-msm8974pro"; -}; - -&gpu { - compatible = "qcom,adreno-330.2", "qcom,adreno"; -}; - -&sdhc_1 { - clocks = <&gcc GCC_SDCC1_AHB_CLK>, - <&gcc GCC_SDCC1_APPS_CLK>, - <&xo_board>, - <&gcc GCC_SDCC1_CDCCAL_FF_CLK>, - <&gcc GCC_SDCC1_CDCCAL_SLEEP_CLK>; - clock-names = "iface", "core", "xo", "cal", "sleep"; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-msm8974.dtsi" + +&gcc { + compatible = "qcom,gcc-msm8974pro"; +}; + +&gpu { + compatible = "qcom,adreno-330.2", "qcom,adreno"; +}; + +&sdhc_1 { + clocks = <&gcc GCC_SDCC1_AHB_CLK>, + <&gcc GCC_SDCC1_APPS_CLK>, + <&xo_board>, + <&gcc GCC_SDCC1_CDCCAL_FF_CLK>, + <&gcc GCC_SDCC1_CDCCAL_SLEEP_CLK>; + clock-names = "iface", "core", "xo", "cal", "sleep"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-horseradish.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-horseradish.dts index a6686a3461..9d06d3d34c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-horseradish.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-horseradish.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1195.dtsi" - -/ { - compatible = "realtek,horseradish", "realtek,rtd1195"; - model = "Realtek Horseradish EVB"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@a800 { - device_type = "memory"; - reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */ - <0x18070000 0x00090000>, /* r-bus to NOR flash */ - <0x19100000 0x26f00000>; /* NOR flash to 1 GiB */ - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1195.dtsi" + +/ { + compatible = "realtek,horseradish", "realtek,rtd1195"; + model = "Realtek Horseradish EVB"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@a800 { + device_type = "memory"; + reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */ + <0x18070000 0x00090000>, /* r-bus to NOR flash */ + <0x19100000 0x26f00000>; /* NOR flash to 1 GiB */ + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-mele-x1000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-mele-x1000.dts index dd4aeb84ff..c7951b9a2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-mele-x1000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/realtek/rtd1195-mele-x1000.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2017-2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1195.dtsi" - -/ { - compatible = "mele,x1000", "realtek,rtd1195"; - model = "MeLE X1000"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@a800 { - device_type = "memory"; - reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */ - <0x18070000 0x00090000>, /* r-bus to NOR flash */ - <0x19100000 0x26f00000>; /* NOR flash to 1 GiB */ - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2017-2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1195.dtsi" + +/ { + compatible = "mele,x1000", "realtek,rtd1195"; + model = "MeLE X1000"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@a800 { + device_type = "memory"; + reg = <0x0000a800 0x17ff5800>, /* boot ROM to r-bus */ + <0x18070000 0x00090000>, /* r-bus to NOR flash */ + <0x19100000 0x26f00000>; /* NOR flash to 1 GiB */ + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dts index dbe302bcc4..0d006aea99 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7-dbcm-ca.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the iWave-RZ/G1M Qseven board + camera daughter board - * - * Copyright (C) 2017 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a7743-iwg20m.dtsi" -#include "iwg20d-q7-common.dtsi" -#include "iwg20d-q7-dbcm-ca.dtsi" - -/ { - model = "iW-RainboW-G20D-Q7 RZ/G1M based plus camera daughter board"; - compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; -}; - -&pciec { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the iWave-RZ/G1M Qseven board + camera daughter board + * + * Copyright (C) 2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a7743-iwg20m.dtsi" +#include "iwg20d-q7-common.dtsi" +#include "iwg20d-q7-dbcm-ca.dtsi" + +/ { + model = "iW-RainboW-G20D-Q7 RZ/G1M based plus camera daughter board"; + compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; +}; + +&pciec { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7.dts index d825d1dd4e..498e223a5f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7743-iwg20d-q7.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the iWave-RZ/G1M Qseven board - * - * Copyright (C) 2017 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a7743-iwg20m.dtsi" -#include "iwg20d-q7-common.dtsi" - -/ { - model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1M"; - compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; -}; - -&pciec { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the iWave-RZ/G1M Qseven board + * + * Copyright (C) 2017 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a7743-iwg20m.dtsi" +#include "iwg20d-q7-common.dtsi" + +/ { + model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1M"; + compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7743"; +}; + +&pciec { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dts index f7462ddf43..3e58c2e92e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7-dbcm-ca.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the iWave Systems RZ/G1N Qseven board development - * platform with camera daughter board - * - * Copyright (C) 2018 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a7744-iwg20m.dtsi" -#include "iwg20d-q7-common.dtsi" -#include "iwg20d-q7-dbcm-ca.dtsi" - -/ { - model = "iWave Systems RZ/G1N Qseven development platform with camera add-on"; - compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7744"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the iWave Systems RZ/G1N Qseven board development + * platform with camera daughter board + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a7744-iwg20m.dtsi" +#include "iwg20d-q7-common.dtsi" +#include "iwg20d-q7-dbcm-ca.dtsi" + +/ { + model = "iWave Systems RZ/G1N Qseven development platform with camera add-on"; + compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7744"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7.dts index 03643dea13..1fdac528f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/renesas/r8a7744-iwg20d-q7.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the iWave-RZ/G1N Qseven board - * - * Copyright (C) 2018 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a7744-iwg20m.dtsi" -#include "iwg20d-q7-common.dtsi" - -/ { - model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1N"; - compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7744"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the iWave-RZ/G1N Qseven board + * + * Copyright (C) 2018 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a7744-iwg20m.dtsi" +#include "iwg20d-q7-common.dtsi" + +/ { + model = "iWave Systems RainboW-G20D-Qseven board based on RZ/G1N"; + compatible = "iwave,g20d", "iwave,g20m", "renesas,r8a7744"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly-beta.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly-beta.dts index cba9511cd2..135e883214 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly-beta.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly-beta.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2014, 2015 FUKAUMI Naoki - */ - -/dts-v1/; -#include "rk3288-firefly.dtsi" - -/ { - model = "Firefly-RK3288 Beta"; - compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288"; -}; - -&ir { - gpios = <&gpio7 RK_PA5 GPIO_ACTIVE_LOW>; -}; - -&pinctrl { - act8846 { - pmic_vsel: pmic-vsel { - rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>; - }; - }; - - ir { - ir_int: ir-int { - rockchip,pins = <7 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; -}; - -&pwm0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2014, 2015 FUKAUMI Naoki + */ + +/dts-v1/; +#include "rk3288-firefly.dtsi" + +/ { + model = "Firefly-RK3288 Beta"; + compatible = "firefly,firefly-rk3288-beta", "rockchip,rk3288"; +}; + +&ir { + gpios = <&gpio7 RK_PA5 GPIO_ACTIVE_LOW>; +}; + +&pinctrl { + act8846 { + pmic_vsel: pmic-vsel { + rockchip,pins = <7 RK_PA1 RK_FUNC_GPIO &pcfg_output_low>; + }; + }; + + ir { + ir_int: ir-int { + rockchip,pins = <7 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&pwm0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly.dts index b46bf1ad2c..313459dab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-firefly.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2014, 2015 FUKAUMI Naoki - */ - -/dts-v1/; -#include "rk3288-firefly.dtsi" - -/ { - model = "Firefly-RK3288"; - compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; -}; - -&ir { - gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>; -}; - -&pinctrl { - act8846 { - pmic_vsel: pmic-vsel { - rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_output_low>; - }; - }; - - ir { - ir_int: ir-int { - rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; - }; - }; -}; - -&pwm1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2014, 2015 FUKAUMI Naoki + */ + +/dts-v1/; +#include "rk3288-firefly.dtsi" + +/ { + model = "Firefly-RK3288"; + compatible = "firefly,firefly-rk3288", "rockchip,rk3288"; +}; + +&ir { + gpios = <&gpio7 RK_PA0 GPIO_ACTIVE_LOW>; +}; + +&pinctrl { + act8846 { + pmic_vsel: pmic-vsel { + rockchip,pins = <7 RK_PB6 RK_FUNC_GPIO &pcfg_output_low>; + }; + }; + + ir { + ir_int: ir-int { + rockchip,pins = <7 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; +}; + +&pwm1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-rock-pi-n8.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-rock-pi-n8.dts index 82da388885..673466d264 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-rock-pi-n8.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-rock-pi-n8.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd - * Copyright (c) 2019 Vamrs Limited - * Copyright (c) 2019 Amarula Solutions(India) - */ - -/dts-v1/; -#include "rk3288.dtsi" -#include -#include "rk3288-vmarc-som.dtsi" - -/ { - model = "Radxa ROCK Pi N8"; - compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", - "rockchip,rk3288"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Vamrs Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3288.dtsi" +#include +#include "rk3288-vmarc-som.dtsi" + +/ { + model = "Radxa ROCK Pi N8"; + compatible = "radxa,rockpi-n8", "vamrs,rk3288-vmarc-som", + "rockchip,rk3288"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker-s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker-s.dts index dbe9fad743..970e138591 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker-s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-tinker-s.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; - -#include "rk3288-tinker.dtsi" - -/ { - model = "Rockchip RK3288 Asus Tinker Board S"; - compatible = "asus,rk3288-tinker-s", "rockchip,rk3288"; -}; - -&emmc { - bus-width = <8>; - cap-mmc-highspeed; - non-removable; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; - max-frequency = <150000000>; - mmc-hs200-1_8v; - mmc-ddr-1_8v; - status = "okay"; -}; - -&hdmi { - pinctrl-names = "default"; - pinctrl-0 = <&hdmi_cec_c0>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; + +#include "rk3288-tinker.dtsi" + +/ { + model = "Rockchip RK3288 Asus Tinker Board S"; + compatible = "asus,rk3288-tinker-s", "rockchip,rk3288"; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>; + max-frequency = <150000000>; + mmc-hs200-1_8v; + mmc-ddr-1_8v; + status = "okay"; +}; + +&hdmi { + pinctrl-names = "default"; + pinctrl-0 = <&hdmi_cec_c0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-broadcom-bluetooth.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-broadcom-bluetooth.dtsi index 79e8517250..f9dde0eef5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-broadcom-bluetooth.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rk3288-veyron-broadcom-bluetooth.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Veyron (and derivatives) fragment for the Broadcom 43450 bluetooth - * chip. - * - * Copyright 2019 Google, Inc - */ - -&uart0 { - bluetooth { - pinctrl-names = "default"; - pinctrl-0 = <&bt_host_wake_l>, <&bt_enable_l>, - <&bt_dev_wake>; - - compatible = "brcm,bcm43540-bt"; - host-wakeup-gpios = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>; - shutdown-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>; - device-wakeup-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; - max-speed = <3000000>; - brcm,bt-pcm-int-params = [01 02 00 01 01]; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Veyron (and derivatives) fragment for the Broadcom 43450 bluetooth + * chip. + * + * Copyright 2019 Google, Inc + */ + +&uart0 { + bluetooth { + pinctrl-names = "default"; + pinctrl-0 = <&bt_host_wake_l>, <&bt_enable_l>, + <&bt_dev_wake>; + + compatible = "brcm,bcm43540-bt"; + host-wakeup-gpios = <&gpio4 RK_PD7 GPIO_ACTIVE_HIGH>; + shutdown-gpios = <&gpio4 RK_PD5 GPIO_ACTIVE_HIGH>; + device-wakeup-gpios = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>; + max-speed = <3000000>; + brcm,bt-pcm-int-params = [01 02 00 01 01]; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109.dtsi index d1711c4ec3..9cbaa08ab1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1109.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; - -#include "rv1126.dtsi" - -/ { - compatible = "rockchip,rv1109"; - - cpus { - /delete-node/ cpu@f02; - /delete-node/ cpu@f03; - }; - - arm-pmu { - interrupts = , - ; - interrupt-affinity = <&cpu0>, <&cpu1>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; + +#include "rv1126.dtsi" + +/ { + compatible = "rockchip,rv1109"; + + cpus { + /delete-node/ cpu@f02; + /delete-node/ cpu@f03; + }; + + arm-pmu { + interrupts = , + ; + interrupt-affinity = <&cpu0>, <&cpu1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts index fa5a050179..77386a48d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/rockchip/rv1126-sonoff-ihost.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Rockchip Electronics Co., Ltd. - */ - -/dts-v1/; -#include "rv1126.dtsi" -#include "rv1126-sonoff-ihost.dtsi" - -/ { - model = "Sonoff iHost 4G"; - compatible = "itead,sonoff-ihost", "rockchip,rv1126"; -}; - -&cpu0 { - cpu-supply = <&vdd_arm>; -}; - -&cpu1 { - cpu-supply = <&vdd_arm>; -}; - -&cpu2 { - cpu-supply = <&vdd_arm>; -}; - -&cpu3 { - cpu-supply = <&vdd_arm>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Rockchip Electronics Co., Ltd. + */ + +/dts-v1/; +#include "rv1126.dtsi" +#include "rv1126-sonoff-ihost.dtsi" + +/ { + model = "Sonoff iHost 4G"; + compatible = "itead,sonoff-ihost", "rockchip,rv1126"; +}; + +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + +&cpu1 { + cpu-supply = <&vdd_arm>; +}; + +&cpu2 { + cpu-supply = <&vdd_arm>; +}; + +&cpu3 { + cpu-supply = <&vdd_arm>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-mfc-reserved-memory.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-mfc-reserved-memory.dtsi index e3da35ca23..597ade3e25 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-mfc-reserved-memory.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-mfc-reserved-memory.dtsi @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition. - * - * Copyright (c) 2016 Samsung Electronics Co., Ltd - */ - -/ { - reserved-memory { - #address-cells = <1>; - #size-cells = <1>; - ranges; - - mfc_left: region-mfc-left { - compatible = "shared-dma-pool"; - no-map; - size = <0x2400000>; - alignment = <0x100000>; - }; - - mfc_right: region-mfc-right { - compatible = "shared-dma-pool"; - no-map; - size = <0x800000>; - alignment = <0x100000>; - }; - }; -}; - -&mfc { - memory-region = <&mfc_left>, <&mfc_right>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos SoC MFC (Video Codec) reserved memory common definition. + * + * Copyright (c) 2016 Samsung Electronics Co., Ltd + */ + +/ { + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + mfc_left: region-mfc-left { + compatible = "shared-dma-pool"; + no-map; + size = <0x2400000>; + alignment = <0x100000>; + }; + + mfc_right: region-mfc-right { + compatible = "shared-dma-pool"; + no-map; + size = <0x800000>; + alignment = <0x100000>; + }; + }; +}; + +&mfc { + memory-region = <&mfc_left>, <&mfc_right>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-syscon-restart.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-syscon-restart.dtsi index f65fd492ef..bc9a78f6d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-syscon-restart.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos-syscon-restart.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. - */ - -&pmu_system_controller { - poweroff: syscon-poweroff { - compatible = "syscon-poweroff"; - regmap = <&pmu_system_controller>; - offset = <0x330c>; /* PS_HOLD_CONTROL */ - mask = <0x5200>; /* reset value */ - }; - - reboot: syscon-reboot { - compatible = "syscon-reboot"; - regmap = <&pmu_system_controller>; - offset = <0x0400>; /* SWRESET */ - mask = <0x1>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos SoC syscon reboot/poweroff nodes common definition. + */ + +&pmu_system_controller { + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + regmap = <&pmu_system_controller>; + offset = <0x330c>; /* PS_HOLD_CONTROL */ + mask = <0x5200>; /* reset value */ + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; /* SWRESET */ + mask = <0x1>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-wifi8.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-wifi8.dts index 3b3531be6b..54cb01703b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-wifi8.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4212-tab3-wifi8.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos4212 based Galaxy Tab 3 8.0 WiFi board device tree - * source - * - * Copyright (c) 2013 Samsung Electronics Co., Ltd. - * http://www.samsung.com - */ - -/dts-v1/; -#include "exynos4212-tab3.dtsi" - -/ { - model = "Samsung Galaxy Tab 3 8.0 WiFi (SM-T310) based on Exynos4212"; - compatible = "samsung,t310", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; - chassis-type = "tablet"; -}; - -&i2c_lightsensor { - status = "okay"; - - lightsensor@10 { - compatible = "capella,cm3323"; - reg = <0x10>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos4212 based Galaxy Tab 3 8.0 WiFi board device tree + * source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + */ + +/dts-v1/; +#include "exynos4212-tab3.dtsi" + +/ { + model = "Samsung Galaxy Tab 3 8.0 WiFi (SM-T310) based on Exynos4212"; + compatible = "samsung,t310", "samsung,tab3", "samsung,exynos4212", "samsung,exynos4"; + chassis-type = "tablet"; +}; + +&i2c_lightsensor { + status = "okay"; + + lightsensor@10 { + compatible = "capella,cm3323"; + reg = <0x10>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9300.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9300.dts index 1d93f3897d..b79d456e97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9300.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9300.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Exynos4412 based M0 (GT-I9300) board device tree source - * - * Copyright (c) 2013 Samsung Electronics Co., Ltd. - * http://www.samsung.com - */ - -/dts-v1/; -#include "exynos4412-galaxy-s3.dtsi" - -/ { - model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412"; - compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; - chassis-type = "handset"; - - /* bootargs are passed in by bootloader */ - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x3fc00000>; - }; -}; - -&sound { - fm-sel-gpios = <&gpl0 3 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Exynos4412 based M0 (GT-I9300) board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + */ + +/dts-v1/; +#include "exynos4412-galaxy-s3.dtsi" + +/ { + model = "Samsung Galaxy S3 (GT-I9300) based on Exynos4412"; + compatible = "samsung,i9300", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; + chassis-type = "handset"; + + /* bootargs are passed in by bootloader */ + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x3fc00000>; + }; +}; + +&sound { + fm-sel-gpios = <&gpl0 3 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9305.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9305.dts index d9d9ff94b4..1048ef5d9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9305.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-i9305.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; -#include "exynos4412-galaxy-s3.dtsi" - -/ { - model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412"; - compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; - chassis-type = "handset"; - - /* bootargs are passed in by bootloader */ - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x7fc00000>; - }; -}; - -&i2c0_bus { - /* SCL and SDA pins are swapped */ - samsung,pins = "gpd1-1", "gpd1-0"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; +#include "exynos4412-galaxy-s3.dtsi" + +/ { + model = "Samsung Galaxy S3 (GT-I9305) based on Exynos4412"; + compatible = "samsung,i9305", "samsung,midas", "samsung,exynos4412", "samsung,exynos4"; + chassis-type = "handset"; + + /* bootargs are passed in by bootloader */ + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x7fc00000>; + }; +}; + +&i2c0_bus { + /* SCL and SDA pins are swapped */ + samsung,pins = "gpd1-1", "gpd1-0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-odroidx2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-odroidx2.dts index 24b41e261f..7be4cbdc44 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-odroidx2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-odroidx2.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Hardkernel's Exynos4412 based ODROID-X2 board device tree source - * - * Copyright (c) 2012 Dongjin Kim - * - * Device tree source file for Hardkernel's ODROID-X2 board which is based - * on Samsung's Exynos4412 SoC. - */ - -#include "exynos4412-odroidx.dts" -#include "exynos4412-prime.dtsi" - -/ { - model = "Hardkernel ODROID-X2 board based on Exynos4412"; - compatible = "hardkernel,odroid-x2", "samsung,exynos4412", "samsung,exynos4"; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x7ff00000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Hardkernel's Exynos4412 based ODROID-X2 board device tree source + * + * Copyright (c) 2012 Dongjin Kim + * + * Device tree source file for Hardkernel's ODROID-X2 board which is based + * on Samsung's Exynos4412 SoC. + */ + +#include "exynos4412-odroidx.dts" +#include "exynos4412-prime.dtsi" + +/ { + model = "Hardkernel ODROID-X2 board based on Exynos4412"; + compatible = "hardkernel,odroid-x2", "samsung,exynos4412", "samsung,exynos4"; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x7ff00000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-p4note-n8010.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-p4note-n8010.dts index 0933342846..0932ec5866 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-p4note-n8010.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/samsung/exynos4412-p4note-n8010.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Samsung's Galaxy Note 10.1 - N801x (wifi only version) - * - * Copyright (c) 2013 Samsung Electronics Co., Ltd. - * http://www.samsung.com - */ - -/dts-v1/; -#include "exynos4412-p4note.dtsi" - -/ { - model = "Samsung Galaxy Note 10.1 (GT-N8010/N8013) based on Exynos4412"; - compatible = "samsung,n8010", "samsung,p4note", "samsung,exynos4412", "samsung,exynos4"; - chassis-type = "tablet"; - - /* this is the base variant without any kind of modem */ -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Samsung's Galaxy Note 10.1 - N801x (wifi only version) + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + */ + +/dts-v1/; +#include "exynos4412-p4note.dtsi" + +/ { + model = "Samsung Galaxy Note 10.1 (GT-N8010/N8013) based on Exynos4412"; + compatible = "samsung,n8010", "samsung,p4note", "samsung,exynos4412", "samsung,exynos4"; + chassis-type = "tablet"; + + /* this is the base variant without any kind of modem */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/Makefile index b9f88611c6..b07eaf5d8a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MSTARV7) += \ - mstar-infinity-msc313-breadbee_crust.dtb \ - mstar-infinity2m-ssd202d-100ask-dongshanpione.dtb \ - mstar-infinity2m-ssd202d-miyoo-mini.dtb \ - mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dtb \ - mstar-infinity2m-ssd202d-ssd201htv2.dtb \ - mstar-infinity2m-ssd202d-unitv2.dtb \ - mstar-infinity3-msc313e-breadbee.dtb \ - mstar-mercury5-ssc8336n-midrived08.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MSTARV7) += \ + mstar-infinity-msc313-breadbee_crust.dtb \ + mstar-infinity2m-ssd202d-100ask-dongshanpione.dtb \ + mstar-infinity2m-ssd202d-miyoo-mini.dtb \ + mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dtb \ + mstar-infinity2m-ssd202d-ssd201htv2.dtb \ + mstar-infinity2m-ssd202d-unitv2.dtb \ + mstar-infinity3-msc313e-breadbee.dtb \ + mstar-mercury5-ssc8336n-midrived08.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313-breadbee_crust.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313-breadbee_crust.dts index b90b5645f2..db4910dcb8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313-breadbee_crust.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity-msc313-breadbee_crust.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity-msc313.dtsi" -#include "mstar-infinity-breadbee-common.dtsi" - -/ { - model = "BreadBee Crust"; - compatible = "thingyjp,breadbee-crust", "mstar,infinity"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity-msc313.dtsi" +#include "mstar-infinity-breadbee-common.dtsi" + +/ { + model = "BreadBee Crust"; + compatible = "thingyjp,breadbee-crust", "mstar,infinity"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd201-som2d01.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd201-som2d01.dtsi index 797e956715..34df472fed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd201-som2d01.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd201-som2d01.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - * Author: Romain Perier - */ - -/ { - reg_vcc_dram: regulator-vcc-dram { - compatible = "regulator-fixed"; - regulator-name = "vcc_dram"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-boot-on; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/ { + reg_vcc_dram: regulator-vcc-dram { + compatible = "regulator-fixed"; + regulator-name = "vcc_dram"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts index 34d08c1ed1..f25a04c98c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-100ask-dongshanpione.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d.dtsi" - -/ { - model = "DongShanPi One"; - compatible = "100ask,dongshanpione", "mstar,infinity2m"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "DongShanPi One"; + compatible = "100ask,dongshanpione", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-miyoo-mini.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-miyoo-mini.dts index 1e3c3f441d..1bbbf47132 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-miyoo-mini.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-miyoo-mini.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d.dtsi" - -/ { - model = "Miyoo Mini"; - compatible = "miyoo,miyoo-mini", "mstar,infinity2m"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "Miyoo Mini"; + compatible = "miyoo,miyoo-mini", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-ssd201htv2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-ssd201htv2.dts index 2152a3e4d6..5d81641414 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-ssd201htv2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-ssd201htv2.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d.dtsi" - -/ { - model = "SSD201_HT_V2"; - compatible = "honestar,ssd201htv2", "mstar,infinity2m"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "SSD201_HT_V2"; + compatible = "honestar,ssd201htv2", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts index 432d4babab..a81684002e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-unitv2.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d.dtsi" - -/ { - model = "UnitV2"; - compatible = "m5stack,unitv2", "mstar,infinity2m"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" + +/ { + model = "UnitV2"; + compatible = "m5stack,unitv2", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts index 22d4b4534c..b15c40762b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-sbc2d06-v1b-22w.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - * Author: Romain Perier - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi" -#include - -/ { - model = "Wireless Tag IDO-SBC2D06-1VB-22W"; - compatible = "wirelesstag,ido-sbc2d06-v1b-22w", "mstar,infinity2m"; - - leds { - compatible = "gpio-leds"; - sys_led { - gpios = <&gpio SSD20XD_GPIO_GPIO85 GPIO_ACTIVE_LOW>; - linux,default-trigger = "heartbeat"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi" +#include + +/ { + model = "Wireless Tag IDO-SBC2D06-1VB-22W"; + compatible = "wirelesstag,ido-sbc2d06-v1b-22w", "mstar,infinity2m"; + + leds { + compatible = "gpio-leds"; + sys_led { + gpios = <&gpio SSD20XD_GPIO_GPIO85 GPIO_ACTIVE_LOW>; + linux,default-trigger = "heartbeat"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi index 5710e0d7cd..d877aff850 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity2m-ssd202d-wirelesstag-ido-som2d01.dtsi @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 thingy.jp. - * Author: Daniel Palmer - * Author: Romain Perier - */ - -/dts-v1/; -#include "mstar-infinity2m-ssd202d.dtsi" -#include "mstar-infinity2m-ssd201-som2d01.dtsi" - -/ { - model = "Wireless Tag IDO-SOM2D01 (SSD202D)"; - compatible = "wirelesstag,ido-som2d01", "mstar,infinity2m"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -®_vcc_dram { - regulator-min-microvolt = <1500000>; - regulator-max-microvolt = <1500000>; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 thingy.jp. + * Author: Daniel Palmer + * Author: Romain Perier + */ + +/dts-v1/; +#include "mstar-infinity2m-ssd202d.dtsi" +#include "mstar-infinity2m-ssd201-som2d01.dtsi" + +/ { + model = "Wireless Tag IDO-SOM2D01 (SSD202D)"; + compatible = "wirelesstag,ido-som2d01", "mstar,infinity2m"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +®_vcc_dram { + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e-breadbee.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e-breadbee.dts index 3c6790a6e7..e64ca4ce18 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e-breadbee.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-infinity3-msc313e-breadbee.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-infinity3-msc313e.dtsi" -#include "mstar-infinity-breadbee-common.dtsi" - -/ { - model = "BreadBee"; - compatible = "thingyjp,breadbee", "mstar,infinity3"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-infinity3-msc313e.dtsi" +#include "mstar-infinity-breadbee-common.dtsi" + +/ { + model = "BreadBee"; + compatible = "thingyjp,breadbee", "mstar,infinity3"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n-midrived08.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n-midrived08.dts index af350877fb..7306b737d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n-midrived08.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sigmastar/mstar-mercury5-ssc8336n-midrived08.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2020 thingy.jp. - * Author: Daniel Palmer - */ - -/dts-v1/; -#include "mstar-mercury5-ssc8336n.dtsi" - -/ { - model = "70mai Midrive D08"; - compatible = "70mai,midrived08", "mstar,mercury5"; - - aliases { - serial0 = &pm_uart; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&pm_uart { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2020 thingy.jp. + * Author: Daniel Palmer + */ + +/dts-v1/; +#include "mstar-mercury5-ssc8336n.dtsi" + +/ { + model = "70mai Midrive D08"; + compatible = "70mai,midrived08", "mstar,mercury5"; + + aliases { + serial0 = &pm_uart; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&pm_uart { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/Makefile index c36c7d6c67..dab4275f6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb -dtb-$(CONFIG_ARCH_UNIPHIER) += \ - uniphier-ld4-ref.dtb \ - uniphier-ld6b-ref.dtb \ - uniphier-pro4-ace.dtb \ - uniphier-pro4-ref.dtb \ - uniphier-pro4-sanji.dtb \ - uniphier-pro5-epcore.dtb \ - uniphier-pro5-proex.dtb \ - uniphier-pxs2-gentil.dtb \ - uniphier-pxs2-vodka.dtb \ - uniphier-sld8-ref.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb +dtb-$(CONFIG_ARCH_UNIPHIER) += \ + uniphier-ld4-ref.dtb \ + uniphier-ld6b-ref.dtb \ + uniphier-pro4-ace.dtb \ + uniphier-pro4-ref.dtb \ + uniphier-pro4-sanji.dtb \ + uniphier-pro5-epcore.dtb \ + uniphier-pro5-proex.dtb \ + uniphier-pxs2-gentil.dtb \ + uniphier-pxs2-vodka.dtb \ + uniphier-sld8-ref.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/milbeaut-m10v-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/milbeaut-m10v-evb.dts index 1b9ffc58aa..614f60c6b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/milbeaut-m10v-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/socionext/milbeaut-m10v-evb.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Socionext Milbeaut M10V Evaluation Board */ -/dts-v1/; -#include "milbeaut-m10v.dtsi" - -/ { - model = "Socionext M10V EVB"; - compatible = "socionext,milbeaut-m10v-evb", "socionext,sc2000a"; - - aliases { - serial0 = &uart1; - }; - - chosen { - bootargs = "rootwait earlycon"; - stdout-path = "serial0:115200n8"; - }; - - clocks { - uclk40xi: uclk40xi { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <40000000>; - }; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x80000000>; - }; - -}; +// SPDX-License-Identifier: GPL-2.0 +/* Socionext Milbeaut M10V Evaluation Board */ +/dts-v1/; +#include "milbeaut-m10v.dtsi" + +/ { + model = "Socionext M10V EVB"; + compatible = "socionext,milbeaut-m10v-evb", "socionext,sc2000a"; + + aliases { + serial0 = &uart1; + }; + + chosen { + bootargs = "rootwait earlycon"; + stdout-path = "serial0:115200n8"; + }; + + clocks { + uclk40xi: uclk40xi { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <40000000>; + }; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x80000000>; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/spear320s.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/spear320s.dtsi index cc6ba57b3a..133236dc19 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/spear320s.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/spear320s.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * DTS file for SPEAr320s SoC - * - * Copyright 2021 Herve Codina - */ - -/include/ "spear320.dtsi" - -/ { - ahb { - apb { - gpiopinctrl: gpio@b3000000 { - /* - * The "RM0321 SPEAr320s address and map - * registers" document mentions interrupt 6 - * (NPGIO_INTR) for the PL_GPIO interrupt. - */ - interrupts = <6>; - interrupt-parent = <&shirq>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * DTS file for SPEAr320s SoC + * + * Copyright 2021 Herve Codina + */ + +/include/ "spear320.dtsi" + +/ { + ahb { + apb { + gpiopinctrl: gpio@b3000000 { + /* + * The "RM0321 SPEAr320s address and map + * registers" document mentions interrupt 6 + * (NPGIO_INTR) for the PL_GPIO interrupt. + */ + interrupts = <6>; + interrupt-parent = <&shirq>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih407-b2120.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih407-b2120.dts index 47df090fc5..9c79982ee7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih407-b2120.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih407-b2120.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 STMicroelectronics (R&D) Limited. - * Author: Giuseppe Cavallaro - */ -/dts-v1/; -#include "stih407.dtsi" -#include "stihxxx-b2120.dtsi" -/ { - model = "STiH407 B2120"; - compatible = "st,stih407-b2120", "st,stih407"; - - chosen { - stdout-path = &sbc_serial0; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0x40000000 0x80000000>; - }; - - aliases { - serial0 = &sbc_serial0; - ethernet0 = ðernet0; - }; - -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 STMicroelectronics (R&D) Limited. + * Author: Giuseppe Cavallaro + */ +/dts-v1/; +#include "stih407.dtsi" +#include "stihxxx-b2120.dtsi" +/ { + model = "STiH407 B2120"; + compatible = "st,stih407-b2120", "st,stih407"; + + chosen { + stdout-path = &sbc_serial0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0x40000000 0x80000000>; + }; + + aliases { + serial0 = &sbc_serial0; + ethernet0 = ðernet0; + }; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih410-pinctrl.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih410-pinctrl.dtsi index ee689733d6..e6eadd1244 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih410-pinctrl.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stih410-pinctrl.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 STMicroelectronics Limited. - * Author: Peter Griffin - */ -#include "st-pincfg.h" -/ { - - soc { - pin-controller-rear@922f080 { - - usb0 { - pinctrl_usb0: usb2-0 { - st,pins { - usb-oc-detect = <&pio35 0 ALT1 IN>; - usb-pwr-enable = <&pio35 1 ALT1 OUT>; - }; - }; - }; - - usb1 { - pinctrl_usb1: usb2-1 { - st,pins { - usb-oc-detect = <&pio35 2 ALT1 IN>; - usb-pwr-enable = <&pio35 3 ALT1 OUT>; - }; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 STMicroelectronics Limited. + * Author: Peter Griffin + */ +#include "st-pincfg.h" +/ { + + soc { + pin-controller-rear@922f080 { + + usb0 { + pinctrl_usb0: usb2-0 { + st,pins { + usb-oc-detect = <&pio35 0 ALT1 IN>; + usb-pwr-enable = <&pio35 1 ALT1 OUT>; + }; + }; + }; + + usb1 { + pinctrl_usb1: usb2-1 { + st,pins { + usb-oc-detect = <&pio35 2 ALT1 IN>; + usb-pwr-enable = <&pio35 3 ALT1 OUT>; + }; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f469.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f469.dtsi index 34e3dc4b06..be002e8a78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f469.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32f469.dtsi @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* Copyright (C) STMicroelectronics 2017 - All Rights Reserved */ - -#include "stm32f429.dtsi" - -/ { - soc { - dsi: dsi@40016c00 { - compatible = "st,stm32-dsi"; - reg = <0x40016c00 0x800>; - resets = <&rcc STM32F4_APB2_RESET(DSI)>; - reset-names = "apb"; - clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; - clock-names = "pclk", "ref"; - status = "disabled"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ +/* Copyright (C) STMicroelectronics 2017 - All Rights Reserved */ + +#include "stm32f429.dtsi" + +/ { + soc { + dsi: dsi@40016c00 { + compatible = "st,stm32-dsi"; + reg = <0x40016c00 0x800>; + resets = <&rcc STM32F4_APB2_RESET(DSI)>; + reset-names = "apb"; + clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; + clock-names = "pclk", "ref"; + status = "disabled"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xc.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xc.dtsi index 5384ce8400..a8bd5fe653 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xc.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xc.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2021 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -&etzpc { - cryp: crypto@54002000 { - compatible = "st,stm32mp1-cryp"; - reg = <0x54002000 0x400>; - interrupts = ; - clocks = <&rcc CRYP1>; - resets = <&rcc CRYP1_R>; - access-controllers = <&etzpc 42>; - status = "disabled"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2021 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +&etzpc { + cryp: crypto@54002000 { + compatible = "st,stm32mp1-cryp"; + reg = <0x54002000 0x400>; + interrupts = ; + clocks = <&rcc CRYP1>; + resets = <&rcc CRYP1_R>; + access-controllers = <&etzpc 42>; + status = "disabled"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xf.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xf.dtsi index 5384ce8400..a8bd5fe653 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xf.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp13xf.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2021 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -&etzpc { - cryp: crypto@54002000 { - compatible = "st,stm32mp1-cryp"; - reg = <0x54002000 0x400>; - interrupts = ; - clocks = <&rcc CRYP1>; - resets = <&rcc CRYP1_R>; - access-controllers = <&etzpc 42>; - status = "disabled"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2021 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +&etzpc { + cryp: crypto@54002000 { + compatible = "st,stm32mp1-cryp"; + reg = <0x54002000 0x400>; + interrupts = ; + clocks = <&rcc CRYP1>; + resets = <&rcc CRYP1_R>; + access-controllers = <&etzpc 42>; + status = "disabled"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts index f3b0abb472..e0f828ecc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp151a-dhcor-testbench.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - * Copyright (C) 2022 Marek Vasut - */ - -/dts-v1/; - -#include "stm32mp151.dtsi" -#include "stm32mp15xx-dhcor-som.dtsi" -#include "stm32mp15xx-dhcor-testbench.dtsi" - -/ { - model = "DH electronics STM32MP151A DHCOR Testbench"; - compatible = "dh,stm32mp151a-dhcor-testbench", - "dh,stm32mp151a-dhcor-som", - "st,stm32mp151"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + * Copyright (C) 2022 Marek Vasut + */ + +/dts-v1/; + +#include "stm32mp151.dtsi" +#include "stm32mp15xx-dhcor-som.dtsi" +#include "stm32mp15xx-dhcor-testbench.dtsi" + +/ { + model = "DH electronics STM32MP151A DHCOR Testbench"; + compatible = "dh,stm32mp151a-dhcor-testbench", + "dh,stm32mp151a-dhcor-som", + "st,stm32mp151"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-dk1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-dk1.dts index 446dbd8887..0da3667ab1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-dk1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp157a-dk1.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2019 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -/dts-v1/; - -#include "stm32mp157.dtsi" -#include "stm32mp15-pinctrl.dtsi" -#include "stm32mp15xxac-pinctrl.dtsi" -#include "stm32mp15xx-dkx.dtsi" - -/ { - model = "STMicroelectronics STM32MP157A-DK1 Discovery Board"; - compatible = "st,stm32mp157a-dk1", "st,stm32mp157"; - - aliases { - ethernet0 = ðernet0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2019 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +/dts-v1/; + +#include "stm32mp157.dtsi" +#include "stm32mp15-pinctrl.dtsi" +#include "stm32mp15xxac-pinctrl.dtsi" +#include "stm32mp15xx-dkx.dtsi" + +/ { + model = "STMicroelectronics STM32MP157A-DK1 Discovery Board"; + compatible = "st,stm32mp157a-dk1", "st,stm32mp157"; + + aliases { + ethernet0 = ðernet0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xc.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xc.dtsi index d3f311cc33..97465717f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xc.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/st/stm32mp15xc.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (C) STMicroelectronics 2019 - All Rights Reserved - * Author: Alexandre Torgue for STMicroelectronics. - */ - -&etzpc { - cryp1: cryp@54001000 { - compatible = "st,stm32mp1-cryp"; - reg = <0x54001000 0x400>; - interrupts = ; - clocks = <&rcc CRYP1>; - resets = <&rcc CRYP1_R>; - access-controllers = <&etzpc 9>; - status = "disabled"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (C) STMicroelectronics 2019 - All Rights Reserved + * Author: Alexandre Torgue for STMicroelectronics. + */ + +&etzpc { + cryp1: cryp@54001000 { + compatible = "st,stm32mp1-cryp"; + reg = <0x54001000 0x400>; + interrupts = ; + clocks = <&rcc CRYP1>; + resets = <&rcc CRYP1_R>; + access-controllers = <&etzpc 9>; + status = "disabled"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/sunplus-sp7021-demo-v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/sunplus-sp7021-demo-v3.dts index 9cbe15e1be..d5c5ffc205 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/sunplus-sp7021-demo-v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/sunplus/sunplus-sp7021-demo-v3.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for Sunplus SP7021 Demo V3 SBC board - * - * Copyright (C) Sunplus Technology Co. - */ - -/dts-v1/; - -#include "sunplus-sp7021-achip.dtsi" - -/ { - compatible = "sunplus,sp7021-demo-v3", "sunplus,sp7021"; - model = "Sunplus SP7021/CA7/Demo_V3"; - #address-cells = <1>; - #size-cells = <1>; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x20000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for Sunplus SP7021 Demo V3 SBC board + * + * Copyright (C) Sunplus Technology Co. + */ + +/dts-v1/; + +#include "sunplus-sp7021-achip.dtsi" + +/ { + compatible = "sunplus,sp7021-demo-v3", "sunplus,sp7021"; + model = "Sunplus SP7021/CA7/Demo_V3"; + #address-cells = <1>; + #size-cells = <1>; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x20000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bone.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bone.dts index 9ddc80d701..b5d85ef51a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bone.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bone.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - */ -/dts-v1/; - -#include "am33xx.dtsi" -#include "am335x-bone-common.dtsi" - -/ { - model = "TI AM335x BeagleBone"; - compatible = "ti,am335x-bone", "ti,am33xx"; -}; - -&ldo3_reg { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <3300000>; - regulator-always-on; -}; - -&mmc1 { - vmmc-supply = <&ldo3_reg>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + */ +/dts-v1/; + +#include "am33xx.dtsi" +#include "am335x-bone-common.dtsi" + +/ { + model = "TI AM335x BeagleBone"; + compatible = "ti,am335x-bone", "ti,am33xx"; +}; + +&ldo3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; +}; + +&mmc1 { + vmmc-supply = <&ldo3_reg>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-boneblack-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-boneblack-common.dtsi index 396a9c5d61..a7a8c61ef9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-boneblack-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-boneblack-common.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - */ - -&ldo3_reg { - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; -}; - -&mmc1 { - vmmc-supply = <&vmmcsd_fixed>; -}; - -&mmc2 { - vmmc-supply = <&vmmcsd_fixed>; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_pins>; - bus-width = <8>; - status = "okay"; - non-removable; -}; - -/ { - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x20000000>; /* 512 MB */ - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + */ + +&ldo3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; +}; + +&mmc1 { + vmmc-supply = <&vmmcsd_fixed>; +}; + +&mmc2 { + vmmc-supply = <&vmmcsd_fixed>; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_pins>; + bus-width = <8>; + status = "okay"; + non-removable; +}; + +/ { + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x20000000>; /* 512 MB */ + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts index f98d487486..18cc0f49e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-bonegreen.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - */ -/dts-v1/; - -#include "am33xx.dtsi" -#include "am335x-bone-common.dtsi" -#include "am335x-bonegreen-common.dtsi" - -/ { - model = "TI AM335x BeagleBone Green"; - compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + */ +/dts-v1/; + +#include "am33xx.dtsi" +#include "am335x-bone-common.dtsi" +#include "am335x-bonegreen-common.dtsi" + +/ { + model = "TI AM335x BeagleBone Green"; + compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-phycore-rdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-phycore-rdk.dts index 850b568e0e..43907d03e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-phycore-rdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am335x-phycore-rdk.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 PHYTEC Messtechnik GmbH - * Author: Wadim Egorov - */ - -/dts-v1/; - -#include "am335x-phycore-som.dtsi" -#include "am335x-pcm-953.dtsi" - -/* SoM */ -&gpmc { - status = "okay"; -}; - -&i2c_eeprom { - status = "okay"; -}; - -&i2c_rtc { - status = "okay"; -}; - -&serial_flash { - status = "okay"; - -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 PHYTEC Messtechnik GmbH + * Author: Wadim Egorov + */ + +/dts-v1/; + +#include "am335x-phycore-som.dtsi" +#include "am335x-pcm-953.dtsi" + +/* SoM */ +&gpmc { + status = "okay"; +}; + +&i2c_eeprom { + status = "okay"; +}; + +&i2c_rtc { + status = "okay"; +}; + +&serial_flash { + status = "okay"; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3517_mt_ventoux.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3517_mt_ventoux.dts index 592e710ba5..e7d7124a34 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3517_mt_ventoux.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am3517_mt_ventoux.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2011 Ilya Yanok, EmCraft Systems - */ -/dts-v1/; - -#include "omap34xx.dtsi" - -/ { - model = "TeeJet Mt.Ventoux"; - compatible = "teejet,mt_ventoux", "ti,am3517", "ti,omap3"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; /* 256 MB */ - }; - - /* AM35xx doesn't have IVA */ - soc { - iva { - status = "disabled"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2011 Ilya Yanok, EmCraft Systems + */ +/dts-v1/; + +#include "omap34xx.dtsi" + +/ { + model = "TeeJet Mt.Ventoux"; + compatible = "teejet,mt_ventoux", "ti,am3517", "ti,omap3"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; /* 256 MB */ + }; + + /* AM35xx doesn't have IVA */ + soc { + iva { + status = "disabled"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5718.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5718.dtsi index 09dff0f55d..6d7530a48c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5718.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5718.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "dra72x.dtsi" -#include "am57-pruss.dtsi" - -/ { - compatible = "ti,am5718", "ti,dra7"; -}; - -/* - * These modules are not present on AM5718 - * - * ATL - * VCP1, VCP2 - * MLB - * ISS - * USB3 - */ - -&usb3_tm { - status = "disabled"; -}; - -&atl_tm { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "dra72x.dtsi" +#include "am57-pruss.dtsi" + +/ { + compatible = "ti,am5718", "ti,dra7"; +}; + +/* + * These modules are not present on AM5718 + * + * ATL + * VCP1, VCP2 + * MLB + * ISS + * USB3 + */ + +&usb3_tm { + status = "disabled"; +}; + +&atl_tm { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5728.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5728.dtsi index 6d0f5ab270..5e0bdf16d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5728.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5728.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "dra74x.dtsi" -#include "am57-pruss.dtsi" - -/ { - compatible = "ti,am5728", "ti,dra7"; -}; - -/* - * These modules are not present on AM5728 - * - * EVE1, EVE2 - * ATL - * VCP1, VCP2 - * MLB - * ISS - * USB3, USB4 - */ - -&usb3_tm { - status = "disabled"; -}; - -&usb4_tm { - status = "disabled"; -}; - -&atl_tm { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "dra74x.dtsi" +#include "am57-pruss.dtsi" + +/ { + compatible = "ti,am5728", "ti,dra7"; +}; + +/* + * These modules are not present on AM5728 + * + * EVE1, EVE2 + * ATL + * VCP1, VCP2 + * MLB + * ISS + * USB3, USB4 + */ + +&usb3_tm { + status = "disabled"; +}; + +&usb4_tm { + status = "disabled"; +}; + +&atl_tm { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5748.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5748.dtsi index 73fc01c32c..a1f029e9d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5748.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am5748.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include "dra74x-p.dtsi" -#include "am57-pruss.dtsi" - -/ { - compatible = "ti,am5748", "ti,dra762", "ti,dra7"; -}; - -/* - * These modules are not present on AM5748 - * - * EVE1, EVE2 - * ATL - * VCP1, VCP2 - * MLB - * ISS - * USB3, USB4 - */ - -&usb3_tm { - status = "disabled"; -}; - -&usb4_tm { - status = "disabled"; -}; - -&atl_tm { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include "dra74x-p.dtsi" +#include "am57-pruss.dtsi" + +/ { + compatible = "ti,am5748", "ti,dra762", "ti,dra7"; +}; + +/* + * These modules are not present on AM5748 + * + * EVE1, EVE2 + * ATL + * VCP1, VCP2 + * MLB + * ISS + * USB3, USB4 + */ + +&usb3_tm { + status = "disabled"; +}; + +&usb4_tm { + status = "disabled"; +}; + +&atl_tm { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-commercial-grade.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-commercial-grade.dtsi index 911dac605e..3eed6e09c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-commercial-grade.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-commercial-grade.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -&cpu_alert0 { - temperature = <80000>; /* milliCelsius */ -}; - -&cpu_crit { - temperature = <90000>; /* milliCelsius */ -}; - -&gpu_crit { - temperature = <90000>; /* milliCelsius */ -}; - -&core_crit { - temperature = <90000>; /* milliCelsius */ -}; - -&dspeve_crit { - temperature = <90000>; /* milliCelsius */ -}; - -&iva_crit { - temperature = <90000>; /* milliCelsius */ -}; +// SPDX-License-Identifier: GPL-2.0 +&cpu_alert0 { + temperature = <80000>; /* milliCelsius */ +}; + +&cpu_crit { + temperature = <90000>; /* milliCelsius */ +}; + +&gpu_crit { + temperature = <90000>; /* milliCelsius */ +}; + +&core_crit { + temperature = <90000>; /* milliCelsius */ +}; + +&dspeve_crit { + temperature = <90000>; /* milliCelsius */ +}; + +&iva_crit { + temperature = <90000>; /* milliCelsius */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-industrial-grade.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-industrial-grade.dtsi index a204b500a2..422f953fc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-industrial-grade.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/am57xx-industrial-grade.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -&cpu_alert0 { - temperature = <90000>; /* milliCelsius */ -}; - -&cpu_crit { - temperature = <105000>; /* milliCelsius */ -}; - -&gpu_crit { - temperature = <105000>; /* milliCelsius */ -}; - -&core_crit { - temperature = <105000>; /* milliCelsius */ -}; - -&dspeve_crit { - temperature = <105000>; /* milliCelsius */ -}; - -&iva_crit { - temperature = <105000>; /* milliCelsius */ -}; +// SPDX-License-Identifier: GPL-2.0 +&cpu_alert0 { + temperature = <90000>; /* milliCelsius */ +}; + +&cpu_crit { + temperature = <105000>; /* milliCelsius */ +}; + +&gpu_crit { + temperature = <105000>; /* milliCelsius */ +}; + +&core_crit { + temperature = <105000>; /* milliCelsius */ +}; + +&dspeve_crit { + temperature = <105000>; /* milliCelsius */ +}; + +&iva_crit { + temperature = <105000>; /* milliCelsius */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-dspeve-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-dspeve-thermal.dtsi index 8c6938ae04..747ff0db90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-dspeve-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-dspeve-thermal.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for DRA7x SoC DSPEVE thermal - * - * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include - -dspeve_thermal: dspeve_thermal { - polling-delay-passive = <250>; /* milliseconds */ - polling-delay = <500>; /* milliseconds */ - - /* sensor ID */ - thermal-sensors = <&bandgap 3>; - - trips { - dspeve_crit: dspeve_crit { - temperature = <125000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for DRA7x SoC DSPEVE thermal + * + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include + +dspeve_thermal: dspeve_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 3>; + + trips { + dspeve_crit: dspeve_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-iva-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-iva-thermal.dtsi index 4e05c89eb5..0a31313065 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-iva-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/dra7-iva-thermal.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for DRA7x SoC IVA thermal - * - * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ - */ - -#include - -iva_thermal: iva_thermal { - polling-delay-passive = <250>; /* milliseconds */ - polling-delay = <500>; /* milliseconds */ - - /* sensor ID */ - thermal-sensors = <&bandgap 4>; - - trips { - iva_crit: iva_crit { - temperature = <125000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for DRA7x SoC IVA thermal + * + * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ + */ + +#include + +iva_thermal: iva_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 4>; + + trips { + iva_crit: iva_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-35xx-devkit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-35xx-devkit.dts index da270fd98e..eaa583fdc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-35xx-devkit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/logicpd-torpedo-35xx-devkit.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "omap34xx.dtsi" -#include "logicpd-torpedo-som.dtsi" -#include "logicpd-torpedo-baseboard.dtsi" -#include "omap-gpmc-smsc9221.dtsi" - -/ { - model = "LogicPD Zoom OMAP35xx Torpedo Development Kit"; - compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3430", "ti,omap3"; -}; - -&omap3_pmx_core { - isp1763_pins: isp1763-pins { - pinctrl-single,pins = < - OMAP3_CORE1_IOPAD(0x2154, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat6.gpio_128 */ - >; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "omap34xx.dtsi" +#include "logicpd-torpedo-som.dtsi" +#include "logicpd-torpedo-baseboard.dtsi" +#include "omap-gpmc-smsc9221.dtsi" + +/ { + model = "LogicPD Zoom OMAP35xx Torpedo Development Kit"; + compatible = "logicpd,dm3730-torpedo-devkit", "ti,omap3430", "ti,omap3"; +}; + +&omap3_pmx_core { + isp1763_pins: isp1763-pins { + pinctrl-single,pins = < + OMAP3_CORE1_IOPAD(0x2154, PIN_INPUT_PULLUP | MUX_MODE4) /* sdmmc1_dat6.gpio_128 */ + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi index 1bcc281a66..a356b3a2f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/motorola-mapphone-mz607-mz617.dtsi @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only -/dts-v1/; - -#include "motorola-mapphone-common.dtsi" - -&keypad { - keypad,num-rows = <8>; - keypad,num-columns = <8>; - linux,keymap = , - ; -}; - -/* - * On tablets, mmc1 regulator is vsimcard instead of vwlan2 in the stock kernel - * dtb. The regulator may not be wired even if a MMC cage is added though. - */ -&mmc1 { - vmmc-supply = <&vsimcard>; - bus-width = <4>; - cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio_176 */ -}; +// SPDX-License-Identifier: GPL-2.0-only +/dts-v1/; + +#include "motorola-mapphone-common.dtsi" + +&keypad { + keypad,num-rows = <8>; + keypad,num-columns = <8>; + linux,keymap = , + ; +}; + +/* + * On tablets, mmc1 regulator is vsimcard instead of vwlan2 in the stock kernel + * dtb. The regulator may not be wired even if a MMC cage is added though. + */ +&mmc1 { + vmmc-supply = <&vsimcard>; + bus-width = <4>; + cd-gpios = <&gpio6 16 GPIO_ACTIVE_LOW>; /* gpio_176 */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-ha.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-ha.dts index fe1d7019a0..19e471eb3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-ha.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-ha.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - * Copyright (C) 2014 Stefan Roese - */ - -#include "omap3-ha-common.dtsi" - -/ { - model = "TI OMAP3 HEAD acoustics baseboard with TAO3530 SOM"; - compatible = "headacoustics,omap3-ha", "technexion,omap3-tao3530", "ti,omap3430", "ti,omap34xx", "ti,omap3"; -}; - -&omap3_pmx_core { - pinctrl-names = "default"; - pinctrl-0 = < - &hsusbb2_pins - &powerdown_input_pins - &fpga_boot0_pins - &fpga_boot1_pins - &led_blue_pins - &led_green_pins - &led_red_pins - >; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + * Copyright (C) 2014 Stefan Roese + */ + +#include "omap3-ha-common.dtsi" + +/ { + model = "TI OMAP3 HEAD acoustics baseboard with TAO3530 SOM"; + compatible = "headacoustics,omap3-ha", "technexion,omap3-tao3530", "ti,omap3430", "ti,omap34xx", "ti,omap3"; +}; + +&omap3_pmx_core { + pinctrl-names = "default"; + pinctrl-0 = < + &hsusbb2_pins + &powerdown_input_pins + &fpga_boot0_pins + &fpga_boot1_pins + &led_blue_pins + &led_green_pins + &led_red_pins + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-alto35.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-alto35.dts index b021b270fd..37c64dd5f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-alto35.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-alto35.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Alto35 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-alto35-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Alto35"; - compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Alto35 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-alto35-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Alto35"; + compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-alto35.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-alto35.dts index c1b3128538..3eb935df04 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-alto35.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-alto35.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Alto35 expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-alto35-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Alto35"; - compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Alto35 expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-alto35-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Alto35"; + compatible = "gumstix,omap3-overo-alto35", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-summit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-summit.dts index 88adb416c5..92f56b9d00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-summit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-summit.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Summit expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-summit-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Summit"; - compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; -}; - -&omap3_pmx_core2 { - led_pins: led-pins { - pinctrl-single,pins = < - OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4) /* etk_d7.gpio_21 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Summit expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-summit-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Summit"; + compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; +}; + +&omap3_pmx_core2 { + led_pins: led-pins { + pinctrl-single,pins = < + OMAP3630_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4) /* etk_d7.gpio_21 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobi.dts index c07083ae78..6d14466c18 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobi.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group - */ - -/* - * Tobi expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-tobi-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Tobi"; - compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group + */ + +/* + * Tobi expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-tobi-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on Tobi"; + compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobiduo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobiduo.dts index 85bb1c3633..bcf20ff3f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobiduo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-storm-tobiduo.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 Ash Charles, Gumstix, Inc. - */ - -/* - * TobiDuo expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo-storm.dtsi" -#include "omap3-overo-tobiduo-common.dtsi" - -/ { - model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on TobiDuo"; - compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. + */ + +/* + * TobiDuo expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo-storm.dtsi" +#include "omap3-overo-tobiduo-common.dtsi" + +/ { + model = "OMAP36xx/AM37xx/DM37xx Gumstix Overo on TobiDuo"; + compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap3630", "ti,omap3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit-common.dtsi index e3eb8123e7..ec03ca17e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit-common.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Summit expansion board is manufactured by Gumstix Inc. - */ - -#include "omap3-overo-common-peripherals.dtsi" -#include "omap3-overo-common-dvi.dtsi" - -/ { - leds { - compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&led_pins>; - led-heartbeat { - label = "overo:red:gpio21"; - gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */ - linux,default-trigger = "heartbeat"; - }; - }; -}; - -&lis33de { - status = "disabled"; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Summit expansion board is manufactured by Gumstix Inc. + */ + +#include "omap3-overo-common-peripherals.dtsi" +#include "omap3-overo-common-dvi.dtsi" + +/ { + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <&led_pins>; + led-heartbeat { + label = "overo:red:gpio21"; + gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */ + linux,default-trigger = "heartbeat"; + }; + }; +}; + +&lis33de { + status = "disabled"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit.dts index 65cc2bca8f..da5ca80430 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-summit.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group - */ - -/* - * Summit expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-summit-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Summit"; - compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; -}; - -&omap3_pmx_core2 { - led_pins: led-pins { - pinctrl-single,pins = < - OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4) /* etk_d7.gpio_21 */ - >; - }; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Florian Vaussard, EPFL Mobots group + */ + +/* + * Summit expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-summit-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Summit"; + compatible = "gumstix,omap3-overo-summit", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; +}; + +&omap3_pmx_core2 { + led_pins: led-pins { + pinctrl-single,pins = < + OMAP3430_CORE2_IOPAD(0x25ea, PIN_OUTPUT | MUX_MODE4) /* etk_d7.gpio_21 */ + >; + }; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi.dts index 74782e92a8..ce3f2404f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobi.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group - */ - -/* - * Tobi expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-tobi-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on Tobi"; - compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; -}; - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group + */ + +/* + * Tobi expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-tobi-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on Tobi"; + compatible = "gumstix,omap3-overo-tobi", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobiduo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobiduo.dts index 8c080e29df..fc6163eae4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobiduo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap3-overo-tobiduo.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 Ash Charles, Gumstix, Inc. - */ - -/* - * TobiDuo expansion board is manufactured by Gumstix Inc. - */ - -/dts-v1/; - -#include "omap3-overo.dtsi" -#include "omap3-overo-tobiduo-common.dtsi" - -/ { - model = "OMAP35xx Gumstix Overo on TobiDuo"; - compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 Ash Charles, Gumstix, Inc. + */ + +/* + * TobiDuo expansion board is manufactured by Gumstix Inc. + */ + +/dts-v1/; + +#include "omap3-overo.dtsi" +#include "omap3-overo-tobiduo-common.dtsi" + +/ { + model = "OMAP35xx Gumstix Overo on TobiDuo"; + compatible = "gumstix,omap3-overo-tobiduo", "gumstix,omap3-overo", "ti,omap3430", "ti,omap3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda-a4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda-a4.dts index bc7e7bc424..8fd076e5d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda-a4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-panda-a4.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - */ -/dts-v1/; - -#include "omap443x.dtsi" -#include "omap4-panda-common.dtsi" - -/* Pandaboard Rev A4+ have external pullups on SCL & SDA */ -&dss_hdmi_pins { - pinctrl-single,pins = < - OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ - OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ - OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ - >; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + */ +/dts-v1/; + +#include "omap443x.dtsi" +#include "omap4-panda-common.dtsi" + +/* Pandaboard Rev A4+ have external pullups on SCL & SDA */ +&dss_hdmi_pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ + OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ + OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-sdp-es23plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-sdp-es23plus.dts index 3c5a4c1a93..869f6279b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-sdp-es23plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-sdp-es23plus.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ - */ -#include "omap4-sdp.dts" - -/* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */ -&dss_hdmi_pins { - pinctrl-single,pins = < - OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ - OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ - OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ - >; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ + */ +#include "omap4-sdp.dts" + +/* SDP boards with 4430 ES2.3+ or 4460 have external pullups on SCL & SDA */ +&dss_hdmi_pins { + pinctrl-single,pins = < + OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0) /* hdmi_cec.hdmi_cec */ + OMAP4_IOPAD(0x09c, PIN_INPUT | MUX_MODE0) /* hdmi_scl.hdmi_scl */ + OMAP4_IOPAD(0x09e, PIN_INPUT | MUX_MODE0) /* hdmi_sda.hdmi_sda */ + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-var-stk-om44.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-var-stk-om44.dts index a83e39b9a7..656fb29c2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-var-stk-om44.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap4-var-stk-om44.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Joachim Eastwood - */ -/dts-v1/; - -#include "omap4-var-som-om44.dtsi" -#include "omap4-var-som-om44-wlan.dtsi" -#include "omap4-var-om44customboard.dtsi" - -/ { - model = "Variscite VAR-STK-OM44"; - compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Joachim Eastwood + */ +/dts-v1/; + +#include "omap4-var-som-om44.dtsi" +#include "omap4-var-som-om44-wlan.dtsi" +#include "omap4-var-om44customboard.dtsi" + +/ { + model = "Variscite VAR-STK-OM44"; + compatible = "variscite,var-stk-om44", "variscite,var-som-om44", "ti,omap4460", "ti,omap4"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap443x-clocks.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap443x-clocks.dtsi index 172cc4dcff..581e088231 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap443x-clocks.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap443x-clocks.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for OMAP4 clock data - * - * Copyright (C) 2013 Texas Instruments, Inc. - */ -&prm_clocks { - bandgap_fclk: bandgap_fclk@1888 { - #clock-cells = <0>; - compatible = "ti,gate-clock"; - clock-output-names = "bandgap_fclk"; - clocks = <&sys_32k_ck>; - ti,bit-shift = <8>; - reg = <0x1888>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for OMAP4 clock data + * + * Copyright (C) 2013 Texas Instruments, Inc. + */ +&prm_clocks { + bandgap_fclk: bandgap_fclk@1888 { + #clock-cells = <0>; + compatible = "ti,gate-clock"; + clock-output-names = "bandgap_fclk"; + clocks = <&sys_32k_ck>; + ti,bit-shift = <8>; + reg = <0x1888>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap446x-clocks.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap446x-clocks.dtsi index 9a46690938..d9362fef67 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap446x-clocks.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap446x-clocks.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for OMAP4 clock data - * - * Copyright (C) 2013 Texas Instruments, Inc. - */ -&prm_clocks { - div_ts_ck: div_ts_ck@1888 { - #clock-cells = <0>; - compatible = "ti,divider-clock"; - clock-output-names = "div_ts_ck"; - clocks = <&l4_wkup_clk_mux_ck>; - ti,bit-shift = <24>; - reg = <0x1888>; - ti,dividers = <8>, <16>, <32>; - }; - - bandgap_ts_fclk: bandgap_ts_fclk@1888 { - #clock-cells = <0>; - compatible = "ti,gate-clock"; - clock-output-names = "bandgap_ts_fclk"; - clocks = <&div_ts_ck>; - ti,bit-shift = <8>; - reg = <0x1888>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for OMAP4 clock data + * + * Copyright (C) 2013 Texas Instruments, Inc. + */ +&prm_clocks { + div_ts_ck: div_ts_ck@1888 { + #clock-cells = <0>; + compatible = "ti,divider-clock"; + clock-output-names = "div_ts_ck"; + clocks = <&l4_wkup_clk_mux_ck>; + ti,bit-shift = <24>; + reg = <0x1888>; + ti,dividers = <8>, <16>, <32>; + }; + + bandgap_ts_fclk: bandgap_ts_fclk@1888 { + #clock-cells = <0>; + compatible = "ti,gate-clock"; + clock-output-names = "bandgap_ts_fclk"; + clocks = <&div_ts_ck>; + ti,bit-shift = <8>; + reg = <0x1888>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-core-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-core-thermal.dtsi index 0a76e38414..e0d8e39a00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-core-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-core-thermal.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for OMAP543x SoC CORE thermal - * - * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ - * Contact: Eduardo Valentin - */ - -#include - -core_thermal: core_thermal { - polling-delay-passive = <250>; /* milliseconds */ - polling-delay = <500>; /* milliseconds */ - - /* sensor ID */ - thermal-sensors = <&bandgap 2>; - - trips { - core_crit: core_crit { - temperature = <125000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for OMAP543x SoC CORE thermal + * + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ + * Contact: Eduardo Valentin + */ + +#include + +core_thermal: core_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 2>; + + trips { + core_crit: core_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-gpu-thermal.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-gpu-thermal.dtsi index b6a7afabfa..1b4b7d9136 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-gpu-thermal.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/ti/omap/omap5-gpu-thermal.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree Source for OMAP543x SoC GPU thermal - * - * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ - * Contact: Eduardo Valentin - */ - -#include - -gpu_thermal: gpu_thermal { - polling-delay-passive = <250>; /* milliseconds */ - polling-delay = <500>; /* milliseconds */ - - /* sensor ID */ - thermal-sensors = <&bandgap 1>; - - trips { - gpu_crit: gpu_crit { - temperature = <125000>; /* milliCelsius */ - hysteresis = <2000>; /* milliCelsius */ - type = "critical"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree Source for OMAP543x SoC GPU thermal + * + * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ + * Contact: Eduardo Valentin + */ + +#include + +gpu_thermal: gpu_thermal { + polling-delay-passive = <250>; /* milliseconds */ + polling-delay = <500>; /* milliseconds */ + + /* sensor ID */ + thermal-sensors = <&bandgap 1>; + + trips { + gpu_crit: gpu_crit { + temperature = <125000>; /* milliCelsius */ + hysteresis = <2000>; /* milliCelsius */ + type = "critical"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts index ee654ca573..136e812bc1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * wm8750-apc8750.dts - * - Device tree file for VIA APC8750 - * - * Copyright (C) 2012 Tony Prisk - */ - -/dts-v1/; -/include/ "wm8750.dtsi" - -/ { - model = "VIA APC8750"; -}; - -&pinctrl { - pinctrl-names = "default"; - pinctrl-0 = <&i2c>; - - i2c: i2c { - wm,pins = <168 169 170 171>; - wm,function = <2>; /* alt */ - wm,pull = <2>; /* pull-up */ - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * wm8750-apc8750.dts + * - Device tree file for VIA APC8750 + * + * Copyright (C) 2012 Tony Prisk + */ + +/dts-v1/; +/include/ "wm8750.dtsi" + +/ { + model = "VIA APC8750"; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&i2c>; + + i2c: i2c { + wm,pins = <168 169 170 171>; + wm,function = <2>; /* alt */ + wm,pull = <2>; /* pull-up */ + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/Makefile index 6a4b5d3b78..9233e539b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/boot/dts/xilinx/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_ZYNQ) += \ - zynq-cc108.dtb \ - zynq-ebaz4205.dtb \ - zynq-microzed.dtb \ - zynq-parallella.dtb \ - zynq-zc702.dtb \ - zynq-zc706.dtb \ - zynq-zc770-xm010.dtb \ - zynq-zc770-xm011.dtb \ - zynq-zc770-xm012.dtb \ - zynq-zc770-xm013.dtb \ - zynq-zed.dtb \ - zynq-zturn.dtb \ - zynq-zturn-v5.dtb \ - zynq-zybo.dtb \ - zynq-zybo-z7.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_ZYNQ) += \ + zynq-cc108.dtb \ + zynq-ebaz4205.dtb \ + zynq-microzed.dtb \ + zynq-parallella.dtb \ + zynq-zc702.dtb \ + zynq-zc706.dtb \ + zynq-zc770-xm010.dtb \ + zynq-zc770-xm011.dtb \ + zynq-zc770-xm012.dtb \ + zynq-zc770-xm013.dtb \ + zynq-zed.dtb \ + zynq-zturn.dtb \ + zynq-zturn-v5.dtb \ + zynq-zybo.dtb \ + zynq-zybo-z7.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Makefile index 505fddf79e..9733381074 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -obj-y += firmware.o - -obj-$(CONFIG_SA1111) += sa1111.o -obj-$(CONFIG_KRAIT_L2_ACCESSORS) += krait-l2-accessors.o -obj-$(CONFIG_SHARP_LOCOMO) += locomo.o -obj-$(CONFIG_SHARP_PARAM) += sharpsl_param.o -obj-$(CONFIG_SHARP_SCOOP) += scoop.o -obj-$(CONFIG_CPU_V7) += secure_cntvoff.o -obj-$(CONFIG_MCPM) += mcpm_head.o mcpm_entry.o mcpm_platsmp.o vlock.o -CFLAGS_REMOVE_mcpm_entry.o = -pg -obj-$(CONFIG_BL_SWITCHER) += bL_switcher.o -obj-$(CONFIG_BL_SWITCHER_DUMMY_IF) += bL_switcher_dummy_if.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +obj-y += firmware.o + +obj-$(CONFIG_SA1111) += sa1111.o +obj-$(CONFIG_KRAIT_L2_ACCESSORS) += krait-l2-accessors.o +obj-$(CONFIG_SHARP_LOCOMO) += locomo.o +obj-$(CONFIG_SHARP_PARAM) += sharpsl_param.o +obj-$(CONFIG_SHARP_SCOOP) += scoop.o +obj-$(CONFIG_CPU_V7) += secure_cntvoff.o +obj-$(CONFIG_MCPM) += mcpm_head.o mcpm_entry.o mcpm_platsmp.o vlock.o +CFLAGS_REMOVE_mcpm_entry.o = -pg +obj-$(CONFIG_BL_SWITCHER) += bL_switcher.o +obj-$(CONFIG_BL_SWITCHER_DUMMY_IF) += bL_switcher_dummy_if.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/firmware.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/firmware.c index 49617bc817..c1f8f581b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/firmware.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/firmware.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Samsung Electronics. - * Kyungmin Park - * Tomasz Figa - */ - -#include -#include - -#include - -static const struct firmware_ops default_firmware_ops; - -const struct firmware_ops *firmware_ops = &default_firmware_ops; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Samsung Electronics. + * Kyungmin Park + * Tomasz Figa + */ + +#include +#include + +#include + +static const struct firmware_ops default_firmware_ops; + +const struct firmware_ops *firmware_ops = &default_firmware_ops; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/vlock.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/vlock.h index edf94ce371..422429781f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/common/vlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/common/vlock.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * vlock.h - simple voting lock implementation - * - * Created by: Dave Martin, 2012-08-16 - * Copyright: (C) 2012-2013 Linaro Limited - */ - -#ifndef __VLOCK_H -#define __VLOCK_H - -#include - -/* Offsets and sizes are rounded to a word (4 bytes) */ -#define VLOCK_OWNER_OFFSET 0 -#define VLOCK_VOTING_OFFSET 4 -#define VLOCK_VOTING_SIZE ((MAX_CPUS_PER_CLUSTER + 3) / 4 * 4) -#define VLOCK_SIZE (VLOCK_VOTING_OFFSET + VLOCK_VOTING_SIZE) -#define VLOCK_OWNER_NONE 0 - -#endif /* ! __VLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * vlock.h - simple voting lock implementation + * + * Created by: Dave Martin, 2012-08-16 + * Copyright: (C) 2012-2013 Linaro Limited + */ + +#ifndef __VLOCK_H +#define __VLOCK_H + +#include + +/* Offsets and sizes are rounded to a word (4 bytes) */ +#define VLOCK_OWNER_OFFSET 0 +#define VLOCK_VOTING_OFFSET 4 +#define VLOCK_VOTING_SIZE ((MAX_CPUS_PER_CLUSTER + 3) / 4 * 4) +#define VLOCK_SIZE (VLOCK_VOTING_OFFSET + VLOCK_VOTING_SIZE) +#define VLOCK_OWNER_NONE 0 + +#endif /* ! __VLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/aes-cipher.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/aes-cipher.h index 4492c70b74..d5db2b87eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/aes-cipher.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/aes-cipher.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef ARM_CRYPTO_AES_CIPHER_H -#define ARM_CRYPTO_AES_CIPHER_H - -#include -#include - -asmlinkage void __aes_arm_encrypt(const u32 rk[], int rounds, - const u8 *in, u8 *out); -asmlinkage void __aes_arm_decrypt(const u32 rk[], int rounds, - const u8 *in, u8 *out); - -#endif /* ARM_CRYPTO_AES_CIPHER_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef ARM_CRYPTO_AES_CIPHER_H +#define ARM_CRYPTO_AES_CIPHER_H + +#include +#include + +asmlinkage void __aes_arm_encrypt(const u32 rk[], int rounds, + const u8 *in, u8 *out); +asmlinkage void __aes_arm_decrypt(const u32 rk[], int rounds, + const u8 *in, u8 *out); + +#endif /* ARM_CRYPTO_AES_CIPHER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha1.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha1.h index 8c76690c7a..b1b7e21da2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha1.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha1.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_ARM_CRYPTO_SHA1_H -#define ASM_ARM_CRYPTO_SHA1_H - -#include -#include - -extern int sha1_update_arm(struct shash_desc *desc, const u8 *data, - unsigned int len); - -extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data, - unsigned int len, u8 *out); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_ARM_CRYPTO_SHA1_H +#define ASM_ARM_CRYPTO_SHA1_H + +#include +#include + +extern int sha1_update_arm(struct shash_desc *desc, const u8 *data, + unsigned int len); + +extern int sha1_finup_arm(struct shash_desc *desc, const u8 *data, + unsigned int len, u8 *out); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha256_glue.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha256_glue.h index 464f617d23..9f0d578bab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha256_glue.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/crypto/sha256_glue.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _CRYPTO_SHA256_GLUE_H -#define _CRYPTO_SHA256_GLUE_H - -#include - -extern struct shash_alg sha256_neon_algs[2]; - -int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data, - unsigned int len); - -int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data, - unsigned int len, u8 *hash); - -#endif /* _CRYPTO_SHA256_GLUE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _CRYPTO_SHA256_GLUE_H +#define _CRYPTO_SHA256_GLUE_H + +#include + +extern struct shash_alg sha256_neon_algs[2]; + +int crypto_sha256_arm_update(struct shash_desc *desc, const u8 *data, + unsigned int len); + +int crypto_sha256_arm_finup(struct shash_desc *desc, const u8 *data, + unsigned int len, u8 *hash); + +#endif /* _CRYPTO_SHA256_GLUE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/arm-cci.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/arm-cci.h index 2586bb7c60..7537bd7906 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/arm-cci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/arm-cci.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/arm-cci.h - * - * Copyright (C) 2015 ARM Ltd. - */ - -#ifndef __ASM_ARM_CCI_H -#define __ASM_ARM_CCI_H - -#ifdef CONFIG_MCPM -#include - -/* - * We don't have a reliable way of detecting whether, - * if we have access to secure-only registers, unless - * mcpm is registered. - */ -static inline bool platform_has_secure_cci_access(void) -{ - return mcpm_is_available(); -} - -#else -static inline bool platform_has_secure_cci_access(void) -{ - return false; -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/arm-cci.h + * + * Copyright (C) 2015 ARM Ltd. + */ + +#ifndef __ASM_ARM_CCI_H +#define __ASM_ARM_CCI_H + +#ifdef CONFIG_MCPM +#include + +/* + * We don't have a reliable way of detecting whether, + * if we have access to secure-only registers, unless + * mcpm is registered. + */ +static inline bool platform_has_secure_cci_access(void) +{ + return mcpm_is_available(); +} + +#else +static inline bool platform_has_secure_cci_access(void) +{ + return false; +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bitrev.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bitrev.h index 1eff0869ac..84ad8dde62 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bitrev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/bitrev.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_BITREV_H -#define __ASM_BITREV_H - -static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) -{ - __asm__ ("rbit %0, %1" : "=r" (x) : "r" (x)); - return x; -} - -static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) -{ - return __arch_bitrev32((u32)x) >> 16; -} - -static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) -{ - return __arch_bitrev32((u32)x) >> 24; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_BITREV_H +#define __ASM_BITREV_H + +static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) +{ + __asm__ ("rbit %0, %1" : "=r" (x) : "r" (x)); + return x; +} + +static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) +{ + return __arch_bitrev32((u32)x) >> 16; +} + +static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) +{ + return __arch_bitrev32((u32)x) >> 24; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cpu.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cpu.h index 0b67b4e6d9..9d8863537a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/cpu.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/cpu.h - * - * Copyright (C) 2004-2005 ARM Ltd. - */ -#ifndef __ASM_ARM_CPU_H -#define __ASM_ARM_CPU_H - -#include -#include - -struct cpuinfo_arm { - u32 cpuid; -#ifdef CONFIG_SMP - unsigned int loops_per_jiffy; -#endif -}; - -DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/cpu.h + * + * Copyright (C) 2004-2005 ARM Ltd. + */ +#ifndef __ASM_ARM_CPU_H +#define __ASM_ARM_CPU_H + +#include +#include + +struct cpuinfo_arm { + u32 cpuid; +#ifdef CONFIG_SMP + unsigned int loops_per_jiffy; +#endif +}; + +DECLARE_PER_CPU(struct cpuinfo_arm, cpu_data); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/device.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/device.h index 48da67731f..c6beb1708c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/device.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/device.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Arch specific extensions to struct device - */ -#ifndef ASMARM_DEVICE_H -#define ASMARM_DEVICE_H - -struct dev_archdata { -#ifdef CONFIG_ARM_DMA_USE_IOMMU - struct dma_iommu_mapping *mapping; -#endif - unsigned int dma_ops_setup:1; -}; - -struct omap_device; - -struct pdev_archdata { -#ifdef CONFIG_ARCH_OMAP - struct omap_device *od; -#endif -}; - -#ifdef CONFIG_ARM_DMA_USE_IOMMU -#define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping) -#else -#define to_dma_iommu_mapping(dev) NULL -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Arch specific extensions to struct device + */ +#ifndef ASMARM_DEVICE_H +#define ASMARM_DEVICE_H + +struct dev_archdata { +#ifdef CONFIG_ARM_DMA_USE_IOMMU + struct dma_iommu_mapping *mapping; +#endif + unsigned int dma_ops_setup:1; +}; + +struct omap_device; + +struct pdev_archdata { +#ifdef CONFIG_ARCH_OMAP + struct omap_device *od; +#endif +}; + +#ifdef CONFIG_ARM_DMA_USE_IOMMU +#define to_dma_iommu_mapping(dev) ((dev)->archdata.mapping) +#else +#define to_dma_iommu_mapping(dev) NULL +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dmi.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dmi.h index 75476e7d29..32c95dad4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/dmi.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_DMI_H -#define __ASM_DMI_H - -#include -#include - -#define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB) -#define dmi_early_unmap(x, l) memunmap(x) -#define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB) -#define dmi_unmap(x) memunmap(x) -#define dmi_alloc(l) kzalloc(l, GFP_KERNEL) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_DMI_H +#define __ASM_DMI_H + +#include +#include + +#define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB) +#define dmi_early_unmap(x, l) memunmap(x) +#define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB) +#define dmi_unmap(x) memunmap(x) +#define dmi_alloc(l) kzalloc(l, GFP_KERNEL) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/exception.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/exception.h index 5f7e333e7f..3c82975d46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/exception.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/exception.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Annotations for marking C functions as exception handlers. - * - * These should only be used for C functions that are called from the low - * level exception entry code and not any intervening C code. - */ -#ifndef __ASM_ARM_EXCEPTION_H -#define __ASM_ARM_EXCEPTION_H - -#include - -#define __exception_irq_entry __irq_entry - -#endif /* __ASM_ARM_EXCEPTION_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Annotations for marking C functions as exception handlers. + * + * These should only be used for C functions that are called from the low + * level exception entry code and not any intervening C code. + */ +#ifndef __ASM_ARM_EXCEPTION_H +#define __ASM_ARM_EXCEPTION_H + +#include + +#define __exception_irq_entry __irq_entry + +#endif /* __ASM_ARM_EXCEPTION_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/glue.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/glue.h index 5aad65f63a..377fd4cfab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/glue.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/glue.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/glue.h - * - * Copyright (C) 1997-1999 Russell King - * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. - * - * This file provides the glue to stick the processor-specific bits - * into the kernel in an efficient manner. The idea is to use branches - * when we're only targeting one class of TLB, or indirect calls - * when we're targeting multiple classes of TLBs. - */ -#ifdef __KERNEL__ - -#ifdef __STDC__ -#define ____glue(name,fn) name##fn -#else -#define ____glue(name,fn) name/**/fn -#endif -#define __glue(name,fn) ____glue(name,fn) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/glue.h + * + * Copyright (C) 1997-1999 Russell King + * Copyright (C) 2000-2002 Deep Blue Solutions Ltd. + * + * This file provides the glue to stick the processor-specific bits + * into the kernel in an efficient manner. The idea is to use branches + * when we're only targeting one class of TLB, or indirect calls + * when we're targeting multiple classes of TLBs. + */ +#ifdef __KERNEL__ + +#ifdef __STDC__ +#define ____glue(name,fn) name##fn +#else +#define ____glue(name,fn) name/**/fn +#endif +#define __glue(name,fn) ____glue(name,fn) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-uniphier.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-uniphier.h index 45b5bcedda..b1fefca65d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-uniphier.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/cache-uniphier.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2015-2016 Socionext Inc. - * Author: Masahiro Yamada - */ - -#ifndef __CACHE_UNIPHIER_H -#define __CACHE_UNIPHIER_H - -#include - -#ifdef CONFIG_CACHE_UNIPHIER -int uniphier_cache_init(void); -#else -static inline int uniphier_cache_init(void) -{ - return -ENODEV; -} -#endif - -#endif /* __CACHE_UNIPHIER_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2015-2016 Socionext Inc. + * Author: Masahiro Yamada + */ + +#ifndef __CACHE_UNIPHIER_H +#define __CACHE_UNIPHIER_H + +#include + +#ifdef CONFIG_CACHE_UNIPHIER +int uniphier_cache_init(void); +#else +static inline int uniphier_cache_init(void) +{ + return -ENODEV; +} +#endif + +#endif /* __CACHE_UNIPHIER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/memc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/memc.h index 0e0f53e984..1d4ebe0a96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/memc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/memc.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/hardware/memc.h - * - * Copyright (C) Russell King. - */ -#define VDMA_ALIGNMENT PAGE_SIZE -#define VDMA_XFERSIZE 16 -#define VDMA_INIT 0 -#define VDMA_START 1 -#define VDMA_END 2 - -#ifndef __ASSEMBLY__ -extern void memc_write(unsigned int reg, unsigned long val); - -#define video_set_dma(start,end,offset) \ -do { \ - memc_write (VDMA_START, (start >> 2)); \ - memc_write (VDMA_END, (end - VDMA_XFERSIZE) >> 2); \ - memc_write (VDMA_INIT, (offset >> 2)); \ -} while (0) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/hardware/memc.h + * + * Copyright (C) Russell King. + */ +#define VDMA_ALIGNMENT PAGE_SIZE +#define VDMA_XFERSIZE 16 +#define VDMA_INIT 0 +#define VDMA_START 1 +#define VDMA_END 2 + +#ifndef __ASSEMBLY__ +extern void memc_write(unsigned int reg, unsigned long val); + +#define video_set_dma(start,end,offset) \ +do { \ + memc_write (VDMA_START, (start >> 2)); \ + memc_write (VDMA_END, (end - VDMA_XFERSIZE) >> 2); \ + memc_write (VDMA_INIT, (offset >> 2)); \ +} while (0) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/ssp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/ssp.h index 606e5ce14f..72d1767903 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/ssp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hardware/ssp.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * ssp.h - * - * Copyright (C) 2003 Russell King, All Rights Reserved. - */ -#ifndef SSP_H -#define SSP_H - -struct ssp_state { - unsigned int cr0; - unsigned int cr1; -}; - -int ssp_write_word(u16 data); -int ssp_read_word(u16 *data); -int ssp_flush(void); -void ssp_enable(void); -void ssp_disable(void); -void ssp_save_state(struct ssp_state *ssp); -void ssp_restore_state(struct ssp_state *ssp); -int ssp_init(void); -void ssp_exit(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * ssp.h + * + * Copyright (C) 2003 Russell King, All Rights Reserved. + */ +#ifndef SSP_H +#define SSP_H + +struct ssp_state { + unsigned int cr0; + unsigned int cr1; +}; + +int ssp_write_word(u16 data); +int ssp_read_word(u16 *data); +int ssp_flush(void); +void ssp_enable(void); +void ssp_disable(void); +void ssp_save_state(struct ssp_state *ssp); +void ssp_restore_state(struct ssp_state *ssp); +int ssp_init(void); +void ssp_exit(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb.h index 7f3c1fec3b..b766c4b373 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hugetlb.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/hugetlb.h - * - * Copyright (C) 2012 ARM Ltd. - * - * Based on arch/x86/include/asm/hugetlb.h - */ - -#ifndef _ASM_ARM_HUGETLB_H -#define _ASM_ARM_HUGETLB_H - -#include -#include -#include -#include - -static inline void arch_clear_hugetlb_flags(struct folio *folio) -{ - clear_bit(PG_dcache_clean, &folio->flags); -} -#define arch_clear_hugetlb_flags arch_clear_hugetlb_flags - -#endif /* _ASM_ARM_HUGETLB_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/hugetlb.h + * + * Copyright (C) 2012 ARM Ltd. + * + * Based on arch/x86/include/asm/hugetlb.h + */ + +#ifndef _ASM_ARM_HUGETLB_H +#define _ASM_ARM_HUGETLB_H + +#include +#include +#include +#include + +static inline void arch_clear_hugetlb_flags(struct folio *folio) +{ + clear_bit(PG_dcache_clean, &folio->flags); +} +#define arch_clear_hugetlb_flags arch_clear_hugetlb_flags + +#endif /* _ASM_ARM_HUGETLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hw_irq.h index e0a8aaf827..cecc13214e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hw_irq.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Nothing to see here yet - */ -#ifndef _ARCH_ARM_HW_IRQ_H -#define _ARCH_ARM_HW_IRQ_H - -static inline void ack_bad_irq(int irq) -{ - extern unsigned long irq_err_count; - irq_err_count++; - pr_crit("unexpected IRQ trap at vector %02x\n", irq); -} - -#define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Nothing to see here yet + */ +#ifndef _ARCH_ARM_HW_IRQ_H +#define _ARCH_ARM_HW_IRQ_H + +static inline void ack_bad_irq(int irq) +{ + extern unsigned long irq_err_count; + irq_err_count++; + pr_crit("unexpected IRQ trap at vector %02x\n", irq); +} + +#define ARCH_IRQ_INIT_FLAGS (IRQ_NOREQUEST | IRQ_NOPROBE) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hwcap.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hwcap.h index 0706e24a9d..e31d9f1b85 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hwcap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/hwcap.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASMARM_HWCAP_H -#define __ASMARM_HWCAP_H - -#include - -#if !defined(__ASSEMBLY__) -/* - * This yields a mask that user programs can use to figure out what - * instruction set this cpu supports. - */ -#define ELF_HWCAP (elf_hwcap) -#define ELF_HWCAP2 (elf_hwcap2) -extern unsigned int elf_hwcap, elf_hwcap2; -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASMARM_HWCAP_H +#define __ASMARM_HWCAP_H + +#include + +#if !defined(__ASSEMBLY__) +/* + * This yields a mask that user programs can use to figure out what + * instruction set this cpu supports. + */ +#define ELF_HWCAP (elf_hwcap) +#define ELF_HWCAP2 (elf_hwcap2) +extern unsigned int elf_hwcap, elf_hwcap2; +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/idmap.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/idmap.h index 6e1df36ccf..baebb67b35 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/idmap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/idmap.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IDMAP_H -#define __ASM_IDMAP_H - -#include -#include - -/* Tag a function as requiring to be executed via an identity mapping. */ -#define __idmap __section(".idmap.text") noinline notrace - -extern pgd_t *idmap_pgd; - -void setup_mm_for_reboot(void); - -#endif /* __ASM_IDMAP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IDMAP_H +#define __ASM_IDMAP_H + +#include +#include + +/* Tag a function as requiring to be executed via an identity mapping. */ +#define __idmap __section(".idmap.text") noinline notrace + +extern pgd_t *idmap_pgd; + +void setup_mm_for_reboot(void); + +#endif /* __ASM_IDMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/irq.h index b3eb3d0d19..dfe832a3bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mach/irq.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/mach/irq.h - * - * Copyright (C) 1995-2000 Russell King. - */ -#ifndef __ASM_ARM_MACH_IRQ_H -#define __ASM_ARM_MACH_IRQ_H - -#include - -struct seq_file; - -/* - * This is internal. Do not use it. - */ -extern void init_FIQ(int); -extern int show_fiq_list(struct seq_file *, int); - -/* - * This is for easy migration, but should be changed in the source - */ -#define do_bad_IRQ(desc) \ -do { \ - raw_spin_lock(&desc->lock); \ - handle_bad_irq(desc); \ - raw_spin_unlock(&desc->lock); \ -} while(0) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/mach/irq.h + * + * Copyright (C) 1995-2000 Russell King. + */ +#ifndef __ASM_ARM_MACH_IRQ_H +#define __ASM_ARM_MACH_IRQ_H + +#include + +struct seq_file; + +/* + * This is internal. Do not use it. + */ +extern void init_FIQ(int); +extern int show_fiq_list(struct seq_file *, int); + +/* + * This is for easy migration, but should be changed in the source + */ +#define do_bad_IRQ(desc) \ +do { \ + raw_spin_lock(&desc->lock); \ + handle_bad_irq(desc); \ + raw_spin_unlock(&desc->lock); \ +} while(0) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mcs_spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mcs_spinlock.h index 005a26a14c..529d2cf4d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mcs_spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mcs_spinlock.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MCS_LOCK_H -#define __ASM_MCS_LOCK_H - -#ifdef CONFIG_SMP -#include - -/* MCS spin-locking. */ -#define arch_mcs_spin_lock_contended(lock) \ -do { \ - /* Ensure prior stores are observed before we enter wfe. */ \ - smp_mb(); \ - while (!(smp_load_acquire(lock))) \ - wfe(); \ -} while (0) \ - -#define arch_mcs_spin_unlock_contended(lock) \ -do { \ - smp_store_release(lock, 1); \ - dsb_sev(); \ -} while (0) - -#endif /* CONFIG_SMP */ -#endif /* __ASM_MCS_LOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MCS_LOCK_H +#define __ASM_MCS_LOCK_H + +#ifdef CONFIG_SMP +#include + +/* MCS spin-locking. */ +#define arch_mcs_spin_lock_contended(lock) \ +do { \ + /* Ensure prior stores are observed before we enter wfe. */ \ + smp_mb(); \ + while (!(smp_load_acquire(lock))) \ + wfe(); \ +} while (0) \ + +#define arch_mcs_spin_unlock_contended(lock) \ +do { \ + smp_store_release(lock, 1); \ + dsb_sev(); \ +} while (0) + +#endif /* CONFIG_SMP */ +#endif /* __ASM_MCS_LOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mman.h index 2a0472f787..2189e507c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mman.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MMAN_H__ -#define __ASM_MMAN_H__ - -#include -#include - -static inline bool arch_memory_deny_write_exec_supported(void) -{ - return cpu_architecture() >= CPU_ARCH_ARMv6; -} -#define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported - -#endif /* __ASM_MMAN_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MMAN_H__ +#define __ASM_MMAN_H__ + +#include +#include + +static inline bool arch_memory_deny_write_exec_supported(void) +{ + return cpu_architecture() >= CPU_ARCH_ARMv6; +} +#define arch_memory_deny_write_exec_supported arch_memory_deny_write_exec_supported + +#endif /* __ASM_MMAN_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mtd-xip.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mtd-xip.h index ddee46a551..dfcef0152e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mtd-xip.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/mtd-xip.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * MTD primitives for XIP support. Architecture specific functions - * - * Do not include this file directly. It's included from linux/mtd/xip.h - * - * Author: Nicolas Pitre - * Created: Nov 2, 2004 - * Copyright: (C) 2004 MontaVista Software, Inc. - */ - -#ifndef __ARM_MTD_XIP_H__ -#define __ARM_MTD_XIP_H__ - -#include - -/* fill instruction prefetch */ -#define xip_iprefetch() do { asm volatile (".rep 8; nop; .endr"); } while (0) - -#endif /* __ARM_MTD_XIP_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * MTD primitives for XIP support. Architecture specific functions + * + * Do not include this file directly. It's included from linux/mtd/xip.h + * + * Author: Nicolas Pitre + * Created: Nov 2, 2004 + * Copyright: (C) 2004 MontaVista Software, Inc. + */ + +#ifndef __ARM_MTD_XIP_H__ +#define __ARM_MTD_XIP_H__ + +#include + +/* fill instruction prefetch */ +#define xip_iprefetch() do { asm volatile (".rep 8; nop; .endr"); } while (0) + +#endif /* __ARM_MTD_XIP_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-sec.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-sec.h index da03d94a8b..b6f4b35024 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-sec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/opcodes-sec.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2012 ARM Limited - */ - -#ifndef __ASM_ARM_OPCODES_SEC_H -#define __ASM_ARM_OPCODES_SEC_H - -#include - -#define __SMC(imm4) __inst_arm_thumb32( \ - 0xE1600070 | (((imm4) & 0xF) << 0), \ - 0xF7F08000 | (((imm4) & 0xF) << 16) \ -) - -#endif /* __ASM_ARM_OPCODES_SEC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2012 ARM Limited + */ + +#ifndef __ASM_ARM_OPCODES_SEC_H +#define __ASM_ARM_OPCODES_SEC_H + +#include + +#define __SMC(imm4) __inst_arm_thumb32( \ + 0xE1600070 | (((imm4) & 0xF) << 0), \ + 0xF7F08000 | (((imm4) & 0xF) << 16) \ +) + +#endif /* __ASM_ARM_OPCODES_SEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/paravirt.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/paravirt.h index 21963f7e2f..95d5b0d625 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/paravirt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/paravirt.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM_PARAVIRT_H -#define _ASM_ARM_PARAVIRT_H - -#ifdef CONFIG_PARAVIRT -#include - -struct static_key; -extern struct static_key paravirt_steal_enabled; -extern struct static_key paravirt_steal_rq_enabled; - -u64 dummy_steal_clock(int cpu); - -DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); - -static inline u64 paravirt_steal_clock(int cpu) -{ - return static_call(pv_steal_clock)(cpu); -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM_PARAVIRT_H +#define _ASM_ARM_PARAVIRT_H + +#ifdef CONFIG_PARAVIRT +#include + +struct static_key; +extern struct static_key paravirt_steal_enabled; +extern struct static_key paravirt_steal_rq_enabled; + +u64 dummy_steal_clock(int cpu); + +DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); + +static inline u64 paravirt_steal_clock(int cpu) +{ + return static_call(pv_steal_clock)(cpu); +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/patch.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/patch.h index 9014fa5b08..0b48247c46 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/patch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/patch.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ARM_KERNEL_PATCH_H -#define _ARM_KERNEL_PATCH_H - -void patch_text(void *addr, unsigned int insn); -void __patch_text_real(void *addr, unsigned int insn, bool remap); - -static inline void __patch_text(void *addr, unsigned int insn) -{ - __patch_text_real(addr, insn, true); -} - -static inline void __patch_text_early(void *addr, unsigned int insn) -{ - __patch_text_real(addr, insn, false); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ARM_KERNEL_PATCH_H +#define _ARM_KERNEL_PATCH_H + +void patch_text(void *addr, unsigned int insn); +void __patch_text_real(void *addr, unsigned int insn, bool remap); + +static inline void __patch_text(void *addr, unsigned int insn) +{ + __patch_text_real(addr, insn, true); +} + +static inline void __patch_text_early(void *addr, unsigned int insn) +{ + __patch_text_real(addr, insn, false); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/prom.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/prom.h index 60733c2095..402e3f34c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/prom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/prom.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/prom.h - * - * Copyright (C) 2009 Canonical Ltd. - */ -#ifndef __ASMARM_PROM_H -#define __ASMARM_PROM_H - -#ifdef CONFIG_OF - -extern const struct machine_desc *setup_machine_fdt(void *dt_virt); -extern void __init arm_dt_init_cpu_maps(void); - -#else /* CONFIG_OF */ - -static inline const struct machine_desc *setup_machine_fdt(void *dt_virt) -{ - return NULL; -} - -static inline void arm_dt_init_cpu_maps(void) { } - -#endif /* CONFIG_OF */ -#endif /* ASMARM_PROM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/prom.h + * + * Copyright (C) 2009 Canonical Ltd. + */ +#ifndef __ASMARM_PROM_H +#define __ASMARM_PROM_H + +#ifdef CONFIG_OF + +extern const struct machine_desc *setup_machine_fdt(void *dt_virt); +extern void __init arm_dt_init_cpu_maps(void); + +#else /* CONFIG_OF */ + +static inline const struct machine_desc *setup_machine_fdt(void *dt_virt) +{ + return NULL; +} + +static inline void arm_dt_init_cpu_maps(void) { } + +#endif /* CONFIG_OF */ +#endif /* ASMARM_PROM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/psci.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/psci.h index 0e2858ae02..536e155328 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/psci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/psci.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2012 ARM Limited - */ - -#ifndef __ASM_ARM_PSCI_H -#define __ASM_ARM_PSCI_H - -extern const struct smp_operations psci_smp_ops; - -#if defined(CONFIG_SMP) && defined(CONFIG_ARM_PSCI) -bool psci_smp_available(void); -#else -static inline bool psci_smp_available(void) { return false; } -#endif - -#endif /* __ASM_ARM_PSCI_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2012 ARM Limited + */ + +#ifndef __ASM_ARM_PSCI_H +#define __ASM_ARM_PSCI_H + +extern const struct smp_operations psci_smp_ops; + +#if defined(CONFIG_SMP) && defined(CONFIG_ARM_PSCI) +bool psci_smp_available(void); +#else +static inline bool psci_smp_available(void) { return false; } +#endif + +#endif /* __ASM_ARM_PSCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/shmparam.h index 038bf766b2..367a9dac61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/shmparam.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASMARM_SHMPARAM_H -#define _ASMARM_SHMPARAM_H - -/* - * This should be the size of the virtually indexed cache/ways, - * or page size, whichever is greater since the cache aliases - * every size/ways bytes. - */ -#define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ - -/* - * Enforce SHMLBA in shmat - */ -#define __ARCH_FORCE_SHMLBA - -#endif /* _ASMARM_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASMARM_SHMPARAM_H +#define _ASMARM_SHMPARAM_H + +/* + * This should be the size of the virtually indexed cache/ways, + * or page size, whichever is greater since the cache aliases + * every size/ways bytes. + */ +#define SHMLBA (4 * PAGE_SIZE) /* attach addr a multiple of this */ + +/* + * Enforce SHMLBA in shmat + */ +#define __ARCH_FORCE_SHMLBA + +#endif /* _ASMARM_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/smp_twd.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/smp_twd.h index 8c56f9d900..c729d2113a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/smp_twd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/smp_twd.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASMARM_SMP_TWD_H -#define __ASMARM_SMP_TWD_H - -#define TWD_TIMER_LOAD 0x00 -#define TWD_TIMER_COUNTER 0x04 -#define TWD_TIMER_CONTROL 0x08 -#define TWD_TIMER_INTSTAT 0x0C - -#define TWD_WDOG_LOAD 0x20 -#define TWD_WDOG_COUNTER 0x24 -#define TWD_WDOG_CONTROL 0x28 -#define TWD_WDOG_INTSTAT 0x2C -#define TWD_WDOG_RESETSTAT 0x30 -#define TWD_WDOG_DISABLE 0x34 - -#define TWD_TIMER_CONTROL_ENABLE (1 << 0) -#define TWD_TIMER_CONTROL_ONESHOT (0 << 1) -#define TWD_TIMER_CONTROL_PERIODIC (1 << 1) -#define TWD_TIMER_CONTROL_IT_ENABLE (1 << 2) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASMARM_SMP_TWD_H +#define __ASMARM_SMP_TWD_H + +#define TWD_TIMER_LOAD 0x00 +#define TWD_TIMER_COUNTER 0x04 +#define TWD_TIMER_CONTROL 0x08 +#define TWD_TIMER_INTSTAT 0x0C + +#define TWD_WDOG_LOAD 0x20 +#define TWD_WDOG_COUNTER 0x24 +#define TWD_WDOG_CONTROL 0x28 +#define TWD_WDOG_INTSTAT 0x2C +#define TWD_WDOG_RESETSTAT 0x30 +#define TWD_WDOG_DISABLE 0x34 + +#define TWD_TIMER_CONTROL_ENABLE (1 << 0) +#define TWD_TIMER_CONTROL_ONESHOT (0 << 1) +#define TWD_TIMER_CONTROL_PERIODIC (1 << 1) +#define TWD_TIMER_CONTROL_IT_ENABLE (1 << 2) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/spinlock_types.h index ae3e5899b6..0c14b36ef1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/spinlock_types.h @@ -1,34 +1,34 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SPINLOCK_TYPES_H -#define __ASM_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -#define TICKET_SHIFT 16 - -typedef struct { - union { - u32 slock; - struct __raw_tickets { -#ifdef __ARMEB__ - u16 next; - u16 owner; -#else - u16 owner; - u16 next; -#endif - } tickets; - }; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { { 0 } } - -typedef struct { - u32 lock; -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED { 0 } - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SPINLOCK_TYPES_H +#define __ASM_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +#define TICKET_SHIFT 16 + +typedef struct { + union { + u32 slock; + struct __raw_tickets { +#ifdef __ARMEB__ + u16 next; + u16 owner; +#else + u16 owner; + u16 next; +#endif + } tickets; + }; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { { 0 } } + +typedef struct { + u32 lock; +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED { 0 } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/suspend.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/suspend.h index dd4488fcd9..be81b9ca2e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/suspend.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/suspend.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARM_SUSPEND_H -#define __ASM_ARM_SUSPEND_H - -#include - -struct sleep_save_sp { - u32 *save_ptr_stash; - u32 save_ptr_stash_phys; -}; - -extern void cpu_resume(void); -extern void cpu_resume_no_hyp(void); -extern void cpu_resume_arm(void); -extern int cpu_suspend(unsigned long, int (*)(unsigned long)); -extern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARM_SUSPEND_H +#define __ASM_ARM_SUSPEND_H + +#include + +struct sleep_save_sp { + u32 *save_ptr_stash; + u32 save_ptr_stash_phys; +}; + +extern void cpu_resume(void); +extern void cpu_resume_no_hyp(void); +extern void cpu_resume_arm(void); +extern int cpu_suspend(unsigned long, int (*)(unsigned long)); +extern void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/timex.h index 7a59b10619..6d1337c169 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/timex.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/include/asm/timex.h - * - * Copyright (C) 1997,1998 Russell King - * - * Architecture Specific TIME specifications - */ -#ifndef _ASMARM_TIMEX_H -#define _ASMARM_TIMEX_H - -typedef unsigned long cycles_t; -#define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) -#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback()) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/include/asm/timex.h + * + * Copyright (C) 1997,1998 Russell King + * + * Architecture Specific TIME specifications + */ +#ifndef _ASMARM_TIMEX_H +#define _ASMARM_TIMEX_H + +typedef unsigned long cycles_t; +#define get_cycles() ({ cycles_t c; read_current_timer(&c) ? 0 : c; }) +#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback()) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso.h index f4f7e1fbb6..5b85889f82 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VDSO_H -#define __ASM_VDSO_H - -#ifdef __KERNEL__ - -#ifndef __ASSEMBLY__ - -struct mm_struct; - -#ifdef CONFIG_VDSO - -void arm_install_vdso(struct mm_struct *mm, unsigned long addr); - -extern unsigned int vdso_total_pages; - -#else /* CONFIG_VDSO */ - -static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr) -{ -} - -#define vdso_total_pages 0 - -#endif /* CONFIG_VDSO */ - -#endif /* __ASSEMBLY__ */ - -#endif /* __KERNEL__ */ - -#endif /* __ASM_VDSO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VDSO_H +#define __ASM_VDSO_H + +#ifdef __KERNEL__ + +#ifndef __ASSEMBLY__ + +struct mm_struct; + +#ifdef CONFIG_VDSO + +void arm_install_vdso(struct mm_struct *mm, unsigned long addr); + +extern unsigned int vdso_total_pages; + +#else /* CONFIG_VDSO */ + +static inline void arm_install_vdso(struct mm_struct *mm, unsigned long addr) +{ +} + +#define vdso_total_pages 0 + +#endif /* CONFIG_VDSO */ + +#endif /* __ASSEMBLY__ */ + +#endif /* __KERNEL__ */ + +#endif /* __ASM_VDSO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/processor.h index bef432d415..45efb3ff51 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vdso/processor.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327) -#define cpu_relax() \ - do { \ - smp_mb(); \ - __asm__ __volatile__("nop; nop; nop; nop; nop; nop; nop; nop; nop; nop;"); \ - } while (0) -#else -#define cpu_relax() barrier() -#endif - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __ASM_VDSO_PROCESSOR_H +#define __ASM_VDSO_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#if __LINUX_ARM_ARCH__ == 6 || defined(CONFIG_ARM_ERRATA_754327) +#define cpu_relax() \ + do { \ + smp_mb(); \ + __asm__ __volatile__("nop; nop; nop; nop; nop; nop; nop; nop; nop; nop;"); \ + } while (0) +#else +#define cpu_relax() barrier() +#endif + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vga.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vga.h index 74b8a42734..6c430ec371 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vga.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/asm/vga.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASMARM_VGA_H -#define ASMARM_VGA_H - -#include - -extern unsigned long vga_base; -extern struct screen_info vgacon_screen_info; - -#define VGA_MAP_MEM(x,s) (vga_base + (x)) - -#define vga_readb(x) (*((volatile unsigned char *)x)) -#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x)) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASMARM_VGA_H +#define ASMARM_VGA_H + +#include + +extern unsigned long vga_base; +extern struct screen_info vgacon_screen_info; + +#define VGA_MAP_MEM(x,s) (vga_base + (x)) + +#define vga_readb(x) (*((volatile unsigned char *)x)) +#define vga_writeb(x,y) (*((volatile unsigned char *)y) = (x)) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/fcntl.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/fcntl.h index db751064d0..e6b5d7141c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/fcntl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/fcntl.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ARM_FCNTL_H -#define _ARM_FCNTL_H - -#define O_DIRECTORY 040000 /* must be a directory */ -#define O_NOFOLLOW 0100000 /* don't follow links */ -#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ -#define O_LARGEFILE 0400000 - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ARM_FCNTL_H +#define _ARM_FCNTL_H + +#define O_DIRECTORY 040000 /* must be a directory */ +#define O_NOFOLLOW 0100000 /* don't follow links */ +#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ +#define O_LARGEFILE 0400000 + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/perf_regs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/perf_regs.h index f743249b18..a3c046174e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/perf_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/perf_regs.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_ARM_PERF_REGS_H -#define _ASM_ARM_PERF_REGS_H - -enum perf_event_arm_regs { - PERF_REG_ARM_R0, - PERF_REG_ARM_R1, - PERF_REG_ARM_R2, - PERF_REG_ARM_R3, - PERF_REG_ARM_R4, - PERF_REG_ARM_R5, - PERF_REG_ARM_R6, - PERF_REG_ARM_R7, - PERF_REG_ARM_R8, - PERF_REG_ARM_R9, - PERF_REG_ARM_R10, - PERF_REG_ARM_FP, - PERF_REG_ARM_IP, - PERF_REG_ARM_SP, - PERF_REG_ARM_LR, - PERF_REG_ARM_PC, - PERF_REG_ARM_MAX, -}; -#endif /* _ASM_ARM_PERF_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_ARM_PERF_REGS_H +#define _ASM_ARM_PERF_REGS_H + +enum perf_event_arm_regs { + PERF_REG_ARM_R0, + PERF_REG_ARM_R1, + PERF_REG_ARM_R2, + PERF_REG_ARM_R3, + PERF_REG_ARM_R4, + PERF_REG_ARM_R5, + PERF_REG_ARM_R6, + PERF_REG_ARM_R7, + PERF_REG_ARM_R8, + PERF_REG_ARM_R9, + PERF_REG_ARM_R10, + PERF_REG_ARM_FP, + PERF_REG_ARM_IP, + PERF_REG_ARM_SP, + PERF_REG_ARM_LR, + PERF_REG_ARM_PC, + PERF_REG_ARM_MAX, +}; +#endif /* _ASM_ARM_PERF_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/statfs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/statfs.h index 478e0eabb4..177f085400 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/statfs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/include/uapi/asm/statfs.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASMARM_STATFS_H -#define _ASMARM_STATFS_H - -/* - * With EABI there is 4 bytes of padding added to this structure. - * Let's pack it so the padding goes away to simplify dual ABI support. - * Note that user space does NOT have to pack this structure. - */ -#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4))) - -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASMARM_STATFS_H +#define _ASMARM_STATFS_H + +/* + * With EABI there is 4 bytes of padding added to this structure. + * Let's pack it so the padding goes away to simplify dual ABI support. + * Note that user space does NOT have to pack this structure. + */ +#define ARCH_PACK_STATFS64 __attribute__((packed,aligned(4))) + +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/atags.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/atags.h index 884ff7d8c4..f2819c25b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/atags.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/atags.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -void convert_to_tag_list(struct tag *tags); - -#ifdef CONFIG_ATAGS -const struct machine_desc *setup_machine_tags(void *__atags_vaddr, - unsigned int machine_nr); -#else -static inline const struct machine_desc * __init __noreturn -setup_machine_tags(void *__atags_vaddr, unsigned int machine_nr) -{ - early_print("no ATAGS support: can't continue\n"); - while (true); - unreachable(); -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +void convert_to_tag_list(struct tag *tags); + +#ifdef CONFIG_ATAGS +const struct machine_desc *setup_machine_tags(void *__atags_vaddr, + unsigned int machine_nr); +#else +static inline const struct machine_desc * __init __noreturn +setup_machine_tags(void *__atags_vaddr, unsigned int machine_nr) +{ + early_print("no ATAGS support: can't continue\n"); + while (true); + unreachable(); +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/paravirt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/paravirt.c index 8eec0d0a40..7dd9806369 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/paravirt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/paravirt.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2013 Citrix Systems - * - * Author: Stefano Stabellini - */ - -#include -#include -#include -#include -#include - -struct static_key paravirt_steal_enabled; -struct static_key paravirt_steal_rq_enabled; - -static u64 native_steal_clock(int cpu) -{ - return 0; -} - -DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock); +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2013 Citrix Systems + * + * Author: Stefano Stabellini + */ + +#include +#include +#include +#include +#include + +struct static_key paravirt_steal_enabled; +struct static_key paravirt_steal_rq_enabled; + +static u64 native_steal_clock(int cpu) +{ + return 0; +} + +DEFINE_STATIC_CALL(pv_steal_clock, native_steal_clock); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/v7m.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/v7m.c index ab678925f2..094c5c59fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/v7m.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/kernel/v7m.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2013 Uwe Kleine-Koenig for Pengutronix - */ -#include -#include -#include -#include - -void armv7m_restart(enum reboot_mode mode, const char *cmd) -{ - dsb(); - __raw_writel(V7M_SCB_AIRCR_VECTKEY | V7M_SCB_AIRCR_SYSRESETREQ, - BASEADDR_V7M_SCB + V7M_SCB_AIRCR); - dsb(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2013 Uwe Kleine-Koenig for Pengutronix + */ +#include +#include +#include +#include + +void armv7m_restart(enum reboot_mode mode, const char *cmd) +{ + dsb(); + __raw_writel(V7M_SCB_AIRCR_VECTKEY | V7M_SCB_AIRCR_SYSRESETREQ, + BASEADDR_V7M_SCB + V7M_SCB_AIRCR); + dsb(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/csumipv6.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/csumipv6.S index 302e5e31c8..3559d51514 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/csumipv6.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/csumipv6.S @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/csumipv6.S - * - * Copyright (C) 1995-1998 Russell King - */ -#include -#include - - .text - -ENTRY(__csum_ipv6_magic) - str lr, [sp, #-4]! - adds ip, r2, r3 - ldmia r1, {r1 - r3, lr} - adcs ip, ip, r1 - adcs ip, ip, r2 - adcs ip, ip, r3 - adcs ip, ip, lr - ldmia r0, {r0 - r3} - adcs r0, ip, r0 - adcs r0, r0, r1 - adcs r0, r0, r2 - ldr r2, [sp, #4] - adcs r0, r0, r3 - adcs r0, r0, r2 - adcs r0, r0, #0 - ldmfd sp!, {pc} -ENDPROC(__csum_ipv6_magic) - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/csumipv6.S + * + * Copyright (C) 1995-1998 Russell King + */ +#include +#include + + .text + +ENTRY(__csum_ipv6_magic) + str lr, [sp, #-4]! + adds ip, r2, r3 + ldmia r1, {r1 - r3, lr} + adcs ip, ip, r1 + adcs ip, ip, r2 + adcs ip, ip, r3 + adcs ip, ip, lr + ldmia r0, {r0 - r3} + adcs r0, ip, r0 + adcs r0, r0, r1 + adcs r0, r0, r2 + ldr r2, [sp, #4] + adcs r0, r0, r3 + adcs r0, r0, r2 + adcs r0, r0, #0 + ldmfd sp!, {pc} +ENDPROC(__csum_ipv6_magic) + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/memchr.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/memchr.S index 38aa22c6b7..95bedafd03 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/memchr.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/memchr.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/memchr.S - * - * Copyright (C) 1995-2000 Russell King - * - * ASM optimised string functions - */ -#include -#include - - .text - .align 5 -ENTRY(memchr) -1: subs r2, r2, #1 - bmi 2f - ldrb r3, [r0], #1 - teq r3, r1 - bne 1b - sub r0, r0, #1 -2: movne r0, #0 - ret lr -ENDPROC(memchr) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/memchr.S + * + * Copyright (C) 1995-2000 Russell King + * + * ASM optimised string functions + */ +#include +#include + + .text + .align 5 +ENTRY(memchr) +1: subs r2, r2, #1 + bmi 2f + ldrb r3, [r0], #1 + teq r3, r1 + bne 1b + sub r0, r0, #1 +2: movne r0, #0 + ret lr +ENDPROC(memchr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strchr.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strchr.S index 99359f86c0..09e2cc8a89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strchr.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strchr.S @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/strchr.S - * - * Copyright (C) 1995-2000 Russell King - * - * ASM optimised string functions - */ -#include -#include - - .text - .align 5 -ENTRY(strchr) - and r1, r1, #0xff -1: ldrb r2, [r0], #1 - teq r2, r1 - teqne r2, #0 - bne 1b - teq r2, r1 - movne r0, #0 - subeq r0, r0, #1 - ret lr -ENDPROC(strchr) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/strchr.S + * + * Copyright (C) 1995-2000 Russell King + * + * ASM optimised string functions + */ +#include +#include + + .text + .align 5 +ENTRY(strchr) + and r1, r1, #0xff +1: ldrb r2, [r0], #1 + teq r2, r1 + teqne r2, #0 + bne 1b + teq r2, r1 + movne r0, #0 + subeq r0, r0, #1 + ret lr +ENDPROC(strchr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strrchr.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strrchr.S index 3270015d85..5e87247d1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strrchr.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/strrchr.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/strrchr.S - * - * Copyright (C) 1995-2000 Russell King - * - * ASM optimised string functions - */ -#include -#include - - .text - .align 5 -ENTRY(strrchr) - mov r3, #0 -1: ldrb r2, [r0], #1 - teq r2, r1 - subeq r3, r0, #1 - teq r2, #0 - bne 1b - mov r0, r3 - ret lr -ENDPROC(strrchr) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/strrchr.S + * + * Copyright (C) 1995-2000 Russell King + * + * ASM optimised string functions + */ +#include +#include + + .text + .align 5 +ENTRY(strrchr) + mov r3, #0 +1: ldrb r2, [r0], #1 + teq r2, r1 + subeq r3, r0, #1 + teq r2, #0 + bne 1b + mov r0, r3 + ret lr +ENDPROC(strrchr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testchangebit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testchangebit.S index c2ef16c6bd..f13fe9bc23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testchangebit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testchangebit.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/testchangebit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -testop _test_and_change_bit, eor, str - -#if __LINUX_ARM_ARCH__ >= 6 -sync_testop _sync_test_and_change_bit, eor, str -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/testchangebit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +testop _test_and_change_bit, eor, str + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_change_bit, eor, str +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testclearbit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testclearbit.S index b51feaccf7..4d2c5ca620 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testclearbit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testclearbit.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/testclearbit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -testop _test_and_clear_bit, bicne, strne - -#if __LINUX_ARM_ARCH__ >= 6 -sync_testop _sync_test_and_clear_bit, bicne, strne -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/testclearbit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +testop _test_and_clear_bit, bicne, strne + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_clear_bit, bicne, strne +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testsetbit.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testsetbit.S index f86818c572..649dbab65d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testsetbit.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/lib/testsetbit.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/testsetbit.S - * - * Copyright (C) 1995-1996 Russell King - */ -#include -#include -#include "bitops.h" - .text - -testop _test_and_set_bit, orreq, streq - -#if __LINUX_ARM_ARCH__ >= 6 -sync_testop _sync_test_and_set_bit, orreq, streq -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/testsetbit.S + * + * Copyright (C) 1995-1996 Russell King + */ +#include +#include +#include "bitops.h" + .text + +testop _test_and_set_bit, orreq, streq + +#if __LINUX_ARM_ARCH__ >= 6 +sync_testop _sync_test_and_set_bit, orreq, streq +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-actions/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-actions/Kconfig index 1ae1e7df7d..00fb4babcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-actions/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-actions/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_ACTIONS - bool "Actions Semi SoCs" - depends on ARCH_MULTI_V7 - select ARM_AMBA - select ARM_GIC - select ARM_GLOBAL_TIMER - select CACHE_L2X0 - select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK - select GENERIC_IRQ_CHIP - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select OWL_PM_DOMAINS_HELPER - select OWL_TIMER - help - This enables support for the Actions Semiconductor S500 SoC family. +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_ACTIONS + bool "Actions Semi SoCs" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_GIC + select ARM_GLOBAL_TIMER + select CACHE_L2X0 + select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK + select GENERIC_IRQ_CHIP + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select OWL_PM_DOMAINS_HELPER + select OWL_TIMER + help + This enables support for the Actions Semiconductor S500 SoC family. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Kconfig index b58d4f0aa5..6a68a16238 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/Kconfig @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_ALPINE - bool "Annapurna Labs Alpine platform" - depends on ARCH_MULTI_V7 - select ALPINE_MSI - select ARM_AMBA - select ARM_GIC - select GENERIC_IRQ_CHIP - select HAVE_ARM_ARCH_TIMER - select MFD_SYSCON - select FORCE_PCI - select PCI_HOST_GENERIC - help - This enables support for the Annapurna Labs Alpine V1 boards. +# SPDX-License-Identifier: GPL-2.0 +config ARCH_ALPINE + bool "Annapurna Labs Alpine platform" + depends on ARCH_MULTI_V7 + select ALPINE_MSI + select ARM_AMBA + select ARM_GIC + select GENERIC_IRQ_CHIP + select HAVE_ARM_ARCH_TIMER + select MFD_SYSCON + select FORCE_PCI + select PCI_HOST_GENERIC + help + This enables support for the Annapurna Labs Alpine V1 boards. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_pm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_pm.h index 74bfa12c71..398ca6a412 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_pm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-alpine/alpine_cpu_pm.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Low-level power-management support for Alpine platform. - * - * Copyright (C) 2015 Annapurna Labs Ltd. - */ - -#ifndef __ALPINE_CPU_PM_H__ -#define __ALPINE_CPU_PM_H__ - -/* Alpine CPU Power Management Services Initialization */ -void alpine_cpu_pm_init(void); - -/* Wake-up a CPU */ -int alpine_cpu_wakeup(unsigned int phys_cpu, uint32_t phys_resume_addr); - -#endif /* __ALPINE_CPU_PM_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Low-level power-management support for Alpine platform. + * + * Copyright (C) 2015 Annapurna Labs Ltd. + */ + +#ifndef __ALPINE_CPU_PM_H__ +#define __ALPINE_CPU_PM_H__ + +/* Alpine CPU Power Management Services Initialization */ +void alpine_cpu_pm_init(void); + +/* Wake-up a CPU */ +int alpine_cpu_wakeup(unsigned int phys_cpu, uint32_t phys_resume_addr); + +#endif /* __ALPINE_CPU_PM_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Kconfig index c24750ebce..b9a6452d6e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-artpec/Kconfig @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_ARTPEC - bool "Axis Communications ARM based ARTPEC SoCs" - depends on ARCH_MULTI_V7 - -if ARCH_ARTPEC - -config MACH_ARTPEC6 - bool "Axis ARTPEC-6 ARM Cortex A9 Platform" - depends on ARCH_MULTI_V7 - select ARM_AMBA - select ARM_GIC - select ARM_GLOBAL_TIMER - select ARM_PSCI - select HAVE_ARM_ARCH_TIMER - select HAVE_ARM_SCU - select HAVE_ARM_TWD if SMP - select MFD_SYSCON - help - Support for Axis ARTPEC-6 ARM Cortex A9 Platform - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_ARTPEC + bool "Axis Communications ARM based ARTPEC SoCs" + depends on ARCH_MULTI_V7 + +if ARCH_ARTPEC + +config MACH_ARTPEC6 + bool "Axis ARTPEC-6 ARM Cortex A9 Platform" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_GIC + select ARM_GLOBAL_TIMER + select ARM_PSCI + select HAVE_ARM_ARCH_TIMER + select HAVE_ARM_SCU + select HAVE_ARM_TWD if SMP + select MFD_SYSCON + help + Support for Axis ARTPEC-6 ARM Cortex A9 Platform + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam_secure.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam_secure.h index 5db987eac6..1a0b5ebbfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam_secure.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/sam_secure.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2022, Microchip - */ - -#ifndef SAM_SECURE_H -#define SAM_SECURE_H - -#include - -/* Secure Monitor mode APIs */ -#define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400 -#define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401 - -void __init sam_secure_init(void); -struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1); -bool sam_linux_is_optee_available(void); - -#endif /* SAM_SECURE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2022, Microchip + */ + +#ifndef SAM_SECURE_H +#define SAM_SECURE_H + +#include + +/* Secure Monitor mode APIs */ +#define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400 +#define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401 + +void __init sam_secure_init(void); +struct arm_smccc_res sam_smccc_call(u32 fn, u32 arg0, u32 arg1); +bool sam_linux_is_optee_available(void); + +#endif /* SAM_SECURE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/samv7.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/samv7.c index 8723f6a916..22d00005ec 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/samv7.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-at91/samv7.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Setup code for SAMv7x - * - * Copyright (C) 2013 Atmel, - * 2016 Andras Szemzo - */ -#include - -static const char *const samv7_dt_board_compat[] __initconst = { - "atmel,samv7", - NULL -}; - -DT_MACHINE_START(samv7_dt, "Atmel SAMV7") - .dt_compat = samv7_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Setup code for SAMv7x + * + * Copyright (C) 2013 Atmel, + * 2016 Andras Szemzo + */ +#include + +static const char *const samv7_dt_board_compat[] __initconst = { + "atmel,samv7", + NULL +}; + +DT_MACHINE_START(samv7_dt, "Atmel SAMV7") + .dt_compat = samv7_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Kconfig index cb9ff36331..d3eae60379 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/Kconfig @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_AXXIA - bool "LSI Axxia platforms" - depends on ARCH_MULTI_V7 && ARM_LPAE - select ARM_AMBA - select ARM_GIC - select ARM_TIMER_SP804 - select HAVE_ARM_ARCH_TIMER - select MFD_SYSCON - select ZONE_DMA - help - This enables support for the LSI Axxia devices. - - The LSI Axxia platforms require a Flattened Device Tree to be passed - to the kernel. +# SPDX-License-Identifier: GPL-2.0 +config ARCH_AXXIA + bool "LSI Axxia platforms" + depends on ARCH_MULTI_V7 && ARM_LPAE + select ARM_AMBA + select ARM_GIC + select ARM_TIMER_SP804 + select HAVE_ARM_ARCH_TIMER + select MFD_SYSCON + select ZONE_DMA + help + This enables support for the LSI Axxia devices. + + The LSI Axxia platforms require a Flattened Device Tree to be passed + to the kernel. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/axxia.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/axxia.c index 844940038a..e21582a7fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/axxia.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-axxia/axxia.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Support for the LSI Axxia SoC devices based on ARM cores. - * - * Copyright (C) 2012 LSI - */ -#include -#include - -static const char *const axxia_dt_match[] __initconst = { - "lsi,axm5516", - "lsi,axm5516-sim", - "lsi,axm5516-emu", - NULL -}; - -DT_MACHINE_START(AXXIA_DT, "LSI Axxia AXM55XX") - .dt_compat = axxia_dt_match, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Support for the LSI Axxia SoC devices based on ARM cores. + * + * Copyright (C) 2012 LSI + */ +#include +#include + +static const char *const axxia_dt_match[] __initconst = { + "lsi,axm5516", + "lsi,axm5516-sim", + "lsi,axm5516-emu", + NULL +}; + +DT_MACHINE_START(AXXIA_DT, "LSI Axxia AXM55XX") + .dt_compat = axxia_dt_match, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm2711.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm2711.c index c71e42aa42..fa0300d8c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm2711.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm2711.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2019 Stefan Wahren - */ - -#include - -#include - -#include "platsmp.h" - -static const char * const bcm2711_compat[] = { -#ifdef CONFIG_ARCH_MULTI_V7 - "brcm,bcm2711", -#endif - NULL -}; - -DT_MACHINE_START(BCM2711, "BCM2711") -#ifdef CONFIG_ZONE_DMA - .dma_zone_size = SZ_1G, -#endif - .dt_compat = bcm2711_compat, - .smp = smp_ops(bcm2836_smp_ops), -MACHINE_END +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2019 Stefan Wahren + */ + +#include + +#include + +#include "platsmp.h" + +static const char * const bcm2711_compat[] = { +#ifdef CONFIG_ARCH_MULTI_V7 + "brcm,bcm2711", +#endif + NULL +}; + +DT_MACHINE_START(BCM2711, "BCM2711") +#ifdef CONFIG_ZONE_DMA + .dma_zone_size = SZ_1G, +#endif + .dt_compat = bcm2711_compat, + .smp = smp_ops(bcm2836_smp_ops), +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_cygnus.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_cygnus.c index 92d418742c..2469b66cc5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_cygnus.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_cygnus.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2014 Broadcom Corporation - -#include - -static const char * const bcm_cygnus_dt_compat[] __initconst = { - "brcm,cygnus", - NULL, -}; - -DT_MACHINE_START(BCM_CYGNUS_DT, "Broadcom Cygnus SoC") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .dt_compat = bcm_cygnus_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2014 Broadcom Corporation + +#include + +static const char * const bcm_cygnus_dt_compat[] __initconst = { + "brcm,cygnus", + NULL, +}; + +DT_MACHINE_START(BCM_CYGNUS_DT, "Broadcom Cygnus SoC") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .dt_compat = bcm_cygnus_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_kona_smc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_kona_smc.h index 45d3f103a2..17f3811fa5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_kona_smc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/bcm_kona_smc.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright (C) 2013 Broadcom Corporation */ - -#ifndef BCM_KONA_SMC_H -#define BCM_KONA_SMC_H - -#include - -/* Broadcom Secure Service API service IDs, return codes, and exit codes */ -#define SSAPI_ENABLE_L2_CACHE 0x01000002 -#define SEC_ROM_RET_OK 0x00000001 -#define SEC_EXIT_NORMAL 0x1 - -extern int __init bcm_kona_smc_init(void); - -extern unsigned bcm_kona_smc(unsigned service_id, - unsigned arg0, - unsigned arg1, - unsigned arg2, - unsigned arg3); - -#endif /* BCM_KONA_SMC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright (C) 2013 Broadcom Corporation */ + +#ifndef BCM_KONA_SMC_H +#define BCM_KONA_SMC_H + +#include + +/* Broadcom Secure Service API service IDs, return codes, and exit codes */ +#define SSAPI_ENABLE_L2_CACHE 0x01000002 +#define SEC_ROM_RET_OK 0x00000001 +#define SEC_EXIT_NORMAL 0x1 + +extern int __init bcm_kona_smc_init(void); + +extern unsigned bcm_kona_smc(unsigned service_id, + unsigned arg0, + unsigned arg1, + unsigned arg2, + unsigned arg3); + +#endif /* BCM_KONA_SMC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm21664.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm21664.c index aad508940c..9ce9ed092b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm21664.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm21664.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only -// Copyright (C) 2014 Broadcom Corporation - -#include - -#include "kona_l2_cache.h" - -static void __init bcm21664_init(void) -{ - kona_l2_cache_init(); -} - -static const char * const bcm21664_dt_compat[] = { - "brcm,bcm21664", - NULL, -}; - -DT_MACHINE_START(BCM21664_DT, "BCM21664 Broadcom Application Processor") - .init_machine = bcm21664_init, - .dt_compat = bcm21664_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (C) 2014 Broadcom Corporation + +#include + +#include "kona_l2_cache.h" + +static void __init bcm21664_init(void) +{ + kona_l2_cache_init(); +} + +static const char * const bcm21664_dt_compat[] = { + "brcm,bcm21664", + NULL, +}; + +DT_MACHINE_START(BCM21664_DT, "BCM21664 Broadcom Application Processor") + .init_machine = bcm21664_init, + .dt_compat = bcm21664_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm2835.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm2835.c index 3a1c117a5f..bfc556f767 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm2835.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-bcm/board_bcm2835.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2010 Broadcom - */ - -#include -#include -#include - -#include -#include - -#include "platsmp.h" - -static const char * const bcm2835_compat[] = { -#ifdef CONFIG_ARCH_MULTI_V6 - "brcm,bcm2835", -#endif -#ifdef CONFIG_ARCH_MULTI_V7 - "brcm,bcm2836", - "brcm,bcm2837", -#endif - NULL -}; - -DT_MACHINE_START(BCM2835, "BCM2835") - .dt_compat = bcm2835_compat, - .smp = smp_ops(bcm2836_smp_ops), -MACHINE_END +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2010 Broadcom + */ + +#include +#include +#include + +#include +#include + +#include "platsmp.h" + +static const char * const bcm2835_compat[] = { +#ifdef CONFIG_ARCH_MULTI_V6 + "brcm,bcm2835", +#endif +#ifdef CONFIG_ARCH_MULTI_V7 + "brcm,bcm2836", + "brcm,bcm2837", +#endif + NULL +}; + +DT_MACHINE_START(BCM2835, "BCM2835") + .dt_compat = bcm2835_compat, + .smp = smp_ops(bcm2836_smp_ops), +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/berlin.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/berlin.c index a9c7e2cb38..13d5c899f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/berlin.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/berlin.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree support for Marvell Berlin SoCs. - * - * Sebastian Hesselbarth - * - * based on GPL'ed 2.6 kernel sources - * (c) Marvell International Ltd. - */ - -#include - -static const char * const berlin_dt_compat[] = { - "marvell,berlin", - NULL, -}; - -DT_MACHINE_START(BERLIN_DT, "Marvell Berlin") - .dt_compat = berlin_dt_compat, - /* - * with DT probing for L2CCs, berlin_init_machine can be removed. - * Note: 88DE3005 (Armada 1500-mini) uses pl310 l2cc - */ - .l2c_aux_val = 0x30c00000, - .l2c_aux_mask = 0xfeffffff, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree support for Marvell Berlin SoCs. + * + * Sebastian Hesselbarth + * + * based on GPL'ed 2.6 kernel sources + * (c) Marvell International Ltd. + */ + +#include + +static const char * const berlin_dt_compat[] = { + "marvell,berlin", + NULL, +}; + +DT_MACHINE_START(BERLIN_DT, "Marvell Berlin") + .dt_compat = berlin_dt_compat, + /* + * with DT probing for L2CCs, berlin_init_machine can be removed. + * Note: 88DE3005 (Armada 1500-mini) uses pl310 l2cc + */ + .l2c_aux_val = 0x30c00000, + .l2c_aux_mask = 0xfeffffff, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/headsmp.S index d4606b7390..3057885d97 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-berlin/headsmp.S @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2014 Marvell Technology Group Ltd. - * - * Antoine Ténart - */ - -#include -#include -#include - -/* - * If the following instruction is set in the reset exception vector, CPUs - * will fetch the value of the software reset address vector when being - * reset. - */ -.global boot_inst -boot_inst: - ldr pc, [pc, #140] - - .align +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2014 Marvell Technology Group Ltd. + * + * Antoine Ténart + */ + +#include +#include +#include + +/* + * If the following instruction is set in the reset exception vector, CPUs + * will fetch the value of the software reset address vector when being + * reset. + */ +.global boot_inst +boot_inst: + ldr pc, [pc, #140] + + .align diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/Makefile index b5c083add7..31d22a5d8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-davinci/Makefile @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# -# -# -# Common objects -obj-y := common.o sram.o devices-da8xx.o - -obj-$(CONFIG_DAVINCI_MUX) += mux.o - -# Chip specific -obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o -obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o pdata-quirks.o - -obj-y += da8xx-dt.o - -# Power Management -obj-$(CONFIG_HAVE_CLK) += pm_domain.o -ifeq ($(CONFIG_SUSPEND),y) -obj-$(CONFIG_ARCH_DAVINCI_DA850) += pm.o sleep.o -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# +# +# +# Common objects +obj-y := common.o sram.o devices-da8xx.o + +obj-$(CONFIG_DAVINCI_MUX) += mux.o + +# Chip specific +obj-$(CONFIG_ARCH_DAVINCI_DA830) += da830.o +obj-$(CONFIG_ARCH_DAVINCI_DA850) += da850.o pdata-quirks.o + +obj-y += da8xx-dt.o + +# Power Management +obj-$(CONFIG_HAVE_CLK) += pm_domain.o +ifeq ($(CONFIG_SUSPEND),y) +obj-$(CONFIG_ARCH_DAVINCI_DA850) += pm.o sleep.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Kconfig index a89aa48e2c..996888ffcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-dove/Kconfig @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_DOVE - bool "Marvell Dove" if ARCH_MULTI_V7 - depends on ATAGS - select CPU_PJ4 - select GPIOLIB - select MVEBU_MBUS - select PINCTRL - select PINCTRL_DOVE - select PLAT_ORION_LEGACY - select PM_GENERIC_DOMAINS if PM - select PCI_QUIRKS if PCI - help - Support for the Marvell Dove SoC 88AP510 - -if ARCH_DOVE - -config DOVE_LEGACY - bool - -config MACH_CM_A510 - bool "CompuLab CM-A510 Board" - select DOVE_LEGACY - help - Say 'Y' here if you want your kernel to support the - CompuLab CM-A510 Board. - -endif +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_DOVE + bool "Marvell Dove" if ARCH_MULTI_V7 + depends on ATAGS + select CPU_PJ4 + select GPIOLIB + select MVEBU_MBUS + select PINCTRL + select PINCTRL_DOVE + select PLAT_ORION_LEGACY + select PM_GENERIC_DOMAINS if PM + select PCI_QUIRKS if PCI + help + Support for the Marvell Dove SoC 88AP510 + +if ARCH_DOVE + +config DOVE_LEGACY + bool + +config MACH_CM_A510 + bool "CompuLab CM-A510 Board" + select DOVE_LEGACY + help + Say 'Y' here if you want your kernel to support the + CompuLab CM-A510 Board. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/Makefile index c047aaeed6..53fa363c8e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. -# http://www.samsung.com/ - -obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o - -obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o -obj-$(CONFIG_PM_SLEEP) += suspend.o - -obj-$(CONFIG_SMP) += platsmp.o headsmp.o - -obj-$(CONFIG_EXYNOS_MCPM) += mcpm-exynos.o -CFLAGS_mcpm-exynos.o += -march=armv7-a +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. +# http://www.samsung.com/ + +obj-$(CONFIG_ARCH_EXYNOS) += exynos.o exynos-smc.o firmware.o + +obj-$(CONFIG_EXYNOS_CPU_SUSPEND) += pm.o sleep.o +obj-$(CONFIG_PM_SLEEP) += suspend.o + +obj-$(CONFIG_SMP) += platsmp.o headsmp.o + +obj-$(CONFIG_EXYNOS_MCPM) += mcpm-exynos.o +CFLAGS_mcpm-exynos.o += -march=armv7-a diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/exynos-smc.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/exynos-smc.S index e6fffd14b8..6da31e6a7a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/exynos-smc.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-exynos/exynos-smc.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2012 Samsung Electronics. - * - * Copied from omap-smc.S Copyright (C) 2010 Texas Instruments, Inc. - */ - -#include - -/* - * Function signature: void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3) - */ - .arch armv7-a - .arch_extension sec -ENTRY(exynos_smc) - stmfd sp!, {r4-r11, lr} - dsb - smc #0 - ldmfd sp!, {r4-r11, pc} -ENDPROC(exynos_smc) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2012 Samsung Electronics. + * + * Copied from omap-smc.S Copyright (C) 2010 Texas Instruments, Inc. + */ + +#include + +/* + * Function signature: void exynos_smc(u32 cmd, u32 arg1, u32 arg2, u32 arg3) + */ + .arch armv7-a + .arch_extension sec +ENTRY(exynos_smc) + stmfd sp!, {r4-r11, lr} + dsb + smc #0 + ldmfd sp!, {r4-r11, pc} +ENDPROC(exynos_smc) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/Makefile index 5c087f5c84..1553cc01b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -# Object file lists. - -obj-y := common.o isa-irq.o isa.o isa-rtc.o dma-isa.o - -pci-y += dc21285.o -pci-$(CONFIG_ARCH_EBSA285) += ebsa285-pci.o -pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o - -obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o -obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o - -obj-$(CONFIG_PCI) +=$(pci-y) - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +# Object file lists. + +obj-y := common.o isa-irq.o isa.o isa-rtc.o dma-isa.o + +pci-y += dc21285.o +pci-$(CONFIG_ARCH_EBSA285) += ebsa285-pci.o +pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o + +obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o +obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o + +obj-$(CONFIG_PCI) +=$(pci-y) + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/common.h index 21d76ba1b5..e12587db59 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/common.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include - -extern void footbridge_timer_init(void); -extern void isa_timer_init(void); - -extern void isa_rtc_init(void); - -extern void footbridge_map_io(void); -extern void footbridge_init_irq(void); - -extern void isa_init_irq(unsigned int irq); -extern void footbridge_restart(enum reboot_mode, const char *); - -extern void footbridge_sched_clock(void); +/* SPDX-License-Identifier: GPL-2.0 */ +#include + +extern void footbridge_timer_init(void); +extern void isa_timer_init(void); + +extern void isa_rtc_init(void); + +extern void footbridge_map_io(void); +extern void footbridge_init_irq(void); + +extern void isa_init_irq(unsigned int irq); +extern void footbridge_restart(enum reboot_mode, const char *); + +extern void footbridge_sched_clock(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/isa-dma.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/isa-dma.h index f5caa8a74f..b10731a1f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/isa-dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-footbridge/include/mach/isa-dma.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * arch/arm/mach-footbridge/include/mach/isa-dma.h - * - * Architecture DMA routines - * - * Copyright (C) 1998,1999 Russell King - * Copyright (C) 1998,1999 Philip Blundell - */ -#ifndef __ASM_ARCH_DMA_H -#define __ASM_ARCH_DMA_H - -#define MAX_DMA_CHANNELS 8 - -#define DMA_FLOPPY (2) -#define DMA_ISA_CASCADE (4) - -#endif /* _ASM_ARCH_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * arch/arm/mach-footbridge/include/mach/isa-dma.h + * + * Architecture DMA routines + * + * Copyright (C) 1998,1999 Russell King + * Copyright (C) 1998,1999 Philip Blundell + */ +#ifndef __ASM_ARCH_DMA_H +#define __ASM_ARCH_DMA_H + +#define MAX_DMA_CHANNELS 8 + +#define DMA_FLOPPY (2) +#define DMA_ISA_CASCADE (4) + +#endif /* _ASM_ARCH_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Kconfig index adeb68405a..f436a2009e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-gemini/Kconfig @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_GEMINI - bool "Cortina Systems Gemini" - depends on ARCH_MULTI_V4 - depends on CPU_LITTLE_ENDIAN - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select ARM_APPENDED_DTB # Old Redboot bootloaders deployed - select COMMON_CLK_GEMINI - select FARADAY_FTINTC010 - select FTTMR010_TIMER - select GPIO_FTGPIO010 - select GPIOLIB - select PINCTRL - select PINCTRL_GEMINI - select POWER_RESET - select POWER_RESET_GEMINI_POWEROFF - select POWER_RESET_SYSCON - help - Support for the Cortina Systems Gemini family SoCs +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_GEMINI + bool "Cortina Systems Gemini" + depends on ARCH_MULTI_V4 + depends on CPU_LITTLE_ENDIAN + select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA + select ARM_APPENDED_DTB # Old Redboot bootloaders deployed + select COMMON_CLK_GEMINI + select FARADAY_FTINTC010 + select FTTMR010_TIMER + select GPIO_FTGPIO010 + select GPIOLIB + select PINCTRL + select PINCTRL_GEMINI + select POWER_RESET + select POWER_RESET_GEMINI_POWEROFF + select POWER_RESET_SYSCON + help + Support for the Cortina Systems Gemini family SoCs diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Kconfig index 1d77d97e89..c2d6ef6b39 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/Kconfig @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0-only -config ARCH_HIGHBANK - bool "Calxeda ECX-1000/2000 (Highbank/Midway)" - depends on ARCH_MULTI_V7 - select ARM_AMBA - select ARM_ERRATA_764369 if SMP - select ARM_ERRATA_775420 - select ARM_ERRATA_798181 if SMP - select ARM_GIC - select ARM_PSCI - select ARM_TIMER_SP804 - select CACHE_L2X0 - select HAVE_ARM_SCU - select HAVE_ARM_TWD if SMP - select MAILBOX - select PL320_MBOX - select ZONE_DMA if ARM_LPAE +# SPDX-License-Identifier: GPL-2.0-only +config ARCH_HIGHBANK + bool "Calxeda ECX-1000/2000 (Highbank/Midway)" + depends on ARCH_MULTI_V7 + select ARM_AMBA + select ARM_ERRATA_764369 if SMP + select ARM_ERRATA_775420 + select ARM_ERRATA_798181 if SMP + select ARM_GIC + select ARM_PSCI + select ARM_TIMER_SP804 + select CACHE_L2X0 + select HAVE_ARM_SCU + select HAVE_ARM_TWD if SMP + select MAILBOX + select PL320_MBOX + select ZONE_DMA if ARM_LPAE diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/core.h index 6543965570..3991a6594a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/core.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __HIGHBANK_CORE_H -#define __HIGHBANK_CORE_H - -#include - -extern void highbank_restart(enum reboot_mode, const char *); -extern void __iomem *scu_base_addr; - -#ifdef CONFIG_PM_SLEEP -extern void highbank_pm_init(void); -#else -static inline void highbank_pm_init(void) {} -#endif - -extern void highbank_smc1(int fn, int arg); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __HIGHBANK_CORE_H +#define __HIGHBANK_CORE_H + +#include + +extern void highbank_restart(enum reboot_mode, const char *); +extern void __iomem *scu_base_addr; + +#ifdef CONFIG_PM_SLEEP +extern void highbank_pm_init(void); +#else +static inline void highbank_pm_init(void) {} +#endif + +extern void highbank_smc1(int fn, int arg); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/smc.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/smc.S index 133265b5c6..78b3f19e7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/smc.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/smc.S @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copied from omap44xx-smc.S Copyright (C) 2010 Texas Instruments, Inc. - * Copyright 2012 Calxeda, Inc. - */ - -#include - -/* - * This is common routine to manage secure monitor API - * used to modify the PL310 secure registers. - * 'r0' contains the value to be modified and 'r12' contains - * the monitor API number. - * Function signature : void highbank_smc1(u32 fn, u32 arg) - */ - .arch armv7-a - .arch_extension sec -ENTRY(highbank_smc1) - stmfd sp!, {r4-r11, lr} - mov r12, r0 - mov r0, r1 - dsb - smc #0 - ldmfd sp!, {r4-r11, pc} -ENDPROC(highbank_smc1) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copied from omap44xx-smc.S Copyright (C) 2010 Texas Instruments, Inc. + * Copyright 2012 Calxeda, Inc. + */ + +#include + +/* + * This is common routine to manage secure monitor API + * used to modify the PL310 secure registers. + * 'r0' contains the value to be modified and 'r12' contains + * the monitor API number. + * Function signature : void highbank_smc1(u32 fn, u32 arg) + */ + .arch armv7-a + .arch_extension sec +ENTRY(highbank_smc1) + stmfd sp!, {r4-r11, lr} + mov r12, r0 + mov r0, r1 + dsb + smc #0 + ldmfd sp!, {r4-r11, pc} +ENDPROC(highbank_smc1) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/system.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/system.c index 69e4f5fa60..b749c4a6dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/system.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-highbank/system.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2011 Calxeda, Inc. - */ -#include -#include -#include - -#include "core.h" -#include "sysregs.h" - -void highbank_restart(enum reboot_mode mode, const char *cmd) -{ - if (mode == REBOOT_HARD) - highbank_set_pwr_hard_reset(); - else - highbank_set_pwr_soft_reset(); - - while (1) - cpu_do_idle(); -} - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2011 Calxeda, Inc. + */ +#include +#include +#include + +#include "core.h" +#include "sysregs.h" + +void highbank_restart(enum reboot_mode mode, const char *cmd) +{ + if (mode == REBOOT_HARD) + highbank_set_pwr_hard_reset(); + else + highbank_set_pwr_soft_reset(); + + while (1) + cpu_do_idle(); +} + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/core.h index 42a47da3fd..61245274fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-hisi/core.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __HISILICON_CORE_H -#define __HISILICON_CORE_H - -#include - -extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr); -extern int hi3xxx_get_cpu_jump(int cpu); -extern void secondary_startup(void); - -extern void hi3xxx_cpu_die(unsigned int cpu); -extern int hi3xxx_cpu_kill(unsigned int cpu); -extern void hi3xxx_set_cpu(int cpu, bool enable); - -extern void hix5hd2_set_cpu(int cpu, bool enable); -extern void hix5hd2_cpu_die(unsigned int cpu); - -extern void hip01_set_cpu(int cpu, bool enable); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __HISILICON_CORE_H +#define __HISILICON_CORE_H + +#include + +extern void hi3xxx_set_cpu_jump(int cpu, void *jump_addr); +extern int hi3xxx_get_cpu_jump(int cpu); +extern void secondary_startup(void); + +extern void hi3xxx_cpu_die(unsigned int cpu); +extern int hi3xxx_cpu_kill(unsigned int cpu); +extern void hi3xxx_set_cpu(int cpu, bool enable); + +extern void hix5hd2_set_cpu(int cpu, bool enable); +extern void hix5hd2_cpu_die(unsigned int cpu); + +extern void hip01_set_cpu(int cpu, bool enable); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.c index 8a4cdfc9f4..2ce3e0130a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/irq-common.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) BitBox Ltd 2010 - */ - -#include -#include -#include - -#include "irq-common.h" - -int mxc_set_irq_fiq(unsigned int irq, unsigned int type) -{ - struct irq_chip_generic *gc; - struct mxc_extra_irq *exirq; - int ret; - - ret = -ENOSYS; - - gc = irq_get_chip_data(irq); - if (gc && gc->private) { - exirq = gc->private; - if (exirq->set_irq_fiq) { - struct irq_data *d = irq_get_irq_data(irq); - ret = exirq->set_irq_fiq(irqd_to_hwirq(d), type); - } - } - - return ret; -} -EXPORT_SYMBOL(mxc_set_irq_fiq); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) BitBox Ltd 2010 + */ + +#include +#include +#include + +#include "irq-common.h" + +int mxc_set_irq_fiq(unsigned int irq, unsigned int type) +{ + struct irq_chip_generic *gc; + struct mxc_extra_irq *exirq; + int ret; + + ret = -ENOSYS; + + gc = irq_get_chip_data(irq); + if (gc && gc->private) { + exirq = gc->private; + if (exirq->set_irq_fiq) { + struct irq_data *d = irq_get_irq_data(irq); + ret = exirq->set_irq_fiq(irqd_to_hwirq(d), type); + } + } + + return ret; +} +EXPORT_SYMBOL(mxc_set_irq_fiq); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx1.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx1.c index 54f4da1c06..a4688f575f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx1.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx1.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2014 Alexander Shiyan - */ - -#include - -#include "common.h" -#include "hardware.h" - -static void __init imx1_init_early(void) -{ - mxc_set_cpu_type(MXC_CPU_MX1); -} - -static const char * const imx1_dt_board_compat[] __initconst = { - "fsl,imx1", - NULL -}; - -DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)") - .init_early = imx1_init_early, - .dt_compat = imx1_dt_board_compat, - .restart = mxc_restart, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2014 Alexander Shiyan + */ + +#include + +#include "common.h" +#include "hardware.h" + +static void __init imx1_init_early(void) +{ + mxc_set_cpu_type(MXC_CPU_MX1); +} + +static const char * const imx1_dt_board_compat[] __initconst = { + "fsl,imx1", + NULL +}; + +DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)") + .init_early = imx1_init_early, + .dt_compat = imx1_dt_board_compat, + .restart = mxc_restart, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx31.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx31.c index 23fc634ddc..e9a1092b60 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx31.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx31.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2012 Sascha Hauer, Pengutronix - */ - -#include -#include "common.h" - -static const char * const imx31_dt_board_compat[] __initconst = { - "fsl,imx31", - NULL -}; - -DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") - .map_io = mx31_map_io, - .init_early = imx31_init_early, - .dt_compat = imx31_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2012 Sascha Hauer, Pengutronix + */ + +#include +#include "common.h" + +static const char * const imx31_dt_board_compat[] __initconst = { + "fsl,imx31", + NULL +}; + +DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") + .map_io = mx31_map_io, + .init_early = imx31_init_early, + .dt_compat = imx31_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx35.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx35.c index a481680318..35dbc719fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx35.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx35.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2012 Steffen Trumtrar, Pengutronix - * - * based on imx27-dt.c - */ - -#include -#include "common.h" -#include "mx35.h" - -static const char * const imx35_dt_board_compat[] __initconst = { - "fsl,imx35", - NULL -}; - -DT_MACHINE_START(IMX35_DT, "Freescale i.MX35 (Device Tree Support)") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .map_io = mx35_map_io, - .init_early = imx35_init_early, - .dt_compat = imx35_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2012 Steffen Trumtrar, Pengutronix + * + * based on imx27-dt.c + */ + +#include +#include "common.h" +#include "mx35.h" + +static const char * const imx35_dt_board_compat[] __initconst = { + "fsl,imx35", + NULL +}; + +DT_MACHINE_START(IMX35_DT, "Freescale i.MX35 (Device Tree Support)") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .map_io = mx35_map_io, + .init_early = imx35_init_early, + .dt_compat = imx35_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx50.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx50.c index f8eef8a9a1..9dc9d0ae93 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx50.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx50.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013 Greg Ungerer - * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. - * Copyright 2011 Linaro Ltd. - */ - -#include - -#include "common.h" -#include "hardware.h" - -static void __init imx50_init_early(void) -{ - mxc_set_cpu_type(MXC_CPU_MX50); -} - -static const char * const imx50_dt_board_compat[] __initconst = { - "fsl,imx50", - NULL -}; - -DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)") - .init_early = imx50_init_early, - .dt_compat = imx50_dt_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013 Greg Ungerer + * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2011 Linaro Ltd. + */ + +#include + +#include "common.h" +#include "hardware.h" + +static void __init imx50_init_early(void) +{ + mxc_set_cpu_type(MXC_CPU_MX50); +} + +static const char * const imx50_dt_board_compat[] __initconst = { + "fsl,imx50", + NULL +}; + +DT_MACHINE_START(IMX50_DT, "Freescale i.MX50 (Device Tree Support)") + .init_early = imx50_init_early, + .dt_compat = imx50_dt_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx7d-cm4.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx7d-cm4.c index 7e2e0024e7..0800b5891d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx7d-cm4.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imx7d-cm4.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2018 Pengutronix, Oleksij Rempel - */ - -#include -#include -#include - -static const char * const imx7d_cm4_dt_compat[] __initconst = { - "fsl,imx7d-cm4", - NULL, -}; - -DT_MACHINE_START(IMX7D, "Freescale i.MX7 Dual Cortex-M4 (Device Tree)") - .dt_compat = imx7d_cm4_dt_compat, - .restart = armv7m_restart, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2018 Pengutronix, Oleksij Rempel + */ + +#include +#include +#include + +static const char * const imx7d_cm4_dt_compat[] __initconst = { + "fsl,imx7d-cm4", + NULL, +}; + +DT_MACHINE_START(IMX7D, "Freescale i.MX7 Dual Cortex-M4 (Device Tree)") + .dt_compat = imx7d_cm4_dt_compat, + .restart = armv7m_restart, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imxrt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imxrt.c index cf2e8dae19..2063a3059c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imxrt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-imxrt.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 - * Author(s): Giulio Benetti - */ - -#include -#include -#include - -static const char *const imxrt_compat[] __initconst = { - "fsl,imxrt1050", - NULL -}; - -DT_MACHINE_START(IMXRTDT, "IMXRT (Device Tree Support)") - .dt_compat = imxrt_compat, - .restart = armv7m_restart, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti + */ + +#include +#include +#include + +static const char *const imxrt_compat[] __initconst = { + "fsl,imxrt1050", + NULL +}; + +DT_MACHINE_START(IMXRTDT, "IMXRT (Device Tree Support)") + .dt_compat = imxrt_compat, + .restart = armv7m_restart, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-ls1021a.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-ls1021a.c index 844a4332a1..0034359a9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-ls1021a.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mach-ls1021a.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2013-2014 Freescale Semiconductor, Inc. - */ - -#include - -#include "common.h" - -static const char * const ls1021a_dt_compat[] __initconst = { - "fsl,ls1021a", - NULL, -}; - -DT_MACHINE_START(LS1021A, "Freescale LS1021A") - .smp = smp_ops(ls1021a_smp_ops), - .dt_compat = ls1021a_dt_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2013-2014 Freescale Semiconductor, Inc. + */ + +#include + +#include "common.h" + +static const char * const ls1021a_dt_compat[] __initconst = { + "fsl,ls1021a", + NULL, +}; + +DT_MACHINE_START(LS1021A, "Freescale LS1021A") + .smp = smp_ops(ls1021a_smp_ops), + .dt_compat = ls1021a_dt_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx31.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx31.h index a4067c72e3..08a72e25c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx31.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx31.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_MX31_H__ -#define __MACH_MX31_H__ - -#define MX31_AIPS1_BASE_ADDR 0x43f00000 -#define MX31_AIPS1_SIZE SZ_1M -#define MX31_SPBA0_BASE_ADDR 0x50000000 -#define MX31_SPBA0_SIZE SZ_1M -#define MX31_AIPS2_BASE_ADDR 0x53f00000 -#define MX31_AIPS2_SIZE SZ_1M -#define MX31_AVIC_BASE_ADDR 0x68000000 -#define MX31_AVIC_SIZE SZ_1M -#define MX31_X_MEMC_BASE_ADDR 0xb8000000 -#define MX31_X_MEMC_SIZE SZ_64K - -#define MX31_IO_P2V(x) IMX_IO_P2V(x) - -#endif /* ifndef __MACH_MX31_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_MX31_H__ +#define __MACH_MX31_H__ + +#define MX31_AIPS1_BASE_ADDR 0x43f00000 +#define MX31_AIPS1_SIZE SZ_1M +#define MX31_SPBA0_BASE_ADDR 0x50000000 +#define MX31_SPBA0_SIZE SZ_1M +#define MX31_AIPS2_BASE_ADDR 0x53f00000 +#define MX31_AIPS2_SIZE SZ_1M +#define MX31_AVIC_BASE_ADDR 0x68000000 +#define MX31_AVIC_SIZE SZ_1M +#define MX31_X_MEMC_BASE_ADDR 0xb8000000 +#define MX31_X_MEMC_SIZE SZ_64K + +#define MX31_IO_P2V(x) IMX_IO_P2V(x) + +#endif /* ifndef __MACH_MX31_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx35.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx35.h index 7b15b1c6ca..5a8a87a85c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx35.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/mx35.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MACH_MX35_H__ -#define __MACH_MX35_H__ - -#define MX35_AIPS1_BASE_ADDR 0x43f00000 -#define MX35_AIPS1_SIZE SZ_1M -#define MX35_SPBA0_BASE_ADDR 0x50000000 -#define MX35_SPBA0_SIZE SZ_1M -#define MX35_AIPS2_BASE_ADDR 0x53f00000 -#define MX35_AIPS2_SIZE SZ_1M -#define MX35_AVIC_BASE_ADDR 0x68000000 -#define MX35_AVIC_SIZE SZ_1M -#define MX35_X_MEMC_BASE_ADDR 0xb8000000 -#define MX35_X_MEMC_SIZE SZ_64K - -#define MX35_IO_P2V(x) IMX_IO_P2V(x) - -#endif /* ifndef __MACH_MX35_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MACH_MX35_H__ +#define __MACH_MX35_H__ + +#define MX35_AIPS1_BASE_ADDR 0x43f00000 +#define MX35_AIPS1_SIZE SZ_1M +#define MX35_SPBA0_BASE_ADDR 0x50000000 +#define MX35_SPBA0_SIZE SZ_1M +#define MX35_AIPS2_BASE_ADDR 0x53f00000 +#define MX35_AIPS2_SIZE SZ_1M +#define MX35_AVIC_BASE_ADDR 0x68000000 +#define MX35_AVIC_SIZE SZ_1M +#define MX35_X_MEMC_BASE_ADDR 0xb8000000 +#define MX35_X_MEMC_SIZE SZ_64K + +#define MX35_IO_P2V(x) IMX_IO_P2V(x) + +#endif /* ifndef __MACH_MX35_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/pm-imx25.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/pm-imx25.c index 9d4d0f1627..0c574e8607 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/pm-imx25.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/pm-imx25.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2016 NXP Semiconductors - */ - -#include -#include -#include -#include "common.h" - -static int imx25_suspend_enter(suspend_state_t state) -{ - if (!IS_ENABLED(CONFIG_PM)) - return 0; - - switch (state) { - case PM_SUSPEND_MEM: - cpu_do_idle(); - break; - default: - return -EINVAL; - } - - return 0; -} - -static const struct platform_suspend_ops imx25_suspend_ops = { - .enter = imx25_suspend_enter, - .valid = suspend_valid_only_mem, -}; - -void __init imx25_pm_init(void) -{ - suspend_set_ops(&imx25_suspend_ops); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2016 NXP Semiconductors + */ + +#include +#include +#include +#include "common.h" + +static int imx25_suspend_enter(suspend_state_t state) +{ + if (!IS_ENABLED(CONFIG_PM)) + return 0; + + switch (state) { + case PM_SUSPEND_MEM: + cpu_do_idle(); + break; + default: + return -EINVAL; + } + + return 0; +} + +static const struct platform_suspend_ops imx25_suspend_ops = { + .enter = imx25_suspend_enter, + .valid = suspend_valid_only_mem, +}; + +void __init imx25_pm_init(void) +{ + suspend_set_ops(&imx25_suspend_ops); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/resume-imx6.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/resume-imx6.S index 99de5796d6..2c0c5c7712 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/resume-imx6.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/resume-imx6.S @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2014 Freescale Semiconductor, Inc. - */ - -#include -#include -#include -#include -#include "hardware.h" - -.arch armv7-a - -/* - * The following code must assume it is running from physical address - * where absolute virtual addresses to the data section have to be - * turned into relative ones. - */ - -ENTRY(v7_cpu_resume) - bl v7_invalidate_l1 -#ifdef CONFIG_CACHE_L2X0 - bl l2c310_early_resume -#endif - b cpu_resume -ENDPROC(v7_cpu_resume) +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2014 Freescale Semiconductor, Inc. + */ + +#include +#include +#include +#include +#include "hardware.h" + +.arch armv7-a + +/* + * The following code must assume it is running from physical address + * where absolute virtual addresses to the data section have to be + * turned into relative ones. + */ + +ENTRY(v7_cpu_resume) + bl v7_invalidate_l1 +#ifdef CONFIG_CACHE_L2X0 + bl l2c310_early_resume +#endif + b cpu_resume +ENDPROC(v7_cpu_resume) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/ssi-fiq-ksym.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/ssi-fiq-ksym.c index 8f50251a68..c1e7c3ac0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/ssi-fiq-ksym.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-imx/ssi-fiq-ksym.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Exported ksyms for the SSI FIQ handler - * - * Copyright (C) 2009, Sascha Hauer - */ - -#include - -#include - -EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer); -EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer); -EXPORT_SYMBOL(imx_ssi_fiq_start); -EXPORT_SYMBOL(imx_ssi_fiq_end); -EXPORT_SYMBOL(imx_ssi_fiq_base); - +// SPDX-License-Identifier: GPL-2.0-only +/* + * Exported ksyms for the SSI FIQ handler + * + * Copyright (C) 2009, Sascha Hauer + */ + +#include + +#include + +EXPORT_SYMBOL(imx_ssi_fiq_tx_buffer); +EXPORT_SYMBOL(imx_ssi_fiq_rx_buffer); +EXPORT_SYMBOL(imx_ssi_fiq_start); +EXPORT_SYMBOL(imx_ssi_fiq_end); +EXPORT_SYMBOL(imx_ssi_fiq_base); + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/Kconfig index a40c1d4adc..cb46802f5c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/Kconfig @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_IXP4XX - bool "IXP4xx-based platforms" - depends on ARCH_MULTI_V5 - depends on CPU_BIG_ENDIAN - select ARM_APPENDED_DTB # Old Redboot bootloaders deployed - select CPU_XSCALE - select GPIO_IXP4XX - select GPIOLIB - select FORCE_PCI - select I2C - select I2C_IOP3XX - select IXP4XX_IRQ - select IXP4XX_TIMER - select USB_EHCI_BIG_ENDIAN_DESC - select USB_EHCI_BIG_ENDIAN_MMIO - select USE_OF - help - Support for Intel's IXP4XX (XScale) family of processors. +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_IXP4XX + bool "IXP4xx-based platforms" + depends on ARCH_MULTI_V5 + depends on CPU_BIG_ENDIAN + select ARM_APPENDED_DTB # Old Redboot bootloaders deployed + select CPU_XSCALE + select GPIO_IXP4XX + select GPIOLIB + select FORCE_PCI + select I2C + select I2C_IOP3XX + select IXP4XX_IRQ + select IXP4XX_TIMER + select USB_EHCI_BIG_ENDIAN_DESC + select USB_EHCI_BIG_ENDIAN_MMIO + select USE_OF + help + Support for Intel's IXP4XX (XScale) family of processors. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/ixp4xx-of.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/ixp4xx-of.c index 476a1fb172..1b4d84a5b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/ixp4xx-of.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-ixp4xx/ixp4xx-of.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * IXP4xx Device Tree boot support - */ -#include - -/* - * We handle 4 different SoC families. These compatible strings are enough - * to provide the core so that different boards can add their more detailed - * specifics. - */ -static const char *ixp4xx_of_board_compat[] = { - "intel,ixp42x", - "intel,ixp43x", - "intel,ixp45x", - "intel,ixp46x", - NULL, -}; - -DT_MACHINE_START(IXP4XX_DT, "IXP4xx (Device Tree)") - .dt_compat = ixp4xx_of_board_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * IXP4xx Device Tree boot support + */ +#include + +/* + * We handle 4 different SoC families. These compatible strings are enough + * to provide the core so that different boards can add their more detailed + * specifics. + */ +static const char *ixp4xx_of_board_compat[] = { + "intel,ixp42x", + "intel,ixp43x", + "intel,ixp45x", + "intel,ixp46x", + NULL, +}; + +DT_MACHINE_START(IXP4XX_DT, "IXP4xx (Device Tree)") + .dt_compat = ixp4xx_of_board_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-keystone/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-keystone/Kconfig index 0a4b05912d..de69cc2dd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-keystone/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-keystone/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0-only -config ARCH_KEYSTONE - bool "Texas Instruments Keystone Devices" - depends on ARCH_MULTI_V7 - select ARM_GIC - select HAVE_ARM_ARCH_TIMER - select KEYSTONE_TIMER - select ARCH_HAS_RESET_CONTROLLER - select ARM_ERRATA_798181 if SMP - select COMMON_CLK_KEYSTONE - select ZONE_DMA if ARM_LPAE - select PINCTRL - select PM_GENERIC_DOMAINS if PM - help - Support for boards based on the Texas Instruments Keystone family of - SoCs. +# SPDX-License-Identifier: GPL-2.0-only +config ARCH_KEYSTONE + bool "Texas Instruments Keystone Devices" + depends on ARCH_MULTI_V7 + select ARM_GIC + select HAVE_ARM_ARCH_TIMER + select KEYSTONE_TIMER + select ARCH_HAS_RESET_CONTROLLER + select ARM_ERRATA_798181 if SMP + select COMMON_CLK_KEYSTONE + select ZONE_DMA if ARM_LPAE + select PINCTRL + select PM_GENERIC_DOMAINS if PM + help + Support for boards based on the Texas Instruments Keystone family of + SoCs. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc18xx/board-dt.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc18xx/board-dt.c index 84649c9f8c..4729eb8340 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc18xx/board-dt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-lpc18xx/board-dt.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Device Tree board file for NXP LPC18xx/43xx - * - * Copyright (C) 2015 Joachim Eastwood - */ - -#include - -static const char *const lpc18xx_43xx_compat[] __initconst = { - "nxp,lpc1850", - "nxp,lpc4350", - "nxp,lpc4370", - NULL -}; - -DT_MACHINE_START(LPC18XXDT, "NXP LPC18xx/43xx (Device Tree)") - .dt_compat = lpc18xx_43xx_compat, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Device Tree board file for NXP LPC18xx/43xx + * + * Copyright (C) 2015 Joachim Eastwood + */ + +#include + +static const char *const lpc18xx_43xx_compat[] __initconst = { + "nxp,lpc1850", + "nxp,lpc4350", + "nxp,lpc4370", + NULL +}; + +DT_MACHINE_START(LPC18XXDT, "NXP LPC18xx/43xx (Device Tree)") + .dt_compat = lpc18xx_43xx_compat, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Kconfig index 328e0c1e2c..75034fe197 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/Kconfig @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_MESON - bool "Amlogic Meson SoCs" - depends on ARCH_MULTI_V7 - select GPIOLIB - select GENERIC_IRQ_CHIP - select ARM_GIC - select ARM_GLOBAL_TIMER - select CACHE_L2X0 - select PINCTRL - select PINCTRL_MESON - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - -if ARCH_MESON - -config MACH_MESON6 - bool "Amlogic Meson6 (8726MX) SoCs support" - default ARCH_MESON - select MESON6_TIMER - -config MACH_MESON8 - bool "Amlogic Meson8, Meson8b and Meson8m2 SoCs support" - default ARCH_MESON - select MESON6_TIMER - select COMMON_CLK_MESON8B - select MESON_IRQ_GPIO - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_MESON + bool "Amlogic Meson SoCs" + depends on ARCH_MULTI_V7 + select GPIOLIB + select GENERIC_IRQ_CHIP + select ARM_GIC + select ARM_GLOBAL_TIMER + select CACHE_L2X0 + select PINCTRL + select PINCTRL_MESON + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + +if ARCH_MESON + +config MACH_MESON6 + bool "Amlogic Meson6 (8726MX) SoCs support" + default ARCH_MESON + select MESON6_TIMER + +config MACH_MESON8 + bool "Amlogic Meson8, Meson8b and Meson8m2 SoCs support" + default ARCH_MESON + select MESON6_TIMER + select COMMON_CLK_MESON8B + select MESON_IRQ_GPIO + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/meson.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/meson.c index e4939b11be..d3ae89dd84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/meson.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-meson/meson.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2014 Carlo Caione - */ - -#include - -static const char * const meson_common_board_compat[] = { - "amlogic,meson6", - "amlogic,meson8", - "amlogic,meson8b", - "amlogic,meson8m2", - NULL, -}; - -DT_MACHINE_START(MESON, "Amlogic Meson platform") - .dt_compat = meson_common_board_compat, - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2014 Carlo Caione + */ + +#include + +static const char * const meson_common_board_compat[] = { + "amlogic,meson6", + "amlogic,meson8", + "amlogic,meson8b", + "amlogic,meson8m2", + NULL, +}; + +DT_MACHINE_START(MESON, "Amlogic Meson platform") + .dt_compat = meson_common_board_compat, + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-milbeaut/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-milbeaut/Kconfig index 3bbfdfc858..6a576fd852 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-milbeaut/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-milbeaut/Kconfig @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_MILBEAUT - bool "Socionext Milbeaut SoCs" - depends on ARCH_MULTI_V7 - select ARM_GIC - help - This enables support for Socionext Milbeaut SoCs - -if ARCH_MILBEAUT - -config ARCH_MILBEAUT_M10V - bool "Milbeaut SC2000/M10V platform" - select ARM_ARCH_TIMER - select MILBEAUT_TIMER - select PINCTRL - select PINCTRL_MILBEAUT - help - Support for Socionext's MILBEAUT M10V based systems - -endif +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_MILBEAUT + bool "Socionext Milbeaut SoCs" + depends on ARCH_MULTI_V7 + select ARM_GIC + help + This enables support for Socionext Milbeaut SoCs + +if ARCH_MILBEAUT + +config ARCH_MILBEAUT_M10V + bool "Milbeaut SC2000/M10V platform" + select ARM_ARCH_TIMER + select MILBEAUT_TIMER + select PINCTRL + select PINCTRL_MILBEAUT + help + Support for Socionext's MILBEAUT M10V based systems + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp3.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp3.c index 571ac14b08..073a4ee219 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mmp/mmp3.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Marvell MMP3 aka PXA2128 aka 88AP2128 support - * - * Copyright (C) 2019 Lubomir Rintel - */ - -#include -#include - -#include "common.h" - -static const char *const mmp3_dt_board_compat[] __initconst = { - "marvell,mmp3", - NULL, -}; - -DT_MACHINE_START(MMP2_DT, "Marvell MMP3") - .map_io = mmp2_map_io, - .dt_compat = mmp3_dt_board_compat, - .l2c_aux_val = 1 << L310_AUX_CTRL_FWA_SHIFT | - L310_AUX_CTRL_DATA_PREFETCH | - L310_AUX_CTRL_INSTR_PREFETCH, - .l2c_aux_mask = 0xc20fffff, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Marvell MMP3 aka PXA2128 aka 88AP2128 support + * + * Copyright (C) 2019 Lubomir Rintel + */ + +#include +#include + +#include "common.h" + +static const char *const mmp3_dt_board_compat[] __initconst = { + "marvell,mmp3", + NULL, +}; + +DT_MACHINE_START(MMP2_DT, "Marvell MMP3") + .map_io = mmp2_map_io, + .dt_compat = mmp3_dt_board_compat, + .l2c_aux_val = 1 << L310_AUX_CTRL_FWA_SHIFT | + L310_AUX_CTRL_DATA_PREFETCH | + L310_AUX_CTRL_INSTR_PREFETCH, + .l2c_aux_mask = 0xc20fffff, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mstar/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mstar/Kconfig index 69a8663995..fa9709f30b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mstar/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mstar/Kconfig @@ -1,23 +1,23 @@ -menuconfig ARCH_MSTARV7 - bool "MStar/Sigmastar Armv7 SoC Support" - depends on ARCH_MULTI_V7 - select ARM_ERRATA_814220 - select ARM_GIC - select ARM_HEAVY_MB - select HAVE_ARM_ARCH_TIMER - select MST_IRQ - select MSTAR_MSC313_MPLL - help - Support for newer MStar/Sigmastar SoC families that are - based on Armv7 cores like the Cortex A7 and share the same - basic hardware like the infinity and mercury series. - -if ARCH_MSTARV7 - -config MACH_INFINITY - bool "MStar/Sigmastar infinity SoC support" - default ARCH_MSTARV7 - help - Support for MStar/Sigmastar infinity IP camera SoCs. - -endif +menuconfig ARCH_MSTARV7 + bool "MStar/Sigmastar Armv7 SoC Support" + depends on ARCH_MULTI_V7 + select ARM_ERRATA_814220 + select ARM_GIC + select ARM_HEAVY_MB + select HAVE_ARM_ARCH_TIMER + select MST_IRQ + select MSTAR_MSC313_MPLL + help + Support for newer MStar/Sigmastar SoC families that are + based on Armv7 cores like the Cortex A7 and share the same + basic hardware like the infinity and mercury series. + +if ARCH_MSTARV7 + +config MACH_INFINITY + bool "MStar/Sigmastar infinity SoC support" + default ARCH_MSTARV7 + help + Support for MStar/Sigmastar infinity IP camera SoCs. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Kconfig index d1657f6393..9de3bbc09c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mv78xx0/Kconfig @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_MV78XX0 - bool "Marvell MV78xx0" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - depends on ATAGS - select CPU_FEROCEON - select GPIOLIB - select MVEBU_MBUS - select FORCE_PCI - select PLAT_ORION_LEGACY - help - Support for the following Marvell MV78xx0 series SoCs: - MV781x0, MV782x0. - -if ARCH_MV78XX0 - -config MACH_TERASTATION_WXL - bool "Buffalo WLX (Terastation Duo) NAS" - help - Say 'Y' here if you want your kernel to support the - Buffalo WXL Nas. - -endif +# SPDX-License-Identifier: GPL-2.0-only +menuconfig ARCH_MV78XX0 + bool "Marvell MV78xx0" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + depends on ATAGS + select CPU_FEROCEON + select GPIOLIB + select MVEBU_MBUS + select FORCE_PCI + select PLAT_ORION_LEGACY + help + Support for the following Marvell MV78xx0 series SoCs: + MV781x0, MV782x0. + +if ARCH_MV78XX0 + +config MACH_TERASTATION_WXL + bool "Buffalo WLX (Terastation Duo) NAS" + help + Say 'Y' here if you want your kernel to support the + Buffalo WXL Nas. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/Makefile index b5e8a79b17..569768a69f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-$(CONFIG_MACH_MVEBU_ANY) += system-controller.o mvebu-soc-id.o - -ifeq ($(CONFIG_MACH_MVEBU_V7),y) -obj-y += cpu-reset.o board-v7.o coherency.o coherency_ll.o pmsu.o pmsu_ll.o - -obj-$(CONFIG_PM) += pm.o pm-board.o -obj-$(CONFIG_SMP) += platsmp.o headsmp.o platsmp-a9.o headsmp-a9.o -endif - -obj-$(CONFIG_MACH_DOVE) += dove.o - -ifeq ($(CONFIG_MACH_KIRKWOOD),y) -obj-y += kirkwood.o -obj-$(CONFIG_PM) += kirkwood-pm.o -endif +# SPDX-License-Identifier: GPL-2.0 +ccflags-y := -I$(srctree)/arch/arm/plat-orion/include + +obj-$(CONFIG_MACH_MVEBU_ANY) += system-controller.o mvebu-soc-id.o + +ifeq ($(CONFIG_MACH_MVEBU_V7),y) +obj-y += cpu-reset.o board-v7.o coherency.o coherency_ll.o pmsu.o pmsu_ll.o + +obj-$(CONFIG_PM) += pm.o pm-board.o +obj-$(CONFIG_SMP) += platsmp.o headsmp.o platsmp-a9.o headsmp-a9.o +endif + +obj-$(CONFIG_MACH_DOVE) += dove.o + +ifeq ($(CONFIG_MACH_KIRKWOOD),y) +obj-y += kirkwood.o +obj-$(CONFIG_PM) += kirkwood-pm.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/armada-370-xp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/armada-370-xp.h index 9b132e5c9d..c96ecdafe3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/armada-370-xp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/armada-370-xp.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Generic definitions for Marvell Armada_370_XP SoCs - * - * Copyright (C) 2012 Marvell - * - * Lior Amsalem - * Gregory CLEMENT - * Thomas Petazzoni - */ - -#ifndef __MACH_ARMADA_370_XP_H -#define __MACH_ARMADA_370_XP_H - -#ifdef CONFIG_SMP -void armada_xp_secondary_startup(void); -extern const struct smp_operations armada_xp_smp_ops; -#endif - -#endif /* __MACH_ARMADA_370_XP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Generic definitions for Marvell Armada_370_XP SoCs + * + * Copyright (C) 2012 Marvell + * + * Lior Amsalem + * Gregory CLEMENT + * Thomas Petazzoni + */ + +#ifndef __MACH_ARMADA_370_XP_H +#define __MACH_ARMADA_370_XP_H + +#ifdef CONFIG_SMP +void armada_xp_secondary_startup(void); +extern const struct smp_operations armada_xp_smp_ops; +#endif + +#endif /* __MACH_ARMADA_370_XP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/coherency.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/coherency.h index bdb0805bd5..cae866ab48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/coherency.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/coherency.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-mvebu/include/mach/coherency.h - * - * Coherency fabric (Aurora) support for Armada 370 and XP platforms. - * - * Copyright (C) 2012 Marvell - */ - -#ifndef __MACH_370_XP_COHERENCY_H -#define __MACH_370_XP_COHERENCY_H - -extern void __iomem *coherency_base; /* for coherency_ll.S */ -extern unsigned long coherency_phys_base; -int set_cpu_coherent(void); - -int coherency_init(void); -int coherency_available(void); - -#endif /* __MACH_370_XP_COHERENCY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-mvebu/include/mach/coherency.h + * + * Coherency fabric (Aurora) support for Armada 370 and XP platforms. + * + * Copyright (C) 2012 Marvell + */ + +#ifndef __MACH_370_XP_COHERENCY_H +#define __MACH_370_XP_COHERENCY_H + +extern void __iomem *coherency_base; /* for coherency_ll.S */ +extern unsigned long coherency_phys_base; +int set_cpu_coherent(void); + +int coherency_init(void); +int coherency_available(void); + +#endif /* __MACH_370_XP_COHERENCY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/headsmp-a9.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/headsmp-a9.S index a53148f70b..df723cf85c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/headsmp-a9.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/headsmp-a9.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * SMP support: Entry point for secondary CPUs of Marvell EBU - * Cortex-A9 based SOCs (Armada 375 and Armada 38x). - * - * Copyright (C) 2014 Marvell - * - * Gregory CLEMENT - * Thomas Petazzoni - */ - -#include - -#include - -ENTRY(mvebu_cortex_a9_secondary_startup) -ARM_BE8(setend be) - bl armada_38x_scu_power_up - b secondary_startup -ENDPROC(mvebu_cortex_a9_secondary_startup) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * SMP support: Entry point for secondary CPUs of Marvell EBU + * Cortex-A9 based SOCs (Armada 375 and Armada 38x). + * + * Copyright (C) 2014 Marvell + * + * Gregory CLEMENT + * Thomas Petazzoni + */ + +#include + +#include + +ENTRY(mvebu_cortex_a9_secondary_startup) +ARM_BE8(setend be) + bl armada_38x_scu_power_up + b secondary_startup +ENDPROC(mvebu_cortex_a9_secondary_startup) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood-pm.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood-pm.h index d10b6fb14c..7ce7fac39a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood-pm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood-pm.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Power Management driver for Marvell Kirkwood SoCs - * - * Copyright (C) 2013 Ezequiel Garcia - * Copyright (C) 2010 Simon Guinot - */ - -#ifndef __ARCH_KIRKWOOD_PM_H -#define __ARCH_KIRKWOOD_PM_H - -#ifdef CONFIG_PM -void kirkwood_pm_init(void); -#else -static inline void kirkwood_pm_init(void) {}; -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Power Management driver for Marvell Kirkwood SoCs + * + * Copyright (C) 2013 Ezequiel Garcia + * Copyright (C) 2010 Simon Guinot + */ + +#ifndef __ARCH_KIRKWOOD_PM_H +#define __ARCH_KIRKWOOD_PM_H + +#ifdef CONFIG_PM +void kirkwood_pm_init(void); +#else +static inline void kirkwood_pm_init(void) {}; +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood.h index 544ab44ed0..15135994ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mvebu/kirkwood.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-mvebu/kirkwood.h - * - * Generic definitions for Marvell Kirkwood SoC flavors: - * 88F6180, 88F6192 and 88F6281. - */ - -#define KIRKWOOD_REGS_PHYS_BASE 0xf1000000 -#define DDR_PHYS_BASE (KIRKWOOD_REGS_PHYS_BASE + 0x00000) -#define BRIDGE_PHYS_BASE (KIRKWOOD_REGS_PHYS_BASE + 0x20000) - -#define DDR_OPERATION_BASE (DDR_PHYS_BASE + 0x1418) - -#define CPU_CONFIG_PHYS (BRIDGE_PHYS_BASE + 0x0100) -#define CPU_CONFIG_ERROR_PROP 0x00000004 - -#define CPU_CONTROL_PHYS (BRIDGE_PHYS_BASE + 0x0104) -#define MEMORY_PM_CTRL_PHYS (BRIDGE_PHYS_BASE + 0x0118) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-mvebu/kirkwood.h + * + * Generic definitions for Marvell Kirkwood SoC flavors: + * 88F6180, 88F6192 and 88F6281. + */ + +#define KIRKWOOD_REGS_PHYS_BASE 0xf1000000 +#define DDR_PHYS_BASE (KIRKWOOD_REGS_PHYS_BASE + 0x00000) +#define BRIDGE_PHYS_BASE (KIRKWOOD_REGS_PHYS_BASE + 0x20000) + +#define DDR_OPERATION_BASE (DDR_PHYS_BASE + 0x1418) + +#define CPU_CONFIG_PHYS (BRIDGE_PHYS_BASE + 0x0100) +#define CPU_CONFIG_ERROR_PROP 0x00000004 + +#define CPU_CONTROL_PHYS (BRIDGE_PHYS_BASE + 0x0104) +#define MEMORY_PM_CTRL_PHYS (BRIDGE_PHYS_BASE + 0x0118) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Kconfig index dc5b863a31..26dd8b9b73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/Kconfig @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0-only -config SOC_IMX23 - bool - select ARM_AMBA - select ARM_CPU_SUSPEND if PM - select CPU_ARM926T - select PINCTRL_IMX23 - -config SOC_IMX28 - bool - select ARM_AMBA - select ARM_CPU_SUSPEND if PM - select CPU_ARM926T - select PINCTRL_IMX28 - -config ARCH_MXS - bool "Freescale MXS (i.MX23, i.MX28) support" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - select GPIOLIB - select MXS_TIMER - select PINCTRL - select SOC_BUS - select SOC_IMX23 - select SOC_IMX28 - select STMP_DEVICE - help - Support for Freescale MXS-based family of processors +# SPDX-License-Identifier: GPL-2.0-only +config SOC_IMX23 + bool + select ARM_AMBA + select ARM_CPU_SUSPEND if PM + select CPU_ARM926T + select PINCTRL_IMX23 + +config SOC_IMX28 + bool + select ARM_AMBA + select ARM_CPU_SUSPEND if PM + select CPU_ARM926T + select PINCTRL_IMX28 + +config ARCH_MXS + bool "Freescale MXS (i.MX23, i.MX28) support" + depends on ARCH_MULTI_V5 + depends on CPU_LITTLE_ENDIAN + select GPIOLIB + select MXS_TIMER + select PINCTRL + select SOC_BUS + select SOC_IMX23 + select SOC_IMX28 + select STMP_DEVICE + help + Support for Freescale MXS-based family of processors diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.c index b4903a2b70..610eabbc78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-mxs/pm.c @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2010 Freescale Semiconductor, Inc. - */ - -#include -#include -#include -#include "pm.h" - -static int mxs_suspend_enter(suspend_state_t state) -{ - switch (state) { - case PM_SUSPEND_MEM: - cpu_do_idle(); - break; - - default: - return -EINVAL; - } - return 0; -} - -static const struct platform_suspend_ops mxs_suspend_ops = { - .enter = mxs_suspend_enter, - .valid = suspend_valid_only_mem, -}; - -void __init mxs_pm_init(void) -{ - suspend_set_ops(&mxs_suspend_ops); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2010 Freescale Semiconductor, Inc. + */ + +#include +#include +#include +#include "pm.h" + +static int mxs_suspend_enter(suspend_state_t state) +{ + switch (state) { + case PM_SUSPEND_MEM: + cpu_do_idle(); + break; + + default: + return -EINVAL; + } + return 0; +} + +static const struct platform_suspend_ops mxs_suspend_ops = { + .enter = mxs_suspend_enter, + .valid = suspend_valid_only_mem, +}; + +void __init mxs_pm_init(void) +{ + suspend_set_ops(&mxs_suspend_ops); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Makefile index c766f92772..27ae20111b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-nomadik/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# -# Note! Dependencies are done automagically by 'make dep', which also -# removes any old dependencies. DON'T put your own dependencies here -# unless it's something special (ie not a .c file). - -# Object file lists. - -# Cpu revision -obj-$(CONFIG_NOMADIK_8815) += cpu-8815.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux kernel. +# +# Note! Dependencies are done automagically by 'make dep', which also +# removes any old dependencies. DON'T put your own dependencies here +# unless it's something special (ie not a .c file). + +# Object file lists. + +# Cpu revision +obj-$(CONFIG_NOMADIK_8815) += cpu-8815.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/headsmp.S index 93781e3426..84d2b6daaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/headsmp.S @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Nuvoton Technology corporation. -// Copyright 2018 Google, Inc. - -#include -#include -#include - -.arch armv7-a - -/* - * The boot ROM does not start secondary CPUs in SVC mode, so we need to do that - * here. - */ -ENTRY(npcm7xx_secondary_startup) - safe_svcmode_maskall r0 - - b secondary_startup -ENDPROC(npcm7xx_secondary_startup) +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Nuvoton Technology corporation. +// Copyright 2018 Google, Inc. + +#include +#include +#include + +.arch armv7-a + +/* + * The boot ROM does not start secondary CPUs in SVC mode, so we need to do that + * here. + */ +ENTRY(npcm7xx_secondary_startup) + safe_svcmode_maskall r0 + + b secondary_startup +ENDPROC(npcm7xx_secondary_startup) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/npcm7xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/npcm7xx.c index 3edf836a92..c5f77d854c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/npcm7xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-npcm/npcm7xx.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018 Nuvoton Technology corporation. -// Copyright 2018 Google, Inc. - -#include -#include -#include -#include -#include -#include - -static const char *const npcm7xx_dt_match[] = { - "nuvoton,npcm750", - NULL -}; - -DT_MACHINE_START(NPCM7XX_DT, "NPCM7XX Chip family") - .atag_offset = 0x100, - .dt_compat = npcm7xx_dt_match, - .l2c_aux_val = 0x0, - .l2c_aux_mask = ~0x0, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2018 Nuvoton Technology corporation. +// Copyright 2018 Google, Inc. + +#include +#include +#include +#include +#include +#include + +static const char *const npcm7xx_dt_match[] = { + "nuvoton,npcm750", + NULL +}; + +DT_MACHINE_START(NPCM7XX_DT, "NPCM7XX Chip family") + .atag_offset = 0x100, + .dt_compat = npcm7xx_dt_match, + .l2c_aux_val = 0x0, + .l2c_aux_mask = ~0x0, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.c index aaf0c9cb6b..0a3ddb3b66 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/flash.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Flash support for OMAP1 - */ - -#include -#include -#include -#include - -#include "tc.h" - -#include "flash.h" - - -void omap1_set_vpp(struct platform_device *pdev, int enable) -{ - u32 l; - - l = omap_readl(EMIFS_CONFIG); - if (enable) - l |= OMAP_EMIFS_CONFIG_WP; - else - l &= ~OMAP_EMIFS_CONFIG_WP; - omap_writel(l, EMIFS_CONFIG); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Flash support for OMAP1 + */ + +#include +#include +#include +#include + +#include "tc.h" + +#include "flash.h" + + +void omap1_set_vpp(struct platform_device *pdev, int enable) +{ + u32 l; + + l = omap_readl(EMIFS_CONFIG); + if (enable) + l |= OMAP_EMIFS_CONFIG_WP; + else + l &= ~OMAP_EMIFS_CONFIG_WP; + omap_writel(l, EMIFS_CONFIG); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/mmc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/mmc.h index 1b72af2fac..043bd02f3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/mmc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/mmc.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -#define OMAP15XX_NR_MMC 1 -#define OMAP16XX_NR_MMC 2 -#define OMAP1_MMC_SIZE 0x080 -#define OMAP1_MMC1_BASE 0xfffb7800 -#define OMAP1_MMC2_BASE 0xfffb7c00 /* omap16xx only */ - -#if IS_ENABLED(CONFIG_MMC_OMAP) -void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, - int nr_controllers); -#else -static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, - int nr_controllers) -{ -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +#define OMAP15XX_NR_MMC 1 +#define OMAP16XX_NR_MMC 2 +#define OMAP1_MMC_SIZE 0x080 +#define OMAP1_MMC1_BASE 0xfffb7800 +#define OMAP1_MMC2_BASE 0xfffb7c00 /* omap16xx only */ + +#if IS_ENABLED(CONFIG_MMC_OMAP) +void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, + int nr_controllers); +#else +static inline void omap1_init_mmc(struct omap_mmc_platform_data **mmc_data, + int nr_controllers) +{ +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/opp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/opp.h index 02e85919df..5b8b9c8edf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/opp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap1/opp.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/mach-omap1/opp.h - * - * Copyright (C) 2004 - 2005 Nokia corporation - * Written by Tuukka Tikkanen - * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc - */ - -#ifndef __ARCH_ARM_MACH_OMAP1_OPP_H -#define __ARCH_ARM_MACH_OMAP1_OPP_H - -#include - -struct mpu_rate { - unsigned long rate; - unsigned long xtal; - unsigned long pll_rate; - __u16 ckctl_val; - __u16 dpllctl_val; - u32 flags; -}; - -extern struct mpu_rate omap1_rate_table[]; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/mach-omap1/opp.h + * + * Copyright (C) 2004 - 2005 Nokia corporation + * Written by Tuukka Tikkanen + * Based on clocks.h by Tony Lindgren, Gordon McNutt and RidgeRun, Inc + */ + +#ifndef __ARCH_ARM_MACH_OMAP1_OPP_H +#define __ARCH_ARM_MACH_OMAP1_OPP_H + +#include + +struct mpu_rate { + unsigned long rate; + unsigned long xtal; + unsigned long pll_rate; + __u16 ckctl_val; + __u16 dpllctl_val; + u32 flags; +}; + +extern struct mpu_rate omap1_rate_table[]; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx.h index 3ba27253f4..32bcfcf348 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/am33xx.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * This file contains the address info for various AM33XX modules. - * - * Copyright (C) 2011 Texas Instruments, Inc. - https://www.ti.com/ - */ - -#ifndef __ASM_ARCH_AM33XX_H -#define __ASM_ARCH_AM33XX_H - -#define L4_SLOW_AM33XX_BASE 0x48000000 - -#define AM33XX_SCM_BASE 0x44E10000 -#define AM33XX_CTRL_BASE AM33XX_SCM_BASE -#define AM33XX_PRCM_BASE 0x44E00000 -#define AM43XX_PRCM_BASE 0x44DF0000 -#define AM33XX_TAP_BASE (AM33XX_CTRL_BASE + 0x3FC) - -#endif /* __ASM_ARCH_AM33XX_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * This file contains the address info for various AM33XX modules. + * + * Copyright (C) 2011 Texas Instruments, Inc. - https://www.ti.com/ + */ + +#ifndef __ASM_ARCH_AM33XX_H +#define __ASM_ARCH_AM33XX_H + +#define L4_SLOW_AM33XX_BASE 0x48000000 + +#define AM33XX_SCM_BASE 0x44E10000 +#define AM33XX_CTRL_BASE AM33XX_SCM_BASE +#define AM33XX_PRCM_BASE 0x44E00000 +#define AM43XX_PRCM_BASE 0x44DF0000 +#define AM33XX_TAP_BASE (AM33XX_CTRL_BASE + 0x3FC) + +#endif /* __ASM_ARCH_AM33XX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/clock2xxx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/clock2xxx.h index ce0d531336..73c011dadf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/clock2xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/clock2xxx.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * OMAP2 clock function prototypes and macros - * - * Copyright (C) 2005-2010 Texas Instruments, Inc. - * Copyright (C) 2004-2010 Nokia Corporation - */ - -#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK2XXX_H -#define __ARCH_ARM_MACH_OMAP2_CLOCK2XXX_H - -#include -#include "clock.h" - -unsigned long omap2xxx_clk_get_core_rate(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * OMAP2 clock function prototypes and macros + * + * Copyright (C) 2005-2010 Texas Instruments, Inc. + * Copyright (C) 2004-2010 Nokia Corporation + */ + +#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK2XXX_H +#define __ARCH_ARM_MACH_OMAP2_CLOCK2XXX_H + +#include +#include "clock.h" + +unsigned long omap2xxx_clk_get_core_rate(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/display.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/display.h index 78e2ce264a..22ffca68f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/display.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/display.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * display.h - OMAP2+ integration-specific DSS header - * - * Copyright (C) 2011 Texas Instruments, Inc. - */ - -#ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H -#define __ARCH_ARM_MACH_OMAP2_DISPLAY_H - -#include - -struct omap_dss_dispc_dev_attr { - u8 manager_count; - bool has_framedonetv_irq; -}; - -int omap_init_vrfb(void); -int omap_init_fb(void); -int omap_init_vout(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * display.h - OMAP2+ integration-specific DSS header + * + * Copyright (C) 2011 Texas Instruments, Inc. + */ + +#ifndef __ARCH_ARM_MACH_OMAP2_DISPLAY_H +#define __ARCH_ARM_MACH_OMAP2_DISPLAY_H + +#include + +struct omap_dss_dispc_dev_attr { + u8 manager_count; + bool has_framedonetv_irq; +}; + +int omap_init_vrfb(void); +int omap_init_fb(void); +int omap_init_vout(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/hdq1w.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/hdq1w.h index 828370ade9..2e2f1e88af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/hdq1w.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/hdq1w.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Shared macros and function prototypes for the HDQ1W/1-wire IP block - * - * Copyright (C) 2012 Texas Instruments, Inc. - * Paul Walmsley - */ -#ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H -#define ARCH_ARM_MACH_OMAP2_HDQ1W_H - -#include "omap_hwmod.h" - -/* - * XXX A future cleanup patch should modify - * drivers/w1/masters/omap_hdq.c to use these macros - */ -#define HDQ_CTRL_STATUS_OFFSET 0x0c -#define HDQ_CTRL_STATUS_CLOCKENABLE_SHIFT 5 - - -extern int omap_hdq1w_reset(struct omap_hwmod *oh); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Shared macros and function prototypes for the HDQ1W/1-wire IP block + * + * Copyright (C) 2012 Texas Instruments, Inc. + * Paul Walmsley + */ +#ifndef ARCH_ARM_MACH_OMAP2_HDQ1W_H +#define ARCH_ARM_MACH_OMAP2_HDQ1W_H + +#include "omap_hwmod.h" + +/* + * XXX A future cleanup patch should modify + * drivers/w1/masters/omap_hdq.c to use these macros + */ +#define HDQ_CTRL_STATUS_OFFSET 0x0c +#define HDQ_CTRL_STATUS_CLOCKENABLE_SHIFT 5 + + +extern int omap_hdq1w_reset(struct omap_hwmod *oh); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_2xxx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_2xxx.h index 7b898887c7..6297c62428 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_2xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_2xxx.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/arm/plat-omap/include/plat/l3_2xxx.h - L3 firewall definitions - * - * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ - * Sumit Semwal - */ -#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_2XXX_H -#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_2XXX_H - -/* L3 CONNIDs */ -/* Display Sub system (DSS) */ -#define OMAP2_L3_CORE_FW_CONNID_DSS 8 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/arm/plat-omap/include/plat/l3_2xxx.h - L3 firewall definitions + * + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ + * Sumit Semwal + */ +#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_2XXX_H +#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_2XXX_H + +/* L3 CONNIDs */ +/* Display Sub system (DSS) */ +#define OMAP2_L3_CORE_FW_CONNID_DSS 8 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_3xxx.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_3xxx.h index 53d04b6442..60ea7b201f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_3xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/l3_3xxx.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/arm/plat-omap/include/plat/l3_3xxx.h - L3 firewall definitions - * - * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ - * Sumit Semwal - */ -#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_3XXX_H -#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_3XXX_H - -/* L3 Initiator IDs */ -/* Display Sub system (DSS) */ -#define OMAP3_L3_CORE_FW_INIT_ID_DSS 29 - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/arm/plat-omap/include/plat/l3_3xxx.h - L3 firewall definitions + * + * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ + * Sumit Semwal + */ +#ifndef __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_3XXX_H +#define __ARCH_ARM_PLAT_OMAP_INCLUDE_PLAT_L3_3XXX_H + +/* L3 Initiator IDs */ +/* Display Sub system (DSS) */ +#define OMAP3_L3_CORE_FW_INIT_ID_DSS 29 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/mmc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/mmc.h index d335d95bdc..b5533e93cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/mmc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/mmc.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#define OMAP24XX_NR_MMC 2 -#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE -#define OMAP2_MMC1_BASE 0x4809c000 - -#define OMAP4_MMC_REG_OFFSET 0x100 - -struct omap_hwmod; - -#ifdef CONFIG_SOC_OMAP2420 -int omap_msdi_reset(struct omap_hwmod *oh); -#else -static inline int omap_msdi_reset(struct omap_hwmod *oh) -{ - return 0; -} -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#define OMAP24XX_NR_MMC 2 +#define OMAP2420_MMC_SIZE OMAP1_MMC_SIZE +#define OMAP2_MMC1_BASE 0x4809c000 + +#define OMAP4_MMC_REG_OFFSET 0x100 + +struct omap_hwmod; + +#ifdef CONFIG_SOC_OMAP2420 +int omap_msdi_reset(struct omap_hwmod *oh); +#else +static inline int omap_msdi_reset(struct omap_hwmod *oh) +{ + return 0; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h index 8536e0cd9c..d7cc26af5b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/powerdomains2xxx_3xxx_data.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * OMAP2/3 common powerdomains - prototypes - * - * Copyright (C) 2008 Texas Instruments, Inc. - * Copyright (C) 2008-2010 Nokia Corporation - * - * Paul Walmsley - */ - -#ifndef __ARCH_ARM_MACH_OMAP2_POWERDOMAINS2XXX_3XXX_DATA_H -#define __ARCH_ARM_MACH_OMAP2_POWERDOMAINS2XXX_3XXX_DATA_H - -#include "powerdomain.h" - -extern struct powerdomain gfx_omap2_pwrdm; -extern struct powerdomain wkup_omap2_pwrdm; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * OMAP2/3 common powerdomains - prototypes + * + * Copyright (C) 2008 Texas Instruments, Inc. + * Copyright (C) 2008-2010 Nokia Corporation + * + * Paul Walmsley + */ + +#ifndef __ARCH_ARM_MACH_OMAP2_POWERDOMAINS2XXX_3XXX_DATA_H +#define __ARCH_ARM_MACH_OMAP2_POWERDOMAINS2XXX_3XXX_DATA_H + +#include "powerdomain.h" + +extern struct powerdomain gfx_omap2_pwrdm; +extern struct powerdomain wkup_omap2_pwrdm; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/voltagedomains2xxx_data.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/voltagedomains2xxx_data.c index 52cd5befd2..9bc116fe3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/voltagedomains2xxx_data.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-omap2/voltagedomains2xxx_data.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * OMAP3 voltage domain data - * - * Copyright (C) 2011 Texas Instruments, Inc. - */ -#include -#include - -#include "voltage.h" - -static struct voltagedomain omap2_voltdm_core = { - .name = "core", -}; - -static struct voltagedomain omap2_voltdm_wkup = { - .name = "wakeup", -}; - -static struct voltagedomain *voltagedomains_omap2[] __initdata = { - &omap2_voltdm_core, - &omap2_voltdm_wkup, - NULL, -}; - -void __init omap2xxx_voltagedomains_init(void) -{ - voltdm_init(voltagedomains_omap2); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * OMAP3 voltage domain data + * + * Copyright (C) 2011 Texas Instruments, Inc. + */ +#include +#include + +#include "voltage.h" + +static struct voltagedomain omap2_voltdm_core = { + .name = "core", +}; + +static struct voltagedomain omap2_voltdm_wkup = { + .name = "wakeup", +}; + +static struct voltagedomain *voltagedomains_omap2[] __initdata = { + &omap2_voltdm_core, + &omap2_voltdm_wkup, + NULL, +}; + +void __init omap2xxx_voltagedomains_init(void) +{ + voltdm_init(voltagedomains_omap2); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/tsx09-common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/tsx09-common.h index dc1207dcdf..72bedc6b82 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/tsx09-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-orion5x/tsx09-common.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARCH_ORION5X_TSX09_COMMON_H -#define __ARCH_ORION5X_TSX09_COMMON_H - -/* - * QNAP TS-x09 Boards power-off function - */ -extern void qnap_tsx09_power_off(void); - -/* - * QNAP TS-x09 Boards function to find Ethernet MAC address in flash memory - */ -extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size); - -/* - * QNAP TS-x09 Boards ethernet declaration - */ -extern struct mv643xx_eth_platform_data qnap_tsx09_eth_data; - - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ARCH_ORION5X_TSX09_COMMON_H +#define __ARCH_ORION5X_TSX09_COMMON_H + +/* + * QNAP TS-x09 Boards power-off function + */ +extern void qnap_tsx09_power_off(void); + +/* + * QNAP TS-x09 Boards function to find Ethernet MAC address in flash memory + */ +extern void __init qnap_tsx09_find_mac_addr(u32 mem_base, u32 size); + +/* + * QNAP TS-x09 Boards ethernet declaration + */ +extern struct mv643xx_eth_platform_data qnap_tsx09_eth_data; + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/mfp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/mfp.h index c9af6350e4..7e0879bd41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/mfp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-pxa/mfp.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-pxa/include/mach/mfp.h - * - * Multi-Function Pin Definitions - * - * Copyright (C) 2007 Marvell International Ltd. - * - * 2007-8-21: eric miao - * initial version - */ - -#ifndef __ASM_ARCH_MFP_H -#define __ASM_ARCH_MFP_H - -#include - -#endif /* __ASM_ARCH_MFP_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-pxa/include/mach/mfp.h + * + * Multi-Function Pin Definitions + * + * Copyright (C) 2007 Marvell International Ltd. + * + * 2007-8-21: eric miao + * initial version + */ + +#ifndef __ASM_ARCH_MFP_H +#define __ASM_ARCH_MFP_H + +#include + +#endif /* __ASM_ARCH_MFP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/headsmp.S index 4233b9c0d0..37a7ea524a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rockchip/headsmp.S @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2013 MundoReader S.L. - * Author: Heiko Stuebner - */ -#include -#include - -ENTRY(rockchip_secondary_trampoline) - ldr pc, 1f -ENDPROC(rockchip_secondary_trampoline) - .globl rockchip_boot_fn -rockchip_boot_fn: -1: .space 4 - -ENTRY(rockchip_secondary_trampoline_end) +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2013 MundoReader S.L. + * Author: Heiko Stuebner + */ +#include +#include + +ENTRY(rockchip_secondary_trampoline) + ldr pc, 1f +ENDPROC(rockchip_secondary_trampoline) + .globl rockchip_boot_fn +rockchip_boot_fn: +1: .space 4 + +ENTRY(rockchip_secondary_trampoline_end) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/fiq.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/fiq.S index b327134535..087bdf4bc0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/fiq.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/fiq.S @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include - - .equ ioc_base_high, IOC_BASE & 0xff000000 - .equ ioc_base_low, IOC_BASE & 0x00ff0000 - - .text - .global rpc_default_fiq_end -ENTRY(rpc_default_fiq_start) - mov r12, #ioc_base_high - .if ioc_base_low - orr r12, r12, #ioc_base_low - .endif - strb r12, [r12, #0x38] @ Disable FIQ register - subs pc, lr, #4 -rpc_default_fiq_end: +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include + + .equ ioc_base_high, IOC_BASE & 0xff000000 + .equ ioc_base_low, IOC_BASE & 0x00ff0000 + + .text + .global rpc_default_fiq_end +ENTRY(rpc_default_fiq_start) + mov r12, #ioc_base_high + .if ioc_base_low + orr r12, r12, #ioc_base_low + .endif + strb r12, [r12, #0x38] @ Disable FIQ register + subs pc, lr, #4 +rpc_default_fiq_end: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/floppydma.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/floppydma.S index a660f6b285..6698b83050 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/floppydma.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/floppydma.S @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/floppydma.S - * - * Copyright (C) 1995, 1996 Russell King - */ -#include -#include - .text - - .global floppy_fiqin_end -ENTRY(floppy_fiqin_start) - subs r9, r9, #1 - ldrbgt r12, [r11, #-4] - ldrble r12, [r11], #0 - strb r12, [r10], #1 - subs pc, lr, #4 -floppy_fiqin_end: - - .global floppy_fiqout_end -ENTRY(floppy_fiqout_start) - subs r9, r9, #1 - ldrbge r12, [r10], #1 - movlt r12, #0 - strble r12, [r11], #0 - subsle pc, lr, #4 - strb r12, [r11, #-4] - subs pc, lr, #4 -floppy_fiqout_end: +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/floppydma.S + * + * Copyright (C) 1995, 1996 Russell King + */ +#include +#include + .text + + .global floppy_fiqin_end +ENTRY(floppy_fiqin_start) + subs r9, r9, #1 + ldrbgt r12, [r11, #-4] + ldrble r12, [r11], #0 + strb r12, [r10], #1 + subs pc, lr, #4 +floppy_fiqin_end: + + .global floppy_fiqout_end +ENTRY(floppy_fiqout_start) + subs r9, r9, #1 + ldrbge r12, [r10], #1 + movlt r12, #0 + strble r12, [r11], #0 + subsle pc, lr, #4 + strb r12, [r11, #-4] + subs pc, lr, #4 +floppy_fiqout_end: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/isa-dma.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/isa-dma.h index 95509822cc..d9c3af1ef7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/isa-dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/include/mach/isa-dma.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-rpc/include/mach/isa-dma.h - * - * Copyright (C) 1997 Russell King - */ -#ifndef __ASM_ARCH_DMA_H -#define __ASM_ARCH_DMA_H - -#define MAX_DMA_CHANNELS 8 - -#define DMA_0 0 -#define DMA_1 1 -#define DMA_2 2 -#define DMA_3 3 -#define DMA_S0 4 -#define DMA_S1 5 -#define DMA_VIRTUAL_FLOPPY 6 -#define DMA_VIRTUAL_SOUND 7 - -#define DMA_FLOPPY DMA_VIRTUAL_FLOPPY - -#define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1) - -#endif /* _ASM_ARCH_DMA_H */ - +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-rpc/include/mach/isa-dma.h + * + * Copyright (C) 1997 Russell King + */ +#ifndef __ASM_ARCH_DMA_H +#define __ASM_ARCH_DMA_H + +#define MAX_DMA_CHANNELS 8 + +#define DMA_0 0 +#define DMA_1 1 +#define DMA_2 2 +#define DMA_3 3 +#define DMA_S0 4 +#define DMA_S1 5 +#define DMA_VIRTUAL_FLOPPY 6 +#define DMA_VIRTUAL_SOUND 7 + +#define DMA_FLOPPY DMA_VIRTUAL_FLOPPY + +#define IOMD_DMA_BOUNDARY (PAGE_SIZE - 1) + +#endif /* _ASM_ARCH_DMA_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/io-acorn.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/io-acorn.S index a7540835af..aa9bf0d771 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/io-acorn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-rpc/io-acorn.S @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/io-acorn.S - * - * Copyright (C) 1995, 1996 Russell King - * - * 27/03/03 Ian Molton Clean up CONFIG_CPU - */ -#include -#include -#include - - .text - .align - -.Liosl_warning: - .ascii KERN_WARNING "insl/outsl not implemented, called from %08lX\0" - .align - -/* - * These make no sense on Acorn machines. - * Print a warning message. - */ -ENTRY(insl) -ENTRY(outsl) - adr r0, .Liosl_warning - mov r1, lr - b _printk +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm/lib/io-acorn.S + * + * Copyright (C) 1995, 1996 Russell King + * + * 27/03/03 Ian Molton Clean up CONFIG_CPU + */ +#include +#include +#include + + .text + .align + +.Liosl_warning: + .ascii KERN_WARNING "insl/outsl not implemented, called from %08lX\0" + .align + +/* + * These make no sense on Acorn machines. + * Print a warning message. + */ +ENTRY(insl) +ENTRY(outsl) + adr r0, .Liosl_warning + mov r1, lr + b _printk diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/Makefile index 2d73bb4f5f..988c496727 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/Makefile @@ -1,23 +1,23 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright 2009 Simtec Electronics - -include $(src)/Makefile.s3c64xx - -# Objects we always build independent of SoC choice - -obj-y += init.o cpu.o - -# devices - -obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o -obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o -obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o - -obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o - -# PM support - -obj-$(CONFIG_SAMSUNG_PM) += pm.o pm-common.o -obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o -obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright 2009 Simtec Electronics + +include $(src)/Makefile.s3c64xx + +# Objects we always build independent of SoC choice + +obj-y += init.o cpu.o + +# devices + +obj-$(CONFIG_SAMSUNG_ATAGS) += platformdata.o +obj-$(CONFIG_SAMSUNG_ATAGS) += devs.o +obj-$(CONFIG_SAMSUNG_ATAGS) += dev-uart.o + +obj-$(CONFIG_GPIO_SAMSUNG) += gpio-samsung.o + +# PM support + +obj-$(CONFIG_SAMSUNG_PM) += pm.o pm-common.o +obj-$(CONFIG_SAMSUNG_PM_GPIO) += pm-gpio.o +obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s5p.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s5p.h index bb7dedc090..cd237924e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s5p.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/map-s5p.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2010 Samsung Electronics Co., Ltd. - * http://www.samsung.com/ - * - * S5P - Memory map definitions - */ - -#ifndef __ASM_PLAT_MAP_S5P_H -#define __ASM_PLAT_MAP_S5P_H __FILE__ - -#define VA_VIC(x) (S3C_VA_IRQ + ((x) * 0x10000)) -#define VA_VIC0 VA_VIC(0) -#define VA_VIC1 VA_VIC(1) -#define VA_VIC2 VA_VIC(2) -#define VA_VIC3 VA_VIC(3) - -#include "map-s3c.h" - -#endif /* __ASM_PLAT_MAP_S5P_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2010 Samsung Electronics Co., Ltd. + * http://www.samsung.com/ + * + * S5P - Memory map definitions + */ + +#ifndef __ASM_PLAT_MAP_S5P_H +#define __ASM_PLAT_MAP_S5P_H __FILE__ + +#define VA_VIC(x) (S3C_VA_IRQ + ((x) * 0x10000)) +#define VA_VIC0 VA_VIC(0) +#define VA_VIC1 VA_VIC(1) +#define VA_VIC2 VA_VIC(2) +#define VA_VIC3 VA_VIC(3) + +#include "map-s3c.h" + +#endif /* __ASM_PLAT_MAP_S5P_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/pwm-core.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/pwm-core.h index 9c9d1512c7..05e3448642 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/pwm-core.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/pwm-core.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2013 Tomasz Figa - * - * Samsung PWM controller platform data helpers. - */ - -#ifndef __ASM_ARCH_PWM_CORE_H -#define __ASM_ARCH_PWM_CORE_H __FILE__ - -#include - -#ifdef CONFIG_SAMSUNG_DEV_PWM -extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd); -#else -static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { } -#endif - -#endif /* __ASM_ARCH_PWM_CORE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2013 Tomasz Figa + * + * Samsung PWM controller platform data helpers. + */ + +#ifndef __ASM_ARCH_PWM_CORE_H +#define __ASM_ARCH_PWM_CORE_H __FILE__ + +#include + +#ifdef CONFIG_SAMSUNG_DEV_PWM +extern void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd); +#else +static inline void samsung_pwm_set_platdata(struct samsung_pwm_variant *pd) { } +#endif + +#endif /* __ASM_ARCH_PWM_CORE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irqtype.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irqtype.h index fb243dd156..ec5c4c5fdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irqtype.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/regs-irqtype.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright 2008 Simtec Electronics - * Ben Dooks - * http://armlinux.simtec.co.uk/ - * - * S3C - IRQ detection types. - */ - -/* values for S3C2410_EXTINT0/1/2 and other cpus in the series, including - * the S3C64XX -*/ -#define S3C2410_EXTINT_LOWLEV (0x00) -#define S3C2410_EXTINT_HILEV (0x01) -#define S3C2410_EXTINT_FALLEDGE (0x02) -#define S3C2410_EXTINT_RISEEDGE (0x04) -#define S3C2410_EXTINT_BOTHEDGE (0x06) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright 2008 Simtec Electronics + * Ben Dooks + * http://armlinux.simtec.co.uk/ + * + * S3C - IRQ detection types. + */ + +/* values for S3C2410_EXTINT0/1/2 and other cpus in the series, including + * the S3C64XX +*/ +#define S3C2410_EXTINT_LOWLEV (0x00) +#define S3C2410_EXTINT_HILEV (0x01) +#define S3C2410_EXTINT_FALLEDGE (0x02) +#define S3C2410_EXTINT_RISEEDGE (0x04) +#define S3C2410_EXTINT_BOTHEDGE (0x06) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-fb-24bpp-s3c64xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-fb-24bpp-s3c64xx.c index 4ff5732133..cfa34b55ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-fb-24bpp-s3c64xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-fb-24bpp-s3c64xx.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright 2008 Openmoko, Inc. -// Copyright 2008 Simtec Electronics -// Ben Dooks -// http://armlinux.simtec.co.uk/ -// -// Base S3C64XX setup information for 24bpp LCD framebuffer - -#include -#include -#include -#include - -#include "fb.h" -#include "gpio-cfg.h" -#include "gpio-samsung.h" - -void s3c64xx_fb_gpio_setup_24bpp(void) -{ - s3c_gpio_cfgrange_nopull(S3C64XX_GPI(0), 16, S3C_GPIO_SFN(2)); - s3c_gpio_cfgrange_nopull(S3C64XX_GPJ(0), 12, S3C_GPIO_SFN(2)); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright 2008 Openmoko, Inc. +// Copyright 2008 Simtec Electronics +// Ben Dooks +// http://armlinux.simtec.co.uk/ +// +// Base S3C64XX setup information for 24bpp LCD framebuffer + +#include +#include +#include +#include + +#include "fb.h" +#include "gpio-cfg.h" +#include "gpio-samsung.h" + +void s3c64xx_fb_gpio_setup_24bpp(void) +{ + s3c_gpio_cfgrange_nopull(S3C64XX_GPI(0), 16, S3C_GPIO_SFN(2)); + s3c_gpio_cfgrange_nopull(S3C64XX_GPJ(0), 12, S3C_GPIO_SFN(2)); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c0-s3c64xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c0-s3c64xx.c index 9e5b739a93..a6ef8d2bc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c0-s3c64xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c0-s3c64xx.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright 2008 Openmoko, Inc. -// Copyright 2008 Simtec Electronics -// Ben Dooks -// http://armlinux.simtec.co.uk/ -// -// Base S3C64XX I2C bus 0 gpio configuration - -#include -#include -#include - -struct platform_device; /* don't need the contents */ - -#include -#include "gpio-cfg.h" -#include "gpio-samsung.h" - -void s3c_i2c0_cfg_gpio(struct platform_device *dev) -{ - s3c_gpio_cfgall_range(S3C64XX_GPB(5), 2, - S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright 2008 Openmoko, Inc. +// Copyright 2008 Simtec Electronics +// Ben Dooks +// http://armlinux.simtec.co.uk/ +// +// Base S3C64XX I2C bus 0 gpio configuration + +#include +#include +#include + +struct platform_device; /* don't need the contents */ + +#include +#include "gpio-cfg.h" +#include "gpio-samsung.h" + +void s3c_i2c0_cfg_gpio(struct platform_device *dev) +{ + s3c_gpio_cfgall_range(S3C64XX_GPB(5), 2, + S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c1-s3c64xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c1-s3c64xx.c index d8ae211ce4..0fe37363d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c1-s3c64xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-i2c1-s3c64xx.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright 2008 Openmoko, Inc. -// Copyright 2008 Simtec Electronics -// Ben Dooks -// http://armlinux.simtec.co.uk/ -// -// Base S3C64XX I2C bus 1 gpio configuration - -#include -#include -#include - -struct platform_device; /* don't need the contents */ - -#include -#include "gpio-cfg.h" -#include "gpio-samsung.h" - -void s3c_i2c1_cfg_gpio(struct platform_device *dev) -{ - s3c_gpio_cfgall_range(S3C64XX_GPB(2), 2, - S3C_GPIO_SFN(6), S3C_GPIO_PULL_UP); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright 2008 Openmoko, Inc. +// Copyright 2008 Simtec Electronics +// Ben Dooks +// http://armlinux.simtec.co.uk/ +// +// Base S3C64XX I2C bus 1 gpio configuration + +#include +#include +#include + +struct platform_device; /* don't need the contents */ + +#include +#include "gpio-cfg.h" +#include "gpio-samsung.h" + +void s3c_i2c1_cfg_gpio(struct platform_device *dev) +{ + s3c_gpio_cfgall_range(S3C64XX_GPB(2), 2, + S3C_GPIO_SFN(6), S3C_GPIO_PULL_UP); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-keypad-s3c64xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-keypad-s3c64xx.c index e228d0b38c..8463ad37c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-keypad-s3c64xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-keypad-s3c64xx.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (c) 2010 Samsung Electronics Co., Ltd. -// http://www.samsung.com/ -// -// GPIO configuration for S3C64XX KeyPad device - -#include -#include "gpio-cfg.h" -#include "keypad.h" -#include "gpio-samsung.h" - -void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) -{ - /* Set all the necessary GPK pins to special-function 3: KP_ROW[x] */ - s3c_gpio_cfgrange_nopull(S3C64XX_GPK(8), rows, S3C_GPIO_SFN(3)); - - /* Set all the necessary GPL pins to special-function 3: KP_COL[x] */ - s3c_gpio_cfgrange_nopull(S3C64XX_GPL(0), cols, S3C_GPIO_SFN(3)); -} +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (c) 2010 Samsung Electronics Co., Ltd. +// http://www.samsung.com/ +// +// GPIO configuration for S3C64XX KeyPad device + +#include +#include "gpio-cfg.h" +#include "keypad.h" +#include "gpio-samsung.h" + +void samsung_keypad_cfg_gpio(unsigned int rows, unsigned int cols) +{ + /* Set all the necessary GPK pins to special-function 3: KP_ROW[x] */ + s3c_gpio_cfgrange_nopull(S3C64XX_GPK(8), rows, S3C_GPIO_SFN(3)); + + /* Set all the necessary GPL pins to special-function 3: KP_COL[x] */ + s3c_gpio_cfgrange_nopull(S3C64XX_GPL(0), cols, S3C_GPIO_SFN(3)); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-spi-s3c64xx.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-spi-s3c64xx.c index 920decdd35..497aff71c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-spi-s3c64xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/setup-spi-s3c64xx.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -// -// Copyright (C) 2011 Samsung Electronics Ltd. -// http://www.samsung.com/ - -#include -#include -#include "gpio-cfg.h" -#include "gpio-samsung.h" - -#ifdef CONFIG_S3C64XX_DEV_SPI0 -int s3c64xx_spi0_cfg_gpio(void) -{ - s3c_gpio_cfgall_range(S3C64XX_GPC(0), 3, - S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP); - return 0; -} -#endif +// SPDX-License-Identifier: GPL-2.0 +// +// Copyright (C) 2011 Samsung Electronics Ltd. +// http://www.samsung.com/ + +#include +#include +#include "gpio-cfg.h" +#include "gpio-samsung.h" + +#ifdef CONFIG_S3C64XX_DEV_SPI0 +int s3c64xx_spi0_cfg_gpio(void) +{ + s3c_gpio_cfgall_range(S3C64XX_GPC(0), 3, + S3C_GPIO_SFN(2), S3C_GPIO_PULL_UP); + return 0; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/usb-phy.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/usb-phy.h index f12f153dbc..759d66a077 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/usb-phy.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s3c/usb-phy.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (C) 2011 Samsung Electronics Co.Ltd - * Author: Joonyoung Shim - */ - -#ifndef __PLAT_SAMSUNG_USB_PHY_H -#define __PLAT_SAMSUNG_USB_PHY_H __FILE__ - -extern int s3c_usb_phy_init(struct platform_device *pdev, int type); -extern int s3c_usb_phy_exit(struct platform_device *pdev, int type); - -#endif /* __PLAT_SAMSUNG_USB_PHY_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2011 Samsung Electronics Co.Ltd + * Author: Joonyoung Shim + */ + +#ifndef __PLAT_SAMSUNG_USB_PHY_H +#define __PLAT_SAMSUNG_USB_PHY_H __FILE__ + +extern int s3c_usb_phy_init(struct platform_device *pdev, int type); +extern int s3c_usb_phy_exit(struct platform_device *pdev, int type); + +#endif /* __PLAT_SAMSUNG_USB_PHY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Kconfig index 16855e13f8..055de578b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/Kconfig @@ -1,30 +1,30 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (c) 2010 Samsung Electronics Co., Ltd. -# http://www.samsung.com/ - -# Configuration options for the S5PV210/S5PC110 - -config ARCH_S5PV210 - bool "Samsung S5PV210/S5PC110" - depends on ARCH_MULTI_V7 - select ARM_VIC - select CLKSRC_SAMSUNG_PWM - select COMMON_CLK_SAMSUNG - select GPIOLIB - select PINCTRL - select PINCTRL_EXYNOS - select SOC_SAMSUNG - help - Samsung S5PV210/S5PC110 series based systems - -if ARCH_S5PV210 - -config CPU_S5PV210 - def_bool y - select ARM_AMBA - select PL330_DMA if DMADEVICES - help - Enable S5PV210 CPU support - -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (c) 2010 Samsung Electronics Co., Ltd. +# http://www.samsung.com/ + +# Configuration options for the S5PV210/S5PC110 + +config ARCH_S5PV210 + bool "Samsung S5PV210/S5PC110" + depends on ARCH_MULTI_V7 + select ARM_VIC + select CLKSRC_SAMSUNG_PWM + select COMMON_CLK_SAMSUNG + select GPIOLIB + select PINCTRL + select PINCTRL_EXYNOS + select SOC_SAMSUNG + help + Samsung S5PV210/S5PC110 series based systems + +if ARCH_S5PV210 + +config CPU_S5PV210 + def_bool y + select ARM_AMBA + select PL330_DMA if DMADEVICES + help + Enable S5PV210 CPU support + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/common.h index 458cfdce38..cb36058bc3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/common.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (c) 2011 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * Common Header for S5PV210 machines - */ - -#ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H -#define __ARCH_ARM_MACH_S5PV210_COMMON_H - -#ifdef CONFIG_PM_SLEEP -void s5pv210_cpu_resume(void); -void s5pv210_pm_init(void); -#else -static inline void s5pv210_pm_init(void) {} -#endif - -#endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2011 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * Common Header for S5PV210 machines + */ + +#ifndef __ARCH_ARM_MACH_S5PV210_COMMON_H +#define __ARCH_ARM_MACH_S5PV210_COMMON_H + +#ifdef CONFIG_PM_SLEEP +void s5pv210_cpu_resume(void); +void s5pv210_pm_init(void); +#else +static inline void s5pv210_pm_init(void) {} +#endif + +#endif /* __ARCH_ARM_MACH_S5PV210_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/sleep.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/sleep.S index f75491c76c..81568767f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/sleep.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-s5pv210/sleep.S @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. - * http://www.samsung.com - * - * S5PV210 Sleep Code - * Based on S3C64XX sleep code by: - * Ben Dooks, (c) 2008 Simtec Electronics - */ - -#include - - .text - .align - - /* - * sleep magic, to allow the bootloader to check for an valid - * image to resume to. Must be the first word before the - * s3c_cpu_resume entry. - */ - - .word 0x2bedf00d - - /* - * s3c_cpu_resume - * - * resume code entry for bootloader to call - */ - -ENTRY(s5pv210_cpu_resume) - b cpu_resume -ENDPROC(s5pv210_cpu_resume) +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (c) 2011-2014 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * S5PV210 Sleep Code + * Based on S3C64XX sleep code by: + * Ben Dooks, (c) 2008 Simtec Electronics + */ + +#include + + .text + .align + + /* + * sleep magic, to allow the bootloader to check for an valid + * image to resume to. Must be the first word before the + * s3c_cpu_resume entry. + */ + + .word 0x2bedf00d + + /* + * s3c_cpu_resume + * + * resume code entry for bootloader to call + */ + +ENTRY(s5pv210_cpu_resume) + b cpu_resume +ENDPROC(s5pv210_cpu_resume) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/Makefile index a3dee3e235..b5816d6751 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -# Common support -obj-y := clock.o generic.o #nmi-oopser.o - -# Specific board support -obj-$(CONFIG_SA1100_ASSABET) += assabet.o -obj-$(CONFIG_ASSABET_NEPONSET) += neponset.o -obj-$(CONFIG_SA1100_COLLIE) += collie.o -obj-$(CONFIG_SA1100_H3600) += h3600.o h3xxx.o -obj-$(CONFIG_SA1100_JORNADA720) += jornada720.o -obj-$(CONFIG_SA1100_JORNADA720_SSP) += jornada720_ssp.o - -# Miscellaneous functions -obj-$(CONFIG_PM) += pm.o sleep.o -obj-$(CONFIG_SA1100_SSP) += ssp.o - +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +# Common support +obj-y := clock.o generic.o #nmi-oopser.o + +# Specific board support +obj-$(CONFIG_SA1100_ASSABET) += assabet.o +obj-$(CONFIG_ASSABET_NEPONSET) += neponset.o +obj-$(CONFIG_SA1100_COLLIE) += collie.o +obj-$(CONFIG_SA1100_H3600) += h3600.o h3xxx.o +obj-$(CONFIG_SA1100_JORNADA720) += jornada720.o +obj-$(CONFIG_SA1100_JORNADA720_SSP) += jornada720_ssp.o + +# Miscellaneous functions +obj-$(CONFIG_PM) += pm.o sleep.o +obj-$(CONFIG_SA1100_SSP) += ssp.o + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/reset.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/reset.h index b41506745f..a6723d45ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/reset.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-sa1100/include/mach/reset.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_ARCH_RESET_H -#define __ASM_ARCH_RESET_H - -#include "hardware.h" - -#define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ -#define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ -#define RESET_STATUS_LOWPOWER (1 << 2) /* Exit from Low Power/Sleep */ -#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */ -#define RESET_STATUS_ALL (0xf) - -static inline void clear_reset_status(unsigned int mask) -{ - RCSR = mask; -} - -#endif /* __ASM_ARCH_RESET_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_ARCH_RESET_H +#define __ASM_ARCH_RESET_H + +#include "hardware.h" + +#define RESET_STATUS_HARDWARE (1 << 0) /* Hardware Reset */ +#define RESET_STATUS_WATCHDOG (1 << 1) /* Watchdog Reset */ +#define RESET_STATUS_LOWPOWER (1 << 2) /* Exit from Low Power/Sleep */ +#define RESET_STATUS_GPIO (1 << 3) /* GPIO Reset */ +#define RESET_STATUS_ALL (0xf) + +static inline void clear_reset_status(unsigned int mask) +{ + RCSR = mask; +} + +#endif /* __ASM_ARCH_RESET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s72100.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s72100.c index 189b767f4b..a70b99495e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s72100.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s72100.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * r7s72100 processor support - * - * Copyright (C) 2013 Renesas Solutions Corp. - * Copyright (C) 2013 Magnus Damm - */ - -#include - -#include - -#include "common.h" - -static const char *const r7s72100_boards_compat_dt[] __initconst = { - "renesas,r7s72100", - NULL -}; - -DT_MACHINE_START(R7S72100_DT, "Generic R7S72100 (Flattened Device Tree)") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .init_early = shmobile_init_delay, - .init_late = shmobile_init_late, - .dt_compat = r7s72100_boards_compat_dt, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * r7s72100 processor support + * + * Copyright (C) 2013 Renesas Solutions Corp. + * Copyright (C) 2013 Magnus Damm + */ + +#include + +#include + +#include "common.h" + +static const char *const r7s72100_boards_compat_dt[] __initconst = { + "renesas,r7s72100", + NULL +}; + +DT_MACHINE_START(R7S72100_DT, "Generic R7S72100 (Flattened Device Tree)") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .init_early = shmobile_init_delay, + .init_late = shmobile_init_late, + .dt_compat = r7s72100_boards_compat_dt, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s9210.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s9210.c index ea520bde9b..90add728bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s9210.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r7s9210.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * r7s9210 processor support - * - * Copyright (C) 2018 Renesas Electronics Corporation - * Copyright (C) 2018 Chris Brandt - * - */ - -#include - -#include - -#include "common.h" - -static const char *const r7s9210_boards_compat_dt[] __initconst = { - "renesas,r7s9210", - NULL -}; - -DT_MACHINE_START(R7S72100_DT, "Generic R7S9210 (Flattened Device Tree)") - .l2c_aux_val = 0, - .l2c_aux_mask = ~0, - .init_early = shmobile_init_delay, - .init_late = shmobile_init_late, - .dt_compat = r7s9210_boards_compat_dt, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * r7s9210 processor support + * + * Copyright (C) 2018 Renesas Electronics Corporation + * Copyright (C) 2018 Chris Brandt + * + */ + +#include + +#include + +#include "common.h" + +static const char *const r7s9210_boards_compat_dt[] __initconst = { + "renesas,r7s9210", + NULL +}; + +DT_MACHINE_START(R7S72100_DT, "Generic R7S9210 (Flattened Device Tree)") + .l2c_aux_val = 0, + .l2c_aux_mask = ~0, + .init_early = shmobile_init_delay, + .init_late = shmobile_init_late, + .dt_compat = r7s9210_boards_compat_dt, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r8a73a4.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r8a73a4.c index d17d6e9f66..9e3f4dc083 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-shmobile/setup-r8a73a4.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * r8a73a4 processor support - * - * Copyright (C) 2013 Renesas Solutions Corp. - * Copyright (C) 2013 Magnus Damm - */ - -#include - -#include - -#include "common.h" - -static const char *const r8a73a4_boards_compat_dt[] __initconst = { - "renesas,r8a73a4", - NULL -}; - -DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)") - .init_late = shmobile_init_late, - .dt_compat = r8a73a4_boards_compat_dt, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0 +/* + * r8a73a4 processor support + * + * Copyright (C) 2013 Renesas Solutions Corp. + * Copyright (C) 2013 Magnus Damm + */ + +#include + +#include + +#include "common.h" + +static const char *const r8a73a4_boards_compat_dt[] __initconst = { + "renesas,r8a73a4", + NULL +}; + +DT_MACHINE_START(R8A73A4_DT, "Generic R8A73A4 (Flattened Device Tree)") + .init_late = shmobile_init_late, + .dt_compat = r8a73a4_boards_compat_dt, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/misc_regs.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/misc_regs.h index 6db68dd76f..72aa801a3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/misc_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/misc_regs.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Miscellaneous registers definitions for SPEAr3xx machine family - * - * Copyright (C) 2009 ST Microelectronics - * Viresh Kumar - */ - -#ifndef __MACH_MISC_REGS_H -#define __MACH_MISC_REGS_H - -#include "spear.h" - -#define MISC_BASE (VA_SPEAR_ICM3_MISC_REG_BASE) -#define DMA_CHN_CFG (MISC_BASE + 0x0A0) - -#endif /* __MACH_MISC_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Miscellaneous registers definitions for SPEAr3xx machine family + * + * Copyright (C) 2009 ST Microelectronics + * Viresh Kumar + */ + +#ifndef __MACH_MISC_REGS_H +#define __MACH_MISC_REGS_H + +#include "spear.h" + +#define MISC_BASE (VA_SPEAR_ICM3_MISC_REG_BASE) +#define DMA_CHN_CFG (MISC_BASE + 0x0A0) + +#endif /* __MACH_MISC_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/pl080.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/pl080.h index 2058a28813..3732d940db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/pl080.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-spear/pl080.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/plat-spear/include/plat/pl080.h - * - * DMAC pl080 definitions for SPEAr platform - * - * Copyright (C) 2012 ST Microelectronics - * Viresh Kumar - */ - -#ifndef __PLAT_PL080_H -#define __PLAT_PL080_H - -struct pl08x_channel_data; -int pl080_get_signal(const struct pl08x_channel_data *cd); -void pl080_put_signal(const struct pl08x_channel_data *cd, int signal); - -#endif /* __PLAT_PL080_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/plat-spear/include/plat/pl080.h + * + * DMAC pl080 definitions for SPEAr platform + * + * Copyright (C) 2012 ST Microelectronics + * Viresh Kumar + */ + +#ifndef __PLAT_PL080_H +#define __PLAT_PL080_H + +struct pl08x_channel_data; +int pl080_get_signal(const struct pl08x_channel_data *cd); +void pl080_put_signal(const struct pl08x_channel_data *cd, int signal); + +#endif /* __PLAT_PL080_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Kconfig index ef54bdc774..3a06ba263e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/Kconfig @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_TEGRA - bool "NVIDIA Tegra" - depends on ARCH_MULTI_V7 - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select ARM_GIC - select CLKSRC_MMIO - select GPIOLIB - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select PINCTRL - select PM - select PM_OPP - select RESET_CONTROLLER - select SOC_BUS - select ZONE_DMA if ARM_LPAE - help - This enables support for NVIDIA Tegra based systems. +# SPDX-License-Identifier: GPL-2.0 +menuconfig ARCH_TEGRA + bool "NVIDIA Tegra" + depends on ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA + select ARM_GIC + select CLKSRC_MMIO + select GPIOLIB + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select PINCTRL + select PM + select PM_OPP + select RESET_CONTROLLER + select SOC_BUS + select ZONE_DMA if ARM_LPAE + help + This enables support for NVIDIA Tegra based systems. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/board.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/board.h index c3778bb065..7b3ef0dc9b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/board.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/board.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * arch/arm/mach-tegra/board.h - * - * Copyright (c) 2013 NVIDIA Corporation. All rights reserved. - * Copyright (C) 2010 Google, Inc. - * - * Author: - * Colin Cross - * Erik Gilling - */ - -#ifndef __MACH_TEGRA_BOARD_H -#define __MACH_TEGRA_BOARD_H - -#include -#include - -void __init tegra_map_common_io(void); -void __init tegra_init_irq(void); - -void __init tegra_paz00_wifikill_init(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * arch/arm/mach-tegra/board.h + * + * Copyright (c) 2013 NVIDIA Corporation. All rights reserved. + * Copyright (C) 2010 Google, Inc. + * + * Author: + * Colin Cross + * Erik Gilling + */ + +#ifndef __MACH_TEGRA_BOARD_H +#define __MACH_TEGRA_BOARD_H + +#include +#include + +void __init tegra_map_common_io(void); +void __init tegra_init_irq(void); + +void __init tegra_paz00_wifikill_init(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/common.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/common.h index 96520b848d..d59387c4df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/common.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2011, ARM Ltd. - * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. - */ - -#ifndef __MACH_TEGRA_COMMON_H -#define __MACH_TEGRA_COMMON_H - -extern const struct smp_operations tegra_smp_ops; - -extern int tegra_cpu_kill(unsigned int cpu); -extern void tegra_cpu_die(unsigned int cpu); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2011, ARM Ltd. + * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. + */ + +#ifndef __MACH_TEGRA_COMMON_H +#define __MACH_TEGRA_COMMON_H + +extern const struct smp_operations tegra_smp_ops; + +extern int tegra_cpu_kill(unsigned int cpu); +extern void tegra_cpu_die(unsigned int cpu); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/irammap.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/irammap.h index 727beeca93..a945a1c38a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/irammap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/irammap.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. - */ - -#ifndef __MACH_TEGRA_IRAMMAP_H -#define __MACH_TEGRA_IRAMMAP_H - -#include - -/* The first 1K of IRAM is permanently reserved for the CPU reset handler */ -#define TEGRA_IRAM_RESET_HANDLER_OFFSET 0 -#define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K - -/* - * This area is used for LPx resume vector, only while LPx power state is - * active. At other times, the AVP may use this area for arbitrary purposes - */ -#define TEGRA_IRAM_LPx_RESUME_AREA (TEGRA_IRAM_BASE + SZ_4K) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2012, NVIDIA CORPORATION. All rights reserved. + */ + +#ifndef __MACH_TEGRA_IRAMMAP_H +#define __MACH_TEGRA_IRAMMAP_H + +#include + +/* The first 1K of IRAM is permanently reserved for the CPU reset handler */ +#define TEGRA_IRAM_RESET_HANDLER_OFFSET 0 +#define TEGRA_IRAM_RESET_HANDLER_SIZE SZ_1K + +/* + * This area is used for LPx resume vector, only while LPx power state is + * active. At other times, the AVP may use this area for arbitrary purposes + */ +#define TEGRA_IRAM_LPx_RESUME_AREA (TEGRA_IRAM_BASE + SZ_4K) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra20.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra20.c index 407e2ebc5a..1b4cab81a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra20.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra20.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. - */ - -#include - -#include "pm.h" - -#ifdef CONFIG_PM_SLEEP -extern u32 tegra20_iram_start, tegra20_iram_end; -extern void tegra20_sleep_core_finish(unsigned long); - -void tegra20_lp1_iram_hook(void) -{ - tegra_lp1_iram.start_addr = &tegra20_iram_start; - tegra_lp1_iram.end_addr = &tegra20_iram_end; -} - -void tegra20_sleep_core_init(void) -{ - tegra_sleep_core_finish = tegra20_sleep_core_finish; -} -#endif +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. + */ + +#include + +#include "pm.h" + +#ifdef CONFIG_PM_SLEEP +extern u32 tegra20_iram_start, tegra20_iram_end; +extern void tegra20_sleep_core_finish(unsigned long); + +void tegra20_lp1_iram_hook(void) +{ + tegra_lp1_iram.start_addr = &tegra20_iram_start; + tegra_lp1_iram.end_addr = &tegra20_iram_end; +} + +void tegra20_sleep_core_init(void) +{ + tegra_sleep_core_finish = tegra20_sleep_core_finish; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra30.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra30.c index f13b7608c9..e1b0329537 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra30.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-tegra/pm-tegra30.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. - */ - -#include - -#include "pm.h" - -#ifdef CONFIG_PM_SLEEP -extern u32 tegra30_iram_start, tegra30_iram_end; -extern void tegra30_sleep_core_finish(unsigned long); - -void tegra30_lp1_iram_hook(void) -{ - tegra_lp1_iram.start_addr = &tegra30_iram_start; - tegra_lp1_iram.end_addr = &tegra30_iram_end; -} - -void tegra30_sleep_core_init(void) -{ - tegra_sleep_core_finish = tegra30_sleep_core_finish; -} -#endif +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2013, NVIDIA Corporation. All rights reserved. + */ + +#include + +#include "pm.h" + +#ifdef CONFIG_PM_SLEEP +extern u32 tegra30_iram_start, tegra30_iram_end; +extern void tegra30_sleep_core_finish(unsigned long); + +void tegra30_lp1_iram_hook(void) +{ + tegra_lp1_iram.start_addr = &tegra30_iram_start; + tegra_lp1_iram.end_addr = &tegra30_iram_end; +} + +void tegra30_sleep_core_init(void) +{ + tegra_sleep_core_finish = tegra30_sleep_core_finish; +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/platsmp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/platsmp.h index e7f2e872c7..171a0ab722 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/platsmp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/platsmp.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2011 ARM Ltd. - * All Rights Reserved - */ -extern volatile int versatile_cpu_release; - -extern void versatile_secondary_startup(void); -extern void versatile_secondary_init(unsigned int cpu); -extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle); -void versatile_immitation_cpu_die(unsigned int cpu, unsigned int actrl_mask); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2011 ARM Ltd. + * All Rights Reserved + */ +extern volatile int versatile_cpu_release; + +extern void versatile_secondary_startup(void); +extern void versatile_secondary_init(unsigned int cpu); +extern int versatile_boot_secondary(unsigned int cpu, struct task_struct *idle); +void versatile_immitation_cpu_die(unsigned int cpu, unsigned int actrl_mask); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/realview.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/realview.c index db0bf9b093..36a6f6bc4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/realview.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/realview.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2014 Linaro Ltd. - * - * Author: Linus Walleij - */ -#include - -static const char *const realview_dt_platform_compat[] __initconst = { - "arm,realview-eb", - "arm,realview-pb1176", - "arm,realview-pba8", - "arm,realview-pbx", - NULL, -}; - -DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)") -#ifdef CONFIG_ZONE_DMA - .dma_zone_size = SZ_256M, -#endif - .dt_compat = realview_dt_platform_compat, - .l2c_aux_val = 0x0, - .l2c_aux_mask = ~0x0, -MACHINE_END +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2014 Linaro Ltd. + * + * Author: Linus Walleij + */ +#include + +static const char *const realview_dt_platform_compat[] __initconst = { + "arm,realview-eb", + "arm,realview-pb1176", + "arm,realview-pba8", + "arm,realview-pbx", + NULL, +}; + +DT_MACHINE_START(REALVIEW_DT, "ARM RealView Machine (Device Tree Support)") +#ifdef CONFIG_ZONE_DMA + .dma_zone_size = SZ_256M, +#endif + .dt_compat = realview_dt_platform_compat, + .l2c_aux_val = 0x0, + .l2c_aux_mask = ~0x0, +MACHINE_END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/spc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/spc.h index ea7d9ffe82..288569fdfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/spc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-versatile/spc.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2012 ARM Limited - */ - - -#ifndef __SPC_H_ -#define __SPC_H_ - -int __init ve_spc_init(void __iomem *base, u32 a15_clusid, int irq); -void ve_spc_global_wakeup_irq(bool set); -void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set); -void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr); -void ve_spc_powerdown(u32 cluster, bool enable); -int ve_spc_cpu_in_wfi(u32 cpu, u32 cluster); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2012 ARM Limited + */ + + +#ifndef __SPC_H_ +#define __SPC_H_ + +int __init ve_spc_init(void __iomem *base, u32 a15_clusid, int irq); +void ve_spc_global_wakeup_irq(bool set); +void ve_spc_cpu_wakeup_irq(u32 cluster, u32 cpu, bool set); +void ve_spc_set_resume_addr(u32 cluster, u32 cpu, u32 addr); +void ve_spc_powerdown(u32 cluster, bool enable); +int ve_spc_cpu_in_wfi(u32 cpu, u32 cluster); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Kconfig index 06b873b548..05be5aa9b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/Kconfig @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_ZYNQ - bool "Xilinx Zynq ARM Cortex A9 Platform" - depends on ARCH_MULTI_V7 - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select ARM_GIC - select ARM_GLOBAL_TIMER - select CADENCE_TTC_TIMER - select HAVE_ARM_SCU if SMP - select HAVE_ARM_TWD if SMP - select MFD_SYSCON - select PINCTRL - select PINCTRL_ZYNQ - select SOC_BUS - help - Support for Xilinx Zynq ARM Cortex A9 Platform +# SPDX-License-Identifier: GPL-2.0 +config ARCH_ZYNQ + bool "Xilinx Zynq ARM Cortex A9 Platform" + depends on ARCH_MULTI_V7 + select ARCH_HAS_RESET_CONTROLLER + select ARM_AMBA + select ARM_GIC + select ARM_GLOBAL_TIMER + select CADENCE_TTC_TIMER + select HAVE_ARM_SCU if SMP + select HAVE_ARM_TWD if SMP + select MFD_SYSCON + select PINCTRL + select PINCTRL_ZYNQ + select SOC_BUS + help + Support for Xilinx Zynq ARM Cortex A9 Platform diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/headsmp.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/headsmp.S index 244a3af0d6..3449e0d1f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/headsmp.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mach-zynq/headsmp.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2013 Steffen Trumtrar - * Copyright (c) 2012-2013 Xilinx - */ -#include -#include -#include - - .arm - -ENTRY(zynq_secondary_trampoline) -ARM_BE8(setend be) @ ensure we are in BE8 mode - ldr r0, zynq_secondary_trampoline_jump -ARM_BE8(rev r0, r0) - bx r0 -.globl zynq_secondary_trampoline_jump -zynq_secondary_trampoline_jump: - /* Space for jumping address */ - .word 0 /* cpu 1 */ -.globl zynq_secondary_trampoline_end -zynq_secondary_trampoline_end: -ENDPROC(zynq_secondary_trampoline) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2013 Steffen Trumtrar + * Copyright (c) 2012-2013 Xilinx + */ +#include +#include +#include + + .arm + +ENTRY(zynq_secondary_trampoline) +ARM_BE8(setend be) @ ensure we are in BE8 mode + ldr r0, zynq_secondary_trampoline_jump +ARM_BE8(rev r0, r0) + bx r0 +.globl zynq_secondary_trampoline_jump +zynq_secondary_trampoline_jump: + /* Space for jumping address */ + .word 0 /* cpu 1 */ +.globl zynq_secondary_trampoline_end +zynq_secondary_trampoline_end: +ENDPROC(zynq_secondary_trampoline) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev7.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev7.S index d2c4f17f18..53fb41c247 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev7.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-ev7.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -/* - * Function: v7_early_abort - * - * Params : r2 = pt_regs - * : r4 = aborted context pc - * : r5 = aborted context psr - * - * Returns : r4 - r11, r13 preserved - * - * Purpose : obtain information about current aborted instruction. - */ - .arch armv7-a - .align 5 -ENTRY(v7_early_abort) - mrc p15, 0, r1, c5, c0, 0 @ get FSR - mrc p15, 0, r0, c6, c0, 0 @ get FAR - uaccess_disable ip @ disable userspace access - b do_DataAbort -ENDPROC(v7_early_abort) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +/* + * Function: v7_early_abort + * + * Params : r2 = pt_regs + * : r4 = aborted context pc + * : r5 = aborted context psr + * + * Returns : r4 - r11, r13 preserved + * + * Purpose : obtain information about current aborted instruction. + */ + .arch armv7-a + .align 5 +ENTRY(v7_early_abort) + mrc p15, 0, r1, c5, c0, 0 @ get FSR + mrc p15, 0, r0, c6, c0, 0 @ get FAR + uaccess_disable ip @ disable userspace access + b do_DataAbort +ENDPROC(v7_early_abort) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-nommu.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-nommu.S index efce17d79b..6e2366a263 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-nommu.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/abort-nommu.S @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -/* - * Function: nommu_early_abort - * - * Params : r2 = pt_regs - * : r4 = aborted context pc - * : r5 = aborted context psr - * - * Returns : r4 - r11, r13 preserved - * - * Note: There is no FSR/FAR on !CPU_CP15_MMU cores. - * Just fill zero into the registers. - */ - .align 5 -ENTRY(nommu_early_abort) - mov r0, #0 @ clear r0, r1 (no FSR/FAR) - mov r1, #0 - b do_DataAbort -ENDPROC(nommu_early_abort) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +/* + * Function: nommu_early_abort + * + * Params : r2 = pt_regs + * : r4 = aborted context pc + * : r5 = aborted context psr + * + * Returns : r4 - r11, r13 preserved + * + * Note: There is no FSR/FAR on !CPU_CP15_MMU cores. + * Just fill zero into the registers. + */ + .align 5 +ENTRY(nommu_early_abort) + mov r0, #0 @ clear r0, r1 (no FSR/FAR) + mov r1, #0 + b do_DataAbort +ENDPROC(nommu_early_abort) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/extable.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/extable.c index c97b2d0b93..fc33564597 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/extable.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/extable.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * linux/arch/arm/mm/extable.c - */ -#include -#include - -int fixup_exception(struct pt_regs *regs) -{ - const struct exception_table_entry *fixup; - - fixup = search_exception_tables(instruction_pointer(regs)); - if (fixup) { - regs->ARM_pc = fixup->fixup; -#ifdef CONFIG_THUMB2_KERNEL - /* Clear the IT state to avoid nasty surprises in the fixup */ - regs->ARM_cpsr &= ~PSR_IT_MASK; -#endif - } - - return fixup != NULL; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * linux/arch/arm/mm/extable.c + */ +#include +#include + +int fixup_exception(struct pt_regs *regs) +{ + const struct exception_table_entry *fixup; + + fixup = search_exception_tables(instruction_pointer(regs)); + if (fixup) { + regs->ARM_pc = fixup->fixup; +#ifdef CONFIG_THUMB2_KERNEL + /* Clear the IT state to avoid nasty surprises in the fixup */ + regs->ARM_cpsr &= ~PSR_IT_MASK; +#endif + } + + return fixup != NULL; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/l2c-common.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/l2c-common.c index ea83c64299..073b435ae0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/l2c-common.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/l2c-common.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2010 ARM Ltd. - * Written by Catalin Marinas - */ -#include -#include -#include - -void outer_disable(void) -{ - WARN_ON(!irqs_disabled()); - WARN_ON(num_online_cpus() > 1); - - if (outer_cache.disable) - outer_cache.disable(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2010 ARM Ltd. + * Written by Catalin Marinas + */ +#include +#include +#include + +void outer_disable(void) +{ + WARN_ON(!irqs_disabled()); + WARN_ON(num_online_cpus() > 1); + + if (outer_cache.disable) + outer_cache.disable(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-legacy.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-legacy.S index 65492088ce..b2ffce4201 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-legacy.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-legacy.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -/* - * Function: legacy_pabort - * - * Params : r2 = pt_regs - * : r4 = address of aborted instruction - * : r5 = psr for parent context - * - * Returns : r4 - r11, r13 preserved - * - * Purpose : obtain information about current prefetch abort. - */ - - .align 5 -ENTRY(legacy_pabort) - mov r0, r4 - mov r1, #5 - b do_PrefetchAbort -ENDPROC(legacy_pabort) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +/* + * Function: legacy_pabort + * + * Params : r2 = pt_regs + * : r4 = address of aborted instruction + * : r5 = psr for parent context + * + * Returns : r4 - r11, r13 preserved + * + * Purpose : obtain information about current prefetch abort. + */ + + .align 5 +ENTRY(legacy_pabort) + mov r0, r4 + mov r1, #5 + b do_PrefetchAbort +ENDPROC(legacy_pabort) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v6.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v6.S index 7547a6f33e..8686265dc9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v6.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v6.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -/* - * Function: v6_pabort - * - * Params : r2 = pt_regs - * : r4 = address of aborted instruction - * : r5 = psr for parent context - * - * Returns : r4 - r11, r13 preserved - * - * Purpose : obtain information about current prefetch abort. - */ - - .align 5 -ENTRY(v6_pabort) - mov r0, r4 - mrc p15, 0, r1, c5, c0, 1 @ get IFSR - b do_PrefetchAbort -ENDPROC(v6_pabort) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +/* + * Function: v6_pabort + * + * Params : r2 = pt_regs + * : r4 = address of aborted instruction + * : r5 = psr for parent context + * + * Returns : r4 - r11, r13 preserved + * + * Purpose : obtain information about current prefetch abort. + */ + + .align 5 +ENTRY(v6_pabort) + mov r0, r4 + mrc p15, 0, r1, c5, c0, 1 @ get IFSR + b do_PrefetchAbort +ENDPROC(v6_pabort) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v7.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v7.S index 8a7f6e85ba..9c70b1a21d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v7.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/pabort-v7.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -/* - * Function: v7_pabort - * - * Params : r2 = pt_regs - * : r4 = address of aborted instruction - * : r5 = psr for parent context - * - * Returns : r4 - r11, r13 preserved - * - * Purpose : obtain information about current prefetch abort. - */ - - .align 5 -ENTRY(v7_pabort) - mrc p15, 0, r0, c6, c0, 2 @ get IFAR - mrc p15, 0, r1, c5, c0, 1 @ get IFSR - b do_PrefetchAbort -ENDPROC(v7_pabort) +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +/* + * Function: v7_pabort + * + * Params : r2 = pt_regs + * : r4 = address of aborted instruction + * : r5 = psr for parent context + * + * Returns : r4 - r11, r13 preserved + * + * Purpose : obtain information about current prefetch abort. + */ + + .align 5 +ENTRY(v7_pabort) + mrc p15, 0, r0, c6, c0, 2 @ get IFAR + mrc p15, 0, r1, c5, c0, 1 @ get IFSR + b do_PrefetchAbort +ENDPROC(v7_pabort) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/ptdump_debugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/ptdump_debugfs.c index c50ccf24e0..318de969ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/ptdump_debugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/mm/ptdump_debugfs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -#include - -static int ptdump_show(struct seq_file *m, void *v) -{ - struct ptdump_info *info = m->private; - - ptdump_walk_pgd(m, info); - return 0; -} -DEFINE_SHOW_ATTRIBUTE(ptdump); - -void __init ptdump_debugfs_register(struct ptdump_info *info, const char *name) -{ - debugfs_create_file(name, 0400, NULL, info, &ptdump_fops); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +#include + +static int ptdump_show(struct seq_file *m, void *v) +{ + struct ptdump_info *info = m->private; + + ptdump_walk_pgd(m, info); + return 0; +} +DEFINE_SHOW_ATTRIBUTE(ptdump); + +void __init ptdump_debugfs_register(struct ptdump_info *info, const char *name) +{ + debugfs_create_file(name, 0400, NULL, info, &ptdump_fops); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/Makefile index 14cc512755..2aec85ab1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/nwfpe/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Copyright (C) 1998, 1999, 2001 Philip Blundell -# - -obj-$(CONFIG_FPE_NWFPE) += nwfpe.o - -nwfpe-y += fpa11.o fpa11_cpdo.o fpa11_cpdt.o \ - fpa11_cprt.o fpmodule.o fpopcode.o \ - softfloat.o single_cpdo.o double_cpdo.o \ - entry.o - -nwfpe-$(CONFIG_FPE_NWFPE_XP) += extended_cpdo.o - -# Try really hard to avoid generating calls to __aeabi_uldivmod() from -# float64_rem() due to loop elision. -ifdef CONFIG_CC_IS_CLANG -CFLAGS_softfloat.o += -mllvm -replexitval=never -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 1998, 1999, 2001 Philip Blundell +# + +obj-$(CONFIG_FPE_NWFPE) += nwfpe.o + +nwfpe-y += fpa11.o fpa11_cpdo.o fpa11_cpdt.o \ + fpa11_cprt.o fpmodule.o fpopcode.o \ + softfloat.o single_cpdo.o double_cpdo.o \ + entry.o + +nwfpe-$(CONFIG_FPE_NWFPE_XP) += extended_cpdo.o + +# Try really hard to avoid generating calls to __aeabi_uldivmod() from +# float64_rem() due to loop elision. +ifdef CONFIG_CC_IS_CLANG +CFLAGS_softfloat.o += -mllvm -replexitval=never +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/irq.h index 2c1b10df41..96be19e9bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/irq.h @@ -1,15 +1,15 @@ -/* - * arch/arm/plat-orion/include/plat/irq.h - * - * Marvell Orion SoC IRQ handling. - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __PLAT_IRQ_H -#define __PLAT_IRQ_H - -void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr); -#endif +/* + * arch/arm/plat-orion/include/plat/irq.h + * + * Marvell Orion SoC IRQ handling. + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#ifndef __PLAT_IRQ_H +#define __PLAT_IRQ_H + +void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/time.h b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/time.h index 2b7380166a..07527e417c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/time.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/plat-orion/include/plat/time.h @@ -1,20 +1,20 @@ -/* - * arch/arm/plat-orion/include/plat/time.h - * - * Marvell Orion SoC time handling. - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. - */ - -#ifndef __PLAT_TIME_H -#define __PLAT_TIME_H - -void orion_time_set_base(void __iomem *timer_base); - -void orion_time_init(void __iomem *bridge_base, u32 bridge_timer1_clr_mask, - unsigned int irq, unsigned int tclk); - - -#endif +/* + * arch/arm/plat-orion/include/plat/time.h + * + * Marvell Orion SoC time handling. + * + * This file is licensed under the terms of the GNU General Public + * License version 2. This program is licensed "as is" without any + * warranty of any kind, whether express or implied. + */ + +#ifndef __PLAT_TIME_H +#define __PLAT_TIME_H + +void orion_time_set_base(void __iomem *timer_base); + +void orion_time_init(void __iomem *bridge_base, u32 bridge_timer1_clr_mask, + unsigned int irq, unsigned int tclk); + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/kprobes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/kprobes/Makefile index ea2b4f2de4..6159010dac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/kprobes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/probes/kprobes/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -KASAN_SANITIZE_actions-common.o := n -KASAN_SANITIZE_actions-arm.o := n -KASAN_SANITIZE_actions-thumb.o := n -obj-$(CONFIG_KPROBES) += core.o actions-common.o checkers-common.o -obj-$(CONFIG_ARM_KPROBES_TEST) += test-kprobes.o -test-kprobes-objs := test-core.o - -ifdef CONFIG_THUMB2_KERNEL -obj-$(CONFIG_KPROBES) += actions-thumb.o checkers-thumb.o -test-kprobes-objs += test-thumb.o -else -obj-$(CONFIG_KPROBES) += actions-arm.o checkers-arm.o -obj-$(CONFIG_OPTPROBES) += opt-arm.o -test-kprobes-objs += test-arm.o -endif +# SPDX-License-Identifier: GPL-2.0 +KASAN_SANITIZE_actions-common.o := n +KASAN_SANITIZE_actions-arm.o := n +KASAN_SANITIZE_actions-thumb.o := n +obj-$(CONFIG_KPROBES) += core.o actions-common.o checkers-common.o +obj-$(CONFIG_ARM_KPROBES_TEST) += test-kprobes.o +test-kprobes-objs := test-core.o + +ifdef CONFIG_THUMB2_KERNEL +obj-$(CONFIG_KPROBES) += actions-thumb.o checkers-thumb.o +test-kprobes-objs += test-thumb.o +else +obj-$(CONFIG_KPROBES) += actions-arm.o checkers-arm.o +obj-$(CONFIG_OPTPROBES) += opt-arm.o +test-kprobes-objs += test-arm.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/note.c b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/note.c index fbcd02b628..eff5bf9efb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/note.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/note.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2012-2018 ARM Limited - * - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include -#include - -ELFNOTE32("Linux", 0, LINUX_VERSION_CODE); -BUILD_SALT; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2012-2018 ARM Limited + * + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include +#include + +ELFNOTE32("Linux", 0, LINUX_VERSION_CODE); +BUILD_SALT; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/vdso.S index 4ba928842e..65f2e6f863 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm/vdso/vdso.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Adapted from arm64 version. - * - * Copyright (C) 2012 ARM Limited - * - * Author: Will Deacon - */ - -#include -#include -#include -#include - - .globl vdso_start, vdso_end - .section .data..ro_after_init - .balign PAGE_SIZE -vdso_start: - .incbin "arch/arm/vdso/vdso.so" - .balign PAGE_SIZE -vdso_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Adapted from arm64 version. + * + * Copyright (C) 2012 ARM Limited + * + * Author: Will Deacon + */ + +#include +#include +#include +#include + + .globl vdso_start, vdso_end + .section .data..ro_after_init + .balign PAGE_SIZE +vdso_start: + .incbin "arch/arm/vdso/vdso.so" + .balign PAGE_SIZE +vdso_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/en7581-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/en7581-evb.dts index 00d83cc561..cf58e43dd5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/en7581-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/airoha/en7581-evb.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/dts-v1/; - -/* Bootloader installs ATF here */ -/memreserve/ 0x80000000 0x200000; - -#include "en7581.dtsi" - -/ { - model = "Airoha EN7581 Evaluation Board"; - compatible = "airoha,en7581-evb", "airoha,en7581"; - - aliases { - serial0 = &uart1; - }; - - chosen { - stdout-path = "serial0:115200n8"; - linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x2 0x00000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/dts-v1/; + +/* Bootloader installs ATF here */ +/memreserve/ 0x80000000 0x200000; + +#include "en7581.dtsi" + +/ { + model = "Airoha EN7581 Evaluation Board"; + compatible = "airoha,en7581-evb", "airoha,en7581"; + + aliases { + serial0 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + linux,usable-memory-range = <0x0 0x80200000 0x0 0x1fe00000>; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x2 0x00000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts index ea6e1ec50c..efb20846de 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-olinuxino-emmc.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2018 Martin Ayotte -// Copyright (C) 2019 Sunil Mohan Adapa - -#include "sun50i-a64-olinuxino.dts" - -/ { - model = "Olimex A64-Olinuxino-eMMC"; - compatible = "olimex,a64-olinuxino-emmc", "allwinner,sun50i-a64"; -}; - -&mmc2 { - pinctrl-names = "default"; - pinctrl-0 = <&mmc2_pins>; - vmmc-supply = <®_dcdc1>; - vqmmc-supply = <®_eldo1>; - bus-width = <8>; - non-removable; - cap-mmc-hw-reset; - status = "okay"; -}; - -&pio { - vcc-pc-supply = <®_eldo1>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2018 Martin Ayotte +// Copyright (C) 2019 Sunil Mohan Adapa + +#include "sun50i-a64-olinuxino.dts" + +/ { + model = "Olimex A64-Olinuxino-eMMC"; + compatible = "olimex,a64-olinuxino-emmc", "allwinner,sun50i-a64"; +}; + +&mmc2 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc2_pins>; + vmmc-supply = <®_dcdc1>; + vqmmc-supply = <®_eldo1>; + bus-width = <8>; + non-removable; + cap-mmc-hw-reset; + status = "okay"; +}; + +&pio { + vcc-pc-supply = <®_eldo1>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts index 86be463409..709fe650a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2018 ARM Ltd. - -#include -#include "sun50i-a64-sopine-baseboard.dts" - -/ { - model = "Pine64 PINE A64 LTS"; - compatible = "pine64,pine64-lts", "allwinner,sun50i-r18", - "allwinner,sun50i-a64"; - - leds { - compatible = "gpio-leds"; - - led { - function = LED_FUNCTION_STATUS; - color = ; - gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ - }; - }; -}; - -&mmc0 { - broken-cd; /* card detect is broken on *some* boards */ -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2018 ARM Ltd. + +#include +#include "sun50i-a64-sopine-baseboard.dts" + +/ { + model = "Pine64 PINE A64 LTS"; + compatible = "pine64,pine64-lts", "allwinner,sun50i-r18", + "allwinner,sun50i-a64"; + + leds { + compatible = "gpio-leds"; + + led { + function = LED_FUNCTION_STATUS; + color = ; + gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ + }; + }; +}; + +&mmc0 { + broken-cd; /* card detect is broken on *some* boards */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts index 0234afe7f5..219f720b8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2020 Ondrej Jirman - -/dts-v1/; - -#include "sun50i-a64-pinephone.dtsi" - -/ { - model = "Pine64 PinePhone Developer Batch (1.0)"; - compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64"; -}; - -&codec_analog { - allwinner,internal-bias-resistor; -}; - -&sgm3140 { - enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */ - flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2020 Ondrej Jirman + +/dts-v1/; + +#include "sun50i-a64-pinephone.dtsi" + +/ { + model = "Pine64 PinePhone Developer Batch (1.0)"; + compatible = "pine64,pinephone-1.0", "pine64,pinephone", "allwinner,sun50i-a64"; +}; + +&codec_analog { + allwinner,internal-bias-resistor; +}; + +&sgm3140 { + enable-gpios = <&pio 2 3 GPIO_ACTIVE_HIGH>; /* PC3 */ + flash-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts index 50c3fa868a..86cc85eb3d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab-early-adopter.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Icenowy Zheng - * - */ - -/dts-v1/; - -#include "sun50i-a64-pinetab.dts" - -/ { - model = "Pine64 PineTab Early Adopter"; - compatible = "pine64,pinetab-early-adopter", "allwinner,sun50i-a64"; -}; - -&dsi { - /delete-node/ panel@0; - - panel@0 { - compatible = "feixin,k101-im2byl02", "ilitek,ili9881c"; - reg = <0>; - power-supply = <®_dc1sw>; - reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ - backlight = <&backlight>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Icenowy Zheng + * + */ + +/dts-v1/; + +#include "sun50i-a64-pinetab.dts" + +/ { + model = "Pine64 PineTab Early Adopter"; + compatible = "pine64,pinetab-early-adopter", "allwinner,sun50i-a64"; +}; + +&dsi { + /delete-node/ panel@0; + + panel@0 { + compatible = "feixin,k101-im2byl02", "ilitek,ili9881c"; + reg = <0>; + power-supply = <®_dc1sw>; + reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */ + backlight = <&backlight>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts index f30db14211..b79018c65c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h5-libretech-all-h3-cc.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2018 BayLibre, SAS -// Author: Neil Armstrong - -/dts-v1/; -#include "sun50i-h5.dtsi" -#include "sun50i-h5-cpu-opp.dtsi" -#include - -/ { - model = "Libre Computer Board ALL-H3-CC H5"; - compatible = "libretech,all-h3-cc-h5", "allwinner,sun50i-h5"; -}; - -&mmc2 { - mmc-ddr-3_3v; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2018 BayLibre, SAS +// Author: Neil Armstrong + +/dts-v1/; +#include "sun50i-h5.dtsi" +#include "sun50i-h5-cpu-opp.dtsi" +#include + +/ { + model = "Libre Computer Board ALL-H3-CC H5"; + compatible = "libretech,all-h3-cc-h5", "allwinner,sun50i-h5"; +}; + +&mmc2 { + mmc-ddr-3_3v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts index d208b5c69f..4bfb52609c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/allwinner/sun50i-h616-bigtreetech-cb1-manta.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2023 Martin Botka . - */ - -/dts-v1/; - -#include "sun50i-h616-bigtreetech-cb1.dtsi" - -/ { - model = "BigTreeTech CB1"; - compatible = "bigtreetech,cb1-manta", "bigtreetech,cb1", "allwinner,sun50i-h616"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&ehci1 { - status = "okay"; -}; - -&ohci1 { - status = "okay"; -}; - -&uart0 { - pinctrl-names = "default"; - pinctrl-0 = <&uart0_ph_pins>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2023 Martin Botka . + */ + +/dts-v1/; + +#include "sun50i-h616-bigtreetech-cb1.dtsi" + +/ { + model = "BigTreeTech CB1"; + compatible = "bigtreetech,cb1-manta", "bigtreetech,cb1", "allwinner,sun50i-h616"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&ehci1 { + status = "okay"; +}; + +&ohci1 { + status = "okay"; +}; + +&uart0 { + pinctrl-names = "default"; + pinctrl-0 = <&uart0_ph_pins>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/alpine-v3-evp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/alpine-v3-evp.dts index c84a407f69..48078f5ea5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/alpine-v3-evp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amazon/alpine-v3-evp.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. - */ - -#include "alpine-v3.dtsi" - -/ { - model = "Amazon's Annapurna Labs Alpine v3 Evaluation Platform (EVP)"; - compatible = "amazon,al-alpine-v3-evp", "amazon,al-alpine-v3"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - serial3 = &uart3; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { status = "okay"; }; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + */ + +#include "alpine-v3.dtsi" + +/ { + model = "Amazon's Annapurna Labs Alpine v3 Evaluation Platform (EVP)"; + compatible = "amazon,al-alpine-v3-evp", "amazon,al-alpine-v3"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { status = "okay"; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/elba-asic.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/elba-asic.dts index 2c2c046e9d..20b0fa0807 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/elba-asic.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amd/elba-asic.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree file for AMD Pensando Elba Board. - * - * Copyright 2020-2022 Advanced Micro Devices, Inc. - */ - -/dts-v1/; - -#include "elba.dtsi" -#include "elba-16core.dtsi" -#include "elba-asic-common.dtsi" -#include "elba-flash-parts.dtsi" - -/ { - model = "AMD Pensando Elba Board"; - compatible = "amd,pensando-elba-ortano", "amd,pensando-elba"; - - aliases { - serial0 = &uart0; - spi0 = &spi0; - spi1 = &qspi; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree file for AMD Pensando Elba Board. + * + * Copyright 2020-2022 Advanced Micro Devices, Inc. + */ + +/dts-v1/; + +#include "elba.dtsi" +#include "elba-16core.dtsi" +#include "elba-asic-common.dtsi" +#include "elba-flash-parts.dtsi" + +/ { + model = "AMD Pensando Elba Board"; + compatible = "amd,pensando-elba-ortano", "amd,pensando-elba"; + + aliases { + serial0 = &uart0; + spi0 = &spi0; + spi1 = &qspi; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-a1-ad401.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-a1-ad401.dts index e1a02b69d2..69c25c68c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-a1-ad401.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-a1-ad401.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Amlogic, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "meson-a1.dtsi" - -/ { - compatible = "amlogic,ad401", "amlogic,a1"; - model = "Amlogic Meson A1 AD401 Development Board"; - - aliases { - serial0 = &uart_AO_B; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x8000000>; - }; -}; - -&uart_AO_B { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Amlogic, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "meson-a1.dtsi" + +/ { + compatible = "amlogic,ad401", "amlogic,a1"; + model = "Amlogic Meson A1 AD401 Development Board"; + + aliases { + serial0 = &uart_AO_B; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x8000000>; + }; +}; + +&uart_AO_B { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso index e58db88a90..55fff35b09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12a-fbx8am-realtek.dtso @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (c) 2024 Freebox SAS - -/dts-v1/; -/plugin/; - -#include -#include - -&uart_A { - bluetooth { - compatible = "realtek,rtl8822cs-bt"; - enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; - host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; - device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; - }; -}; - -&sd_emmc_a { - /* No explicit compatible for rtl8822cs sdio */ -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2024 Freebox SAS + +/dts-v1/; +/plugin/; + +#include +#include + +&uart_A { + bluetooth { + compatible = "realtek,rtl8822cs-bt"; + enable-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>; + host-wake-gpios = <&gpio GPIOX_19 GPIO_ACTIVE_HIGH>; + device-wake-gpios = <&gpio GPIOX_18 GPIO_ACTIVE_HIGH>; + }; +}; + +&sd_emmc_a { + /* No explicit compatible for rtl8822cs sdio */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-two.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-two.dts index 7b2079bc33..df0d71983c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-two.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-g12b-dreambox-two.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Christian Hewitt - */ - -/dts-v1/; - -#include "meson-g12b-dreambox.dtsi" - -/ { - compatible = "dream,dreambox-two", "amlogic,s922x", "amlogic,g12b"; - model = "Dreambox Two"; -}; - -&sd_emmc_a { - sd-uhs-sdr12; - sd-uhs-sdr25; - sd-uhs-sdr50; - sd-uhs-sdr104; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Christian Hewitt + */ + +/dts-v1/; + +#include "meson-g12b-dreambox.dtsi" + +/ { + compatible = "dream,dreambox-two", "amlogic,s922x", "amlogic,g12b"; + model = "Dreambox Two"; +}; + +&sd_emmc_a { + sd-uhs-sdr12; + sd-uhs-sdr25; + sd-uhs-sdr50; + sd-uhs-sdr104; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-telos.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-telos.dts index 1c13d91408..a8fca0c690 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-telos.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxbb-vega-s95-telos.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Andreas Färber - */ - -/dts-v1/; - -#include "meson-gxbb-vega-s95.dtsi" - -/ { - compatible = "tronsmart,vega-s95-telos", "tronsmart,vega-s95", "amlogic,meson-gxbb"; - model = "Tronsmart Vega S95 Telos"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x80000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Andreas Färber + */ + +/dts-v1/; + +#include "meson-gxbb-vega-s95.dtsi" + +/ { + compatible = "tronsmart,vega-s95-telos", "tronsmart,vega-s95", "amlogic,meson-gxbb"; + model = "Tronsmart Vega S95 Telos"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi index 3e4f97d977..478e755cc8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-mali.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2017 BayLibre SAS - * Author: Neil Armstrong - */ - -#include "meson-gx-mali450.dtsi" - -&mali { - compatible = "amlogic,meson-gxl-mali", "arm,mali-450"; - - clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; - clock-names = "bus", "core"; - - assigned-clocks = <&clkc CLKID_GP0_PLL>; - assigned-clock-rates = <744000000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2017 BayLibre SAS + * Author: Neil Armstrong + */ + +#include "meson-gx-mali450.dtsi" + +&mali { + compatible = "amlogic,meson-gxl-mali", "arm,mali-450"; + + clocks = <&clkc CLKID_CLK81>, <&clkc CLKID_MALI>; + clock-names = "bus", "core"; + + assigned-clocks = <&clkc CLKID_GP0_PLL>; + assigned-clock-rates = <744000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s805x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s805x.dtsi index 5928833233..2997584982 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s805x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s805x.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 BayLibre SAS - * Author: Neil Armstrong - */ - -#include "meson-gxl-s905x.dtsi" - -/ { - compatible = "amlogic,s805x", "amlogic,meson-gxl"; -}; - -/* The S805X Package doesn't seem to handle the 744MHz OPP correctly */ -&gpu_opp_table { - opp-744000000 { - status = "disabled"; - }; -}; - -&mali { - /delete-property/ assigned-clocks; - /delete-property/ assigned-clock-rates; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 BayLibre SAS + * Author: Neil Armstrong + */ + +#include "meson-gxl-s905x.dtsi" + +/ { + compatible = "amlogic,s805x", "amlogic,meson-gxl"; +}; + +/* The S805X Package doesn't seem to handle the 744MHz OPP correctly */ +&gpu_opp_table { + opp-744000000 { + status = "disabled"; + }; +}; + +&mali { + /delete-property/ assigned-clocks; + /delete-property/ assigned-clock-rates; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts index 9bda69a088..100a1cfeea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-libretech-pc.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 BayLibre SAS. All rights reserved. - * Author: Jerome Brunet - */ - -/dts-v1/; - -#include "meson-gxl-s905d.dtsi" -#include "meson-gx-libretech-pc.dtsi" - -/ { - compatible = "libretech,aml-s905d-pc", "amlogic,s905d", - "amlogic,meson-gxl"; - model = "Libre Computer AML-S905D-PC"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 BayLibre SAS. All rights reserved. + * Author: Jerome Brunet + */ + +/dts-v1/; + +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-libretech-pc.dtsi" + +/ { + compatible = "libretech,aml-s905d-pc", "amlogic,s905d", + "amlogic,meson-gxl"; + model = "Libre Computer AML-S905D-PC"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts index 151d87c529..92c425d025 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-p231.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Endless Computers, Inc. - * Author: Carlo Caione - */ - -/dts-v1/; - -#include "meson-gxl-s905d.dtsi" -#include "meson-gx-p23x-q20x.dtsi" - -/ { - compatible = "amlogic,p231", "amlogic,s905d", "amlogic,meson-gxl"; - model = "Amlogic Meson GXL (S905D) P231 Development Board"; -}; - -/* P231 has only internal PHY port */ -ðmac { - phy-mode = "rmii"; - phy-handle = <&internal_phy>; -}; - -&sd_emmc_a { - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + */ + +/dts-v1/; + +#include "meson-gxl-s905d.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "amlogic,p231", "amlogic,s905d", "amlogic,meson-gxl"; + model = "Amlogic Meson GXL (S905D) P231 Development Board"; +}; + +/* P231 has only internal PHY port */ +ðmac { + phy-mode = "rmii"; + phy-handle = <&internal_phy>; +}; + +&sd_emmc_a { + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts index 3a9f401b4d..393d3cb33b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905d-phicomm-n1.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2018 He Yangxuan - */ - -/dts-v1/; - -#include "meson-gxl-s905d-p230.dts" - -/ { - compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl"; - model = "Phicomm N1"; - - cvbs-connector { - status = "disabled"; - }; - - leds { - compatible = "gpio-leds"; - - led { - label = "n1:white:status"; - gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; - default-state = "on"; - }; - }; -}; - -&cvbs_vdac_port { - status = "disabled"; -}; - -&usb { - dr_mode = "host"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 He Yangxuan + */ + +/dts-v1/; + +#include "meson-gxl-s905d-p230.dts" + +/ { + compatible = "phicomm,n1", "amlogic,s905d", "amlogic,meson-gxl"; + model = "Phicomm N1"; + + cvbs-connector { + status = "disabled"; + }; + + leds { + compatible = "gpio-leds"; + + led { + label = "n1:white:status"; + gpios = <&gpio_ao GPIOAO_9 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + }; +}; + +&cvbs_vdac_port { + status = "disabled"; +}; + +&usb { + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-p281.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-p281.dts index 8f2883e318..ecc9df7ca0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-p281.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905w-p281.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2018 Martin Blumenstingl . - * Based on meson-gxl-s905d-p231.dts: - * - Copyright (c) 2016 Endless Computers, Inc. - * Author: Carlo Caione - */ - -/dts-v1/; - -#include "meson-gxl-s905x.dtsi" -#include "meson-gx-p23x-q20x.dtsi" - -/ { - compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl"; - model = "Amlogic Meson GXL (S905W) P281 Development Board"; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x40000000>; - }; -}; - -&usb { - dr_mode = "host"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2018 Martin Blumenstingl . + * Based on meson-gxl-s905d-p231.dts: + * - Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + */ + +/dts-v1/; + +#include "meson-gxl-s905x.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl"; + model = "Amlogic Meson GXL (S905W) P281 Development Board"; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x40000000>; + }; +}; + +&usb { + dr_mode = "host"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi index b5e7d6f6b1..40c19f69e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxl-s905x.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Endless Computers, Inc. - * Author: Carlo Caione - */ - -#include "meson-gxl.dtsi" -#include "meson-gxl-mali.dtsi" - -/ { - compatible = "amlogic,s905x", "amlogic,meson-gxl"; -}; - -/* S905X only has access to its internal PHY */ -ðmac { - phy-mode = "rmii"; - phy-handle = <&internal_phy>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + */ + +#include "meson-gxl.dtsi" +#include "meson-gxl-mali.dtsi" + +/ { + compatible = "amlogic,s905x", "amlogic,meson-gxl"; +}; + +/* S905X only has access to its internal PHY */ +ðmac { + phy-mode = "rmii"; + phy-handle = <&internal_phy>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts index 31284a50b3..d02b80d773 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/amlogic/meson-gxm-q201.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2016 Endless Computers, Inc. - * Author: Carlo Caione - */ - -/dts-v1/; - -#include "meson-gxm.dtsi" -#include "meson-gx-p23x-q20x.dtsi" - -/ { - compatible = "amlogic,q201", "amlogic,s912", "amlogic,meson-gxm"; - model = "Amlogic Meson GXM (S912) Q201 Development Board"; -}; - -/* Q201 has only internal PHY port */ -ðmac { - phy-mode = "rmii"; - phy-handle = <&internal_phy>; -}; - -&sd_emmc_a { - brcmf: wifi@1 { - reg = <1>; - compatible = "brcm,bcm4329-fmac"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2016 Endless Computers, Inc. + * Author: Carlo Caione + */ + +/dts-v1/; + +#include "meson-gxm.dtsi" +#include "meson-gx-p23x-q20x.dtsi" + +/ { + compatible = "amlogic,q201", "amlogic,s912", "amlogic,meson-gxm"; + model = "Amlogic Meson GXM (S912) Q201 Development Board"; +}; + +/* Q201 has only internal PHY port */ +ðmac { + phy-mode = "rmii"; + phy-handle = <&internal_phy>; +}; + +&sd_emmc_a { + brcmf: wifi@1 { + reg = <1>; + compatible = "brcm,bcm4329-fmac"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/multi-die-cpp.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/multi-die-cpp.h index 9e9c3189d0..39e8953bf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/multi-die-cpp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/multi-die-cpp.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0+ OR MIT - * - * C preprocessor macros for t600x multi die support. - */ - -#ifndef __DTS_APPLE_MULTI_DIE_CPP_H -#define __DTS_APPLE_MULTI_DIE_CPP_H - -#ifndef __stringify -#define __stringify_1(x...) #x -#define __stringify(x...) __stringify_1(x) -#endif - -#ifndef __concat -#define __concat_1(x, y...) x ## y -#define __concat(x, y...) __concat_1(x, y) -#endif - -#define DIE_NODE(a) __concat(a, DIE) -#define DIE_LABEL(a) __stringify(__concat(a, DIE)) - -#endif /* !__DTS_APPLE_MULTI_DIE_CPP_H */ +/* SPDX-License-Identifier: GPL-2.0+ OR MIT + * + * C preprocessor macros for t600x multi die support. + */ + +#ifndef __DTS_APPLE_MULTI_DIE_CPP_H +#define __DTS_APPLE_MULTI_DIE_CPP_H + +#ifndef __stringify +#define __stringify_1(x...) #x +#define __stringify(x...) __stringify_1(x) +#endif + +#ifndef __concat +#define __concat_1(x, y...) x ## y +#define __concat(x, y...) __concat_1(x, y) +#endif + +#define DIE_NODE(a) __concat(a, DIE) +#define DIE_LABEL(a) __stringify(__concat(a, DIE)) + +#endif /* !__DTS_APPLE_MULTI_DIE_CPP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j314s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j314s.dts index e76bf538b8..c9e192848f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j314s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j314s.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * MacBook Pro (14-inch, M1 Pro, 2021) - * - * target-type: J314s - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t6000.dtsi" -#include "t600x-j314-j316.dtsi" - -/ { - compatible = "apple,j314s", "apple,t6000", "apple,arm-platform"; - model = "Apple MacBook Pro (14-inch, M1 Pro, 2021)"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * MacBook Pro (14-inch, M1 Pro, 2021) + * + * target-type: J314s + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6000.dtsi" +#include "t600x-j314-j316.dtsi" + +/ { + compatible = "apple,j314s", "apple,t6000", "apple,arm-platform"; + model = "Apple MacBook Pro (14-inch, M1 Pro, 2021)"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j316s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j316s.dts index 0b10a3f8b7..ff1803ce23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j316s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000-j316s.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * MacBook Pro (16-inch, M1 Pro, 2021) - * - * target-type: J316s - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t6000.dtsi" -#include "t600x-j314-j316.dtsi" - -/ { - compatible = "apple,j316s", "apple,t6000", "apple,arm-platform"; - model = "Apple MacBook Pro (16-inch, M1 Pro, 2021)"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * MacBook Pro (16-inch, M1 Pro, 2021) + * + * target-type: J316s + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6000.dtsi" +#include "t600x-j314-j316.dtsi" + +/ { + compatible = "apple,j316s", "apple,t6000", "apple,arm-platform"; + model = "Apple MacBook Pro (16-inch, M1 Pro, 2021)"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000.dtsi index 914a135495..89c3b211b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6000.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * Apple T6000 "M1 Pro" SoC - * - * Other names: H13J, "Jade Chop" - * - * Copyright The Asahi Linux Contributors - */ - -/* This chip is just a cut down version of t6001, so include it and disable the missing parts */ - -#include "t6001.dtsi" - -/ { - compatible = "apple,t6000", "apple,arm-platform"; -}; - -/delete-node/ &pmgr_south; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Apple T6000 "M1 Pro" SoC + * + * Other names: H13J, "Jade Chop" + * + * Copyright The Asahi Linux Contributors + */ + +/* This chip is just a cut down version of t6001, so include it and disable the missing parts */ + +#include "t6001.dtsi" + +/ { + compatible = "apple,t6000", "apple,arm-platform"; +}; + +/delete-node/ &pmgr_south; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j314c.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j314c.dts index 9bdf53712a..1761d15b98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j314c.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j314c.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * MacBook Pro (14-inch, M1 Max, 2021) - * - * target-type: J314c - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t6001.dtsi" -#include "t600x-j314-j316.dtsi" - -/ { - compatible = "apple,j314c", "apple,t6001", "apple,arm-platform"; - model = "Apple MacBook Pro (14-inch, M1 Max, 2021)"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * MacBook Pro (14-inch, M1 Max, 2021) + * + * target-type: J314c + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6001.dtsi" +#include "t600x-j314-j316.dtsi" + +/ { + compatible = "apple,j314c", "apple,t6001", "apple,arm-platform"; + model = "Apple MacBook Pro (14-inch, M1 Max, 2021)"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j316c.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j316c.dts index 0419617d03..750e9beeff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j316c.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/apple/t6001-j316c.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ OR MIT -/* - * MacBook Pro (16-inch, M1 Max, 2021) - * - * target-type: J316c - * - * Copyright The Asahi Linux Contributors - */ - -/dts-v1/; - -#include "t6001.dtsi" -#include "t600x-j314-j316.dtsi" - -/ { - compatible = "apple,j316c", "apple,t6001", "apple,arm-platform"; - model = "Apple MacBook Pro (16-inch, M1 Max, 2021)"; -}; +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * MacBook Pro (16-inch, M1 Max, 2021) + * + * target-type: J316c + * + * Copyright The Asahi Linux Contributors + */ + +/dts-v1/; + +#include "t6001.dtsi" +#include "t600x-j314-j316.dtsi" + +/ { + compatible = "apple,j316c", "apple,t6001", "apple,arm-platform"; + model = "Apple MacBook Pro (16-inch, M1 Max, 2021)"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/Makefile index fcccb65c22..d908e96d7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_VEXPRESS) += \ - foundation-v8.dtb foundation-v8-psci.dtb \ - foundation-v8-gicv3.dtb foundation-v8-gicv3-psci.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += juno.dtb juno-r1.dtb juno-r2.dtb juno-scmi.dtb juno-r1-scmi.dtb juno-r2-scmi.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb -dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_VEXPRESS) += \ + foundation-v8.dtb foundation-v8-psci.dtb \ + foundation-v8-gicv3.dtb foundation-v8-gicv3-psci.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += juno.dtb juno-r1.dtb juno-r2.dtb juno-scmi.dtb juno-r1-scmi.dtb juno-r2-scmi.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += rtsm_ve-aemv8a.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += vexpress-v2f-1xv7-ca53x2.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += fvp-base-revc.dtb +dtb-$(CONFIG_ARCH_VEXPRESS) += corstone1000-fvp.dtb corstone1000-mps3.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi index 10e29a6e00..655fdcce15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-gicv2.dtsi @@ -1,19 +1,19 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (GICv2 configuration) - */ - -/ { - gic: interrupt-controller@2c001000 { - compatible = "arm,gic-400", "arm,cortex-a15-gic"; - #interrupt-cells = <3>; - #address-cells = <1>; - interrupt-controller; - reg = <0x0 0x2c001000 0 0x1000>, - <0x0 0x2c002000 0 0x2000>, - <0x0 0x2c004000 0 0x2000>, - <0x0 0x2c006000 0 0x2000>; - interrupts = ; - }; -}; +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (GICv2 configuration) + */ + +/ { + gic: interrupt-controller@2c001000 { + compatible = "arm,gic-400", "arm,cortex-a15-gic"; + #interrupt-cells = <3>; + #address-cells = <1>; + interrupt-controller; + reg = <0x0 0x2c001000 0 0x1000>, + <0x0 0x2c002000 0 0x2000>, + <0x0 0x2c004000 0 0x2000>, + <0x0 0x2c006000 0 0x2000>; + interrupts = ; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi index 48031ecccc..4d4186ba0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/foundation-v8-spin-table.dtsi @@ -1,25 +1,25 @@ -/* - * ARM Ltd. - * - * ARMv8 Foundation model DTS (spin table configuration) - */ - -&cpu0 { - enable-method = "spin-table"; - cpu-release-addr = <0x0 0x8000fff8>; -}; - -&cpu1 { - enable-method = "spin-table"; - cpu-release-addr = <0x0 0x8000fff8>; -}; - -&cpu2 { - enable-method = "spin-table"; - cpu-release-addr = <0x0 0x8000fff8>; -}; - -&cpu3 { - enable-method = "spin-table"; - cpu-release-addr = <0x0 0x8000fff8>; -}; +/* + * ARM Ltd. + * + * ARMv8 Foundation model DTS (spin table configuration) + */ + +&cpu0 { + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; +}; + +&cpu1 { + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; +}; + +&cpu2 { + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; +}; + +&cpu3 { + enable-method = "spin-table"; + cpu-release-addr = <0x0 0x8000fff8>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r1-scmi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r1-scmi.dts index a901e1bd7e..dd9ea69f08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r1-scmi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r1-scmi.dts @@ -1,27 +1,27 @@ -#include "juno-r1.dts" -#include "juno-scmi.dtsi" - -/ { - funnel@20130000 { - power-domains = <&scmi_devpd 8>; - }; - - etf@20140000 { - power-domains = <&scmi_devpd 8>; - }; - - funnel@20150000 { - power-domains = <&scmi_devpd 8>; - }; -}; - -&cti_sys2 { - power-domains = <&scmi_devpd 8>; -}; - -&A57_0 { - clocks = <&scmi_dvfs 0>; -}; -&A57_1 { - clocks = <&scmi_dvfs 0>; -}; +#include "juno-r1.dts" +#include "juno-scmi.dtsi" + +/ { + funnel@20130000 { + power-domains = <&scmi_devpd 8>; + }; + + etf@20140000 { + power-domains = <&scmi_devpd 8>; + }; + + funnel@20150000 { + power-domains = <&scmi_devpd 8>; + }; +}; + +&cti_sys2 { + power-domains = <&scmi_devpd 8>; +}; + +&A57_0 { + clocks = <&scmi_dvfs 0>; +}; +&A57_1 { + clocks = <&scmi_dvfs 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r2-scmi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r2-scmi.dts index 7acfd02e41..de2cbac1d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r2-scmi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/juno-r2-scmi.dts @@ -1,27 +1,27 @@ -#include "juno-r2.dts" -#include "juno-scmi.dtsi" - -/ { - funnel@20130000 { - power-domains = <&scmi_devpd 8>; - }; - - etf@20140000 { - power-domains = <&scmi_devpd 8>; - }; - - funnel@20150000 { - power-domains = <&scmi_devpd 8>; - }; -}; - -&cti_sys2 { - power-domains = <&scmi_devpd 8>; -}; - -&A72_0 { - clocks = <&scmi_dvfs 0>; -}; -&A72_1 { - clocks = <&scmi_dvfs 0>; -}; +#include "juno-r2.dts" +#include "juno-scmi.dtsi" + +/ { + funnel@20130000 { + power-domains = <&scmi_devpd 8>; + }; + + etf@20140000 { + power-domains = <&scmi_devpd 8>; + }; + + funnel@20150000 { + power-domains = <&scmi_devpd 8>; + }; +}; + +&cti_sys2 { + power-domains = <&scmi_devpd 8>; +}; + +&A72_0 { + clocks = <&scmi_dvfs 0>; +}; +&A72_1 { + clocks = <&scmi_dvfs 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi index ec637d93b7..ec2d5280a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/arm/rtsm_ve-motherboard-rs2.dtsi @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * ARM Ltd. Fast Models - * - * "rs2" extension for the v2m motherboard - */ -/ { - bus@8000000 { - motherboard-bus@8000000 { - arm,v2m-memory-map = "rs2"; - - iofpga-bus@300000000 { - virtio@140000 { - compatible = "virtio,mmio"; - reg = <0x140000 0x200>; - interrupts = <43>; - }; - - virtio@150000 { - compatible = "virtio,mmio"; - reg = <0x150000 0x200>; - interrupts = <44>; - }; - - virtio@200000 { - compatible = "virtio,mmio"; - reg = <0x200000 0x200>; - interrupts = <46>; - status = "disabled"; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * ARM Ltd. Fast Models + * + * "rs2" extension for the v2m motherboard + */ +/ { + bus@8000000 { + motherboard-bus@8000000 { + arm,v2m-memory-map = "rs2"; + + iofpga-bus@300000000 { + virtio@140000 { + compatible = "virtio,mmio"; + reg = <0x140000 0x200>; + interrupts = <43>; + }; + + virtio@150000 { + compatible = "virtio,mmio"; + reg = <0x150000 0x200>; + interrupts = <44>; + }; + + virtio@200000 { + compatible = "virtio,mmio"; + reg = <0x200000 0x200>; + interrupts = <46>; + status = "disabled"; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/Makefile index 64a13678b8..92565e9781 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 - -# Enables support for device-tree overlays -DTC_FLAGS := -@ - -dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ - bcm2711-rpi-4-b.dtb \ - bcm2711-rpi-cm4-io.dtb \ - bcm2712-rpi-5-b.dtb \ - bcm2837-rpi-3-a-plus.dtb \ - bcm2837-rpi-3-b.dtb \ - bcm2837-rpi-3-b-plus.dtb \ - bcm2837-rpi-cm3-io3.dtb \ - bcm2837-rpi-zero-2-w.dtb - -subdir-y += bcmbca -subdir-y += northstar2 -subdir-y += stingray +# SPDX-License-Identifier: GPL-2.0 + +# Enables support for device-tree overlays +DTC_FLAGS := -@ + +dtb-$(CONFIG_ARCH_BCM2835) += bcm2711-rpi-400.dtb \ + bcm2711-rpi-4-b.dtb \ + bcm2711-rpi-cm4-io.dtb \ + bcm2712-rpi-5-b.dtb \ + bcm2837-rpi-3-a-plus.dtb \ + bcm2837-rpi-3-b.dtb \ + bcm2837-rpi-3-b-plus.dtb \ + bcm2837-rpi-cm3-io3.dtb \ + bcm2837-rpi-zero-2-w.dtb + +subdir-y += bcmbca +subdir-y += northstar2 +subdir-y += stingray diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/Makefile index 63117c3f27..27741b71ba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_BCMBCA) += \ - bcm4906-netgear-r8000p.dtb \ - bcm4906-tplink-archer-c2300-v1.dtb \ - bcm4908-asus-gt-ac5300.dtb \ - bcm4908-netgear-raxe500.dtb \ - bcm94908.dtb \ - bcm4912-asus-gt-ax6000.dtb \ - bcm94912.dtb \ - bcm963158.dtb \ - bcm96858.dtb \ - bcm963146.dtb \ - bcm96856.dtb \ - bcm96813.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_BCMBCA) += \ + bcm4906-netgear-r8000p.dtb \ + bcm4906-tplink-archer-c2300-v1.dtb \ + bcm4908-asus-gt-ac5300.dtb \ + bcm4908-netgear-raxe500.dtb \ + bcm94908.dtb \ + bcm4912-asus-gt-ax6000.dtb \ + bcm94912.dtb \ + bcm963158.dtb \ + bcm96858.dtb \ + bcm963146.dtb \ + bcm96856.dtb \ + bcm96813.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts index 1c25a78b06..23b96c6632 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908-netgear-raxe500.dts @@ -1,50 +1,50 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include "bcm4908.dtsi" - -/ { - compatible = "netgear,raxe500", "brcm,bcm4908", "brcm,bcmbca"; - model = "Netgear RAXE500"; - - memory@0 { - device_type = "memory"; - reg = <0x00 0x00 0x00 0x40000000>; - }; -}; - -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; -}; - -&xhci { - status = "okay"; -}; - -&ports { - port@0 { - label = "lan4"; - }; - - port@1 { - label = "lan3"; - }; - - port@2 { - label = "lan2"; - }; - - port@3 { - label = "lan1"; - }; - - port@7 { - reg = <7>; - phy-mode = "internal"; - phy-handle = <&phy12>; - label = "wan"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "bcm4908.dtsi" + +/ { + compatible = "netgear,raxe500", "brcm,bcm4908", "brcm,bcmbca"; + model = "Netgear RAXE500"; + + memory@0 { + device_type = "memory"; + reg = <0x00 0x00 0x00 0x40000000>; + }; +}; + +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + +&xhci { + status = "okay"; +}; + +&ports { + port@0 { + label = "lan4"; + }; + + port@1 { + label = "lan3"; + }; + + port@2 { + label = "lan2"; + }; + + port@3 { + label = "lan1"; + }; + + port@7 { + reg = <7>; + phy-mode = "internal"; + phy-handle = <&phy12>; + label = "wan"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts index 893bbe02b9..e5b3764329 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94908.dts @@ -1,43 +1,43 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm4908.dtsi" - -/ { - model = "Broadcom BCM94908 Reference Board"; - compatible = "brcm,bcm94908", "brcm,bcm4908", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm4908.dtsi" + +/ { + model = "Broadcom BCM94908 Reference Board"; + compatible = "brcm,bcm94908", "brcm,bcm4908", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94912.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94912.dts index a75ab08963..4b779e6c22 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94912.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm94912.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm4912.dtsi" - -/ { - model = "Broadcom BCM94912 Reference Board"; - compatible = "brcm,bcm94912", "brcm,bcm4912", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm4912.dtsi" + +/ { + model = "Broadcom BCM94912 Reference Board"; + compatible = "brcm,bcm94912", "brcm,bcm4912", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts index 96c9ca8cb7..2851e8e41b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963146.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm63146.dtsi" - -/ { - model = "Broadcom BCM963146 Reference Board"; - compatible = "brcm,bcm963146", "brcm,bcm63146", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63146.dtsi" + +/ { + model = "Broadcom BCM963146 Reference Board"; + compatible = "brcm,bcm963146", "brcm,bcm63146", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts index 4ae97f73e0..17dc594fe8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm963158.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm63158.dtsi" - -/ { - model = "Broadcom BCM963158 Reference Board"; - compatible = "brcm,bcm963158", "brcm,bcm63158", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm63158.dtsi" + +/ { + model = "Broadcom BCM963158 Reference Board"; + compatible = "brcm,bcm963158", "brcm,bcm63158", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts index 55c46a83e7..34832a7347 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96813.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6813.dtsi" - -/ { - model = "Broadcom BCM96813 Reference Board"; - compatible = "brcm,bcm96813", "brcm,bcm6813", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6813.dtsi" + +/ { + model = "Broadcom BCM96813 Reference Board"; + compatible = "brcm,bcm96813", "brcm,bcm6813", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts index 289e29d824..e1396b5544 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96856.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6856.dtsi" - -/ { - model = "Broadcom BCM96856 Reference Board"; - compatible = "brcm,bcm96856", "brcm,bcm6856", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6856.dtsi" + +/ { + model = "Broadcom BCM96856 Reference Board"; + compatible = "brcm,bcm96856", "brcm,bcm6856", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96858.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96858.dts index a5b4b984da..30bbf6f291 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96858.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/bcmbca/bcm96858.dts @@ -1,44 +1,44 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2022 Broadcom Ltd. - */ - -/dts-v1/; - -#include "bcm6858.dtsi" - -/ { - model = "Broadcom BCM96858 Reference Board"; - compatible = "brcm,bcm96858", "brcm,bcm6858", "brcm,bcmbca"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x08000000>; - }; -}; - -&uart0 { - status = "okay"; -}; - -&hsspi { - status = "okay"; -}; - -&nand_controller { - brcm,wp-not-connected; - status = "okay"; -}; - -&nandcs { - nand-on-flash-bbt; - brcm,nand-ecc-use-strap; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2022 Broadcom Ltd. + */ + +/dts-v1/; + +#include "bcm6858.dtsi" + +/ { + model = "Broadcom BCM96858 Reference Board"; + compatible = "brcm,bcm96858", "brcm,bcm6858", "brcm,bcmbca"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x08000000>; + }; +}; + +&uart0 { + status = "okay"; +}; + +&hsspi { + status = "okay"; +}; + +&nand_controller { + brcm,wp-not-connected; + status = "okay"; +}; + +&nandcs { + nand-on-flash-bbt; + brcm,nand-ecc-use-strap; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts index b82b9a3233..66471a25e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/broadcom/stingray/bcm958802a802x.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) -/* - *Copyright(c) 2018 Broadcom - */ - -/dts-v1/; - -#include "stingray-board-base.dtsi" - -/ { - compatible = "brcm,bcm958802a802x", "brcm,stingray"; - model = "Stingray PS225xx (BCM958802A802x)"; -}; - -&enet { - status = "disabled"; -}; - -&sdio0 { - no-1-8-v; - status = "okay"; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) +/* + *Copyright(c) 2018 Broadcom + */ + +/dts-v1/; + +#include "stingray-board-base.dtsi" + +/ { + compatible = "brcm,bcm958802a802x", "brcm,stingray"; + model = "Stingray PS225xx (BCM958802A802x)"; +}; + +&enet { + status = "disabled"; +}; + +&sdio0 { + no-1-8-v; + status = "okay"; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/thunder2-99xx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/thunder2-99xx.dts index 7dab86eb13..89fc4107a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/thunder2-99xx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/cavium/thunder2-99xx.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * dts file for Cavium ThunderX2 CN99XX Evaluation Platform - * - * Copyright (c) 2017 Cavium Inc. - * Copyright (c) 2013-2016 Broadcom - */ - -/dts-v1/; - -#include "thunder2-99xx.dtsi" - -/ { - model = "Cavium ThunderX2 CN99XX"; - compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc"; - - memory@80000000 { - device_type = "memory"; - reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ - <0x00000008 0x80000000 0x0 0x80000000>; /* 2G @ 34G */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * dts file for Cavium ThunderX2 CN99XX Evaluation Platform + * + * Copyright (c) 2017 Cavium Inc. + * Copyright (c) 2013-2016 Broadcom + */ + +/dts-v1/; + +#include "thunder2-99xx.dtsi" + +/ { + model = "Cavium ThunderX2 CN99XX"; + compatible = "cavium,thunderx2-cn9900", "brcm,vulcan-soc"; + + memory@80000000 { + device_type = "memory"; + reg = <0x00000000 0x80000000 0x0 0x80000000>, /* 2G @ 2G */ + <0x00000008 0x80000000 0x0 0x80000000>; /* 2G @ 34G */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts index 2440f99d1a..08851ca407 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Device Tree file for the Kontron SMARC-sAL28 board. - * - * This is for the network variant 3 which has one ethernet ports. - * - * Copyright (C) 2024 Michael Walle - * - */ - -/dts-v1/; - -#include "fsl-ls1028a-kontron-sl28.dts" - -/ { - model = "Kontron SMARC-sAL28 (Single PHY)"; - compatible = "kontron,sl28-var3", "kontron,sl28", "fsl,ls1028a"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Device Tree file for the Kontron SMARC-sAL28 board. + * + * This is for the network variant 3 which has one ethernet ports. + * + * Copyright (C) 2024 Michael Walle + * + */ + +/dts-v1/; + +#include "fsl-ls1028a-kontron-sl28.dts" + +/ { + model = "Kontron SMARC-sAL28 (Single PHY)"; + compatible = "kontron,sl28-var3", "kontron,sl28", "fsl,ls1028a"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts index 69f00556c5..f6c3ee78ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Freescale LS2080a QDS Board. - * - * Copyright 2015-2016 Freescale Semiconductor, Inc. - * Copyright 2017 NXP - * - * Abhimanyu Saini - * Bhupesh Sharma - * - */ - -/dts-v1/; - -#include "fsl-ls2080a.dtsi" -#include "fsl-ls208xa-qds.dtsi" - -/ { - model = "Freescale Layerscape 2080a QDS Board"; - compatible = "fsl,ls2080a-qds", "fsl,ls2080a"; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Freescale LS2080a QDS Board. + * + * Copyright 2015-2016 Freescale Semiconductor, Inc. + * Copyright 2017 NXP + * + * Abhimanyu Saini + * Bhupesh Sharma + * + */ + +/dts-v1/; + +#include "fsl-ls2080a.dtsi" +#include "fsl-ls208xa-qds.dtsi" + +/ { + model = "Freescale Layerscape 2080a QDS Board"; + compatible = "fsl,ls2080a-qds", "fsl,ls2080a"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts index 994acbcb5b..5517305039 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2080a-simu.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Freescale LS2080a software Simulator model - * - * Copyright 2014-2015 Freescale Semiconductor, Inc. - * - * Bhupesh Sharma - * - */ - -/dts-v1/; - -#include "fsl-ls2080a.dtsi" - -/ { - model = "Freescale Layerscape 2080a software Simulator model"; - compatible = "fsl,ls2080a-simu", "fsl,ls2080a"; - - ethernet@2210000 { - compatible = "smsc,lan91c111"; - reg = <0x0 0x2210000 0x0 0x100>; - interrupts = <0 58 0x1>; - }; -}; - -&ifc { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Freescale LS2080a software Simulator model + * + * Copyright 2014-2015 Freescale Semiconductor, Inc. + * + * Bhupesh Sharma + * + */ + +/dts-v1/; + +#include "fsl-ls2080a.dtsi" + +/ { + model = "Freescale Layerscape 2080a software Simulator model"; + compatible = "fsl,ls2080a-simu", "fsl,ls2080a"; + + ethernet@2210000 { + compatible = "smsc,lan91c111"; + reg = <0x0 0x2210000 0x0 0x100>; + interrupts = <0 58 0x1>; + }; +}; + +&ifc { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts index 1b15994dd5..7c17b1bd45 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-ls2088a-qds.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Freescale LS2088A QDS Board. - * - * Copyright 2016 Freescale Semiconductor, Inc. - * Copyright 2017 NXP - * - * Abhimanyu Saini - * - */ - -/dts-v1/; - -#include "fsl-ls2088a.dtsi" -#include "fsl-ls208xa-qds.dtsi" - -/ { - model = "Freescale Layerscape 2088A QDS Board"; - compatible = "fsl,ls2088a-qds", "fsl,ls2088a"; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Freescale LS2088A QDS Board. + * + * Copyright 2016 Freescale Semiconductor, Inc. + * Copyright 2017 NXP + * + * Abhimanyu Saini + * + */ + +/dts-v1/; + +#include "fsl-ls2088a.dtsi" +#include "fsl-ls208xa-qds.dtsi" + +/ { + model = "Freescale Layerscape 2088A QDS Board"; + compatible = "fsl,ls2088a-qds", "fsl,ls2088a"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_12_x_x.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_12_x_x.dtso index 6755894f26..8284a564e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_12_x_x.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_12_x_x.dtso @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2020-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger - */ - -/dts-v1/; -/plugin/; - -&dpmac9 { - phy-handle = <&dp83867_2_1>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&dpmac10 { - phy-handle = <&dp83867_2_2>; - phy-connection-type = "sgmii"; - managed = "in-band-status"; -}; - -&pcs_mdio9 { - status = "okay"; -}; - -&pcs_mdio10 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2020-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger + */ + +/dts-v1/; +/plugin/; + +&dpmac9 { + phy-handle = <&dp83867_2_1>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&dpmac10 { + phy-handle = <&dp83867_2_2>; + phy-connection-type = "sgmii"; + managed = "in-band-status"; +}; + +&pcs_mdio9 { + status = "okay"; +}; + +&pcs_mdio10 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_8_x.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_8_x.dtso index 998cd54d98..f6dfa76aa0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_8_x.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/fsl-lx2160a-tqmlx2160a-mblx2160a_x_8_x.dtso @@ -1,47 +1,47 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2020-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Gregor Herburger - */ - -/dts-v1/; -/plugin/; - -&dpmac13 { - sfp = <&sfp_xfi1>; - managed = "in-band-status"; -}; - -&dpmac14 { - sfp = <&sfp_xfi2>; - managed = "in-band-status"; -}; - -&pcs_mdio13 { - status = "okay"; -}; - -&pcs_mdio14 { - status = "okay"; -}; - -&sata0 { - status = "okay"; -}; - -&sata1 { - status = "okay"; -}; - -&sata2 { - status = "okay"; -}; - -&sfp_xfi1 { - status = "okay"; -}; - -&sfp_xfi2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2020-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Gregor Herburger + */ + +/dts-v1/; +/plugin/; + +&dpmac13 { + sfp = <&sfp_xfi1>; + managed = "in-band-status"; +}; + +&dpmac14 { + sfp = <&sfp_xfi2>; + managed = "in-band-status"; +}; + +&pcs_mdio13 { + status = "okay"; +}; + +&pcs_mdio14 { + status = "okay"; +}; + +&sata0 { + status = "okay"; +}; + +&sata1 { + status = "okay"; +}; + +&sata2 { + status = "okay"; +}; + +&sfp_xfi1 { + status = "okay"; +}; + +&sfp_xfi2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi index 69fd367e9b..7d5183c6c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8-ss-ddr.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2019-2020 NXP - * Dong Aisheng - */ - -ddr_subsys: bus@5c000000 { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges = <0x5c000000 0x0 0x5c000000 0x1000000>; - - ddr_pmu0: ddr-pmu@5c020000 { - compatible = "fsl,imx8-ddr-pmu"; - reg = <0x5c020000 0x10000>; - interrupts = ; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2019-2020 NXP + * Dong Aisheng + */ + +ddr_subsys: bus@5c000000 { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x5c000000 0x0 0x5c000000 0x1000000>; + + ddr_pmu0: ddr-pmu@5c020000 { + compatible = "fsl,imx8-ddr-pmu"; + reg = <0x5c020000 0x10000>; + interrupts = ; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi index 238ed64e32..4d1ad052c5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dx-colibri.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2018-2021 Toradex - */ - -#include "imx8dx.dtsi" -#include "imx8x-colibri.dtsi" - -/ { - model = "Toradex Colibri iMX8DX Module"; -}; - -&thermal_zones { - pmic-thermal { - cooling-maps { - map0 { - cooling-device = <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2018-2021 Toradex + */ + +#include "imx8dx.dtsi" +#include "imx8x-colibri.dtsi" + +/ { + model = "Toradex Colibri iMX8DX Module"; +}; + +&thermal_zones { + pmic-thermal { + cooling-maps { + map0 { + cooling-device = <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp-mba8xx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp-mba8xx.dts index 4b3a1b37b9..f35514b7b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp-mba8xx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp-mba8xx.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) -/* - * Copyright 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; - -#include "imx8dxp-tqma8xdp.dtsi" -#include "mba8xx.dtsi" - -/ { - model = "TQ-Systems i.MX8DXP TQMa8XDP on MBa8Xx"; - compatible = "tq,imx8dxp-tqma8xdp-mba8xx", "tq,imx8dxp-tqma8xdp", "fsl,imx8dxp"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; + +#include "imx8dxp-tqma8xdp.dtsi" +#include "mba8xx.dtsi" + +/ { + model = "TQ-Systems i.MX8DXP TQMa8XDP on MBa8Xx"; + compatible = "tq,imx8dxp-tqma8xdp-mba8xx", "tq,imx8dxp-tqma8xdp", "fsl,imx8dxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp.dtsi index 076e3b1969..e2de8517aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp-tqma8xdp.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) -/* - * Copyright 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -#include "imx8dxp.dtsi" -#include "tqma8xx.dtsi" - -/ { - model = "TQ-Systems i.MX8DXP TQMa8XDP"; - compatible = "tq,imx8dxp-tqma8xdp", "fsl,imx8dxp"; -}; - -&pmic_thermal { - cooling-maps { - map0 { - cooling-device = - <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +#include "imx8dxp.dtsi" +#include "tqma8xx.dtsi" + +/ { + model = "TQ-Systems i.MX8DXP TQMa8XDP"; + compatible = "tq,imx8dxp-tqma8xdp", "fsl,imx8dxp"; +}; + +&pmic_thermal { + cooling-maps { + map0 { + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp.dtsi index 6855faea9f..a8f7352332 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8dxp.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (C) 2016 Freescale Semiconductor, Inc. - * Copyright 2017-2019 NXP - */ - -/dts-v1/; - -#include "imx8qxp.dtsi" - -/delete-node/ &A35_2; -/delete-node/ &A35_3; - -&thermal_zones { - cpu0-thermal { - cooling-maps { - map0 { - cooling-device = - <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, - <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2016 Freescale Semiconductor, Inc. + * Copyright 2017-2019 NXP + */ + +/dts-v1/; + +#include "imx8qxp.dtsi" + +/delete-node/ &A35_2; +/delete-node/ &A35_3; + +&thermal_zones { + cpu0-thermal { + cooling-maps { + map0 { + cooling-device = + <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dts index 5405afc235..c8ff702126 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-emcon-avari.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -// -// Copyright (c) 2021 emtrion GmbH -// Author: Frank Erdrich -// - -/dts-v1/; - -#include "imx8mm-emcon.dtsi" -#include "imx8mm-emcon-avari.dtsi" - -/ { - model = "emtrion SoM emCON-MX8M mini on Avari"; - compatible = "emtrion,emcon-mx8mm-avari", "fsl,imx8mm"; -}; - -&lvds_backlight { - status = "okay"; -}; - -&pwm1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +// +// Copyright (c) 2021 emtrion GmbH +// Author: Frank Erdrich +// + +/dts-v1/; + +#include "imx8mm-emcon.dtsi" +#include "imx8mm-emcon-avari.dtsi" + +/ { + model = "emtrion SoM emCON-MX8M mini on Avari"; + compatible = "emtrion,emcon-mx8mm-avari", "fsl,imx8mm"; +}; + +&lvds_backlight { + status = "okay"; +}; + +&pwm1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx-0x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx-0x.dts index 5fc689e706..3f88c4ad57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx-0x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw71xx-0x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2020 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mm.dtsi" -#include "imx8mm-venice-gw700x.dtsi" -#include "imx8mm-venice-gw71xx.dtsi" - -/ { - model = "Gateworks Venice GW71xx-0x i.MX8MM Development Kit"; - compatible = "gw,imx8mm-gw71xx-0x", "fsl,imx8mm"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2020 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mm.dtsi" +#include "imx8mm-venice-gw700x.dtsi" +#include "imx8mm-venice-gw71xx.dtsi" + +/ { + model = "Gateworks Venice GW71xx-0x i.MX8MM Development Kit"; + compatible = "gw,imx8mm-gw71xx-0x", "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x.dts index bb70131570..641be3af98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2020 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mm.dtsi" -#include "imx8mm-venice-gw700x.dtsi" -#include "imx8mm-venice-gw72xx.dtsi" - -/ { - model = "Gateworks Venice GW72xx-0x i.MX8MM Development Kit"; - compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2020 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mm.dtsi" +#include "imx8mm-venice-gw700x.dtsi" +#include "imx8mm-venice-gw72xx.dtsi" + +/ { + model = "Gateworks Venice GW72xx-0x i.MX8MM Development Kit"; + compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x.dts index 694a92738c..6905437ff2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2020 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mm.dtsi" -#include "imx8mm-venice-gw700x.dtsi" -#include "imx8mm-venice-gw73xx.dtsi" - -/ { - model = "Gateworks Venice GW73xx-0x i.MX8MM Development Kit"; - compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2020 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mm.dtsi" +#include "imx8mm-venice-gw700x.dtsi" +#include "imx8mm-venice-gw73xx.dtsi" + +/ { + model = "Gateworks Venice GW73xx-0x i.MX8MM Development Kit"; + compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw75xx-0x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw75xx-0x.dts index a172d55361..04f06a55da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw75xx-0x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-venice-gw75xx-0x.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2023 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mm.dtsi" -#include "imx8mm-venice-gw700x.dtsi" -#include "imx8mm-venice-gw75xx.dtsi" - -/ { - model = "Gateworks Venice GW75xx-0x i.MX8MM Development Kit"; - compatible = "gateworks,imx8mm-gw75xx-0x", "fsl,imx8mm"; - - chosen { - stdout-path = &uart2; - }; -}; - -/* Disable SOM interfaces not used on baseboard */ -&fec1 { - status = "disabled"; -}; - -&usdhc1 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2023 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mm.dtsi" +#include "imx8mm-venice-gw700x.dtsi" +#include "imx8mm-venice-gw75xx.dtsi" + +/ { + model = "Gateworks Venice GW75xx-0x i.MX8MM Development Kit"; + compatible = "gateworks,imx8mm-gw75xx-0x", "fsl,imx8mm"; + + chosen { + stdout-path = &uart2; + }; +}; + +/* Disable SOM interfaces not used on baseboard */ +&fec1 { + status = "disabled"; +}; + +&usdhc1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts index 7dc8537779..d64ff378a1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dahlia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-nonwifi.dtsi" -#include "imx8mm-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini on Dahlia Board"; - compatible = "toradex,verdin-imx8mm-nonwifi-dahlia", - "toradex,verdin-imx8mm-nonwifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Dahlia Board"; + compatible = "toradex,verdin-imx8mm-nonwifi-dahlia", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts index df2d89f152..6ae71ecac8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-dev.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-nonwifi.dtsi" -#include "imx8mm-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini on Verdin Development Board"; - compatible = "toradex,verdin-imx8mm-nonwifi-dev", - "toradex,verdin-imx8mm-nonwifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Verdin Development Board"; + compatible = "toradex,verdin-imx8mm-nonwifi-dev", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-mallow.dts index 2d9ca4e2db..1b1999f3a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-mallow.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-nonwifi.dtsi" -#include "imx8mm-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini on Mallow"; - compatible = "toradex,verdin-imx8mm-nonwifi-mallow", - "toradex,verdin-imx8mm-nonwifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Mallow"; + compatible = "toradex,verdin-imx8mm-nonwifi-mallow", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-yavia.dts index 0e20f98e52..c71825ecf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-nonwifi-yavia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-nonwifi.dtsi" -#include "imx8mm-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini on Yavia Board"; - compatible = "toradex,verdin-imx8mm-nonwifi-yavia", - "toradex,verdin-imx8mm-nonwifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-nonwifi.dtsi" +#include "imx8mm-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini on Yavia Board"; + compatible = "toradex,verdin-imx8mm-nonwifi-yavia", + "toradex,verdin-imx8mm-nonwifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts index 9bc2d255fd..d424c475cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dahlia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-wifi.dtsi" -#include "imx8mm-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini WB on Dahlia Board"; - compatible = "toradex,verdin-imx8mm-wifi-dahlia", - "toradex,verdin-imx8mm-wifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Dahlia Board"; + compatible = "toradex,verdin-imx8mm-wifi-dahlia", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts index 43faf9bfb3..ef95202183 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-dev.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-wifi.dtsi" -#include "imx8mm-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini WB on Verdin Development Board"; - compatible = "toradex,verdin-imx8mm-wifi-dev", - "toradex,verdin-imx8mm-wifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Verdin Development Board"; + compatible = "toradex,verdin-imx8mm-wifi-dev", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-mallow.dts index f79a791231..2916145f31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-mallow.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-wifi.dtsi" -#include "imx8mm-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini WB on Mallow"; - compatible = "toradex,verdin-imx8mm-wifi-mallow", - "toradex,verdin-imx8mm-wifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Mallow"; + compatible = "toradex,verdin-imx8mm-wifi-mallow", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-yavia.dts index 6d16734ce4..fe39de9310 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mm-verdin-wifi-yavia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mm-verdin.dtsi" -#include "imx8mm-verdin-wifi.dtsi" -#include "imx8mm-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Mini WB on Yavia Board"; - compatible = "toradex,verdin-imx8mm-wifi-yavia", - "toradex,verdin-imx8mm-wifi", - "toradex,verdin-imx8mm", - "fsl,imx8mm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mm-verdin.dtsi" +#include "imx8mm-verdin-wifi.dtsi" +#include "imx8mm-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Mini WB on Yavia Board"; + compatible = "toradex,verdin-imx8mm-wifi-yavia", + "toradex,verdin-imx8mm-wifi", + "toradex,verdin-imx8mm", + "fsl,imx8mm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi index d82ffa8172..5d03fb893e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mn-overdrive.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -&gpu { - assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE>, - <&clk IMX8MN_CLK_GPU_SHADER>, - <&clk IMX8MN_CLK_GPU_AXI>, - <&clk IMX8MN_CLK_GPU_AHB>, - <&clk IMX8MN_GPU_PLL>; - assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>, - <&clk IMX8MN_GPU_PLL_OUT>, - <&clk IMX8MN_SYS_PLL1_800M>, - <&clk IMX8MN_SYS_PLL1_800M>; - assigned-clock-rates = <600000000>, - <600000000>, - <800000000>, - <400000000>, - <1200000000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&gpu { + assigned-clocks = <&clk IMX8MN_CLK_GPU_CORE>, + <&clk IMX8MN_CLK_GPU_SHADER>, + <&clk IMX8MN_CLK_GPU_AXI>, + <&clk IMX8MN_CLK_GPU_AHB>, + <&clk IMX8MN_GPU_PLL>; + assigned-clock-parents = <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_GPU_PLL_OUT>, + <&clk IMX8MN_SYS_PLL1_800M>, + <&clk IMX8MN_SYS_PLL1_800M>; + assigned-clock-rates = <600000000>, + <600000000>, + <800000000>, + <400000000>, + <1200000000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-hdmi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-hdmi.dts index d9e772cf7b..c1ca69da3c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-hdmi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-skov-revb-hdmi.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) - -/dts-v1/; - -#include "imx8mp-skov-reva.dtsi" - -/ { - model = "SKOV IMX8MP CPU revB - HDMI"; - compatible = "skov,imx8mp-skov-revb-hdmi", "fsl,imx8mp"; -}; - -&iomuxc { - pinctrl_hdmi: hdmigrp { - fsl,pins = < - MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c3 - MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c3 - MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x19 - >; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) + +/dts-v1/; + +#include "imx8mp-skov-reva.dtsi" + +/ { + model = "SKOV IMX8MP CPU revB - HDMI"; + compatible = "skov,imx8mp-skov-revb-hdmi", "fsl,imx8mp"; +}; + +&iomuxc { + pinctrl_hdmi: hdmigrp { + fsl,pins = < + MX8MP_IOMUXC_HDMI_DDC_SCL__HDMIMIX_HDMI_SCL 0x1c3 + MX8MP_IOMUXC_HDMI_DDC_SDA__HDMIMIX_HDMI_SDA 0x1c3 + MX8MP_IOMUXC_HDMI_HPD__HDMIMIX_HDMI_HPD 0x19 + >; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx-2x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx-2x.dts index 4316b6121f..53120fc9cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx-2x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw71xx-2x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2023 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mp.dtsi" -#include "imx8mp-venice-gw702x.dtsi" -#include "imx8mp-venice-gw71xx.dtsi" - -/ { - model = "Gateworks Venice GW71xx-2x i.MX8MP Development Kit"; - compatible = "gateworks,imx8mp-gw71xx-2x", "fsl,imx8mp"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2023 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mp.dtsi" +#include "imx8mp-venice-gw702x.dtsi" +#include "imx8mp-venice-gw71xx.dtsi" + +/ { + model = "Gateworks Venice GW71xx-2x i.MX8MP Development Kit"; + compatible = "gateworks,imx8mp-gw71xx-2x", "fsl,imx8mp"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx-2x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx-2x.dts index 531b6c1c04..255e36f66b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx-2x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw72xx-2x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2023 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mp.dtsi" -#include "imx8mp-venice-gw702x.dtsi" -#include "imx8mp-venice-gw72xx.dtsi" - -/ { - model = "Gateworks Venice GW72xx-2x i.MX8MP Development Kit"; - compatible = "gateworks,imx8mp-gw72xx-2x", "fsl,imx8mp"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2023 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mp.dtsi" +#include "imx8mp-venice-gw702x.dtsi" +#include "imx8mp-venice-gw72xx.dtsi" + +/ { + model = "Gateworks Venice GW72xx-2x i.MX8MP Development Kit"; + compatible = "gateworks,imx8mp-gw72xx-2x", "fsl,imx8mp"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx-2x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx-2x.dts index 2a6fb87837..000fd15e0c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx-2x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw73xx-2x.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2023 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mp.dtsi" -#include "imx8mp-venice-gw702x.dtsi" -#include "imx8mp-venice-gw73xx.dtsi" - -/ { - model = "Gateworks Venice GW73xx-2x i.MX8MP Development Kit"; - compatible = "gateworks,imx8mp-gw73xx-2x", "fsl,imx8mp"; - - chosen { - stdout-path = &uart2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2023 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mp.dtsi" +#include "imx8mp-venice-gw702x.dtsi" +#include "imx8mp-venice-gw73xx.dtsi" + +/ { + model = "Gateworks Venice GW73xx-2x i.MX8MP Development Kit"; + compatible = "gateworks,imx8mp-gw73xx-2x", "fsl,imx8mp"; + + chosen { + stdout-path = &uart2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw75xx-2x.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw75xx-2x.dts index be044c89cf..7ca68df9e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw75xx-2x.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-venice-gw75xx-2x.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright 2023 Gateworks Corporation - */ - -/dts-v1/; - -#include "imx8mp.dtsi" -#include "imx8mp-venice-gw702x.dtsi" -#include "imx8mp-venice-gw75xx.dtsi" - -/ { - model = "Gateworks Venice GW75xx-2x i.MX8MP Development Kit"; - compatible = "gateworks,imx8mp-gw75xx-2x", "fsl,imx8mp"; - - chosen { - stdout-path = &uart2; - }; -}; - -/* Disable SOM interfaces not used on baseboard */ -&eqos { - status = "disabled"; -}; - -&usdhc1 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright 2023 Gateworks Corporation + */ + +/dts-v1/; + +#include "imx8mp.dtsi" +#include "imx8mp-venice-gw702x.dtsi" +#include "imx8mp-venice-gw75xx.dtsi" + +/ { + model = "Gateworks Venice GW75xx-2x i.MX8MP Development Kit"; + compatible = "gateworks,imx8mp-gw75xx-2x", "fsl,imx8mp"; + + chosen { + stdout-path = &uart2; + }; +}; + +/* Disable SOM interfaces not used on baseboard */ +&eqos { + status = "disabled"; +}; + +&usdhc1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts index 429b465680..68147b0c1b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dahlia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-nonwifi.dtsi" -#include "imx8mp-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus on Dahlia Board"; - compatible = "toradex,verdin-imx8mp-nonwifi-dahlia", - "toradex,verdin-imx8mp-nonwifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-nonwifi.dtsi" +#include "imx8mp-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus on Dahlia Board"; + compatible = "toradex,verdin-imx8mp-nonwifi-dahlia", + "toradex,verdin-imx8mp-nonwifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts index 484c621da2..879ff687cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-dev.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-nonwifi.dtsi" -#include "imx8mp-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus on Verdin Development Board"; - compatible = "toradex,verdin-imx8mp-nonwifi-dev", - "toradex,verdin-imx8mp-nonwifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-nonwifi.dtsi" +#include "imx8mp-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus on Verdin Development Board"; + compatible = "toradex,verdin-imx8mp-nonwifi-dev", + "toradex,verdin-imx8mp-nonwifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-mallow.dts index eaa0a83060..6a536a4964 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-mallow.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-nonwifi.dtsi" -#include "imx8mp-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus on Mallow Board"; - compatible = "toradex,verdin-imx8mp-nonwifi-mallow", - "toradex,verdin-imx8mp-nonwifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-nonwifi.dtsi" +#include "imx8mp-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus on Mallow Board"; + compatible = "toradex,verdin-imx8mp-nonwifi-mallow", + "toradex,verdin-imx8mp-nonwifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-yavia.dts index 16656afec0..b28477df1e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-nonwifi-yavia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-nonwifi.dtsi" -#include "imx8mp-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus on Yavia Board"; - compatible = "toradex,verdin-imx8mp-nonwifi-yavia", - "toradex,verdin-imx8mp-nonwifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-nonwifi.dtsi" +#include "imx8mp-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus on Yavia Board"; + compatible = "toradex,verdin-imx8mp-nonwifi-yavia", + "toradex,verdin-imx8mp-nonwifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts index a9be49b95c..804567f6cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dahlia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-wifi.dtsi" -#include "imx8mp-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus WB on Dahlia Board"; - compatible = "toradex,verdin-imx8mp-wifi-dahlia", - "toradex,verdin-imx8mp-wifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-wifi.dtsi" +#include "imx8mp-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus WB on Dahlia Board"; + compatible = "toradex,verdin-imx8mp-wifi-dahlia", + "toradex,verdin-imx8mp-wifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts index 062583626c..c1713c28cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-dev.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-wifi.dtsi" -#include "imx8mp-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus WB on Verdin Development Board"; - compatible = "toradex,verdin-imx8mp-wifi-dev", - "toradex,verdin-imx8mp-wifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-wifi.dtsi" +#include "imx8mp-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus WB on Verdin Development Board"; + compatible = "toradex,verdin-imx8mp-wifi-dev", + "toradex,verdin-imx8mp-wifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-mallow.dts index a306b9f7bb..08b7aef3fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-mallow.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-wifi.dtsi" -#include "imx8mp-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus WB on Mallow Board"; - compatible = "toradex,verdin-imx8mp-wifi-mallow", - "toradex,verdin-imx8mp-wifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-wifi.dtsi" +#include "imx8mp-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus WB on Mallow Board"; + compatible = "toradex,verdin-imx8mp-wifi-mallow", + "toradex,verdin-imx8mp-wifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-yavia.dts index 252a78a286..100bef1208 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mp-verdin-wifi-yavia.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - */ - -/dts-v1/; - -#include "imx8mp-verdin.dtsi" -#include "imx8mp-verdin-wifi.dtsi" -#include "imx8mp-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin iMX8M Plus WB on Yavia Board"; - compatible = "toradex,verdin-imx8mp-wifi-yavia", - "toradex,verdin-imx8mp-wifi", - "toradex,verdin-imx8mp", - "fsl,imx8mp"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + */ + +/dts-v1/; + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-wifi.dtsi" +#include "imx8mp-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin iMX8M Plus WB on Yavia Board"; + compatible = "toradex,verdin-imx8mp-wifi-yavia", + "toradex,verdin-imx8mp-wifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts index 1a55e44ac0..cf40025111 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2020 Purism SPC -// -// Librem 5 Chestnut - -/dts-v1/; - -#include "imx8mq-librem5.dtsi" - -/ { - model = "Purism Librem 5r2"; - compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq"; -}; - -&accel_gyro { - mount-matrix = "1", "0", "0", - "0", "-1", "0", - "0", "0", "1"; -}; - -&bq25895 { - ti,charge-current = <1600000>; /* uA */ -}; - -&proximity { - proximity-near-level = <50>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2020 Purism SPC +// +// Librem 5 Chestnut + +/dts-v1/; + +#include "imx8mq-librem5.dtsi" + +/ { + model = "Purism Librem 5r2"; + compatible = "purism,librem5r2", "purism,librem5", "fsl,imx8mq"; +}; + +&accel_gyro { + mount-matrix = "1", "0", "0", + "0", "-1", "0", + "0", "0", "1"; +}; + +&bq25895 { + ti,charge-current = <1600000>; /* uA */ +}; + +&proximity { + proximity-near-level = <50>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts index 182241a9b2..33f398b481 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2021 Purism SPC - -/dts-v1/; - -#include "imx8mq-librem5-r3.dtsi" - -/ { - model = "Purism Librem 5r4"; - compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq"; -}; - -&bat { - maxim,rsns-microohm = <1667>; -}; - -&led_backlight { - led-max-microamp = <25000>; -}; - -&lcd_panel { - compatible = "ys,ys57pss36bh5gq"; -}; - -&proximity { - proximity-near-level = <7>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2021 Purism SPC + +/dts-v1/; + +#include "imx8mq-librem5-r3.dtsi" + +/ { + model = "Purism Librem 5r4"; + compatible = "purism,librem5r4", "purism,librem5", "fsl,imx8mq"; +}; + +&bat { + maxim,rsns-microohm = <1667>; +}; + +&led_backlight { + led-max-microamp = <25000>; +}; + +&lcd_panel { + compatible = "ys,ys57pss36bh5gq"; +}; + +&proximity { + proximity-near-level = <7>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval-v1.2.dts index 4cbc4e6bed..92c0ae0c03 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval-v1.2.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2024 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis-v1.1.dtsi" -#include "imx8-apalis-eval-v1.2.dtsi" - -/ { - model = "Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2"; - compatible = "toradex,apalis-imx8-v1.1-eval-v1.2", - "toradex,apalis-imx8-v1.1", - "fsl,imx8qm"; -}; - -/* Apalis MMC1 */ -&usdhc2 { - /delete-property/ no-1-8-v; -}; - -/* Apalis SD1 */ -&usdhc3 { - /delete-property/ no-1-8-v; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2024 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis-v1.1.dtsi" +#include "imx8-apalis-eval-v1.2.dtsi" + +/ { + model = "Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board V1.2"; + compatible = "toradex,apalis-imx8-v1.1-eval-v1.2", + "toradex,apalis-imx8-v1.1", + "fsl,imx8qm"; +}; + +/* Apalis MMC1 */ +&usdhc2 { + /delete-property/ no-1-8-v; +}; + +/* Apalis SD1 */ +&usdhc3 { + /delete-property/ no-1-8-v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval.dts index 1e203340dd..c998e542f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-eval.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis-v1.1.dtsi" -#include "imx8-apalis-eval-v1.1.dtsi" - -/ { - model = "Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board"; - compatible = "toradex,apalis-imx8-v1.1-eval", - "toradex,apalis-imx8-v1.1", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis-v1.1.dtsi" +#include "imx8-apalis-eval-v1.1.dtsi" + +/ { + model = "Toradex Apalis iMX8QM V1.1 on Apalis Evaluation Board"; + compatible = "toradex,apalis-imx8-v1.1-eval", + "toradex,apalis-imx8-v1.1", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.1.dts index b0f3ff0380..ad7f644968 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis-v1.1.dtsi" -#include "imx8-apalis-ixora-v1.1.dtsi" - -/ { - model = "Toradex Apalis iMX8QM V1.1 on Apalis Ixora V1.1 Carrier Board"; - compatible = "toradex,apalis-imx8-v1.1-ixora-v1.1", - "toradex,apalis-imx8-v1.1", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis-v1.1.dtsi" +#include "imx8-apalis-ixora-v1.1.dtsi" + +/ { + model = "Toradex Apalis iMX8QM V1.1 on Apalis Ixora V1.1 Carrier Board"; + compatible = "toradex,apalis-imx8-v1.1-ixora-v1.1", + "toradex,apalis-imx8-v1.1", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.2.dts index 3289ce830c..3b2e8c93b8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-apalis-v1.1-ixora-v1.2.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2022 Toradex - */ - -/dts-v1/; - -#include "imx8qm-apalis-v1.1.dtsi" -#include "imx8-apalis-ixora-v1.2.dtsi" - -/ { - model = "Toradex Apalis iMX8QM V1.1 on Apalis Ixora V1.2 Carrier Board"; - compatible = "toradex,apalis-imx8-v1.1-ixora-v1.2", - "toradex,apalis-imx8-v1.1", - "fsl,imx8qm"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2022 Toradex + */ + +/dts-v1/; + +#include "imx8qm-apalis-v1.1.dtsi" +#include "imx8-apalis-ixora-v1.2.dtsi" + +/ { + model = "Toradex Apalis iMX8QM V1.1 on Apalis Ixora V1.2 Carrier Board"; + compatible = "toradex,apalis-imx8-v1.1-ixora-v1.2", + "toradex,apalis-imx8-v1.1", + "fsl,imx8qm"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi index 57e822dbd4..f4c393fe72 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qm-ss-mipi.dtsi @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0+ - -/* - * Copyright 2024 NXP - */ - -&mipi0_lis_lpcg { - clocks = <&dsi_ipg_clk>; - clock-indices = ; - clock-output-names = "mipi0_lis_lpcg_ipg_clk"; -}; - -&mipi0_pwm_lpcg { - clocks = <&clk IMX_SC_R_MIPI_0_PWM_0 IMX_SC_PM_CLK_PER>, - <&dsi_ipg_clk>; - clock-indices = , ; - clock-output-names = "mipi0_pwm_lpcg_clk", - "mipi0_pwm_lpcg_ipg_clk"; +// SPDX-License-Identifier: GPL-2.0+ + +/* + * Copyright 2024 NXP + */ + +&mipi0_lis_lpcg { + clocks = <&dsi_ipg_clk>; + clock-indices = ; + clock-output-names = "mipi0_lis_lpcg_ipg_clk"; +}; + +&mipi0_pwm_lpcg { + clocks = <&clk IMX_SC_R_MIPI_0_PWM_0 IMX_SC_PM_CLK_PER>, + <&dsi_ipg_clk>; + clock-indices = , ; + clock-output-names = "mipi0_pwm_lpcg_clk", + "mipi0_pwm_lpcg_ipg_clk"; }; \ No newline at end of file diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi index 2d627075e6..7bae516004 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-adma.dtsi @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2018-2020 NXP - * Dong Aisheng - */ - -&lpuart0 { - compatible = "fsl,imx8qxp-lpuart"; -}; - -&lpuart1 { - compatible = "fsl,imx8qxp-lpuart"; -}; - -&lpuart2 { - compatible = "fsl,imx8qxp-lpuart"; -}; - -&lpuart3 { - compatible = "fsl,imx8qxp-lpuart"; -}; - -&i2c0 { - compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; -}; - -&i2c1 { - compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; -}; - -&i2c2 { - compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; -}; - -&i2c3 { - compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018-2020 NXP + * Dong Aisheng + */ + +&lpuart0 { + compatible = "fsl,imx8qxp-lpuart"; +}; + +&lpuart1 { + compatible = "fsl,imx8qxp-lpuart"; +}; + +&lpuart2 { + compatible = "fsl,imx8qxp-lpuart"; +}; + +&lpuart3 { + compatible = "fsl,imx8qxp-lpuart"; +}; + +&i2c0 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; +}; + +&i2c1 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; +}; + +&i2c2 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; +}; + +&i2c3 { + compatible = "fsl,imx8qxp-lpi2c", "fsl,imx7ulp-lpi2c"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi index 42afedcd1d..46da21af37 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-conn.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright 2018-2020 NXP - * Dong Aisheng - */ - -&usdhc1 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; -}; - -&usdhc2 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; -}; - -&usdhc3 { - compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; -}; - -&fec1 { - compatible = "fsl,imx8qxp-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec"; -}; - -&fec2 { - compatible = "fsl,imx8qxp-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright 2018-2020 NXP + * Dong Aisheng + */ + +&usdhc1 { + compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; +}; + +&usdhc2 { + compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; +}; + +&usdhc3 { + compatible = "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc"; +}; + +&fec1 { + compatible = "fsl,imx8qxp-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec"; +}; + +&fec2 { + compatible = "fsl,imx8qxp-fec", "fsl,imx8qm-fec", "fsl,imx6sx-fec"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi index 54edf23d03..f81937b5fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) -/* - * Copyright 2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -&mu_m0 { - interrupts = ; -}; - -&mu1_m0 { - interrupts = ; -}; - -&vpu_core0 { - reg = <0x2d040000 0x10000>; -}; - -&vpu_core1 { - reg = <0x2d050000 0x10000>; -}; - -/delete-node/ &mu2_m0; -/delete-node/ &vpu_core2; +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +&mu_m0 { + interrupts = ; +}; + +&mu1_m0 { + interrupts = ; +}; + +&vpu_core0 { + reg = <0x2d040000 0x10000>; +}; + +&vpu_core1 { + reg = <0x2d050000 0x10000>; +}; + +/delete-node/ &mu2_m0; +/delete-node/ &vpu_core2; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp-mba8xx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp-mba8xx.dts index 407aee4075..7d2e98bf8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp-mba8xx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/imx8qxp-tqma8xqp-mba8xx.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) -/* - * Copyright 2018-2023 TQ-Systems GmbH , - * D-82229 Seefeld, Germany. - * Author: Alexander Stein - */ - -/dts-v1/; - -#include "imx8qxp-tqma8xqp.dtsi" -#include "mba8xx.dtsi" - -/ { - model = "TQ-Systems i.MX8QXP TQMa8XQP on MBa8Xx"; - compatible = "tq,imx8qxp-tqma8xqp-mba8xx", "tq,imx8qxp-tqma8xqp", "fsl,imx8qxp"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR X11) +/* + * Copyright 2018-2023 TQ-Systems GmbH , + * D-82229 Seefeld, Germany. + * Author: Alexander Stein + */ + +/dts-v1/; + +#include "imx8qxp-tqma8xqp.dtsi" +#include "mba8xx.dtsi" + +/ { + model = "TQ-Systems i.MX8QXP TQMa8XQP on MBa8Xx"; + compatible = "tq,imx8qxp-tqma8xqp-mba8xx", "tq,imx8qxp-tqma8xqp", "fsl,imx8qxp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-evb.dts index 3117e2586d..dbe498798b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32g274a-evb.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright (c) 2021 SUSE LLC - * Copyright 2019-2021, 2024 NXP - */ - -/dts-v1/; - -#include "s32g2.dtsi" - -/ { - model = "NXP S32G2 Evaluation Board (S32G-VNP-EVB)"; - compatible = "nxp,s32g274a-evb", "nxp,s32g2"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - /* 4GiB RAM */ - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0 0x80000000>, - <0x8 0x80000000 0 0x80000000>; - }; -}; - -/* UART (J58) to Micro USB port */ -&uart0 { - status = "okay"; -}; - -&usdhc0 { - disable-wp; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright (c) 2021 SUSE LLC + * Copyright 2019-2021, 2024 NXP + */ + +/dts-v1/; + +#include "s32g2.dtsi" + +/ { + model = "NXP S32G2 Evaluation Board (S32G-VNP-EVB)"; + compatible = "nxp,s32g274a-evb", "nxp,s32g2"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + /* 4GiB RAM */ + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0 0x80000000>, + <0x8 0x80000000 0 0x80000000>; + }; +}; + +/* UART (J58) to Micro USB port */ +&uart0 { + status = "okay"; +}; + +&usdhc0 { + disable-wp; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32v234-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32v234-evb.dts index 6ee4948d1a..4b802518ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32v234-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/freescale/s32v234-evb.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2015-2016 Freescale Semiconductor, Inc. - * Copyright 2016-2017 NXP - */ - -/dts-v1/; -#include "s32v234.dtsi" - -/ { - model = "NXP S32V234-EVB2 Board"; - compatible = "fsl,s32v234-evb", "fsl,s32v234"; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2015-2016 Freescale Semiconductor, Inc. + * Copyright 2016-2017 NXP + */ + +/dts-v1/; +#include "s32v234.dtsi" + +/ { + model = "NXP S32V234-EVB2 Board"; + compatible = "fsl,s32v234-evb", "fsl,s32v234"; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/keembay-evm.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/keembay-evm.dts index cc6edd9540..466c85363a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/keembay-evm.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/keembay-evm.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) -/* - * Copyright (C) 2020, Intel Corporation - * - * Device tree describing Keem Bay EVM board. - */ - -/dts-v1/; - -#include "keembay-soc.dtsi" - -/ { - model = "Keem Bay EVM"; - compatible = "intel,keembay-evm", "intel,keembay"; - - #address-cells = <2>; - #size-cells = <2>; - - aliases { - serial0 = &uart3; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@80000000 { - device_type = "memory"; - /* 2GB of DDR memory. */ - reg = <0x0 0x80000000 0x0 0x80000000>; - }; - -}; - -&uart3 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) +/* + * Copyright (C) 2020, Intel Corporation + * + * Device tree describing Keem Bay EVM board. + */ + +/dts-v1/; + +#include "keembay-soc.dtsi" + +/ { + model = "Keem Bay EVM"; + compatible = "intel,keembay-evm", "intel,keembay"; + + #address-cells = <2>; + #size-cells = <2>; + + aliases { + serial0 = &uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@80000000 { + device_type = "memory"; + /* 2GB of DDR memory. */ + reg = <0x0 0x80000000 0x0 0x80000000>; + }; + +}; + +&uart3 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts index f1e72d07ef..c533e5a3a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2023, Intel Corporation - */ -#include "socfpga_agilex5.dtsi" - -/ { - model = "SoCFPGA Agilex5 SoCDK"; - compatible = "intel,socfpga-agilex5-socdk", "intel,socfpga-agilex5"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&gpio1 { - status = "okay"; -}; - -&osc1 { - clock-frequency = <25000000>; -}; - -&uart0 { - status = "okay"; -}; - -&usb0 { - status = "okay"; - disable-over-current; -}; - -&watchdog0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2023, Intel Corporation + */ +#include "socfpga_agilex5.dtsi" + +/ { + model = "SoCFPGA Agilex5 SoCDK"; + compatible = "intel,socfpga-agilex5-socdk", "intel,socfpga-agilex5"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&gpio1 { + status = "okay"; +}; + +&osc1 { + clock-frequency = <25000000>; +}; + +&uart0 { + status = "okay"; +}; + +&usb0 { + status = "okay"; + disable-over-current; +}; + +&watchdog0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1312-ref.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1312-ref.dts index a2495383d6..cdd10f1380 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1312-ref.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1312-ref.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * dts file for lg1312 Reference Board. - * - * Copyright (C) 2016, LG Electronics - */ - -/dts-v1/; - -#include "lg1312.dtsi" - -/ { - #address-cells = <2>; - #size-cells = <1>; - - model = "LG Electronics, DTV SoC LG1312 Reference Board"; - compatible = "lge,lg1312-ref", "lge,lg1312"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x00000000 0x20000000>; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * dts file for lg1312 Reference Board. + * + * Copyright (C) 2016, LG Electronics + */ + +/dts-v1/; + +#include "lg1312.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <1>; + + model = "LG Electronics, DTV SoC LG1312 Reference Board"; + compatible = "lge,lg1312-ref", "lge,lg1312"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0x20000000>; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1313-ref.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1313-ref.dts index 5d75b74201..6ace977ff4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1313-ref.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/lg/lg1313-ref.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * dts file for lg1313 Reference Board. - * - * Copyright (C) 2016, LG Electronics - */ - -/dts-v1/; - -#include "lg1313.dtsi" - -/ { - #address-cells = <2>; - #size-cells = <1>; - - model = "LG Electronics, DTV SoC LG1313 Reference Board"; - compatible = "lge,lg1313-ref", "lge,lg1313"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x00000000 0x20000000>; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * dts file for lg1313 Reference Board. + * + * Copyright (C) 2016, LG Electronics + */ + +/dts-v1/; + +#include "lg1313.dtsi" + +/ { + #address-cells = <2>; + #size-cells = <1>; + + model = "LG Electronics, DTV SoC LG1313 Reference Board"; + compatible = "lge,lg1313-ref", "lge,lg1313"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x00000000 0x20000000>; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-371x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-371x.dtsi index afacf99039..dc1182ec9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-371x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-371x.dtsi @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 371x family of SoCs - * (also named 88F3710) - * - * Copyright (C) 2016 Marvell - * - * Gregory CLEMENT - * - */ - -#include "armada-37xx.dtsi" - -/ { - model = "Marvell Armada 3710 SoC"; - compatible = "marvell,armada3710", "marvell,armada3700"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 371x family of SoCs + * (also named 88F3710) + * + * Copyright (C) 2016 Marvell + * + * Gregory CLEMENT + * + */ + +#include "armada-37xx.dtsi" + +/ { + model = "Marvell Armada 3710 SoC"; + compatible = "marvell,armada3710", "marvell,armada3700"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts index 1d2ea3dd7c..c5a834b33b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree file for Globalscale Marvell ESPRESSOBin Board - * Copyright (C) 2016 Marvell - * - * Romain Perier - * - */ -/* - * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf - */ - -/dts-v1/; - -#include "armada-3720-espressobin.dtsi" - -/ { - model = "Globalscale Marvell ESPRESSOBin Board"; - compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3700"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree file for Globalscale Marvell ESPRESSOBin Board + * Copyright (C) 2016 Marvell + * + * Romain Perier + * + */ +/* + * Schematic available at http://espressobin.net/wp-content/uploads/2017/08/ESPRESSObin_V5_Schematics.pdf + */ + +/dts-v1/; + +#include "armada-3720-espressobin.dtsi" + +/ { + model = "Globalscale Marvell ESPRESSOBin Board"; + compatible = "globalscale,espressobin", "marvell,armada3720", "marvell,armada3700"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-372x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-372x.dtsi index 0daa30e9c7..02ae1e1532 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-372x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-372x.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree Include file for Marvell Armada 372x family of SoCs - * (also named 88F3720) - * - * Copyright (C) 2016 Marvell - * - * Gregory CLEMENT - * - */ - -#include "armada-37xx.dtsi" - -/ { - model = "Marvell Armada 3720 SoC"; - compatible = "marvell,armada3720", "marvell,armada3700"; - - cpus { - cpu1: cpu@1 { - device_type = "cpu"; - compatible = "arm,cortex-a53"; - reg = <0x1>; - clocks = <&nb_periph_clk 16>; - enable-method = "psci"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree Include file for Marvell Armada 372x family of SoCs + * (also named 88F3720) + * + * Copyright (C) 2016 Marvell + * + * Gregory CLEMENT + * + */ + +#include "armada-37xx.dtsi" + +/ { + model = "Marvell Armada 3720 SoC"; + compatible = "marvell,armada3720", "marvell,armada3700"; + + cpus { + cpu1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53"; + reg = <0x1>; + clocks = <&nb_periph_clk 16>; + enable-method = "psci"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7020.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7020.dtsi index cd6a92d158..4e46326dd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7020.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-7020.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - * - * Device Tree file for the Armada 7020 SoC, made of an AP806 Dual and - * one CP110. - */ - -#include "armada-ap806-dual.dtsi" -#include "armada-70x0.dtsi" - -/ { - model = "Marvell Armada 7020"; - compatible = "marvell,armada7020", "marvell,armada-ap806-dual", - "marvell,armada-ap806"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + * + * Device Tree file for the Armada 7020 SoC, made of an AP806 Dual and + * one CP110. + */ + +#include "armada-ap806-dual.dtsi" +#include "armada-70x0.dtsi" + +/ { + model = "Marvell Armada 7020"; + compatible = "marvell,armada7020", "marvell,armada-ap806-dual", + "marvell,armada-ap806"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080-db.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080-db.dts index d69c265970..4ba158f415 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080-db.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080-db.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2017 Marvell Technology Group Ltd. - * - * Device Tree file for Marvell Armada-8080 Development board platform - */ - -#include "armada-8080.dtsi" - -/ { - model = "Marvell 8080 board"; - compatible = "marvell,armada-8080-db", "marvell,armada-8080", - "marvell,armada-ap810-octa", "marvell,armada-ap810"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x0 0x0 0x80000000>; - }; -}; - -&uart0_ap0 { - clock-frequency = <384000>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2017 Marvell Technology Group Ltd. + * + * Device Tree file for Marvell Armada-8080 Development board platform + */ + +#include "armada-8080.dtsi" + +/ { + model = "Marvell 8080 board"; + compatible = "marvell,armada-8080-db", "marvell,armada-8080", + "marvell,armada-ap810-octa", "marvell,armada-ap810"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x0 0x0 0x80000000>; + }; +}; + +&uart0_ap0 { + clock-frequency = <384000>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080.dtsi index 4e97ac3216..299e814d1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-8080.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2017 Marvell Technology Group Ltd. - * - * Device Tree file for Marvell Armada-8080 SoC, made of an AP810 OCTA. - */ - -#include "armada-ap810-ap0-octa-core.dtsi" - -/ { - model = "Marvell 8080 board"; - compatible = "marvell,armada-8080", "marvell,armada-ap810-octa", - "marvell,armada-ap810"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2017 Marvell Technology Group Ltd. + * + * Device Tree file for Marvell Armada-8080 SoC, made of an AP810 OCTA. + */ + +#include "armada-ap810-ap0-octa-core.dtsi" + +/ { + model = "Marvell 8080 board"; + compatible = "marvell,armada-8080", "marvell,armada-ap810-octa", + "marvell,armada-ap810"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap806.dtsi index 9c71eff8de..866628679a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap806.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-ap806.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - * - * Device Tree file for Marvell Armada AP806. - */ - -#define AP_NAME ap806 -#include "armada-ap80x.dtsi" - -/ { - model = "Marvell Armada AP806"; - compatible = "marvell,armada-ap806"; -}; - -&ap_syscon0 { - ap_clk: clock { - compatible = "marvell,ap806-clock"; - #clock-cells = <1>; - }; -}; - -&ap_syscon1 { - cpu_clk: clock-cpu@278 { - compatible = "marvell,ap806-cpu-clock"; - clocks = <&ap_clk 0>, <&ap_clk 1>; - #clock-cells = <1>; - reg = <0x278 0xa30>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + * + * Device Tree file for Marvell Armada AP806. + */ + +#define AP_NAME ap806 +#include "armada-ap80x.dtsi" + +/ { + model = "Marvell Armada AP806"; + compatible = "marvell,armada-ap806"; +}; + +&ap_syscon0 { + ap_clk: clock { + compatible = "marvell,ap806-clock"; + #clock-cells = <1>; + }; +}; + +&ap_syscon1 { + cpu_clk: clock-cpu@278 { + compatible = "marvell,ap806-cpu-clock"; + clocks = <&ap_clk 0>, <&ap_clk 1>; + #clock-cells = <1>; + reg = <0x278 0xa30>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-common.dtsi index f00249953f..c04c6c4750 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/armada-common.dtsi @@ -1,11 +1,11 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2016 Marvell Technology Group Ltd. - */ - -/* Common definitions used by Armada 7K/8K DTs */ -#define PASTER(x, y) x ## y -#define EVALUATOR(x, y) PASTER(x, y) -#define CP11X_LABEL(name) EVALUATOR(CP11X_NAME, EVALUATOR(_, name)) -#define CP11X_NODE_NAME(name) EVALUATOR(CP11X_NAME, EVALUATOR(-, name)) -#define ADDRESSIFY(addr) EVALUATOR(0x, addr) +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2016 Marvell Technology Group Ltd. + */ + +/* Common definitions used by Armada 7K/8K DTs */ +#define PASTER(x, y) x ## y +#define EVALUATOR(x, y) PASTER(x, y) +#define CP11X_LABEL(name) EVALUATOR(CP11X_NAME, EVALUATOR(_, name)) +#define CP11X_NODE_NAME(name) EVALUATOR(CP11X_NAME, EVALUATOR(-, name)) +#define ADDRESSIFY(addr) EVALUATOR(0x, addr) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db-B.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db-B.dts index 2d359471ad..57e41cacd4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db-B.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db-B.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Marvell International Ltd. - * - * Device tree for the CN9130-DB board (setup "B"). - */ - -#include "cn9130-db.dtsi" - -/ { - model = "Marvell Armada CN9130-DB setup B"; -}; - -/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When NAND controller is enabled, SPI1 should be disabled. - */ - -&cp0_nand_controller { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Marvell International Ltd. + * + * Device tree for the CN9130-DB board (setup "B"). + */ + +#include "cn9130-db.dtsi" + +/ { + model = "Marvell Armada CN9130-DB setup B"; +}; + +/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When NAND controller is enabled, SPI1 should be disabled. + */ + +&cp0_nand_controller { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db.dts index 203ebbae43..994f347f29 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9130-db.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell International Ltd. - * - * Device tree for the CN9130-DB board. - */ - -#include "cn9130-db.dtsi" - -/ { - model = "Marvell Armada CN9130-DB setup A"; -}; - -/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When SPI controller is enabled, NAND should be disabled. - */ - -&cp0_spi1 { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell International Ltd. + * + * Device tree for the CN9130-DB board. + */ + +#include "cn9130-db.dtsi" + +/ { + model = "Marvell Armada CN9130-DB setup A"; +}; + +/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When SPI controller is enabled, NAND should be disabled. + */ + +&cp0_spi1 { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db-B.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db-B.dts index 9358405246..183b1ec8b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db-B.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db-B.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2020 Marvell International Ltd. - * - * Device tree for the CN9131-DB board (setup "B"). - */ - -#include "cn9131-db.dtsi" - -/ { - model = "Marvell Armada CN9131-DB setup B"; -}; - -/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When NAND controller is enabled, SPI1 should be disabled. - */ - -&cp0_nand_controller { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2020 Marvell International Ltd. + * + * Device tree for the CN9131-DB board (setup "B"). + */ + +#include "cn9131-db.dtsi" + +/ { + model = "Marvell Armada CN9131-DB setup B"; +}; + +/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When NAND controller is enabled, SPI1 should be disabled. + */ + +&cp0_nand_controller { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db.dts index 171bf5f4ef..a60fdee79b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9131-db.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell International Ltd. - * - * Device tree for the CN9131-DB board. - */ - -#include "cn9131-db.dtsi" - -/ { - model = "Marvell Armada CN9131-DB setup A"; -}; - -/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When SPI controller is enabled, NAND should be disabled. - */ - -&cp0_spi1 { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell International Ltd. + * + * Device tree for the CN9131-DB board. + */ + +#include "cn9131-db.dtsi" + +/ { + model = "Marvell Armada CN9131-DB setup A"; +}; + +/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When SPI controller is enabled, NAND should be disabled. + */ + +&cp0_spi1 { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db-B.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db-B.dts index 4ec9c2f6c3..7137a6f22d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db-B.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db-B.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell International Ltd. - * - * Device tree for the CN9132-DB board. - */ - -#include "cn9132-db.dtsi" - -/ { - model = "Marvell Armada CN9132-DB setup B"; -}; - -/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When NAND controller is enabled, SPI1 should be disabled. - */ - -&cp0_nand_controller { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell International Ltd. + * + * Device tree for the CN9132-DB board. + */ + +#include "cn9132-db.dtsi" + +/ { + model = "Marvell Armada CN9132-DB setup B"; +}; + +/* Setup B has NAND flash as a boot device, while regular setup uses SPI flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When NAND controller is enabled, SPI1 should be disabled. + */ + +&cp0_nand_controller { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db.dts index 07534ffa0a..1f2e6377af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/marvell/cn9132-db.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (C) 2019 Marvell International Ltd. - * - * Device tree for the CN9132-DB board. - */ - -#include "cn9132-db.dtsi" - -/ { - model = "Marvell Armada CN9132-DB setup A"; -}; - -/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. - * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated - * simultaneously. When SPI controller is enabled, NAND should be disabled. - */ - -&cp0_spi1 { - status = "okay"; -}; - +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (C) 2019 Marvell International Ltd. + * + * Device tree for the CN9132-DB board. + */ + +#include "cn9132-db.dtsi" + +/ { + model = "Marvell Armada CN9132-DB setup A"; +}; + +/* Setup A has SPI1 flash as a boot device, while setup B uses NAND flash. + * Since CP0 SPI1 and CP0 NAND are sharing some pins, they cannot be activated + * simultaneously. When SPI controller is enabled, NAND should be disabled. + */ + +&cp0_spi1 { + status = "okay"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6755-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6755-evb.dts index d9a14ac987..00b14f85c6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6755-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6755-evb.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2016 MediaTek Inc. - * Author: Mars.C - */ - -/dts-v1/; -#include "mt6755.dtsi" - -/ { - model = "MediaTek MT6755 EVB"; - chassis-type = "embedded"; - compatible = "mediatek,mt6755-evb", "mediatek,mt6755"; - - aliases { - serial0 = &uart0; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x1e800000>; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2016 MediaTek Inc. + * Author: Mars.C + */ + +/dts-v1/; +#include "mt6755.dtsi" + +/ { + model = "MediaTek MT6755 EVB"; + chassis-type = "embedded"; + compatible = "mediatek,mt6755-evb", "mediatek,mt6755"; + + aliases { + serial0 = &uart0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x1e800000>; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6779-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6779-evb.dts index 4900001225..56b1bf06e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6779-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6779-evb.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Copyright (c) 2019 MediaTek Inc. - * Author: Mars.C - * - */ - -/dts-v1/; -#include "mt6779.dtsi" - -/ { - model = "MediaTek MT6779 EVB"; - chassis-type = "embedded"; - compatible = "mediatek,mt6779-evb", "mediatek,mt6779"; - - aliases { - serial0 = &uart0; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x1e800000>; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (c) 2019 MediaTek Inc. + * Author: Mars.C + * + */ + +/dts-v1/; +#include "mt6779.dtsi" + +/ { + model = "MediaTek MT6779 EVB"; + chassis-type = "embedded"; + compatible = "mediatek,mt6779-evb", "mediatek,mt6779"; + + aliases { + serial0 = &uart0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x1e800000>; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6795-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6795-evb.dts index 502496b5e3..e0d4d7a631 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6795-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6795-evb.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2015 MediaTek Inc. - * Author: Mars.C - */ - -/dts-v1/; -#include "mt6795.dtsi" - -/ { - model = "MediaTek MT6795 Evaluation Board"; - chassis-type = "embedded"; - compatible = "mediatek,mt6795-evb", "mediatek,mt6795"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - serial3 = &uart3; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x1e800000>; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2015 MediaTek Inc. + * Author: Mars.C + */ + +/dts-v1/; +#include "mt6795.dtsi" + +/ { + model = "MediaTek MT6795 Evaluation Board"; + chassis-type = "embedded"; + compatible = "mediatek,mt6795-evb", "mediatek,mt6795"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x1e800000>; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6797-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6797-evb.dts index a4fd05d3f1..c927932afa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6797-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt6797-evb.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2017 MediaTek Inc. - * Author: Mars.C - */ - -/dts-v1/; -#include "mt6797.dtsi" - -/ { - model = "MediaTek MT6797 Evaluation Board"; - chassis-type = "embedded"; - compatible = "mediatek,mt6797-evb", "mediatek,mt6797"; - - aliases { - serial0 = &uart0; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x1e800000>; - }; - - chosen {}; -}; - -&uart0 { - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&uart0_pins_a>; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2017 MediaTek Inc. + * Author: Mars.C + */ + +/dts-v1/; +#include "mt6797.dtsi" + +/ { + model = "MediaTek MT6797 Evaluation Board"; + chassis-type = "embedded"; + compatible = "mediatek,mt6797-evb", "mediatek,mt6797"; + + aliases { + serial0 = &uart0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x1e800000>; + }; + + chosen {}; +}; + +&uart0 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&uart0_pins_a>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso index 5970d7dc3b..047a838881 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3-emmc.dtso @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2021 MediaTek Inc. - * Author: Sam.Shih - */ - -/dts-v1/; -/plugin/; - -/ { - compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; -}; - -&{/soc/mmc@11230000} { - bus-width = <8>; - max-frequency = <200000000>; - cap-mmc-highspeed; - mmc-hs200-1_8v; - mmc-hs400-1_8v; - hs400-ds-delay = <0x14014>; - non-removable; - no-sd; - no-sdio; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + * Author: Sam.Shih + */ + +/dts-v1/; +/plugin/; + +/ { + compatible = "bananapi,bpi-r3", "mediatek,mt7986a"; +}; + +&{/soc/mmc@11230000} { + bus-width = <8>; + max-frequency = <200000000>; + cap-mmc-highspeed; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + hs400-ds-delay = <0x14014>; + non-removable; + no-sd; + no-sdio; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts index ba782d6b09..ebf1a358f4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8167-pumpkin.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2020 BayLibre, SAS. - * Author: Fabien Parent - */ - -/dts-v1/; - -#include "mt8167.dtsi" -#include "pumpkin-common.dtsi" - -/ { - model = "Pumpkin MT8167"; - chassis-type = "embedded"; - compatible = "mediatek,mt8167-pumpkin", "mediatek,mt8167"; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x80000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2020 BayLibre, SAS. + * Author: Fabien Parent + */ + +/dts-v1/; + +#include "mt8167.dtsi" +#include "pumpkin-common.dtsi" + +/ { + model = "Pumpkin MT8167"; + chassis-type = "embedded"; + compatible = "mediatek,mt8167-pumpkin", "mediatek,mt8167"; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts index 3017fad558..1c9fc791bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm-hana-rev7.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2019 MediaTek Inc. - */ - -/dts-v1/; -#include "mt8173-elm-hana.dtsi" - -/ { - model = "Google Hanawl"; - chassis-type = "laptop"; - compatible = "google,hana-rev7", "mediatek,mt8173"; -}; - -&cpu_thermal { - trips { - cpu_crit: cpu-crit0 { - temperature = <100000>; - type = "critical"; - }; - }; -}; - -&gpio_keys { - /delete-node/switch-tablet-mode; - /delete-node/switch-volume-down; - /delete-node/switch-volume-up; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2019 MediaTek Inc. + */ + +/dts-v1/; +#include "mt8173-elm-hana.dtsi" + +/ { + model = "Google Hanawl"; + chassis-type = "laptop"; + compatible = "google,hana-rev7", "mediatek,mt8173"; +}; + +&cpu_thermal { + trips { + cpu_crit: cpu-crit0 { + temperature = <100000>; + type = "critical"; + }; + }; +}; + +&gpio_keys { + /delete-node/switch-tablet-mode; + /delete-node/switch-volume-down; + /delete-node/switch-volume-up; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm.dts index a8e3f0696f..2390d04204 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8173-elm.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright 2016 MediaTek Inc. - */ - -/dts-v1/; -#include "mt8173-elm.dtsi" - -/ { - model = "Google Elm"; - chassis-type = "laptop"; - compatible = "google,elm-rev8", "google,elm-rev7", "google,elm-rev6", - "google,elm-rev5", "google,elm-rev4", "google,elm-rev3", - "google,elm", "mediatek,mt8173"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright 2016 MediaTek Inc. + */ + +/dts-v1/; +#include "mt8173-elm.dtsi" + +/ { + model = "Google Elm"; + chassis-type = "laptop"; + compatible = "google,elm-rev8", "google,elm-rev7", "google,elm-rev6", + "google,elm-rev5", "google,elm-rev4", "google,elm-rev3", + "google,elm", "mediatek,mt8173"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi index 9f86dd0a84..548e22c194 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-audio-ts3a227e.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Google Kukui (and derivatives) audio fragment for ts3a227e. - * - * Copyright 2019 Google LLC. - */ - -&i2c5 { - ts3a227e: ts3a227e@3b { - pinctrl-names = "default"; - pinctrl-0 = <&ts3a227e_pins>; - compatible = "ti,ts3a227e"; - reg = <0x3b>; - interrupts-extended = <&pio 157 IRQ_TYPE_LEVEL_LOW>; - status = "okay"; - }; -}; - -&pio { - ts3a227e_pins: ts3a227e_pins { - pins1 { - pinmux = ; - input-enable; - bias-pull-up; - }; - }; -}; - -&sound { - mediatek,headset-codec = <&ts3a227e>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Google Kukui (and derivatives) audio fragment for ts3a227e. + * + * Copyright 2019 Google LLC. + */ + +&i2c5 { + ts3a227e: ts3a227e@3b { + pinctrl-names = "default"; + pinctrl-0 = <&ts3a227e_pins>; + compatible = "ti,ts3a227e"; + reg = <0x3b>; + interrupts-extended = <&pio 157 IRQ_TYPE_LEVEL_LOW>; + status = "okay"; + }; +}; + +&pio { + ts3a227e_pins: ts3a227e_pins { + pins1 { + pinmux = ; + input-enable; + bias-pull-up; + }; + }; +}; + +&sound { + mediatek,headset-codec = <&ts3a227e>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi index 798f6d74bf..f9c1ec366b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" - -&mt6358codec { - mediatek,dmic-mode = <1>; /* one-wire */ -}; - -&i2c2 { - trackpad@2c { - compatible = "hid-over-i2c"; - reg = <0x2c>; - hid-descr-addr = <0x20>; - - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; - - wakeup-source; - }; -}; - -&i2c2 { - i2c-scl-internal-delay-ns = <21500>; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; + +&i2c2 { + trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + + interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; +}; + +&i2c2 { + i2c-scl-internal-delay-ns = <21500>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14-sku2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14-sku2.dts index af02510b12..877256eab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14-sku2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14-sku2.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-fennel.dtsi" -#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" - -/ { - model = "Google fennel14 sku2 board"; - chassis-type = "laptop"; - compatible = "google,fennel-sku2", "google,fennel", "mediatek,mt8183"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL14"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" + +/ { + model = "Google fennel14 sku2 board"; + chassis-type = "laptop"; + compatible = "google,fennel-sku2", "google,fennel", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14.dts index 0f16938065..b981dd31a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-fennel14.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-fennel.dtsi" -#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" - -/ { - model = "Google fennel14 sku0 board"; - chassis-type = "laptop"; - compatible = "google,fennel-sku0", "google,fennel", "mediatek,mt8183"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL14"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google fennel14 sku0 board"; + chassis-type = "laptop"; + compatible = "google,fennel-sku0", "google,fennel", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi index 3e98142f6f..078bc76564 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-juniper.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" - -&i2c2 { - trackpad@2c { - compatible = "hid-over-i2c"; - reg = <0x2c>; - hid-descr-addr = <0x20>; - - pinctrl-names = "default"; - pinctrl-0 = <&trackpad_pins>; - - interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; - - wakeup-source; - }; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_JUNIPER"; -}; - +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" + +&i2c2 { + trackpad@2c { + compatible = "hid-over-i2c"; + reg = <0x2c>; + hid-descr-addr = <0x20>; + + pinctrl-names = "default"; + pinctrl-0 = <&trackpad_pins>; + + interrupts-extended = <&pio 7 IRQ_TYPE_LEVEL_LOW>; + + wakeup-source; + }; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_JUNIPER"; +}; + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts index 593b918566..f3ac9c0742 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kappa.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi.dtsi" -#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" - -/ { - model = "Google kappa board"; - chassis-type = "laptop"; - compatible = "google,kappa", "mediatek,mt8183"; -}; - -&mt6358codec { - mediatek,dmic-mode = <1>; /* one-wire */ -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google kappa board"; + chassis-type = "laptop"; + compatible = "google,kappa", "mediatek,mt8183"; +}; + +&mt6358codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts index ae407c106d..561770fcf6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-kenzo.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-juniper.dtsi" -#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" - -/ { - model = "Google kenzo sku17 board"; - chassis-type = "laptop"; - compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183"; -}; - -&i2c0 { - touchscreen@40 { - compatible = "hid-over-i2c"; - reg = <0x40>; - - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - - interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; - - post-power-on-delay-ms = <70>; - hid-descr-addr = <0x0001>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-juniper.dtsi" +#include "mt8183-kukui-audio-ts3a227e-max98357a.dtsi" + +/ { + model = "Google kenzo sku17 board"; + chassis-type = "laptop"; + compatible = "google,juniper-sku17", "google,juniper", "mediatek,mt8183"; +}; + +&i2c0 { + touchscreen@40 { + compatible = "hid-over-i2c"; + reg = <0x40>; + + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + + interrupts-extended = <&pio 155 IRQ_TYPE_LEVEL_LOW>; + + post-power-on-delay-ms = <70>; + hid-descr-addr = <0x0001>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts index 1e898c061b..ddb993521b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku0.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-fennel.dtsi" -#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" - -/ { - model = "Google makomo sku0 board"; - chassis-type = "laptop"; - compatible = "google,makomo-sku0", "google,makomo", "mediatek,mt8183"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL14"; -}; - -&mmc1_pins_uhs { - pins-clk { - drive-strength = <6>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-da7219-rt1015p.dtsi" + +/ { + model = "Google makomo sku0 board"; + chassis-type = "laptop"; + compatible = "google,makomo-sku0", "google,makomo", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength = <6>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts index 448e807c71..10c4f920a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi-makomo-sku1.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -/dts-v1/; -#include "mt8183-kukui-jacuzzi-fennel.dtsi" -#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" - -/ { - model = "Google makomo sku1 board"; - chassis-type = "laptop"; - compatible = "google,makomo-sku1", "google,makomo", "mediatek,mt8183"; -}; - -&qca_wifi { - qcom,ath10k-calibration-variant = "GO_FENNEL14"; -}; - -&mmc1_pins_uhs { - pins-clk { - drive-strength = <6>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +/dts-v1/; +#include "mt8183-kukui-jacuzzi-fennel.dtsi" +#include "mt8183-kukui-audio-ts3a227e-rt1015p.dtsi" + +/ { + model = "Google makomo sku1 board"; + chassis-type = "laptop"; + compatible = "google,makomo-sku1", "google,makomo", "mediatek,mt8183"; +}; + +&qca_wifi { + qcom,ath10k-calibration-variant = "GO_FENNEL14"; +}; + +&mmc1_pins_uhs { + pins-clk { + drive-strength = <6>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts index 4eceb55d0c..7213cdcca6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku16.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - * - * SKU: 0x10 => 16 - * - bit 8: Camera: 0 (OV5695) - * - bits 7..4: Panel ID: 0x1 (AUO) - */ - -/dts-v1/; -#include "mt8183-kukui-kodama.dtsi" - -/ { - model = "MediaTek kodama sku16 board"; - chassis-type = "tablet"; - compatible = "google,kodama-sku16", "google,kodama", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "auo,b101uan08.3"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + * + * SKU: 0x10 => 16 + * - bit 8: Camera: 0 (OV5695) + * - bits 7..4: Panel ID: 0x1 (AUO) + */ + +/dts-v1/; +#include "mt8183-kukui-kodama.dtsi" + +/ { + model = "MediaTek kodama sku16 board"; + chassis-type = "tablet"; + compatible = "google,kodama-sku16", "google,kodama", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "auo,b101uan08.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts index 580f50306c..bbf0cd1aa6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku272.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2020 Google LLC - * - * SKU: 0x110 => 272 - * - bit 8: Camera: 1 (GC5035) - * - bits 7..4: Panel ID: 0x1 (AUO) - */ - -/dts-v1/; -#include "mt8183-kukui-kodama.dtsi" - -/ { - model = "MediaTek kodama sku272 board"; - chassis-type = "tablet"; - compatible = "google,kodama-sku272", "google,kodama", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "auo,b101uan08.3"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2020 Google LLC + * + * SKU: 0x110 => 272 + * - bit 8: Camera: 1 (GC5035) + * - bits 7..4: Panel ID: 0x1 (AUO) + */ + +/dts-v1/; +#include "mt8183-kukui-kodama.dtsi" + +/ { + model = "MediaTek kodama sku272 board"; + chassis-type = "tablet"; + compatible = "google,kodama-sku272", "google,kodama", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "auo,b101uan08.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts index 22fff3f370..a429ffeac3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku288.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2020 Google LLC - * - * SKU: 0x120 => 288 - * - bit 8: Camera: 1 (GC5035) - * - bits 7..4: Panel ID: 0x2 (BOE) - */ - -/dts-v1/; -#include "mt8183-kukui-kodama.dtsi" - -/ { - model = "MediaTek kodama sku288 board"; - chassis-type = "tablet"; - compatible = "google,kodama-sku288", "google,kodama", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "boe,tv101wum-n53"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2020 Google LLC + * + * SKU: 0x120 => 288 + * - bit 8: Camera: 1 (GC5035) + * - bits 7..4: Panel ID: 0x2 (BOE) + */ + +/dts-v1/; +#include "mt8183-kukui-kodama.dtsi" + +/ { + model = "MediaTek kodama sku288 board"; + chassis-type = "tablet"; + compatible = "google,kodama-sku288", "google,kodama", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "boe,tv101wum-n53"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku32.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku32.dts index 62122d7c7b..5a416143b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku32.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-kodama-sku32.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2021 Google LLC - * - * SKU: 0x20 => 32 - * - bit 8: Camera: 0 (OV5695) - * - bits 7..4: Panel ID: 0x2 (BOE) - */ - -/dts-v1/; -#include "mt8183-kukui-kodama.dtsi" - -/ { - model = "MediaTek kodama sku32 board"; - chassis-type = "tablet"; - compatible = "google,kodama-sku32", "google,kodama", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "boe,tv101wum-n53"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2021 Google LLC + * + * SKU: 0x20 => 32 + * - bit 8: Camera: 0 (OV5695) + * - bits 7..4: Panel ID: 0x2 (BOE) + */ + +/dts-v1/; +#include "mt8183-kukui-kodama.dtsi" + +/ { + model = "MediaTek kodama sku32 board"; + chassis-type = "tablet"; + compatible = "google,kodama-sku32", "google,kodama", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "boe,tv101wum-n53"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts index f65efc234f..4ac75806fa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku0.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2019 Google LLC - * - * Device-tree for Krane sku0. - * - * SKU is a 8-bit value (0x00 == 0): - * - Bits 7..4: Panel ID: 0x0 (AUO) - * - Bits 3..0: SKU ID: 0x0 (default) - */ - -/dts-v1/; -#include "mt8183-kukui-krane.dtsi" - -/ { - model = "MediaTek krane sku0 board"; - chassis-type = "tablet"; - compatible = "google,krane-sku0", "google,krane", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "auo,kd101n80-45na"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2019 Google LLC + * + * Device-tree for Krane sku0. + * + * SKU is a 8-bit value (0x00 == 0): + * - Bits 7..4: Panel ID: 0x0 (AUO) + * - Bits 3..0: SKU ID: 0x0 (default) + */ + +/dts-v1/; +#include "mt8183-kukui-krane.dtsi" + +/ { + model = "MediaTek krane sku0 board"; + chassis-type = "tablet"; + compatible = "google,krane-sku0", "google,krane", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "auo,kd101n80-45na"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts index 3fe98898f0..095279e55d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8183-kukui-krane-sku176.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2019 Google LLC - * - * Device-tree for Krane sku176. - * - * SKU is a 8-bit value (0xb0 == 176): - * - Bits 7..4: Panel ID: 0xb (BOE) - * - Bits 3..0: SKU ID: 0x0 (default) - */ - -/dts-v1/; -#include "mt8183-kukui-krane.dtsi" - -/ { - model = "MediaTek krane sku176 board"; - chassis-type = "tablet"; - compatible = "google,krane-sku176", "google,krane", "mediatek,mt8183"; -}; - -&panel { - status = "okay"; - compatible = "boe,tv101wum-nl6"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2019 Google LLC + * + * Device-tree for Krane sku176. + * + * SKU is a 8-bit value (0xb0 == 176): + * - Bits 7..4: Panel ID: 0xb (BOE) + * - Bits 3..0: SKU ID: 0x0 (default) + */ + +/dts-v1/; +#include "mt8183-kukui-krane.dtsi" + +/ { + model = "MediaTek krane sku176 board"; + chassis-type = "tablet"; + compatible = "google,krane-sku176", "google,krane", "mediatek,mt8183"; +}; + +&panel { + status = "okay"; + compatible = "boe,tv101wum-nl6"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393218.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393218.dts index 592a9b1d1c..332894218f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393218.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-magneton-sku393218.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-steelix.dtsi" - -/ { - model = "Google Magneton board"; - compatible = "google,steelix-sku393221", "google,steelix-sku393218", - "google,steelix", "mediatek,mt8186"; - chassis-type = "laptop"; -}; - -&gpio_keys { - status = "disabled"; -}; - -&touchscreen { - status = "disabled"; -}; - -&usb_c1 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +/ { + model = "Google Magneton board"; + compatible = "google,steelix-sku393221", "google,steelix-sku393218", + "google,steelix", "mediatek,mt8186"; + chassis-type = "laptop"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&touchscreen { + status = "disabled"; +}; + +&usb_c1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts index 2219a4cc30..731b0d6022 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-rusty-sku196608.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-steelix.dtsi" - -/ { - model = "Google Rusty board"; - compatible = "google,steelix-sku196609", "google,steelix-sku196608", - "google,steelix", "mediatek,mt8186"; - chassis-type = "laptop"; -}; - -&gpio_keys { - status = "disabled"; -}; - -&i2c1 { - status = "disabled"; -}; - -&touchscreen { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +/ { + model = "Google Rusty board"; + compatible = "google,steelix-sku196609", "google,steelix-sku196608", + "google,steelix", "mediatek,mt8186"; + chassis-type = "laptop"; +}; + +&gpio_keys { + status = "disabled"; +}; + +&i2c1 { + status = "disabled"; +}; + +&touchscreen { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131072.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131072.dts index 3795cd9113..eae17bca85 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131072.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131072.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-steelix.dtsi" - -/ { - model = "Google Steelix board"; - compatible = "google,steelix-sku131072", "google,steelix", - "mediatek,mt8186"; - chassis-type = "convertible"; -}; - -&mt6366codec { - mediatek,dmic-mode = <0>; /* two-wire */ -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +/ { + model = "Google Steelix board"; + compatible = "google,steelix-sku131072", "google,steelix", + "mediatek,mt8186"; + chassis-type = "convertible"; +}; + +&mt6366codec { + mediatek,dmic-mode = <0>; /* two-wire */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131073.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131073.dts index d07ca5227a..a55375b95d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131073.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-steelix-sku131073.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-steelix.dtsi" - -/ { - model = "Google Steelix board"; - compatible = "google,steelix-sku131073", "google,steelix", - "mediatek,mt8186"; - chassis-type = "convertible"; -}; - -&mt6366codec { - mediatek,dmic-mode = <1>; /* one-wire */ -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-steelix.dtsi" + +/ { + model = "Google Steelix board"; + compatible = "google,steelix-sku131073", "google,steelix", + "mediatek,mt8186"; + chassis-type = "convertible"; +}; + +&mt6366codec { + mediatek,dmic-mode = <1>; /* one-wire */ +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts index 5fc01f5774..c3ae6f9616 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-tentacool-sku327683.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2023 Google LLC - */ - -#include "mt8186-corsola-tentacool-sku327681.dts" - -/ { - compatible = "google,tentacruel-sku327683", "google,tentacruel", "mediatek,mt8186"; -}; - -/* This variant replaces only the trackpad controller. */ -&i2c2 { - /delete-node/ trackpad@15; - - trackpad@15 { - compatible = "hid-over-i2c"; - reg = <0x15>; - interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>; - hid-descr-addr = <0x0001>; - vdd-supply = <&pp3300_s3>; - wakeup-source; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2023 Google LLC + */ + +#include "mt8186-corsola-tentacool-sku327681.dts" + +/ { + compatible = "google,tentacruel-sku327683", "google,tentacruel", "mediatek,mt8186"; +}; + +/* This variant replaces only the trackpad controller. */ +&i2c2 { + /delete-node/ trackpad@15; + + trackpad@15 { + compatible = "hid-over-i2c"; + reg = <0x15>; + interrupts-extended = <&pio 11 IRQ_TYPE_LEVEL_LOW>; + hid-descr-addr = <0x0001>; + vdd-supply = <&pp3300_s3>; + wakeup-source; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589825.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589825.dts index 144bc2d5b7..45e57f7706 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589825.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8186-corsola-voltorb-sku589825.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright 2022 Google LLC - */ - -/dts-v1/; -#include "mt8186-corsola-voltorb.dtsi" - -/ { - model = "Google Voltorb sku589825 board"; - compatible = "google,voltorb-sku589825", "google,voltorb", - "mediatek,mt8186"; -}; - -&i2c1 { - touchscreen@10 { - compatible = "elan,ekth6915"; - reg = <0x10>; - interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&touchscreen_pins>; - reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; - vcc33-supply = <&pp3300_s3>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright 2022 Google LLC + */ + +/dts-v1/; +#include "mt8186-corsola-voltorb.dtsi" + +/ { + model = "Google Voltorb sku589825 board"; + compatible = "google,voltorb-sku589825", "google,voltorb", + "mediatek,mt8186"; +}; + +&i2c1 { + touchscreen@10 { + compatible = "elan,ekth6915"; + reg = <0x10>; + interrupts-extended = <&pio 12 IRQ_TYPE_LEVEL_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&touchscreen_pins>; + reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; + vcc33-supply = <&pp3300_s3>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8192-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8192-evb.dts index 222cba7a32..808be492e9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8192-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8192-evb.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2020 MediaTek Inc. - * Author: Seiya Wang - */ -/dts-v1/; -#include "mt8192.dtsi" -#include "mt6359.dtsi" - -/ { - model = "MediaTek MT8192 evaluation board"; - compatible = "mediatek,mt8192-evb", "mediatek,mt8192"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:921600n8"; - }; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x80000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2020 MediaTek Inc. + * Author: Seiya Wang + */ +/dts-v1/; +#include "mt8192.dtsi" +#include "mt6359.dtsi" + +/ { + model = "MediaTek MT8192 evaluation board"; + compatible = "mediatek,mt8192-evb", "mediatek,mt8192"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x80000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts index 8163fb6d41..a82d716f10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8195-cherry-tomato-r1.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2021 MediaTek Inc. - */ -/dts-v1/; -#include "mt8195-cherry.dtsi" - -/ { - model = "Acer Tomato (rev1) board"; - compatible = "google,tomato-rev1", "google,tomato", "mediatek,mt8195"; -}; - -&audio_codec { - compatible = "realtek,rt5682i"; - realtek,btndet-delay = <16>; -}; - -&sound { - compatible = "mediatek,mt8195_mt6359_rt1019_rt5682"; - model = "mt8195_r1019_5682"; -}; - -&ts_10 { - status = "okay"; -}; - -&watchdog { - /delete-property/ mediatek,disable-extrst; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2021 MediaTek Inc. + */ +/dts-v1/; +#include "mt8195-cherry.dtsi" + +/ { + model = "Acer Tomato (rev1) board"; + compatible = "google,tomato-rev1", "google,tomato", "mediatek,mt8195"; +}; + +&audio_codec { + compatible = "realtek,rt5682i"; + realtek,btndet-delay = <16>; +}; + +&sound { + compatible = "mediatek,mt8195_mt6359_rt1019_rt5682"; + model = "mt8195_r1019_5682"; +}; + +&ts_10 { + status = "okay"; +}; + +&watchdog { + /delete-property/ mediatek,disable-extrst; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8516-pumpkin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8516-pumpkin.dts index e58375026a..cce642c538 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8516-pumpkin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/mediatek/mt8516-pumpkin.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2019 BayLibre, SAS. - * Author: Fabien Parent - */ - -/dts-v1/; - -#include "mt8516.dtsi" -#include "pumpkin-common.dtsi" - -/ { - model = "Pumpkin MT8516"; - compatible = "mediatek,mt8516"; - - memory@40000000 { - device_type = "memory"; - reg = <0 0x40000000 0 0x40000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2019 BayLibre, SAS. + * Author: Fabien Parent + */ + +/dts-v1/; + +#include "mt8516.dtsi" +#include "pumpkin-common.dtsi" + +/ { + model = "Pumpkin MT8516"; + compatible = "mediatek,mt8516"; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_nand.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_nand.dtsi index 6b59afa6ab..ce0747fd64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_nand.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_nand.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -&gpio { - cs14_pins: cs14-pins { - pins = "GPIO_44"; - function = "si"; - }; -}; - -&spi0 { - pinctrl-0 = <&si2_pins>; - pinctrl-names = "default"; - spi@e { - compatible = "spi-mux"; - mux-controls = <&mux>; - #address-cells = <1>; - #size-cells = <0>; - reg = <14>; /* CS14 */ - flash@6 { - compatible = "spi-nand"; - pinctrl-0 = <&cs14_pins>; - pinctrl-names = "default"; - reg = <0x6>; /* SPI2 */ - spi-max-frequency = <42000000>; - rx-sample-delay-ns = <7>; /* Tune for speed */ - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +&gpio { + cs14_pins: cs14-pins { + pins = "GPIO_44"; + function = "si"; + }; +}; + +&spi0 { + pinctrl-0 = <&si2_pins>; + pinctrl-names = "default"; + spi@e { + compatible = "spi-mux"; + mux-controls = <&mux>; + #address-cells = <1>; + #size-cells = <0>; + reg = <14>; /* CS14 */ + flash@6 { + compatible = "spi-nand"; + pinctrl-0 = <&cs14_pins>; + pinctrl-names = "default"; + reg = <0x6>; /* SPI2 */ + spi-max-frequency = <42000000>; + rx-sample-delay-ns = <7>; /* Tune for speed */ + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134.dts index 02f192132d..45ca1af7e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb134.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -/dts-v1/; -#include "sparx5_pcb134_board.dtsi" -#include "sparx5_nand.dtsi" - -/ { - model = "Sparx5 PCB134 Reference Board (NAND)"; - compatible = "microchip,sparx5-pcb134", "microchip,sparx5"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x10000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +/dts-v1/; +#include "sparx5_pcb134_board.dtsi" +#include "sparx5_nand.dtsi" + +/ { + model = "Sparx5 PCB134 Reference Board (NAND)"; + compatible = "microchip,sparx5-pcb134", "microchip,sparx5"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x10000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135.dts index b0fd670c2b..647cdb38b1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb135.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -/dts-v1/; -#include "sparx5_pcb135_board.dtsi" -#include "sparx5_nand.dtsi" - -/ { - model = "Sparx5 PCB135 Reference Board (NAND)"; - compatible = "microchip,sparx5-pcb135", "microchip,sparx5"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x00000000 0x10000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +/dts-v1/; +#include "sparx5_pcb135_board.dtsi" +#include "sparx5_nand.dtsi" + +/ { + model = "Sparx5 PCB135 Reference Board (NAND)"; + compatible = "microchip,sparx5-pcb135", "microchip,sparx5"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x00000000 0x10000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi index 0e811dc5f5..32bb76b320 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/microchip/sparx5_pcb_common.dtsi @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. - */ - -/dts-v1/; -#include "sparx5.dtsi" - -&psci { - status = "disabled"; -}; - -&cpu0 { - enable-method = "spin-table"; -}; - -&cpu1 { - enable-method = "spin-table"; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. + */ + +/dts-v1/; +#include "sparx5.dtsi" + +&psci { + status = "disabled"; +}; + +&cpu0 { + enable-method = "spin-table"; +}; + +&cpu1 { + enable-method = "spin-table"; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts index 689cc83469..eeceb5b292 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nuvoton/nuvoton-npcm845-evb.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2021 Nuvoton Technology tomer.maimon@nuvoton.com - -/dts-v1/; -#include "nuvoton-npcm845.dtsi" - -/ { - model = "Nuvoton npcm845 Development Board (Device Tree)"; - compatible = "nuvoton,npcm845-evb", "nuvoton,npcm845"; - - aliases { - serial0 = &serial0; - }; - - chosen { - stdout-path = &serial0; - }; - - memory@0 { - reg = <0x0 0x0 0x0 0x40000000>; - }; -}; - -&serial0 { - status = "okay"; -}; - -&watchdog1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (c) 2021 Nuvoton Technology tomer.maimon@nuvoton.com + +/dts-v1/; +#include "nuvoton-npcm845.dtsi" + +/ { + model = "Nuvoton npcm845 Development Board (Device Tree)"; + compatible = "nuvoton,npcm845-evb", "nuvoton,npcm845"; + + aliases { + serial0 = &serial0; + }; + + chosen { + stdout-path = &serial0; + }; + + memory@0 { + reg = <0x0 0x0 0x0 0x40000000>; + }; +}; + +&serial0 { + status = "okay"; +}; + +&watchdog1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0001.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0001.dtsi index 734f742ca2..f5a9ebbfb1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0001.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra194-p3668-0001.dtsi @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "tegra194-p3668.dtsi" - -/ { - model = "NVIDIA Jetson Xavier NX (eMMC)"; - compatible = "nvidia,p3668-0001", "nvidia,tegra194"; - - aliases { - mmc0 = "/bus@0/mmc@3460000"; - }; - - bus@0 { - /* SDMMC4 (eMMC) */ - mmc@3460000 { - status = "okay"; - bus-width = <8>; - non-removable; - - vqmmc-supply = <&vdd_1v8ls>; - vmmc-supply = <&vdd_emmc_3v3>; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include "tegra194-p3668.dtsi" + +/ { + model = "NVIDIA Jetson Xavier NX (eMMC)"; + compatible = "nvidia,p3668-0001", "nvidia,tegra194"; + + aliases { + mmc0 = "/bus@0/mmc@3460000"; + }; + + bus@0 { + /* SDMMC4 (eMMC) */ + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + + vqmmc-supply = <&vdd_1v8ls>; + vmmc-supply = <&vdd_emmc_3v3>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi index daea7e0842..d977f4901c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0000.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "tegra234-p3701.dtsi" - -/ { - model = "NVIDIA Jetson AGX Orin"; - compatible = "nvidia,p3701-0000", "nvidia,tegra234"; - - thermal-zones { - tj-thermal { - polling-delay = <1000>; - polling-delay-passive = <1000>; - status = "okay"; - - trips { - tj_trip_active0: active-0 { - temperature = <75000>; - hysteresis = <4000>; - type = "active"; - }; - - tj_trip_active1: active-1 { - temperature = <95000>; - hysteresis = <4000>; - type = "active"; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234-p3701.dtsi" + +/ { + model = "NVIDIA Jetson AGX Orin"; + compatible = "nvidia,p3701-0000", "nvidia,tegra234"; + + thermal-zones { + tj-thermal { + polling-delay = <1000>; + polling-delay-passive = <1000>; + status = "okay"; + + trips { + tj_trip_active0: active-0 { + temperature = <75000>; + hysteresis = <4000>; + type = "active"; + }; + + tj_trip_active1: active-1 { + temperature = <95000>; + hysteresis = <4000>; + type = "active"; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi index 5e02a87a56..0809634e57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3701-0008.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include "tegra234-p3701.dtsi" - -/ { - compatible = "nvidia,p3701-0008", "nvidia,tegra234"; - - thermal-zones { - tj-thermal { - polling-delay = <1000>; - polling-delay-passive = <1000>; - status = "okay"; - - trips { - tj_trip_active0: active-0 { - temperature = <85000>; - hysteresis = <4000>; - type = "active"; - }; - - tj_trip_active1: active-1 { - temperature = <105000>; - hysteresis = <4000>; - type = "active"; - }; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +#include "tegra234-p3701.dtsi" + +/ { + compatible = "nvidia,p3701-0008", "nvidia,tegra234"; + + thermal-zones { + tj-thermal { + polling-delay = <1000>; + polling-delay-passive = <1000>; + status = "okay"; + + trips { + tj_trip_active0: active-0 { + temperature = <85000>; + hysteresis = <4000>; + type = "active"; + }; + + tj_trip_active1: active-1 { + temperature = <105000>; + hysteresis = <4000>; + type = "active"; + }; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts index 7d20f2f1fc..5dc974bb36 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra234-p3768-0000+p3767.dtsi" - -/ { - compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234"; - model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit"; - - bus@0 { - hda@3510000 { - nvidia,model = "NVIDIA Jetson Orin NX HDA"; - }; - }; - - sound { - label = "NVIDIA Jetson Orin NX APE"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra234-p3768-0000+p3767.dtsi" + +/ { + compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234"; + model = "NVIDIA Jetson Orin NX Engineering Reference Developer Kit"; + + bus@0 { + hda@3510000 { + nvidia,model = "NVIDIA Jetson Orin NX HDA"; + }; + }; + + sound { + label = "NVIDIA Jetson Orin NX APE"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts index 1ea3ce837f..9f5e07012b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra234-p3768-0000+p3767.dtsi" - -/ { - compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234"; - model = "NVIDIA Jetson Orin Nano Developer Kit"; - - bus@0 { - hda@3510000 { - nvidia,model = "NVIDIA Jetson Orin Nano HDA"; - }; - }; - - sound { - label = "NVIDIA Jetson Orin Nano APE"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra234-p3768-0000+p3767.dtsi" + +/ { + compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234"; + model = "NVIDIA Jetson Orin Nano Developer Kit"; + + bus@0 { + hda@3510000 { + nvidia,model = "NVIDIA Jetson Orin Nano HDA"; + }; + }; + + sound { + label = "NVIDIA Jetson Orin Nano APE"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts index 252afce867..292e28376e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/nvidia/tegra234-sim-vdk.dts @@ -1,40 +1,40 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "tegra234.dtsi" - -/ { - model = "NVIDIA Tegra234 VDK"; - compatible = "nvidia,tegra234-vdk", "nvidia,tegra234"; - - aliases { - serial0 = &uarta; - }; - - chosen { - bootargs = "console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x03100000"; - stdout-path = "serial0:115200n8"; - }; - - bus@0 { - serial@3100000 { - /delete-property/ dmas; - /delete-property/ dma-names; - status = "okay"; - }; - - mmc@3460000 { - status = "okay"; - bus-width = <8>; - non-removable; - }; - - rtc@c2a0000 { - status = "okay"; - }; - - pmc@c360000 { - nvidia,invert-interrupt; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra234.dtsi" + +/ { + model = "NVIDIA Tegra234 VDK"; + compatible = "nvidia,tegra234-vdk", "nvidia,tegra234"; + + aliases { + serial0 = &uarta; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlycon=uart8250,mmio32,0x03100000"; + stdout-path = "serial0:115200n8"; + }; + + bus@0 { + serial@3100000 { + /delete-property/ dmas; + /delete-property/ dma-names; + status = "okay"; + }; + + mmc@3460000 { + status = "okay"; + bus-width = <8>; + non-removable; + }; + + rtc@c2a0000 { + status = "okay"; + }; + + pmc@c360000 { + nvidia,invert-interrupt; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8094-sony-xperia-kitakami-karin_windy.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8094-sony-xperia-kitakami-karin_windy.dts index e54dfd9e43..314d2dc472 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8094-sony-xperia-kitakami-karin_windy.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/apq8094-sony-xperia-kitakami-karin_windy.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -/* As the names may imply, there is quite a bunch of duplication there. */ -#include "msm8994-sony-xperia-kitakami-karin.dts" - -/ { - model = "Sony Xperia Z4 Tablet (Wi-Fi)"; - compatible = "sony,karin_windy", "qcom,apq8094"; - chassis-type = "tablet"; - - /* - * This model uses the APQ variant of MSM8994 (APQ8094). - * The v1/v2/v2.1 story (from kitakami.dtsi) also applies here. - */ - qcom,msm-id = <253 0x20000>, <253 0x20001>; -}; - -/delete-node/ &pm8994_l1; -/delete-node/ &pm8994_l19; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +/* As the names may imply, there is quite a bunch of duplication there. */ +#include "msm8994-sony-xperia-kitakami-karin.dts" + +/ { + model = "Sony Xperia Z4 Tablet (Wi-Fi)"; + compatible = "sony,karin_windy", "qcom,apq8094"; + chassis-type = "tablet"; + + /* + * This model uses the APQ variant of MSM8994 (APQ8094). + * The v1/v2/v2.1 story (from kitakami.dtsi) also applies here. + */ + qcom,msm-id = <253 0x20000>, <253 0x20001>; +}; + +/delete-node/ &pm8994_l1; +/delete-node/ &pm8994_l19; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp449.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp449.dts index f37a3d7705..d36d107876 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp449.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp449.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * IPQ9574 RDP449 board device tree source - * - * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "ipq9574-rdp-common.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C6"; - compatible = "qcom,ipq9574-ap-al02-c6", "qcom,ipq9574"; - -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * IPQ9574 RDP449 board device tree source + * + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "ipq9574-rdp-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C6"; + compatible = "qcom,ipq9574-ap-al02-c6", "qcom,ipq9574"; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp453.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp453.dts index 36a1370e3d..c30c9fbedf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp453.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp453.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * IPQ9574 RDP453 board device tree source - * - * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "ipq9574-rdp-common.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C8"; - compatible = "qcom,ipq9574-ap-al02-c8", "qcom,ipq9574"; - -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * IPQ9574 RDP453 board device tree source + * + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "ipq9574-rdp-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C8"; + compatible = "qcom,ipq9574-ap-al02-c8", "qcom,ipq9574"; + +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp454.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp454.dts index 904ed9de6e..0dc382f5d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp454.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/ipq9574-rdp454.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * IPQ9574 RDP454 board device tree source - * - * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. - * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "ipq9574-rdp-common.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C9"; - compatible = "qcom,ipq9574-ap-al02-c9", "qcom,ipq9574"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * IPQ9574 RDP454 board device tree source + * + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. + * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "ipq9574-rdp-common.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. IPQ9574/AP-AL02-C9"; + compatible = "qcom,ipq9574-ap-al02-c9", "qcom,ipq9574"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts index abd9aaa700..fba68bf8bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-fortuna-common.dtsi" - -/ { - model = "Samsung Galaxy Grand Prime (SM-G530H)"; - compatible = "samsung,fortuna3g", "qcom,msm8916"; - chassis-type = "handset"; -}; - -&battery { - charge-term-current-microamp = <200000>; - constant-charge-current-max-microamp = <1000000>; - constant-charge-voltage-max-microvolt = <4350000>; -}; - -&st_accel { - status = "okay"; -}; - -&st_magn { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-fortuna-common.dtsi" + +/ { + model = "Samsung Galaxy Grand Prime (SM-G530H)"; + compatible = "samsung,fortuna3g", "qcom,msm8916"; + chassis-type = "handset"; +}; + +&battery { + charge-term-current-microamp = <200000>; + constant-charge-current-max-microamp = <1000000>; + constant-charge-voltage-max-microvolt = <4350000>; +}; + +&st_accel { + status = "okay"; +}; + +&st_magn { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-mtp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-mtp.dts index f9e2e96c9f..c11a845e91 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-mtp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-mtp.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. - */ - -/dts-v1/; - -#include "msm8916-pm8916.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. MSM 8916 MTP"; - compatible = "qcom,msm8916-mtp", "qcom,msm8916"; - chassis-type = "handset"; - - aliases { - serial0 = &blsp_uart2; - usid0 = &pm8916_0; - }; - - chosen { - stdout-path = "serial0"; - }; -}; - -&blsp_uart2 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "msm8916-pm8916.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8916 MTP"; + compatible = "qcom,msm8916-mtp", "qcom,msm8916"; + chassis-type = "handset"; + + aliases { + serial0 = &blsp_uart2; + usid0 = &pm8916_0; + }; + + chosen { + stdout-path = "serial0"; + }; +}; + +&blsp_uart2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-a5-zt.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-a5-zt.dts index 73099605cd..017cee790f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-a5-zt.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-a5-zt.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-a5u-eur.dts" - -/ { - model = "Samsung Galaxy A5 (SM-A500YZ)"; - compatible = "samsung,a5-zt", "samsung,a5u-eur", "qcom,msm8916"; - chassis-type = "handset"; - - /* NOTE: a5-zt doesn't actually have an NFC chip. */ - i2c-nfc { - status = "disabled"; - }; -}; - -&accelerometer { - mount-matrix = "0", "1", "0", - "1", "0", "0", - "0", "0", "1"; -}; - -®_touch_key { - gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>; -}; - -&tkey_en_default { - pins = "gpio60"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-a5u-eur.dts" + +/ { + model = "Samsung Galaxy A5 (SM-A500YZ)"; + compatible = "samsung,a5-zt", "samsung,a5u-eur", "qcom,msm8916"; + chassis-type = "handset"; + + /* NOTE: a5-zt doesn't actually have an NFC chip. */ + i2c-nfc { + status = "disabled"; + }; +}; + +&accelerometer { + mount-matrix = "0", "1", "0", + "1", "0", "0", + "0", "0", "1"; +}; + +®_touch_key { + gpio = <&tlmm 60 GPIO_ACTIVE_HIGH>; +}; + +&tkey_en_default { + pins = "gpio60"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts index 2c8c49d36a..582bfcb096 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-samsung-fortuna-common.dtsi" - -/ { - model = "Samsung Galaxy Grand Prime (SM-G530FZ)"; - compatible = "samsung,grandprimelte", "qcom,msm8916"; - chassis-type = "handset"; -}; - -&battery { - charge-term-current-microamp = <200000>; - constant-charge-current-max-microamp = <1000000>; - constant-charge-voltage-max-microvolt = <4350000>; -}; - -&bosch_accel { - status = "okay"; -}; - -&bosch_magn { - status = "okay"; -}; - -&mpss_mem { - /* Firmware for grandprimelte needs more space */ - reg = <0x0 0x86800000 0x0 0x5400000>; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-samsung-fortuna-common.dtsi" + +/ { + model = "Samsung Galaxy Grand Prime (SM-G530FZ)"; + compatible = "samsung,grandprimelte", "qcom,msm8916"; + chassis-type = "handset"; +}; + +&battery { + charge-term-current-microamp = <200000>; + constant-charge-current-max-microamp = <1000000>; + constant-charge-voltage-max-microvolt = <4350000>; +}; + +&bosch_accel { + status = "okay"; +}; + +&bosch_magn { + status = "okay"; +}; + +&mpss_mem { + /* Firmware for grandprimelte needs more space */ + reg = <0x0 0x86800000 0x0 0x5400000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-thwc-uf896.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-thwc-uf896.dts index da813e77c3..f349975008 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-thwc-uf896.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-thwc-uf896.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-ufi.dtsi" - -/ { - model = "uf896 4G Modem Stick"; - compatible = "thwc,uf896", "qcom,msm8916"; -}; - -&button_restart { - gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; -}; - -&led_b { - gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; -}; - -&led_g { - gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; -}; - -&led_r { - gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>; -}; - -&button_default { - pins = "gpio35"; - bias-pull-up; -}; - -&gpio_leds_default { - pins = "gpio81", "gpio82", "gpio83"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-ufi.dtsi" + +/ { + model = "uf896 4G Modem Stick"; + compatible = "thwc,uf896", "qcom,msm8916"; +}; + +&button_restart { + gpios = <&tlmm 35 GPIO_ACTIVE_LOW>; +}; + +&led_b { + gpios = <&tlmm 81 GPIO_ACTIVE_HIGH>; +}; + +&led_g { + gpios = <&tlmm 83 GPIO_ACTIVE_HIGH>; +}; + +&led_r { + gpios = <&tlmm 82 GPIO_ACTIVE_HIGH>; +}; + +&button_default { + pins = "gpio35"; + bias-pull-up; +}; + +&gpio_leds_default { + pins = "gpio81", "gpio82", "gpio83"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-yiming-uz801v3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-yiming-uz801v3.dts index 163bb05783..a98efcfe78 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-yiming-uz801v3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8916-yiming-uz801v3.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0-only - -/dts-v1/; - -#include "msm8916-ufi.dtsi" - -/ { - model = "uz801 v3.0 4G Modem Stick"; - compatible = "yiming,uz801-v3", "qcom,msm8916"; -}; - -&button_restart { - gpios = <&tlmm 23 GPIO_ACTIVE_LOW>; -}; - -&led_b { - gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; -}; - -&led_g { - gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>; -}; - -&led_r { - gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>; -}; - -&button_default { - pins = "gpio23"; - bias-pull-up; -}; - -&gpio_leds_default { - pins = "gpio6", "gpio7", "gpio8"; -}; +// SPDX-License-Identifier: GPL-2.0-only + +/dts-v1/; + +#include "msm8916-ufi.dtsi" + +/ { + model = "uz801 v3.0 4G Modem Stick"; + compatible = "yiming,uz801-v3", "qcom,msm8916"; +}; + +&button_restart { + gpios = <&tlmm 23 GPIO_ACTIVE_LOW>; +}; + +&led_b { + gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; +}; + +&led_g { + gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>; +}; + +&led_r { + gpios = <&tlmm 7 GPIO_ACTIVE_HIGH>; +}; + +&button_default { + pins = "gpio23"; + bias-pull-up; +}; + +&gpio_leds_default { + pins = "gpio6", "gpio7", "gpio8"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-suzu.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-suzu.dts index fdf36f54f8..87d657f680 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-suzu.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956-sony-xperia-loire-suzu.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2016-2022, AngeloGioacchino Del Regno - * - * Copyright (c) 2022, Konrad Dybcio - * Copyright (c) 2022, Marijn Suijten - */ - -/dts-v1/; - -#include "msm8956-sony-xperia-loire.dtsi" - -/ { - model = "Sony Xperia X"; - compatible = "sony,suzu-row", "qcom,msm8956"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2016-2022, AngeloGioacchino Del Regno + * + * Copyright (c) 2022, Konrad Dybcio + * Copyright (c) 2022, Marijn Suijten + */ + +/dts-v1/; + +#include "msm8956-sony-xperia-loire.dtsi" + +/ { + model = "Sony Xperia X"; + compatible = "sony,suzu-row", "qcom,msm8956"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956.dtsi index ff5c1dc7c6..fa36b62156 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8956.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2016-2022, AngeloGioacchino Del Regno - * - * Copyright (c) 2022, Konrad Dybcio - * Copyright (c) 2022, Marijn Suijten - */ - -#include "msm8976.dtsi" - -&pmu_a72 { - interrupts = ; -}; - -&tsens { - compatible = "qcom,msm8956-tsens", "qcom,tsens-v1"; -}; - -/* - * You might be wondering.. why is it so empty out there? - * Well, the SoCs are almost identical. - */ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2016-2022, AngeloGioacchino Del Regno + * + * Copyright (c) 2022, Konrad Dybcio + * Copyright (c) 2022, Marijn Suijten + */ + +#include "msm8976.dtsi" + +&pmu_a72 { + interrupts = ; +}; + +&tsens { + compatible = "qcom,msm8956-tsens", "qcom,tsens-v1"; +}; + +/* + * You might be wondering.. why is it so empty out there? + * Well, the SoCs are almost identical. + */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-octagon-talkman.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-octagon-talkman.dts index 86168c370d..8933b53694 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-octagon-talkman.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8992-msft-lumia-octagon-talkman.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - * Copyright (c) 2020, Gustave Monce - */ - -/dts-v1/; - -#include "msm8992.dtsi" -#include "msm8994-msft-lumia-octagon.dtsi" - -/ { - model = "Microsoft Lumia 950"; - compatible = "microsoft,talkman", "qcom,msm8992"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + * Copyright (c) 2020, Gustave Monce + */ + +/dts-v1/; + +#include "msm8992.dtsi" +#include "msm8994-msft-lumia-octagon.dtsi" + +/ { + model = "Microsoft Lumia 950"; + compatible = "microsoft,talkman", "qcom,msm8992"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-msft-lumia-octagon-cityman.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-msft-lumia-octagon-cityman.dts index 2d30b1f516..c593418202 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-msft-lumia-octagon-cityman.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-msft-lumia-octagon-cityman.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - * Copyright (c) 2020, Gustave Monce - */ - -/dts-v1/; - -#include "msm8994.dtsi" -#include "msm8994-msft-lumia-octagon.dtsi" - -/ { - model = "Microsoft Lumia 950 XL"; - compatible = "microsoft,cityman", "qcom,msm8994"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + * Copyright (c) 2020, Gustave Monce + */ + +/dts-v1/; + +#include "msm8994.dtsi" +#include "msm8994-msft-lumia-octagon.dtsi" + +/ { + model = "Microsoft Lumia 950 XL"; + compatible = "microsoft,cityman", "qcom,msm8994"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-ivy.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-ivy.dts index 9562d01c47..99388b019a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-ivy.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-ivy.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8994-sony-xperia-kitakami.dtsi" - -/ { - model = "Sony Xperia Z3+/Z4"; - compatible = "sony,ivy-row", "qcom,msm8994"; - chassis-type = "handset"; -}; - -&pm8994_l3 { - regulator-min-microvolt = <1000000>; - regulator-max-microvolt = <1000000>; -}; - -&pm8994_l17 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; -}; - -/delete-node/ &pm8994_l19; -/delete-node/ &pm8994_l32; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8994-sony-xperia-kitakami.dtsi" + +/ { + model = "Sony Xperia Z3+/Z4"; + compatible = "sony,ivy-row", "qcom,msm8994"; + chassis-type = "handset"; +}; + +&pm8994_l3 { + regulator-min-microvolt = <1000000>; + regulator-max-microvolt = <1000000>; +}; + +&pm8994_l17 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2700000>; +}; + +/delete-node/ &pm8994_l19; +/delete-node/ &pm8994_l32; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-satsuki.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-satsuki.dts index 4316739974..69b7df0ed6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-satsuki.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-satsuki.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8994-sony-xperia-kitakami.dtsi" - -/ { - model = "Sony Xperia Z5 Premium"; - compatible = "sony,satsuki-row", "qcom,msm8994"; - chassis-type = "handset"; -}; - -&pm8994_l14 { - regulator-min-microvolt = <1850000>; - regulator-max-microvolt = <1850000>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8994-sony-xperia-kitakami.dtsi" + +/ { + model = "Sony Xperia Z5 Premium"; + compatible = "sony,satsuki-row", "qcom,msm8994"; + chassis-type = "handset"; +}; + +&pm8994_l14 { + regulator-min-microvolt = <1850000>; + regulator-max-microvolt = <1850000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-suzuran.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-suzuran.dts index 5da17d9aeb..76bf50191f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-suzuran.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-suzuran.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8994-sony-xperia-kitakami.dtsi" - -/ { - model = "Sony Xperia Z5 Compact"; - compatible = "sony,suzuran-row", "qcom,msm8994"; - chassis-type = "handset"; -}; - -&pm8994_l14 { - regulator-min-microvolt = <2000000>; - regulator-max-microvolt = <2000000>; -}; - -/delete-node/ &pm8994_l19; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8994-sony-xperia-kitakami.dtsi" + +/ { + model = "Sony Xperia Z5 Compact"; + compatible = "sony,suzuran-row", "qcom,msm8994"; + chassis-type = "handset"; +}; + +&pm8994_l14 { + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <2000000>; +}; + +/delete-node/ &pm8994_l19; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-mtp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-mtp.dts index 9b4cf7fc75..6e9c9caf25 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-mtp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-mtp.dts @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. - */ - -/dts-v1/; - -#include "msm8996.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. MSM 8996 MTP"; - compatible = "qcom,msm8996-mtp", "qcom,msm8996"; - chassis-type = "handset"; - - aliases { - serial0 = &blsp2_uart2; - }; - - chosen { - stdout-path = "serial0"; - }; -}; - -&blsp2_uart2 { - status = "okay"; -}; - -&mdss_hdmi { - status = "okay"; -}; - -&mdss_hdmi_phy { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. + */ + +/dts-v1/; + +#include "msm8996.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. MSM 8996 MTP"; + compatible = "qcom,msm8996-mtp", "qcom,msm8996"; + chassis-type = "handset"; + + aliases { + serial0 = &blsp2_uart2; + }; + + chosen { + stdout-path = "serial0"; + }; +}; + +&blsp2_uart2 { + status = "okay"; +}; + +&mdss_hdmi { + status = "okay"; +}; + +&mdss_hdmi_phy { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dts index 5558ee9bee..6374c5f53d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-dora.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, AngeloGioacchino Del Regno - * - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8996-sony-xperia-tone.dtsi" - -/ { - model = "Sony Xperia X Performance"; - compatible = "sony,dora-row", "qcom,msm8996"; - chassis-type = "handset"; -}; - -/delete-node/ &tof_sensor; -/delete-node/ &pm8994_l11; -/delete-node/ &pm8994_l14; - -&usb_detect { - pins = "gpio24"; -}; - -&usb3_id { - id-gpios = <&tlmm 24 GPIO_ACTIVE_LOW>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, AngeloGioacchino Del Regno + * + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8996-sony-xperia-tone.dtsi" + +/ { + model = "Sony Xperia X Performance"; + compatible = "sony,dora-row", "qcom,msm8996"; + chassis-type = "handset"; +}; + +/delete-node/ &tof_sensor; +/delete-node/ &pm8994_l11; +/delete-node/ &pm8994_l14; + +&usb_detect { + pins = "gpio24"; +}; + +&usb3_id { + id-gpios = <&tlmm 24 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dts index 1dac87ab97..d3100ddf92 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-kagura.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, AngeloGioacchino Del Regno - * - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8996-sony-xperia-tone.dtsi" - -/ { - model = "Sony Xperia XZ"; - compatible = "sony,kagura-row", "qcom,msm8996"; - chassis-type = "handset"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, AngeloGioacchino Del Regno + * + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8996-sony-xperia-tone.dtsi" + +/ { + model = "Sony Xperia XZ"; + compatible = "sony,kagura-row", "qcom,msm8996"; + chassis-type = "handset"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dts index a4020daee3..3e5bdaba83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8996-sony-xperia-tone-keyaki.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, AngeloGioacchino Del Regno - * - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "msm8996-sony-xperia-tone.dtsi" - -/ { - model = "Sony Xperia XZs"; - compatible = "sony,keyaki-row", "qcom,msm8996"; - chassis-type = "handset"; -}; - -&pm8994_l19 { - regulator-min-microvolt = <2700000>; - regulator-max-microvolt = <2700000>; -}; - -&pm8994_l30 { - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - regulator-pull-down; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, AngeloGioacchino Del Regno + * + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "msm8996-sony-xperia-tone.dtsi" + +/ { + model = "Sony Xperia XZs"; + compatible = "sony,keyaki-row", "qcom,msm8996"; + chassis-type = "handset"; +}; + +&pm8994_l19 { + regulator-min-microvolt = <2700000>; + regulator-max-microvolt = <2700000>; +}; + +&pm8994_l30 { + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-pull-down; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts index 545647af36..38389c6a3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-hp-envy-x2.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ - -/dts-v1/; - -#include "msm8998-clamshell.dtsi" - -/ { - model = "HP Envy x2"; - compatible = "hp,envy-x2", "qcom,msm8998"; - chassis-type = "convertible"; -}; - -&blsp1_i2c6 { - status = "okay"; - - keyboard@3a { - compatible = "hid-over-i2c"; - reg = <0x3a>; - pinctrl-names = "default"; - pinctrl-0 = <&touchpad>; - - interrupt-parent = <&tlmm>; - interrupts = <121 IRQ_TYPE_LEVEL_LOW>; - - hid-descr-addr = <0x0001>; - }; -}; - -&sdhc2 { - cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* Copyright (c) 2019, Jeffrey Hugo. All rights reserved. */ + +/dts-v1/; + +#include "msm8998-clamshell.dtsi" + +/ { + model = "HP Envy x2"; + compatible = "hp,envy-x2", "qcom,msm8998"; + chassis-type = "convertible"; +}; + +&blsp1_i2c6 { + status = "okay"; + + keyboard@3a { + compatible = "hid-over-i2c"; + reg = <0x3a>; + pinctrl-names = "default"; + pinctrl-0 = <&touchpad>; + + interrupt-parent = <&tlmm>; + interrupts = <121 IRQ_TYPE_LEVEL_LOW>; + + hid-descr-addr = <0x0001>; + }; +}; + +&sdhc2 { + cd-gpios = <&tlmm 95 GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dts index 589125bb85..5d0dabbaee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/msm8998-oneplus-dumpling.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * OnePlus 5T (dumpling) device tree - * - * Copyright (c) 2021, Jami Kettunen - */ - -#include "msm8998-oneplus-common.dtsi" - -/ { - model = "OnePlus 5T"; - compatible = "oneplus,dumpling", "qcom,msm8998"; - chassis-type = "handset"; - /* Required for bootloader to select correct board */ - qcom,board-id = <8 0 17801 43>; -}; - -/* Update the screen height values from 1920 to 2160 on the 5T */ -&framebuffer0 { - height = <2160>; -}; - -/* Adjust digitizer area height to match the 5T's taller panel */ -&rmi4_f12 { - touchscreen-y-mm = <137>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * OnePlus 5T (dumpling) device tree + * + * Copyright (c) 2021, Jami Kettunen + */ + +#include "msm8998-oneplus-common.dtsi" + +/ { + model = "OnePlus 5T"; + compatible = "oneplus,dumpling", "qcom,msm8998"; + chassis-type = "handset"; + /* Required for bootloader to select correct board */ + qcom,board-id = <8 0 17801 43>; +}; + +/* Update the screen height values from 1920 to 2160 on the 5T */ +&framebuffer0 { + height = <2160>; +}; + +/* Adjust digitizer area height to match the 5T's taller panel */ +&rmi4_f12 { + touchscreen-y-mm = <137>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8004.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8004.dtsi index b8fc93f7e5..532b79acf0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8004.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pm8004.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -&spmi_bus { - - pm8004_lsid4: pmic@4 { - compatible = "qcom,pm8004", "qcom,spmi-pmic"; - reg = <0x4 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - }; - - pm8004_lsid5: pmic@5 { - compatible = "qcom,pm8004", "qcom,spmi-pmic"; - reg = <0x5 SPMI_USID>; - #address-cells = <1>; - #size-cells = <0>; - - pm8004_spmi_regulators: regulators { - compatible = "qcom,pm8004-regulators"; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +&spmi_bus { + + pm8004_lsid4: pmic@4 { + compatible = "qcom,pm8004", "qcom,spmi-pmic"; + reg = <0x4 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + }; + + pm8004_lsid5: pmic@5 { + compatible = "qcom,pm8004", "qcom,spmi-pmic"; + reg = <0x5 SPMI_USID>; + #address-cells = <1>; + #size-cells = <0>; + + pm8004_spmi_regulators: regulators { + compatible = "qcom,pm8004-regulators"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pmi8996.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pmi8996.dtsi index 4d500921ce..31b47209e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pmi8996.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/pmi8996.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2021, Konrad Dybcio - */ - - /* - * PMI8996 is a slight modification of PMI8994 with - * some notable changes, like being the first PMIC - * whose the bootloader has to check to continue booting - * and a change to a LABIBB parameter. - */ - -/ { - qcom,pmic-id = <0x20009 0x10013 0 0>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021, Konrad Dybcio + */ + + /* + * PMI8996 is a slight modification of PMI8994 with + * some notable changes, like being the first PMIC + * whose the bootloader has to check to continue booting + * and a change to a LABIBB parameter. + */ + +/ { + qcom,pmic-id = <0x20009 0x10013 0 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qru1000.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qru1000.dtsi index 1d26b58073..eac5dc54a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qru1000.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/qru1000.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -#include "qdu1000.dtsi" -/delete-node/ &tenx_mem; -/delete-node/ &oem_tenx_mem; -/delete-node/ &tenx_q6_buffer_mem; - -&reserved_memory { - oem_tenx_mem: oem-tenx@a0000000 { - reg = <0x0 0xa0000000 0x0 0x6400000>; - no-map; - }; - - mpss_diag_buffer_mem: mpss-diag-buffer@aea00000 { - reg = <0x0 0xaea00000 0x0 0x6400000>; - no-map; - }; - - tenx_q6_buffer_mem: tenx-q6-buffer@b4e00000 { - reg = <0x0 0xb4e00000 0x0 0x3200000>; - no-map; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "qdu1000.dtsi" +/delete-node/ &tenx_mem; +/delete-node/ &oem_tenx_mem; +/delete-node/ &tenx_q6_buffer_mem; + +&reserved_memory { + oem_tenx_mem: oem-tenx@a0000000 { + reg = <0x0 0xa0000000 0x0 0x6400000>; + no-map; + }; + + mpss_diag_buffer_mem: mpss-diag-buffer@aea00000 { + reg = <0x0 0xaea00000 0x0 0x6400000>; + no-map; + }; + + tenx_q6_buffer_mem: tenx-q6-buffer@b4e00000 { + reg = <0x0 0xb4e00000 0x0 0x3200000>; + no-map; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-lite.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-lite.dtsi index 3b57800b45..4b306a59d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-lite.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-lite.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * SC7180 lite device tree source - * - * Copyright (c) 2020, The Linux Foundation. All rights reserved. - */ - -&cpu6_opp10 { - opp-peak-kBps = <7216000 22425600>; -}; - -&cpu6_opp11 { - opp-peak-kBps = <7216000 22425600>; -}; - -&cpu6_opp12 { - opp-peak-kBps = <8532000 23347200>; -}; - -&cpu6_opp13 { - opp-peak-kBps = <8532000 23347200>; -}; - -&cpu6_opp14 { - opp-peak-kBps = <8532000 23347200>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * SC7180 lite device tree source + * + * Copyright (c) 2020, The Linux Foundation. All rights reserved. + */ + +&cpu6_opp10 { + opp-peak-kBps = <7216000 22425600>; +}; + +&cpu6_opp11 { + opp-peak-kBps = <7216000 22425600>; +}; + +&cpu6_opp12 { + opp-peak-kBps = <8532000 23347200>; +}; + +&cpu6_opp13 { + opp-peak-kBps = <8532000 23347200>; +}; + +&cpu6_opp14 { + opp-peak-kBps = <8532000 23347200>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1-lte.dts index 86736f8a4b..82dc00cc7f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r1-lte.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google CoachZ board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-coachz-r1.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google CoachZ (rev1 - 2) with LTE"; - compatible = "google,coachz-rev1-sku0", "google,coachz-rev2-sku0", "qcom,sc7180"; -}; - -&cros_ec_proximity { - label = "proximity-wifi-lte"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google CoachZ board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-coachz-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google CoachZ (rev1 - 2) with LTE"; + compatible = "google,coachz-rev1-sku0", "google,coachz-rev2-sku0", "qcom,sc7180"; +}; + +&cros_ec_proximity { + label = "proximity-wifi-lte"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3-lte.dts index 03defb5a02..d23409034e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz-r3-lte.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google CoachZ board device tree source - * - * Copyright 2021 Google LLC. - */ - -#include "sc7180-trogdor-coachz-r3.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google CoachZ (rev3+) with LTE"; - compatible = "google,coachz-sku0", "qcom,sc7180"; -}; - -&cros_ec_proximity { - label = "proximity-wifi-lte"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google CoachZ board device tree source + * + * Copyright 2021 Google LLC. + */ + +#include "sc7180-trogdor-coachz-r3.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google CoachZ (rev3+) with LTE"; + compatible = "google,coachz-sku0", "qcom,sc7180"; +}; + +&cros_ec_proximity { + label = "proximity-wifi-lte"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts index 69cb1aa1e6..d9e905ed4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r2.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Homestar board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-homestar.dtsi" - -/ { - model = "Google Homestar (rev2)"; - compatible = "google,homestar-rev2","google,homestar-rev23", "qcom,sc7180"; -}; - -&panel { - /delete-property/hpd-gpios; - no-hpd; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Homestar board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-homestar.dtsi" + +/ { + model = "Google Homestar (rev2)"; + compatible = "google,homestar-rev2","google,homestar-rev23", "qcom,sc7180"; +}; + +&panel { + /delete-property/hpd-gpios; + no-hpd; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts index ef2473148f..242c178fdc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r3.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Homestar board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-homestar.dtsi" - -/ { - model = "Google Homestar (rev3)"; - compatible = "google,homestar-rev3", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Homestar board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-homestar.dtsi" + +/ { + model = "Google Homestar (rev3)"; + compatible = "google,homestar-rev3", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts index 3c39b64630..66dd870162 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-homestar-r4.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Homestar board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-homestar.dtsi" - -/ { - model = "Google Homestar (rev4+)"; - compatible = "google,homestar", "qcom,sc7180"; -}; - -&pp3300_brij_ps8640 { - regulator-enable-ramp-delay = <4000>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Homestar board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-homestar.dtsi" + +/ { + model = "Google Homestar (rev4+)"; + compatible = "google,homestar", "qcom,sc7180"; +}; + +&pp3300_brij_ps8640 { + regulator-enable-ramp-delay = <4000>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts index 970984006b..eba15535e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r10.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor Limozeen board device tree source - * - * Copyright 2023 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Lazor Limozeen without Touchscreen (rev10+)"; - compatible = "google,lazor-sku6", "google,lazor-sku18", "qcom,sc7180"; -}; - -/delete-node/ &ap_ts; - -&panel { - compatible = "edp-panel"; -}; - -&sdhc_2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor Limozeen board device tree source + * + * Copyright 2023 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Lazor Limozeen without Touchscreen (rev10+)"; + compatible = "google,lazor-sku6", "google,lazor-sku18", "qcom,sc7180"; +}; + +/delete-node/ &ap_ts; + +&panel { + compatible = "edp-panel"; +}; + +&sdhc_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts index 2de75837b7..a609a26515 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-limozeen-nots-r9.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor Limozeen board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Lazor Limozeen without Touchscreen (rev9)"; - compatible = "google,lazor-rev9-sku6", "google,lazor-rev9-sku18", "qcom,sc7180"; -}; - -/delete-node/ &ap_ts; - -&panel { - compatible = "edp-panel"; -}; - -&sdhc_2 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor Limozeen board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Lazor Limozeen without Touchscreen (rev9)"; + compatible = "google,lazor-rev9-sku6", "google,lazor-rev9-sku18", "qcom,sc7180"; +}; + +/delete-node/ &ap_ts; + +&panel { + compatible = "edp-panel"; +}; + +&sdhc_2 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts index bc576fdb22..d45e60e3eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1-lte.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -#include "sc7180-trogdor-lazor-r1.dts" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Lazor (rev1 - 2) with LTE"; - compatible = "google,lazor-rev1-sku0", "google,lazor-rev2-sku0", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +#include "sc7180-trogdor-lazor-r1.dts" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Lazor (rev1 - 2) with LTE"; + compatible = "google,lazor-rev1-sku0", "google,lazor-rev2-sku0", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts index 2b4b377771..b60060a384 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r1.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Lazor (rev1 - 2)"; - compatible = "google,lazor-rev1", "google,lazor-rev2", "qcom,sc7180"; -}; - - -&usb_hub_2_x { - vdd-supply = <&pp3300_l7c>; -}; - -&usb_hub_3_x { - vdd-supply = <&pp3300_l7c>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Lazor (rev1 - 2)"; + compatible = "google,lazor-rev1", "google,lazor-rev2", "qcom,sc7180"; +}; + + +&usb_hub_2_x { + vdd-supply = <&pp3300_l7c>; +}; + +&usb_hub_3_x { + vdd-supply = <&pp3300_l7c>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts index 0f6c0f994f..e906ce877b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-kb.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2023 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-lite.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Lazor (rev10+) with KB Backlight"; - compatible = "google,lazor-sku2", "qcom,sc7180"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2023 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-lite.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Lazor (rev10+) with KB Backlight"; + compatible = "google,lazor-sku2", "qcom,sc7180"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts index 61f6040e3b..4b9ee15b09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10-lte.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2023 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Lazor (rev10+) with LTE"; - compatible = "google,lazor-sku0", "google,lazor-sku10", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2023 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Lazor (rev10+) with LTE"; + compatible = "google,lazor-sku0", "google,lazor-sku10", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts index 8f7879d577..045827341e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r10.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2023 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-lite.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Lazor (rev10+)"; - compatible = "google,lazor", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2023 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-lite.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Lazor (rev10+)"; + compatible = "google,lazor", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts index b0fa76bceb..a960553f39 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3-kb.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" -#include "sc7180-lite.dtsi" - -/ { - model = "Google Lazor (rev3 - 8) with KB Backlight"; - compatible = "google,lazor-rev3-sku2", "google,lazor-rev4-sku2", - "google,lazor-rev5-sku2", "google,lazor-rev6-sku2", - "google,lazor-rev7-sku2", "google,lazor-rev8-sku2", - "qcom,sc7180"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev3 - 8) with KB Backlight"; + compatible = "google,lazor-rev3-sku2", "google,lazor-rev4-sku2", + "google,lazor-rev5-sku2", "google,lazor-rev6-sku2", + "google,lazor-rev7-sku2", "google,lazor-rev8-sku2", + "qcom,sc7180"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts index f7afc37e2d..dd8f6d9565 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r3.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" -#include "sc7180-lite.dtsi" - -/ { - model = "Google Lazor (rev3 - 8)"; - compatible = "google,lazor-rev3", "google,lazor-rev4", - "google,lazor-rev5", "google,lazor-rev6", "google,lazor-rev7", - "google,lazor-rev8", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev3 - 8)"; + compatible = "google,lazor-rev3", "google,lazor-rev4", + "google,lazor-rev5", "google,lazor-rev6", "google,lazor-rev7", + "google,lazor-rev8", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts index bf90721c0c..6278c1715d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-kb.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2020 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" -#include "sc7180-lite.dtsi" - -/ { - model = "Google Lazor (rev9) with KB Backlight"; - compatible = "google,lazor-rev9-sku2", "qcom,sc7180"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2020 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev9) with KB Backlight"; + compatible = "google,lazor-rev9-sku2", "qcom,sc7180"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts index 61a4112006..0ec1697ae2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9-lte.dts @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Lazor (rev9) with LTE"; - compatible = "google,lazor-rev9-sku0", "google,lazor-rev9-sku10", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; - -&pwmleds { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Lazor (rev9) with LTE"; + compatible = "google,lazor-rev9-sku0", "google,lazor-rev9-sku10", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; + +&pwmleds { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts index 9d0597ff80..8daad32ff5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lazor-r9.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Lazor board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-lazor.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" -#include "sc7180-lite.dtsi" - -/ { - model = "Google Lazor (rev9)"; - compatible = "google,lazor-rev9", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Lazor board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-lazor.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" +#include "sc7180-lite.dtsi" + +/ { + model = "Google Lazor (rev9)"; + compatible = "google,lazor-rev9", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi index bf1a529f58..bffcbd141b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-lte-sku.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Trogdor dts fragment for LTE SKUs - * - * Copyright 2020 Google LLC. - */ - -&ap_sar_sensor { - label = "proximity-wifi-lte"; -}; - -&mpss_mem { - reg = <0x0 0x86000000 0x0 0x8c00000>; -}; - -&remoteproc_mpss { - firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn", - "qcom/sc7180-trogdor/modem/qdsp6sw.mbn"; -}; - -&ipa { - /* - * Trogdor doesn't have QHEE (Qualcomm's EL2 blob), so the - * modem needs to cover certain init steps (GSI init), and - * the AP needs to wait for it. - */ - qcom,gsi-loader = "modem"; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Trogdor dts fragment for LTE SKUs + * + * Copyright 2020 Google LLC. + */ + +&ap_sar_sensor { + label = "proximity-wifi-lte"; +}; + +&mpss_mem { + reg = <0x0 0x86000000 0x0 0x8c00000>; +}; + +&remoteproc_mpss { + firmware-name = "qcom/sc7180-trogdor/modem/mba.mbn", + "qcom/sc7180-trogdor/modem/qdsp6sw.mbn"; +}; + +&ipa { + /* + * Trogdor doesn't have QHEE (Qualcomm's EL2 blob), so the + * modem needs to cover certain init steps (GSI init), and + * the AP needs to wait for it. + */ + qcom,gsi-loader = "modem"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-parade.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-parade.dts index 4b513dc7db..1c3d9f1381 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-parade.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-parade.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-pazquel.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Pazquel (Parade,LTE)"; - compatible = "google,pazquel-sku6", "google,pazquel-sku4", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-pazquel.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Pazquel (Parade,LTE)"; + compatible = "google,pazquel-sku6", "google,pazquel-sku4", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-ti.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-ti.dts index 96738e4d93..bf170471b0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-ti.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-lte-ti.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-pazquel.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Pazquel (TI,LTE)"; - compatible = "google,pazquel-sku0", "google,pazquel-sku2", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-pazquel.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Pazquel (TI,LTE)"; + compatible = "google,pazquel-sku0", "google,pazquel-sku2", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-parade.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-parade.dts index 885bb27953..60ae129b83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-parade.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-parade.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-pazquel.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Pazquel (Parade)"; - compatible = "google,pazquel-sku5", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-pazquel.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Pazquel (Parade)"; + compatible = "google,pazquel-sku5", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-ti.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-ti.dts index 43a403dc84..31678a98ce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-ti.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel-ti.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-ti-sn65dsi86.dtsi" -#include "sc7180-trogdor-pazquel.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Pazquel (TI)"; - compatible = "google,pazquel-sku1", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-ti-sn65dsi86.dtsi" +#include "sc7180-trogdor-pazquel.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Pazquel (TI)"; + compatible = "google,pazquel-sku1", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts index d8356821d2..021bcafcf8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-lte.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2021 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-pazquel360.dtsi" -#include "sc7180-trogdor-lte-sku.dtsi" - -/ { - model = "Google Pazquel (Parade,LTE)"; - compatible = "google,pazquel-sku22", "google,pazquel-sku20", "qcom,sc7180"; -}; - -&ap_sar_sensor_i2c { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2021 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-pazquel360.dtsi" +#include "sc7180-trogdor-lte-sku.dtsi" + +/ { + model = "Google Pazquel (Parade,LTE)"; + compatible = "google,pazquel-sku22", "google,pazquel-sku20", "qcom,sc7180"; +}; + +&ap_sar_sensor_i2c { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts index 22c7129234..defd84c535 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-pazquel360-wifi.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Pazquel board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7180-trogdor.dtsi" -#include "sc7180-trogdor-parade-ps8640.dtsi" -#include "sc7180-trogdor-pazquel360.dtsi" - -/ { - model = "Google Pazquel (Parade,WIFI-only)"; - compatible = "google,pazquel-sku21", "qcom,sc7180"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Pazquel board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7180-trogdor.dtsi" +#include "sc7180-trogdor-parade-ps8640.dtsi" +#include "sc7180-trogdor-pazquel360.dtsi" + +/ { + model = "Google Pazquel (Parade,WIFI-only)"; + compatible = "google,pazquel-sku21", "qcom,sc7180"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0.dts index 34cbd09a28..0a7f2286b5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-quackingstick-r0.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Quackingstick board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x601 => 1537 - * - bits 11..8: Panel ID: 0x6 (AUO) - */ - -#include "sc7180-trogdor-quackingstick.dtsi" - -/ { - model = "Google Quackingstick (rev0+)"; - compatible = "google,quackingstick-sku1537", "qcom,sc7180"; -}; - -&mdss_dsi0_phy { - qcom,phy-rescode-offset-top = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; - qcom,phy-rescode-offset-bot = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; - qcom,phy-drive-ldo-level = <375>; -}; - -&panel { - compatible = "auo,b101uan08.3"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Quackingstick board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x601 => 1537 + * - bits 11..8: Panel ID: 0x6 (AUO) + */ + +#include "sc7180-trogdor-quackingstick.dtsi" + +/ { + model = "Google Quackingstick (rev0+)"; + compatible = "google,quackingstick-sku1537", "qcom,sc7180"; +}; + +&mdss_dsi0_phy { + qcom,phy-rescode-offset-top = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; + qcom,phy-rescode-offset-bot = /bits/ 8 <(-13) (-13) (-13) (-13) (-13)>; + qcom,phy-drive-ldo-level = <375>; +}; + +&panel { + compatible = "auo,b101uan08.3"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts index 4e7a6f7dbd..0bf355e08f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx-rt5682s.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Wormdingler board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x0001 => 1 - * - bits 11..8: Panel ID: 0x0 (INX) - */ - -/dts-v1/; - -#include "sc7180-trogdor-wormdingler.dtsi" -#include "sc7180-trogdor-rt5682s-sku.dtsi" - -/ { - model = "Google Wormdingler rev1+ (INX, rt5682s)"; - compatible = "google,wormdingler-sku1", "qcom,sc7180"; -}; - -&panel { - compatible = "innolux,hj110iz-01a"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Wormdingler board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x0001 => 1 + * - bits 11..8: Panel ID: 0x0 (INX) + */ + +/dts-v1/; + +#include "sc7180-trogdor-wormdingler.dtsi" +#include "sc7180-trogdor-rt5682s-sku.dtsi" + +/ { + model = "Google Wormdingler rev1+ (INX, rt5682s)"; + compatible = "google,wormdingler-sku1", "qcom,sc7180"; +}; + +&panel { + compatible = "innolux,hj110iz-01a"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx.dts index 055a48fb11..4b165b826a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7180-trogdor-wormdingler-rev1-inx.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Wormdingler board device tree source - * - * Copyright 2021 Google LLC. - * - * SKU: 0x0000 => 0 - * - bits 11..8: Panel ID: 0x0 (INX) - */ - -/dts-v1/; - -#include "sc7180-trogdor-wormdingler.dtsi" -#include "sc7180-trogdor-rt5682i-sku.dtsi" - -/ { - model = "Google Wormdingler rev1+ INX panel board"; - compatible = "google,wormdingler-sku0", "qcom,sc7180"; -}; - -&panel { - compatible = "innolux,hj110iz-01a"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Wormdingler board device tree source + * + * Copyright 2021 Google LLC. + * + * SKU: 0x0000 => 0 + * - bits 11..8: Panel ID: 0x0 (INX) + */ + +/dts-v1/; + +#include "sc7180-trogdor-wormdingler.dtsi" +#include "sc7180-trogdor-rt5682i-sku.dtsi" + +/ { + model = "Google Wormdingler rev1+ INX panel board"; + compatible = "google,wormdingler-sku0", "qcom,sc7180"; +}; + +&panel { + compatible = "innolux,hj110iz-01a"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd-pro.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd-pro.dts index 17769fb426..4ee5f0b0a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd-pro.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-crd-pro.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * sc7280 CRD 3+ Pro board device tree source - * - * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. - */ - -#include "sc7280-herobrine-crd.dts" -#include "sc7280-herobrine-pro-sku.dtsi" - -/ { - model = "Qualcomm Technologies, Inc. sc7280 CRD Pro platform (rev5+)"; - compatible = "google,zoglin-sku1536", "google,hoglin-sku1536", "qcom,sc7280"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * sc7280 CRD 3+ Pro board device tree source + * + * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved. + */ + +#include "sc7280-herobrine-crd.dts" +#include "sc7280-herobrine-pro-sku.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. sc7280 CRD Pro platform (rev5+)"; + compatible = "google,zoglin-sku1536", "google,hoglin-sku1536", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme-lte.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme-lte.dts index 7dd82ebba6..e1fcacdccd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme-lte.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme-lte.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Zombie board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-zombie.dtsi" -#include "sc7280-herobrine-lte-sku.dtsi" -#include "sc7280-herobrine-nvme-sku.dtsi" - -/ { - model = "Google Zombie with LTE and NVMe"; - compatible = "google,zombie-sku514", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-lte-sku.dtsi" +#include "sc7280-herobrine-nvme-sku.dtsi" + +/ { + model = "Google Zombie with LTE and NVMe"; + compatible = "google,zombie-sku514", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme.dts index 076fbe6610..e3d52c5603 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sc7280-herobrine-zombie-nvme.dts @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Google Zombie board device tree source - * - * Copyright 2022 Google LLC. - */ - -/dts-v1/; - -#include "sc7280-herobrine-zombie.dtsi" -#include "sc7280-herobrine-wifi-sku.dtsi" -#include "sc7280-herobrine-nvme-sku.dtsi" - -/ { - model = "Google Zombie with NVMe"; - compatible = "google,zombie-sku2","google,zombie-sku3","google,zombie-sku515", "qcom,sc7280"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Google Zombie board device tree source + * + * Copyright 2022 Google LLC. + */ + +/dts-v1/; + +#include "sc7280-herobrine-zombie.dtsi" +#include "sc7280-herobrine-wifi-sku.dtsi" +#include "sc7280-herobrine-nvme-sku.dtsi" + +/ { + model = "Google Zombie with NVMe"; + compatible = "google,zombie-sku2","google,zombie-sku3","google,zombie-sku515", "qcom,sc7280"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dts index 9469752cc5..a679d4acee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm630-sony-xperia-nile-voyager.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Konrad Dybcio - */ - -/dts-v1/; - -#include "sdm630.dtsi" -#include "sdm630-sony-xperia-nile.dtsi" - -/ { - model = "Sony Xperia XA2 Plus"; - compatible = "sony,voyager-row", "qcom,sdm630"; - chassis-type = "handset"; - - chosen { - framebuffer@9d400000 { - reg = <0 0x9d400000 0 (2160 * 1080 * 4)>; - height = <2160>; - }; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Konrad Dybcio + */ + +/dts-v1/; + +#include "sdm630.dtsi" +#include "sdm630-sony-xperia-nile.dtsi" + +/ { + model = "Sony Xperia XA2 Plus"; + compatible = "sony,voyager-row", "qcom,sdm630"; + chassis-type = "handset"; + + chosen { + framebuffer@9d400000 { + reg = <0 0x9d400000 0 (2160 * 1080 * 4)>; + height = <2160>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts index c85058cacc..9702e5f59a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm636-sony-xperia-ganges-mermaid.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2020, Martin Botka - */ - -/dts-v1/; - -#include "sdm630-sony-xperia-ganges-kirin.dts" -#include "sdm636.dtsi" - -/ { - model = "Sony Xperia 10 Plus"; - compatible = "sony,mermaid-row", "qcom,sdm636"; - chassis-type = "handset"; - - /* SDM636 v1 */ - qcom,msm-id = <345 0>; - qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00 0x1001b 0x102001a 0x00 0x00>; -}; - -&sdc2_state_on { - clk-pins { - drive-strength = <14>; - }; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2020, Martin Botka + */ + +/dts-v1/; + +#include "sdm630-sony-xperia-ganges-kirin.dts" +#include "sdm636.dtsi" + +/ { + model = "Sony Xperia 10 Plus"; + compatible = "sony,mermaid-row", "qcom,sdm636"; + chassis-type = "handset"; + + /* SDM636 v1 */ + qcom,msm-id = <345 0>; + qcom,pmic-id = <0x1001b 0x101011a 0x00 0x00 0x1001b 0x201011a 0x00 0x00 0x1001b 0x102001a 0x00 0x00>; +}; + +&sdc2_state_on { + clk-pins { + drive-strength = <14>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm850.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm850.dtsi index 1eb6c05e3d..da9f6fbe32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm850.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sdm850.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * SDM850 SoC device tree source - * - * Copyright (c) 2020, The Linux Foundation. All rights reserved. - */ - -#include "sdm845.dtsi" - -&cpu4_opp_table { - cpu4_opp33: opp-2841600000 { - opp-hz = /bits/ 64 <2841600000>; - opp-peak-kBps = <7216000 25497600>; - }; - - cpu4_opp34: opp-2956800000 { - opp-hz = /bits/ 64 <2956800000>; - opp-peak-kBps = <7216000 25497600>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * SDM850 SoC device tree source + * + * Copyright (c) 2020, The Linux Foundation. All rights reserved. + */ + +#include "sdm845.dtsi" + +&cpu4_opp_table { + cpu4_opp33: opp-2841600000 { + opp-hz = /bits/ 64 <2841600000>; + opp-peak-kBps = <7216000 25497600>; + }; + + cpu4_opp34: opp-2956800000 { + opp-hz = /bits/ 64 <2956800000>; + opp-peak-kBps = <7216000 25497600>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4250.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4250.dtsi index bafab7b04c..c5add8f44f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4250.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4250.dtsi @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) -/* - * Copyright (c) 2021, Iskren Chernev - */ - -#include "sm6115.dtsi" - -&CPU0 { - compatible = "qcom,kryo240"; -}; - -&CPU1 { - compatible = "qcom,kryo240"; -}; - -&CPU2 { - compatible = "qcom,kryo240"; -}; - -&CPU3 { - compatible = "qcom,kryo240"; -}; - -&CPU4 { - compatible = "qcom,kryo240"; -}; - -&CPU5 { - compatible = "qcom,kryo240"; -}; - -&CPU6 { - compatible = "qcom,kryo240"; -}; - -&CPU7 { - compatible = "qcom,kryo240"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) +/* + * Copyright (c) 2021, Iskren Chernev + */ + +#include "sm6115.dtsi" + +&CPU0 { + compatible = "qcom,kryo240"; +}; + +&CPU1 { + compatible = "qcom,kryo240"; +}; + +&CPU2 { + compatible = "qcom,kryo240"; +}; + +&CPU3 { + compatible = "qcom,kryo240"; +}; + +&CPU4 { + compatible = "qcom,kryo240"; +}; + +&CPU5 { + compatible = "qcom,kryo240"; +}; + +&CPU6 { + compatible = "qcom,kryo240"; +}; + +&CPU7 { + compatible = "qcom,kryo240"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4450-qrd.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4450-qrd.dts index bf9706c952..866e937835 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4450-qrd.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm4450-qrd.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. - */ - -/dts-v1/; - -#include "sm4450.dtsi" -/ { - model = "Qualcomm Technologies, Inc. SM4450 QRD"; - compatible = "qcom,sm4450-qrd", "qcom,sm4450"; - - aliases { - serial0 = &uart7; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&qupv3_id_0 { - status = "okay"; -}; - -&tlmm { - gpio-reserved-ranges = <0 4>; /* NFC eSE SPI */ -}; - -&uart7 { - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023, Qualcomm Innovation Center, Inc. All rights reserved. + */ + +/dts-v1/; + +#include "sm4450.dtsi" +/ { + model = "Qualcomm Technologies, Inc. SM4450 QRD"; + compatible = "qcom,sm4450-qrd", "qcom,sm4450"; + + aliases { + serial0 = &uart7; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&tlmm { + gpio-reserved-ranges = <0 4>; /* NFC eSE SPI */ +}; + +&uart7 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125.dtsi index 30fdd9a6de..a53145a610 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm7125.dtsi @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (c) 2021, The Linux Foundation. All rights reserved. - */ - -#include "sc7180.dtsi" - -/* SM7125 uses Kryo 465 instead of Kryo 468 */ -&cpu0 { compatible = "qcom,kryo465"; }; -&cpu1 { compatible = "qcom,kryo465"; }; -&cpu2 { compatible = "qcom,kryo465"; }; -&cpu3 { compatible = "qcom,kryo465"; }; -&cpu4 { compatible = "qcom,kryo465"; }; -&cpu5 { compatible = "qcom,kryo465"; }; -&cpu6 { compatible = "qcom,kryo465"; }; -&cpu7 { compatible = "qcom,kryo465"; }; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (c) 2021, The Linux Foundation. All rights reserved. + */ + +#include "sc7180.dtsi" + +/* SM7125 uses Kryo 465 instead of Kryo 468 */ +&cpu0 { compatible = "qcom,kryo465"; }; +&cpu1 { compatible = "qcom,kryo465"; }; +&cpu2 { compatible = "qcom,kryo465"; }; +&cpu3 { compatible = "qcom,kryo465"; }; +&cpu4 { compatible = "qcom,kryo465"; }; +&cpu5 { compatible = "qcom,kryo465"; }; +&cpu6 { compatible = "qcom,kryo465"; }; +&cpu7 { compatible = "qcom,kryo465"; }; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dts index 05b6b8dd89..b278040325 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8150-sony-xperia-kumano-bahamut.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2021, Konrad Dybcio - */ - -/dts-v1/; - -#include "sm8150-sony-xperia-kumano.dtsi" - -/ { - model = "Sony Xperia 5"; - compatible = "sony,bahamut-generic", "qcom,sm8150"; - chassis-type = "handset"; -}; - -&framebuffer { - width = <1080>; - height = <2520>; - stride = <(1080 * 4)>; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021, Konrad Dybcio + */ + +/dts-v1/; + +#include "sm8150-sony-xperia-kumano.dtsi" + +/ { + model = "Sony Xperia 5"; + compatible = "sony,bahamut-generic", "qcom,sm8150"; + chassis-type = "handset"; +}; + +&framebuffer { + width = <1080>; + height = <2520>; + stride = <(1080 * 4)>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts index 5505105aa1..de6101ddeb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-boe.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2023 Jianhua Lu - */ - -/dts-v1/; - -#include "sm8250-xiaomi-elish-common.dtsi" - -/ { - model = "Xiaomi Mi Pad 5 Pro (BOE)"; - compatible = "xiaomi,elish", "qcom,sm8250"; -}; - -&display_panel { - compatible = "xiaomi,elish-boe-nt36523", "novatek,nt36523"; - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Jianhua Lu + */ + +/dts-v1/; + +#include "sm8250-xiaomi-elish-common.dtsi" + +/ { + model = "Xiaomi Mi Pad 5 Pro (BOE)"; + compatible = "xiaomi,elish", "qcom,sm8250"; +}; + +&display_panel { + compatible = "xiaomi,elish-boe-nt36523", "novatek,nt36523"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts index 22211e2e2b..4cffe9c703 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/qcom/sm8250-xiaomi-elish-csot.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: BSD-3-Clause -/* - * Copyright (c) 2023 Jianhua Lu - */ - -/dts-v1/; - -#include "sm8250-xiaomi-elish-common.dtsi" - -/ { - model = "Xiaomi Mi Pad 5 Pro (CSOT)"; - compatible = "xiaomi,elish", "qcom,sm8250"; -}; - -&display_panel { - compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; - status = "okay"; -}; +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2023 Jianhua Lu + */ + +/dts-v1/; + +#include "sm8250-xiaomi-elish-common.dtsi" + +/ { + model = "Xiaomi Mi Pad 5 Pro (CSOT)"; + compatible = "xiaomi,elish", "qcom,sm8250"; +}; + +&display_panel { + compatible = "xiaomi,elish-csot-nt36523", "novatek,nt36523"; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/Makefile index 87c53eb309..ef8d8fcbaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0-only - -dtb-$(CONFIG_ARCH_REALTEK) += rtd1293-ds418j.dtb - -dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-mele-v9.dtb -dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb -dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-xnano-x5.dtb -dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb - -dtb-$(CONFIG_ARCH_REALTEK) += rtd1296-ds418.dtb - -dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-bpi-m4.dtb -dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-lionskin.dtb - -dtb-$(CONFIG_ARCH_REALTEK) += rtd1619-mjolnir.dtb +# SPDX-License-Identifier: GPL-2.0-only + +dtb-$(CONFIG_ARCH_REALTEK) += rtd1293-ds418j.dtb + +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-mele-v9.dtb +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-probox2-ava.dtb +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-xnano-x5.dtb +dtb-$(CONFIG_ARCH_REALTEK) += rtd1295-zidoo-x9s.dtb + +dtb-$(CONFIG_ARCH_REALTEK) += rtd1296-ds418.dtb + +dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-bpi-m4.dtb +dtb-$(CONFIG_ARCH_REALTEK) += rtd1395-lionskin.dtb + +dtb-$(CONFIG_ARCH_REALTEK) += rtd1619-mjolnir.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts index e719b743c9..b2e44c6c2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1293-ds418j.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2017-2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1293.dtsi" - -/ { - compatible = "synology,ds418j", "realtek,rtd1293"; - model = "Synology DiskStation DS418j"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x3ffe1000>; /* boot ROM to 1 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2017-2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1293.dtsi" + +/ { + compatible = "synology,ds418j", "realtek,rtd1293"; + model = "Synology DiskStation DS418j"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x3ffe1000>; /* boot ROM to 1 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts index 9ac983dce2..cf4a57c012 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-mele-v9.dts @@ -1,31 +1,31 @@ -/* - * Copyright (c) 2017-2019 Andreas Färber - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) - */ - -/dts-v1/; - -#include "rtd1295.dtsi" - -/ { - compatible = "mele,v9", "realtek,rtd1295"; - model = "MeLE V9"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +/* + * Copyright (c) 2017-2019 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "mele,v9", "realtek,rtd1295"; + model = "MeLE V9"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts index ac98400f96..14161c3f30 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-probox2-ava.dts @@ -1,31 +1,31 @@ -/* - * Copyright (c) 2017-2019 Andreas Färber - * - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) - */ - -/dts-v1/; - -#include "rtd1295.dtsi" - -/ { - compatible = "probox2,ava", "realtek,rtd1295"; - model = "PROBOX2 AVA"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +/* + * Copyright (c) 2017-2019 Andreas Färber + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "probox2,ava", "realtek,rtd1295"; + model = "PROBOX2 AVA"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts index ad524504c4..d7878ff942 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-xnano-x5.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2017-2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1295.dtsi" - -/ { - compatible = "xnano,x5", "realtek,rtd1295"; - model = "Xnano X5"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x3ffe1000>; /* boot ROM to 1 GiB or 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2017-2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "xnano,x5", "realtek,rtd1295"; + model = "Xnano X5"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x3ffe1000>; /* boot ROM to 1 GiB or 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts index 2fdcfdbda5..4beb37bb95 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1295-zidoo-x9s.dts @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2016-2017 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1295.dtsi" - -/ { - compatible = "zidoo,x9s", "realtek,rtd1295"; - model = "Zidoo X9S"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ - }; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2016-2017 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1295.dtsi" + +/ { + compatible = "zidoo,x9s", "realtek,rtd1295"; + model = "Zidoo X9S"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ + }; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts index 57dfcce913..cc706d13da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1296-ds418.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2017-2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1296.dtsi" - -/ { - compatible = "synology,ds418", "realtek,rtd1296"; - model = "Synology DiskStation DS418"; - - memory@1f000 { - device_type = "memory"; - reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2017-2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1296.dtsi" + +/ { + compatible = "synology,ds418", "realtek,rtd1296"; + model = "Synology DiskStation DS418"; + + memory@1f000 { + device_type = "memory"; + reg = <0x1f000 0x7ffe1000>; /* boot ROM to 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-bpi-m4.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-bpi-m4.dts index 17d3eeaef1..9891967d13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-bpi-m4.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-bpi-m4.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1395.dtsi" - -/ { - compatible = "bananapi,bpi-m4", "realtek,rtd1395"; - model = "Banana Pi BPI-M4"; - - memory@2f000 { - device_type = "memory"; - reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1395.dtsi" + +/ { + compatible = "bananapi,bpi-m4", "realtek,rtd1395"; + model = "Banana Pi BPI-M4"; + + memory@2f000 { + device_type = "memory"; + reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts index 9231178561..83f9b536cd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/realtek/rtd1395-lionskin.dts @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) -/* - * Copyright (c) 2019 Andreas Färber - */ - -/dts-v1/; - -#include "rtd1395.dtsi" - -/ { - compatible = "realtek,lion-skin", "realtek,rtd1395"; - model = "Realtek Lion Skin EVB"; - - memory@2f000 { - device_type = "memory"; - reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */ - }; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -/* debug console (J1) */ -&uart0 { - status = "okay"; -}; - -/* M.2 slot (CON1) */ -&uart1 { - status = "disabled"; -}; +// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) +/* + * Copyright (c) 2019 Andreas Färber + */ + +/dts-v1/; + +#include "rtd1395.dtsi" + +/ { + compatible = "realtek,lion-skin", "realtek,rtd1395"; + model = "Realtek Lion Skin EVB"; + + memory@2f000 { + device_type = "memory"; + reg = <0x2f000 0x3ffd1000>; /* boot ROM to 1 GiB or 2 GiB */ + }; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +/* debug console (J1) */ +&uart0 { + status = "okay"; +}; + +/* M.2 slot (CON1) */ +&uart1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/draak-ebisu-panel-aa104xd12.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/draak-ebisu-panel-aa104xd12.dtso index 366d65206d..258f8668ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/draak-ebisu-panel-aa104xd12.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/draak-ebisu-panel-aa104xd12.dtso @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree overlay for the AA104XD12 panel connected to LVDS1 on a Draak or - * Ebisu board - * - * Copyright 2021 Ideas on Board Oy - */ - -/dts-v1/; -/plugin/; - -&{/} { -#include "panel-aa104xd12.dtsi" -}; - -&{/panel} { - backlight = <&backlight>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds1_out>; - }; - }; -}; - -&lvds1 { - status = "okay"; - - ports { - port@1 { - lvds1_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree overlay for the AA104XD12 panel connected to LVDS1 on a Draak or + * Ebisu board + * + * Copyright 2021 Ideas on Board Oy + */ + +/dts-v1/; +/plugin/; + +&{/} { +#include "panel-aa104xd12.dtsi" +}; + +&{/panel} { + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds1_out>; + }; + }; +}; + +&lvds1 { + status = "okay"; + + ports { + port@1 { + lvds1_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/panel-aa104xd12.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/panel-aa104xd12.dtsi index 58977bcbe0..4b1f0982b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/panel-aa104xd12.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/panel-aa104xd12.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Common file for the AA104XD12 panel connected to Renesas R-Car Gen3 boards. - * - * Copyright (C) 2014 Renesas Electronics Corp. - */ - -panel { - compatible = "mitsubishi,aa104xd12", "panel-lvds"; - - width-mm = <210>; - height-mm = <158>; - data-mapping = "jeida-18"; - - panel-timing { - /* 1024x768 @65Hz */ - clock-frequency = <65000000>; - hactive = <1024>; - vactive = <768>; - hsync-len = <136>; - hfront-porch = <20>; - hback-porch = <160>; - vfront-porch = <3>; - vback-porch = <29>; - vsync-len = <6>; - }; - - port { - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Common file for the AA104XD12 panel connected to Renesas R-Car Gen3 boards. + * + * Copyright (C) 2014 Renesas Electronics Corp. + */ + +panel { + compatible = "mitsubishi,aa104xd12", "panel-lvds"; + + width-mm = <210>; + height-mm = <158>; + data-mapping = "jeida-18"; + + panel-timing { + /* 1024x768 @65Hz */ + clock-frequency = <65000000>; + hactive = <1024>; + vactive = <768>; + hsync-len = <136>; + hfront-porch = <20>; + hback-porch = <160>; + vfront-porch = <3>; + vback-porch = <29>; + vsync-len = <6>; + }; + + port { + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts index bd3d9c723f..06c04c59cc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex-idk-1110wr.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 sub board connected - * to an Advantech IDK-1110WR 10.1" LVDS panel - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774a1-hihope-rzg2m-ex.dts" -#include "hihope-rzg2-ex-lvds.dtsi" -#include "rzg2-advantech-idk-1110wr-panel.dtsi" - -&lvds0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 sub board connected + * to an Advantech IDK-1110WR 10.1" LVDS panel + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774a1-hihope-rzg2m-ex.dts" +#include "hihope-rzg2-ex-lvds.dtsi" +#include "rzg2-advantech-idk-1110wr-panel.dtsi" + +&lvds0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex.dts index 789dc87fc2..a5ca86196a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-ex.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 connected to - * sub board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774a1-hihope-rzg2m.dts" -#include "hihope-rzg2-ex.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2M with sub board"; - compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2m", - "renesas,r8a774a1"; -}; - -/* SW43 should be OFF, if in ON state SATA port will be activated */ -&pciec1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.3.0/4.0 connected to + * sub board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774a1-hihope-rzg2m.dts" +#include "hihope-rzg2-ex.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M with sub board"; + compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2m", + "renesas,r8a774a1"; +}; + +/* SW43 should be OFF, if in ON state SATA port will be activated */ +&pciec1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts index 148c6d270f..c0e9d8ca4a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex-idk-1110wr.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.2.0 sub board connected to an - * Advantech IDK-1110WR 10.1" LVDS panel - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774a1-hihope-rzg2m-rev2-ex.dts" -#include "hihope-rzg2-ex-lvds.dtsi" -#include "rzg2-advantech-idk-1110wr-panel.dtsi" - -&lvds0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.2.0 sub board connected to an + * Advantech IDK-1110WR 10.1" LVDS panel + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774a1-hihope-rzg2m-rev2-ex.dts" +#include "hihope-rzg2-ex-lvds.dtsi" +#include "rzg2-advantech-idk-1110wr-panel.dtsi" + +&lvds0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex.dts index 7651566c0f..2221cf6aed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774a1-hihope-rzg2m-rev2-ex.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2M Rev.2.0 connected to sub board - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -#include "r8a774a1-hihope-rzg2m-rev2.dts" -#include "hihope-rzg2-ex.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2M (Rev.2.0) with sub board"; - compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2m", - "renesas,r8a774a1"; -}; - -/* SW43 should be OFF, if in ON state SATA port will be activated */ -&pciec1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2M Rev.2.0 connected to sub board + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +#include "r8a774a1-hihope-rzg2m-rev2.dts" +#include "hihope-rzg2-ex.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2M (Rev.2.0) with sub board"; + compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2m", + "renesas,r8a774a1"; +}; + +/* SW43 should be OFF, if in ON state SATA port will be activated */ +&pciec1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts index 6b660d34f7..4b5154f029 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-idk-1110wr.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N Rev.3.0/4.0 with sub board connected - * to an Advantech IDK-1110WR 10.1" LVDS panel - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774b1-hihope-rzg2n-ex.dts" -#include "hihope-rzg2-ex-lvds.dtsi" -#include "rzg2-advantech-idk-1110wr-panel.dtsi" - -&lvds0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N Rev.3.0/4.0 with sub board connected + * to an Advantech IDK-1110WR 10.1" LVDS panel + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774b1-hihope-rzg2n-ex.dts" +#include "hihope-rzg2-ex-lvds.dtsi" +#include "rzg2-advantech-idk-1110wr-panel.dtsi" + +&lvds0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts index 7f52ff03ea..ce8e3bcc7d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex-mipi-2.1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N board - * connected with aistarvision-mipi-v2-adapter board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774b1-hihope-rzg2n-ex.dts" -#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2N with sub board connected with aistarvision-mipi-v2-adapter board"; - compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N board + * connected with aistarvision-mipi-v2-adapter board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774b1-hihope-rzg2n-ex.dts" +#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N with sub board connected with aistarvision-mipi-v2-adapter board"; + compatible = "hoperun,hihope-rzg2n", "renesas,r8a774b1"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex.dts index fa87e20be7..60d7c8adea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-ex.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N Rev.3.0/4.0 connected to - * sub board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774b1-hihope-rzg2n.dts" -#include "hihope-rzg2-ex.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2N with sub board"; - compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2n", - "renesas,r8a774b1"; -}; - -/* Set SW43 = ON and SW1001[7] = OFF for SATA port to be activated */ -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N Rev.3.0/4.0 connected to + * sub board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774b1-hihope-rzg2n.dts" +#include "hihope-rzg2-ex.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N with sub board"; + compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2n", + "renesas,r8a774b1"; +}; + +/* Set SW43 = ON and SW1001[7] = OFF for SATA port to be activated */ +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts index b4d65ad2f5..e730b3b25d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex-idk-1110wr.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N Rev.2.0 with sub board connected - * to an Advantech IDK-1110WR 10.1" LVDS panel - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774b1-hihope-rzg2n-rev2-ex.dts" -#include "hihope-rzg2-ex-lvds.dtsi" -#include "rzg2-advantech-idk-1110wr-panel.dtsi" - -&lvds0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N Rev.2.0 with sub board connected + * to an Advantech IDK-1110WR 10.1" LVDS panel + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774b1-hihope-rzg2n-rev2-ex.dts" +#include "hihope-rzg2-ex-lvds.dtsi" +#include "rzg2-advantech-idk-1110wr-panel.dtsi" + +&lvds0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex.dts index 8ab36046d9..2e5e1de040 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774b1-hihope-rzg2n-rev2-ex.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2N Rev.2.0 connected to sub board - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -#include "r8a774b1-hihope-rzg2n-rev2.dts" -#include "hihope-rzg2-ex.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2N (Rev.2.0) with sub board"; - compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2n", - "renesas,r8a774b1"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2N Rev.2.0 connected to sub board + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +#include "r8a774b1-hihope-rzg2n-rev2.dts" +#include "hihope-rzg2-ex.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2N (Rev.2.0) with sub board"; + compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2n", + "renesas,r8a774b1"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774c0-ek874.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774c0-ek874.dts index ad2414aca2..e7b6619ab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774c0-ek874.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774c0-ek874.dts @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Silicon Linux RZ/G2E evaluation kit (EK874) - * - * Copyright (C) 2019 Renesas Electronics Corp. - */ - -#include "r8a774c0-cat874.dts" -#include "cat875.dtsi" - -/ { - model = "Silicon Linux RZ/G2E evaluation kit EK874 (CAT874 + CAT875)"; - compatible = "si-linux,cat875", "si-linux,cat874", "renesas,r8a774c0"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Silicon Linux RZ/G2E evaluation kit (EK874) + * + * Copyright (C) 2019 Renesas Electronics Corp. + */ + +#include "r8a774c0-cat874.dts" +#include "cat875.dtsi" + +/ { + model = "Silicon Linux RZ/G2E evaluation kit EK874 (CAT874 + CAT875)"; + compatible = "si-linux,cat875", "si-linux,cat874", "renesas,r8a774c0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts index cc3588bab9..3b7339127b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-idk-1110wr.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2H sub board connected - * to an Advantech IDK-1110WR 10.1" LVDS panel - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774e1-hihope-rzg2h-ex.dts" -#include "hihope-rzg2-ex-lvds.dtsi" -#include "rzg2-advantech-idk-1110wr-panel.dtsi" - -&lvds0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2H sub board connected + * to an Advantech IDK-1110WR 10.1" LVDS panel + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774e1-hihope-rzg2h-ex.dts" +#include "hihope-rzg2-ex-lvds.dtsi" +#include "rzg2-advantech-idk-1110wr-panel.dtsi" + +&lvds0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts index 525a69ef32..46adb6efb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex-mipi-2.1.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2H board - * connected with aistarvision-mipi-v2-adapter board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a774e1-hihope-rzg2h-ex.dts" -#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2H with sub board connected with aistarvision-mipi-v2-adapter board"; - compatible = "hoperun,hihope-rzg2h", "renesas,r8a774e1"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2H board + * connected with aistarvision-mipi-v2-adapter board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a774e1-hihope-rzg2h-ex.dts" +#include "hihope-rzg2-ex-aistarvision-mipi-adapter-2.1.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2H with sub board connected with aistarvision-mipi-v2-adapter board"; + compatible = "hoperun,hihope-rzg2h", "renesas,r8a774e1"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts index 50ce9901ff..8129959398 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a774e1-hihope-rzg2h-ex.dts @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the HiHope RZ/G2H sub board - * - * Copyright (C) 2020 Renesas Electronics Corp. - */ - -#include "r8a774e1-hihope-rzg2h.dts" -#include "hihope-rzg2-ex.dtsi" - -/ { - model = "HopeRun HiHope RZ/G2H with sub board"; - compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2h", - "renesas,r8a774e1"; -}; - -/* Set SW43 = ON and SW1001[7] = OFF for SATA port to be activated */ -&sata { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the HiHope RZ/G2H sub board + * + * Copyright (C) 2020 Renesas Electronics Corp. + */ + +#include "r8a774e1-hihope-rzg2h.dts" +#include "hihope-rzg2-ex.dtsi" + +/ { + model = "HopeRun HiHope RZ/G2H with sub board"; + compatible = "hoperun,hihope-rzg2-ex", "hoperun,hihope-rzg2h", + "renesas,r8a774e1"; +}; + +/* Set SW43 = ON and SW1001[7] = OFF for SATA port to be activated */ +&sata { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts index afb3e3ef9f..2e58a27aa2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77951-ulcb-kf.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3 ES2.0+ - * - * Copyright (C) 2017 Renesas Electronics Corp. - * Copyright (C) 2017 Cogent Embedded, Inc. - */ - -#include "r8a77951-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas H3ULCB Kingfisher board based on r8a77951"; - compatible = "shimafuji,kingfisher", "renesas,h3ulcb", - "renesas,r8a7795"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3 ES2.0+ + * + * Copyright (C) 2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + */ + +#include "r8a77951-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas H3ULCB Kingfisher board based on r8a77951"; + compatible = "shimafuji,kingfisher", "renesas,h3ulcb", + "renesas,r8a7795"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts index 04861c0a77..02d6136069 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77960-ulcb-kf.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W - * - * Copyright (C) 2017 Renesas Electronics Corp. - * Copyright (C) 2017 Cogent Embedded, Inc. - */ - -#include "r8a77960-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas M3ULCB Kingfisher board based on r8a77960"; - compatible = "shimafuji,kingfisher", "renesas,m3ulcb", - "renesas,r8a7796"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W + * + * Copyright (C) 2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + */ + +#include "r8a77960-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas M3ULCB Kingfisher board based on r8a77960"; + compatible = "shimafuji,kingfisher", "renesas,m3ulcb", + "renesas,r8a7796"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts index 2a7c883ef1..d66eb27ee8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77961-ulcb-kf.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W+ - * - * Copyright (C) 2020 Eugeniu Rosca - */ - -#include "r8a77961-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas M3ULCB Kingfisher board based on r8a77961"; - compatible = "shimafuji,kingfisher", "renesas,m3ulcb", - "renesas,r8a77961"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3-W+ + * + * Copyright (C) 2020 Eugeniu Rosca + */ + +#include "r8a77961-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas M3ULCB Kingfisher board based on r8a77961"; + compatible = "shimafuji,kingfisher", "renesas,m3ulcb", + "renesas,r8a77961"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts index 7d8fd7d7d4..a601968c57 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77965-ulcb-kf.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the M3NULCB Kingfisher board with R-Car M3-N - * - * Copyright (C) 2018 Renesas Electronics Corp. - * Copyright (C) 2018 Cogent Embedded, Inc. - */ - -#include "r8a77965-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas M3NULCB Kingfisher board based on r8a77965"; - compatible = "shimafuji,kingfisher", "renesas,m3nulcb", - "renesas,r8a77965"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the M3NULCB Kingfisher board with R-Car M3-N + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + */ + +#include "r8a77965-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas M3NULCB Kingfisher board based on r8a77965"; + compatible = "shimafuji,kingfisher", "renesas,m3nulcb", + "renesas,r8a77965"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980-condor.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980-condor.dts index 95f2dc7fdc..1d326552e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980-condor.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980-condor.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Condor board with R-Car V3H - * - * Copyright (C) 2018 Renesas Electronics Corp. - * Copyright (C) 2018 Cogent Embedded, Inc. - */ - -/dts-v1/; -#include "r8a77980.dtsi" -#include "condor-common.dtsi" - -/ { - model = "Renesas Condor board based on r8a77980"; - compatible = "renesas,condor", "renesas,r8a77980"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Condor board with R-Car V3H + * + * Copyright (C) 2018 Renesas Electronics Corp. + * Copyright (C) 2018 Cogent Embedded, Inc. + */ + +/dts-v1/; +#include "r8a77980.dtsi" +#include "condor-common.dtsi" + +/ { + model = "Renesas Condor board based on r8a77980"; + compatible = "renesas,condor", "renesas,r8a77980"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a-condor-i.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a-condor-i.dts index d22797f3da..53fc217093 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a-condor-i.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77980a-condor-i.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Condor-I board on r8a77980A (ES2.0) - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a77980a.dtsi" -#include "condor-common.dtsi" - -/ { - model = "Renesas Condor-I board based on r8a77980A (ES2.0)"; - compatible = "renesas,condor-i", "renesas,r8a77980a", "renesas,r8a77980"; -}; - -&mmc0 { - mmc-hs400-1_8v; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Condor-I board on r8a77980A (ES2.0) + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a77980a.dtsi" +#include "condor-common.dtsi" + +/ { + model = "Renesas Condor-I board based on r8a77980A (ES2.0)"; + compatible = "renesas,condor-i", "renesas,r8a77980a", "renesas,r8a77980"; +}; + +&mmc0 { + mmc-hs400-1_8v; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77995-draak.dts index fc66b4f170..384825617f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77995-draak.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a77995-draak.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Draak board with R-Car D3 - * - * Copyright (C) 2016-2018 Renesas Electronics Corp. - * Copyright (C) 2017 Glider bvba - */ - -/dts-v1/; -#include "r8a77995.dtsi" -#include "draak.dtsi" - -/ { - model = "Renesas Draak board based on r8a77995"; - compatible = "renesas,draak", "renesas,r8a77995"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Draak board with R-Car D3 + * + * Copyright (C) 2016-2018 Renesas Electronics Corp. + * Copyright (C) 2017 Glider bvba + */ + +/dts-v1/; +#include "r8a77995.dtsi" +#include "draak.dtsi" + +/ { + model = "Renesas Draak board based on r8a77995"; + compatible = "renesas,draak", "renesas,r8a77995"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f0-spider.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f0-spider.dts index a3698a04f2..f139cc4feb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f0-spider.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779f0-spider.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the Spider CPU and BreakOut boards - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a779f0-spider-cpu.dtsi" -#include "r8a779f0-spider-ethernet.dtsi" - -/ { - model = "Renesas Spider CPU and Breakout boards based on r8a779f0"; - compatible = "renesas,spider-breakout", "renesas,spider-cpu", "renesas,r8a779f0"; -}; - -&i2c4 { - eeprom@51 { - compatible = "rohm,br24g01", "atmel,24c01"; - label = "breakout-board"; - reg = <0x51>; - pagesize = <8>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the Spider CPU and BreakOut boards + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a779f0-spider-cpu.dtsi" +#include "r8a779f0-spider-ethernet.dtsi" + +/ { + model = "Renesas Spider CPU and Breakout boards based on r8a779f0"; + compatible = "renesas,spider-breakout", "renesas,spider-cpu", "renesas,r8a779f0"; +}; + +&i2c4 { + eeprom@51 { + compatible = "rohm,br24g01", "atmel,24c01"; + label = "breakout-board"; + reg = <0x51>; + pagesize = <8>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi index 155da1d38e..b1fe1aedc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk-cpu.dtsi @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the R-Car V4H White Hawk CPU board - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -#include "r8a779g0.dtsi" -#include "white-hawk-cpu-common.dtsi" - -/ { - model = "Renesas White Hawk CPU board"; - compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H White Hawk CPU board + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +#include "r8a779g0.dtsi" +#include "white-hawk-cpu-common.dtsi" + +/ { + model = "Renesas White Hawk CPU board"; + compatible = "renesas,white-hawk-cpu", "renesas,r8a779g0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts index dd98970f8a..784d4e8b20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g0-white-hawk.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the R-Car V4H White Hawk CPU and BreakOut boards - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r8a779g0-white-hawk-cpu.dtsi" -#include "white-hawk-common.dtsi" - -/ { - model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0"; - compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H White Hawk CPU and BreakOut boards + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r8a779g0-white-hawk-cpu.dtsi" +#include "white-hawk-common.dtsi" + +/ { + model = "Renesas White Hawk CPU and Breakout boards based on r8a779g0"; + compatible = "renesas,white-hawk-breakout", "renesas,white-hawk-cpu", "renesas,r8a779g0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts index 513d1d3f89..48befde389 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779g2-white-hawk-single.dts @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the R-Car V4H ES2.0 White Hawk Single board - * - * Copyright (C) 2023 Glider bv - */ - -/dts-v1/; -#include "r8a779g2.dtsi" -#include "white-hawk-single.dtsi" - -/ { - model = "Renesas White Hawk Single board based on r8a779g2"; - compatible = "renesas,white-hawk-single", "renesas,r8a779g2", - "renesas,r8a779g0"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the R-Car V4H ES2.0 White Hawk Single board + * + * Copyright (C) 2023 Glider bv + */ + +/dts-v1/; +#include "r8a779g2.dtsi" +#include "white-hawk-single.dtsi" + +/ { + model = "Renesas White Hawk Single board based on r8a779g2"; + compatible = "renesas,white-hawk-single", "renesas,r8a779g2", + "renesas,r8a779g0"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1-ulcb-kf.dts index ad827d7338..d2089e1d71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1-ulcb-kf.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3e-2G - * - * Copyright (C) 2021 Glider bv - * - * Based on r8a77951-ulcb-kf.dts - * Copyright (C) 2017 Renesas Electronics Corp. - * Copyright (C) 2017 Cogent Embedded, Inc. - */ - -#include "r8a779m1-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas H3ULCB Kingfisher board based on r8a779m1"; - compatible = "shimafuji,kingfisher", "renesas,h3ulcb", - "renesas,r8a779m1", "renesas,r8a7795"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the H3ULCB Kingfisher board with R-Car H3e-2G + * + * Copyright (C) 2021 Glider bv + * + * Based on r8a77951-ulcb-kf.dts + * Copyright (C) 2017 Renesas Electronics Corp. + * Copyright (C) 2017 Cogent Embedded, Inc. + */ + +#include "r8a779m1-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas H3ULCB Kingfisher board based on r8a779m1"; + compatible = "shimafuji,kingfisher", "renesas,h3ulcb", + "renesas,r8a779m1", "renesas,r8a7795"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1.dtsi index 88c1b2399e..be0219defe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m1.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car H3e-2G (R8A779M1) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77951.dtsi" - -/ { - compatible = "renesas,r8a779m1", "renesas,r8a7795"; -}; - -&cluster0_opp { - opp-1700000000 { - /delete-property/ turbo-mode; - }; - opp-2000000000 { - opp-hz = /bits/ 64 <2000000000>; - opp-microvolt = <960000>; - clock-latency-ns = <300000>; - turbo-mode; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car H3e-2G (R8A779M1) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77951.dtsi" + +/ { + compatible = "renesas,r8a779m1", "renesas,r8a7795"; +}; + +&cluster0_opp { + opp-1700000000 { + /delete-property/ turbo-mode; + }; + opp-2000000000 { + opp-hz = /bits/ 64 <2000000000>; + opp-microvolt = <960000>; + clock-latency-ns = <300000>; + turbo-mode; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3-ulcb-kf.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3-ulcb-kf.dts index 2f6f8b5a14..587e8764bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3-ulcb-kf.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3-ulcb-kf.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3e-2G - * - * Copyright (C) 2021 Glider bv - * - * Based on r8a77961-ulcb-kf.dts - * Copyright (C) 2020 Eugeniu Rosca - */ - -#include "r8a779m3-ulcb.dts" -#include "ulcb-kf.dtsi" - -/ { - model = "Renesas M3ULCB Kingfisher board based on r8a779m3"; - compatible = "shimafuji,kingfisher", "renesas,m3ulcb", - "renesas,r8a779m3", "renesas,r8a77961"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the M3ULCB Kingfisher board with R-Car M3e-2G + * + * Copyright (C) 2021 Glider bv + * + * Based on r8a77961-ulcb-kf.dts + * Copyright (C) 2020 Eugeniu Rosca + */ + +#include "r8a779m3-ulcb.dts" +#include "ulcb-kf.dtsi" + +/ { + model = "Renesas M3ULCB Kingfisher board based on r8a779m3"; + compatible = "shimafuji,kingfisher", "renesas,m3ulcb", + "renesas,r8a779m3", "renesas,r8a77961"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3.dtsi index c2f2868d47..ffde141137 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m3.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car M3e-2G (R8A779M3) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77961.dtsi" - -/ { - compatible = "renesas,r8a779m3", "renesas,r8a77961"; -}; - -&cluster0_opp { - opp-1800000000 { - /delete-property/ turbo-mode; - }; - opp-2000000000 { - opp-hz = /bits/ 64 <2000000000>; - opp-microvolt = <960000>; - clock-latency-ns = <300000>; - turbo-mode; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car M3e-2G (R8A779M3) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77961.dtsi" + +/ { + compatible = "renesas,r8a779m3", "renesas,r8a77961"; +}; + +&cluster0_opp { + opp-1800000000 { + /delete-property/ turbo-mode; + }; + opp-2000000000 { + opp-hz = /bits/ 64 <2000000000>; + opp-microvolt = <960000>; + clock-latency-ns = <300000>; + turbo-mode; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5.dtsi index bc9bc920af..aded03ad31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r8a779m5.dtsi @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Device Tree Source for the R-Car M3Ne-2G (R8A779M5) SoC - * - * Copyright (C) 2021 Glider bv - */ - -#include "r8a77965.dtsi" - -/ { - compatible = "renesas,r8a779m5", "renesas,r8a77965"; -}; - -&cluster0_opp { - opp-1800000000 { - /delete-property/ turbo-mode; - }; - opp-2000000000 { - opp-hz = /bits/ 64 <2000000000>; - opp-microvolt = <960000>; - clock-latency-ns = <300000>; - turbo-mode; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Device Tree Source for the R-Car M3Ne-2G (R8A779M5) SoC + * + * Copyright (C) 2021 Glider bv + */ + +#include "r8a77965.dtsi" + +/ { + compatible = "renesas,r8a779m5", "renesas,r8a77965"; +}; + +&cluster0_opp { + opp-1800000000 { + /delete-property/ turbo-mode; + }; + opp-2000000000 { + opp-hz = /bits/ 64 <2000000000>; + opp-microvolt = <960000>; + clock-latency-ns = <300000>; + turbo-mode; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc-cru-csi-ov5645.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc-cru-csi-ov5645.dtso index 5fa626b54d..b41bb4b31a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc-cru-csi-ov5645.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g043u11-smarc-cru-csi-ov5645.dtso @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree overlay for the RZ/G2UL SMARC EVK with OV5645 camera - * connected to CSI and CRU enabled. - * - * Copyright (C) 2024 Renesas Electronics Corp. - */ - -/dts-v1/; -/plugin/; - -#include -#include - -#define OV5645_PARENT_I2C i2c0 -#include "rz-smarc-cru-csi-ov5645.dtsi" - -&ov5645 { - enable-gpios = <&pinctrl RZG2L_GPIO(4, 4) GPIO_ACTIVE_HIGH>; - reset-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_LOW>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree overlay for the RZ/G2UL SMARC EVK with OV5645 camera + * connected to CSI and CRU enabled. + * + * Copyright (C) 2024 Renesas Electronics Corp. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#define OV5645_PARENT_I2C i2c0 +#include "rz-smarc-cru-csi-ov5645.dtsi" + +&ov5645 { + enable-gpios = <&pinctrl RZG2L_GPIO(4, 4) GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c1.dtsi index 4a7da3615a..56a979e82c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c1.dtsi @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G2LC R9A07G044C1 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g044.dtsi" - -/ { - compatible = "renesas,r9a07g044c1", "renesas,r9a07g044"; - - cpus { - /delete-node/ cpu-map; - /delete-node/ cpu@100; - }; -}; - -&soc { - /delete-node/ ssi@1004a800; - /delete-node/ serial@1004c800; - /delete-node/ adc@10059000; - /delete-node/ ethernet@11c30000; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2LC R9A07G044C1 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g044.dtsi" + +/ { + compatible = "renesas,r9a07g044c1", "renesas,r9a07g044"; + + cpus { + /delete-node/ cpu-map; + /delete-node/ cpu@100; + }; +}; + +&soc { + /delete-node/ ssi@1004a800; + /delete-node/ serial@1004c800; + /delete-node/ adc@10059000; + /delete-node/ ethernet@11c30000; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2-smarc-cru-csi-ov5645.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2-smarc-cru-csi-ov5645.dtso index a8d3f24474..f983bdd3ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2-smarc-cru-csi-ov5645.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2-smarc-cru-csi-ov5645.dtso @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree overlay for the RZ/G2LC SMARC EVK with - * OV5645 camera connected to CSI and CRU enabled. - * - * Copyright (C) 2023 Renesas Electronics Corp. - */ - -/dts-v1/; -/plugin/; - -#include -#include - -#define OV5645_PARENT_I2C i2c0 -#include "rz-smarc-cru-csi-ov5645.dtsi" - -&ov5645 { - enable-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_HIGH>; - reset-gpios = <&pinctrl RZG2L_GPIO(5, 2) GPIO_ACTIVE_LOW>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree overlay for the RZ/G2LC SMARC EVK with + * OV5645 camera connected to CSI and CRU enabled. + * + * Copyright (C) 2023 Renesas Electronics Corp. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#define OV5645_PARENT_I2C i2c0 +#include "rz-smarc-cru-csi-ov5645.dtsi" + +&ov5645 { + enable-gpios = <&pinctrl RZG2L_GPIO(0, 1) GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl RZG2L_GPIO(5, 2) GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2.dtsi index 8aa5b7abdb..7bb8917fe4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044c2.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G2LC R9A07G044C2 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g044.dtsi" - -/ { - compatible = "renesas,r9a07g044c2", "renesas,r9a07g044"; -}; - -&soc { - /delete-node/ ssi@1004a800; - /delete-node/ serial@1004c800; - /delete-node/ adc@10059000; - /delete-node/ ethernet@11c30000; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2LC R9A07G044C2 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g044.dtsi" + +/ { + compatible = "renesas,r9a07g044c2", "renesas,r9a07g044"; +}; + +&soc { + /delete-node/ ssi@1004a800; + /delete-node/ serial@1004c800; + /delete-node/ adc@10059000; + /delete-node/ ethernet@11c30000; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi index 2dc580ff06..9cf27ca9f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l1.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G2L R9A07G044L1 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g044.dtsi" - -/ { - compatible = "renesas,r9a07g044l1", "renesas,r9a07g044"; - - cpus { - /delete-node/ cpu-map; - /delete-node/ cpu@100; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G2L R9A07G044L1 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g044.dtsi" + +/ { + compatible = "renesas,r9a07g044l1", "renesas,r9a07g044"; + + cpus { + /delete-node/ cpu-map; + /delete-node/ cpu@100; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc-cru-csi-ov5645.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc-cru-csi-ov5645.dtso index 86bcf7789f..736c1e688c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc-cru-csi-ov5645.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g044l2-smarc-cru-csi-ov5645.dtso @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree overlay for the RZ/{G2L, V2L} SMARC EVK with OV5645 camera - * connected to CSI and CRU enabled. - * - * Copyright (C) 2023 Renesas Electronics Corp. - */ - -/dts-v1/; -/plugin/; - -#include -#include - -#define OV5645_PARENT_I2C i2c0 -#include "rz-smarc-cru-csi-ov5645.dtsi" - -&ov5645 { - enable-gpios = <&pinctrl RZG2L_GPIO(2, 0) GPIO_ACTIVE_HIGH>; - reset-gpios = <&pinctrl RZG2L_GPIO(40, 2) GPIO_ACTIVE_LOW>; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree overlay for the RZ/{G2L, V2L} SMARC EVK with OV5645 camera + * connected to CSI and CRU enabled. + * + * Copyright (C) 2023 Renesas Electronics Corp. + */ + +/dts-v1/; +/plugin/; + +#include +#include + +#define OV5645_PARENT_I2C i2c0 +#include "rz-smarc-cru-csi-ov5645.dtsi" + +&ov5645 { + enable-gpios = <&pinctrl RZG2L_GPIO(2, 0) GPIO_ACTIVE_HIGH>; + reset-gpios = <&pinctrl RZG2L_GPIO(40, 2) GPIO_ACTIVE_LOW>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l1.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l1.dtsi index e22cc03cd5..d85a6ac0f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l1.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a07g054l1.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/V2L R9A07G054L1 SoC specific parts - * - * Copyright (C) 2021 Renesas Electronics Corp. - */ - -/dts-v1/; -#include "r9a07g054.dtsi" - -/ { - compatible = "renesas,r9a07g054l1", "renesas,r9a07g054"; - - cpus { - /delete-node/ cpu-map; - /delete-node/ cpu@100; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/V2L R9A07G054L1 SoC specific parts + * + * Copyright (C) 2021 Renesas Electronics Corp. + */ + +/dts-v1/; +#include "r9a07g054.dtsi" + +/ { + compatible = "renesas,r9a07g054l1", "renesas,r9a07g054"; + + cpus { + /delete-node/ cpu-map; + /delete-node/ cpu@100; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dts index 29d85909e0..6b57e0e02d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/r9a08g045s33-smarc.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Device Tree Source for the RZ/G3S SMARC EVK board - * - * Copyright (C) 2023 Renesas Electronics Corp. - */ - -/dts-v1/; - -#include "r9a08g045s33.dtsi" -#include "rzg3s-smarc-som.dtsi" -#include "rzg3s-smarc.dtsi" - -/ { - model = "Renesas SMARC EVK version 2 based on r9a08g045s33"; - compatible = "renesas,smarc2-evk", "renesas,rzg3s-smarcm", - "renesas,r9a08g045s33", "renesas,r9a08g045"; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Device Tree Source for the RZ/G3S SMARC EVK board + * + * Copyright (C) 2023 Renesas Electronics Corp. + */ + +/dts-v1/; + +#include "r9a08g045s33.dtsi" +#include "rzg3s-smarc-som.dtsi" +#include "rzg3s-smarc.dtsi" + +/ { + model = "Renesas SMARC EVK version 2 based on r9a08g045s33"; + compatible = "renesas,smarc2-evk", "renesas,rzg3s-smarcm", + "renesas,r9a08g045s33", "renesas,r9a08g045"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-panel-aa104xd12.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-panel-aa104xd12.dtso index d90309bd0a..c83a30adc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-panel-aa104xd12.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-panel-aa104xd12.dtso @@ -1,36 +1,36 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Device Tree overlay for the AA104XD12 panel connected to LVDS0 on a - * Salvator-X or Salvator-XS board - * - * Copyright 2021 Ideas on Board Oy - */ - -/dts-v1/; -/plugin/; - -&{/} { -#include "panel-aa104xd12.dtsi" -}; - -&{/panel} { - backlight = <&backlight>; - - port { - panel_in: endpoint { - remote-endpoint = <&lvds0_out>; - }; - }; -}; - -&lvds0 { - status = "okay"; - - ports { - port@1 { - lvds0_out: endpoint { - remote-endpoint = <&panel_in>; - }; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Device Tree overlay for the AA104XD12 panel connected to LVDS0 on a + * Salvator-X or Salvator-XS board + * + * Copyright 2021 Ideas on Board Oy + */ + +/dts-v1/; +/plugin/; + +&{/} { +#include "panel-aa104xd12.dtsi" +}; + +&{/panel} { + backlight = <&backlight>; + + port { + panel_in: endpoint { + remote-endpoint = <&lvds0_out>; + }; + }; +}; + +&lvds0 { + status = "okay"; + + ports { + port@1 { + lvds0_out: endpoint { + remote-endpoint = <&panel_in>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-x.dtsi index cf58326ffa..ddee50e646 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/salvator-x.dtsi @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree Source for the Salvator-X board - * - * Copyright (C) 2015-2016 Renesas Electronics Corp. - */ - -#include "salvator-common.dtsi" - -/ { - model = "Renesas Salvator-X board"; - compatible = "renesas,salvator-x"; -}; - -&extal_clk { - clock-frequency = <16666666>; -}; - -&i2c4 { - clock-frequency = <400000>; - - versaclock5: clock-generator@6a { - compatible = "idt,5p49v5923"; - reg = <0x6a>; - #clock-cells = <1>; - clocks = <&x23_clk>; - clock-names = "xin"; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree Source for the Salvator-X board + * + * Copyright (C) 2015-2016 Renesas Electronics Corp. + */ + +#include "salvator-common.dtsi" + +/ { + model = "Renesas Salvator-X board"; + compatible = "renesas,salvator-x"; +}; + +&extal_clk { + clock-frequency = <16666666>; +}; + +&i2c4 { + clock-frequency = <400000>; + + versaclock5: clock-generator@6a { + compatible = "idt,5p49v5923"; + reg = <0x6a>; + #clock-cells = <1>; + clocks = <&x23_clk>; + clock-names = "xin"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-audio-graph-card2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-audio-graph-card2.dtsi index 53bbbbd931..19fa6e1029 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-audio-graph-card2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/renesas/ulcb-audio-graph-card2.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Device Tree for ULCB + Audio Graph Card2 - * - * Copyright (C) 2022 Renesas Electronics Corp. - */ - -/* - * (A) CPU0 <----> ak4613 - * (B) CPU1 ----> HDMI - * - * (A) aplay -D plughw:0,0 xxx.wav - * (B) aplay -D plughw:0,1 xxx.wav - * - * (A) arecord -D plughw:0,0 xxx.wav - */ -#include "ulcb-audio-graph-card.dtsi" - -&sound_card { - compatible = "audio-graph-card2"; - - /delete-property/ dais; - links = <&snd_ulcb1 /* (A) CPU0 <-> ak4613 */ - &snd_ulcb2 /* (B) CPU1 -> HDMI */ - >; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * Device Tree for ULCB + Audio Graph Card2 + * + * Copyright (C) 2022 Renesas Electronics Corp. + */ + +/* + * (A) CPU0 <----> ak4613 + * (B) CPU1 ----> HDMI + * + * (A) aplay -D plughw:0,0 xxx.wav + * (B) aplay -D plughw:0,1 xxx.wav + * + * (A) arecord -D plughw:0,0 xxx.wav + */ +#include "ulcb-audio-graph-card.dtsi" + +&sound_card { + compatible = "audio-graph-card2"; + + /delete-property/ dais; + links = <&snd_ulcb1 /* (A) CPU0 <-> ak4613 */ + &snd_ulcb2 /* (B) CPU1 -> HDMI */ + >; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi index 9e8ceb2b49..80db778c96 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Engicam srl - * Copyright (c) 2020 Amarula Solutions - * Copyright (c) 2020 Amarula Solutions(India) - */ - -#include "px30-engicam-common.dtsi" - -&pinctrl { - bt { - bt_enable_h: bt-enable-h { - rockchip,pins = <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; - - sdio-pwrseq { - wifi_enable_h: wifi-enable-h { - rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&sdio_pwrseq { - reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; -}; - -&vcc3v3_btreg { - enable-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions + * Copyright (c) 2020 Amarula Solutions(India) + */ + +#include "px30-engicam-common.dtsi" + +&pinctrl { + bt { + bt_enable_h: bt-enable-h { + rockchip,pins = <1 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + + sdio-pwrseq { + wifi_enable_h: wifi-enable-h { + rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&sdio_pwrseq { + reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>; +}; + +&vcc3v3_btreg { + enable-gpios = <&gpio1 RK_PC3 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2.dts index c37908135d..5a0ecb8fae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/px30-engicam-px30-core-ctouch2.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd - * Copyright (c) 2020 Engicam srl - * Copyright (c) 2020 Amarula Solutions - * Copyright (c) 2020 Amarula Solutions(India) - */ - -/dts-v1/; -#include "px30.dtsi" -#include "px30-engicam-ctouch2.dtsi" -#include "px30-engicam-px30-core.dtsi" - -/ { - model = "Engicam PX30.Core C.TOUCH 2.0"; - compatible = "engicam,px30-core-ctouch2", "engicam,px30-core", - "rockchip,px30"; - - chosen { - stdout-path = "serial2:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2020 Engicam srl + * Copyright (c) 2020 Amarula Solutions + * Copyright (c) 2020 Amarula Solutions(India) + */ + +/dts-v1/; +#include "px30.dtsi" +#include "px30-engicam-ctouch2.dtsi" +#include "px30-engicam-px30-core.dtsi" + +/ { + model = "Engicam PX30.Core C.TOUCH 2.0"; + compatible = "engicam,px30-core-ctouch2", "engicam,px30-core", + "rockchip,px30"; + + chosen { + stdout-path = "serial2:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts index ef46a889b8..f4d20f29c1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3326-anbernic-rg351m.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Hardkernel Co., Ltd - * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH - * Copyright (c) 2022 Maya Matuszczyk - */ - -/dts-v1/; -#include "rk3326-anbernic-rg351m.dtsi" - -/ { - model = "Anbernic RG351M"; - compatible = "anbernic,rg351m", "rockchip,rk3326"; -}; - -&internal_display { - compatible = "elida,kd35t133"; - iovcc-supply = <&vcc_lcd>; - rotation = <270>; - vdd-supply = <&vcc_lcd>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Hardkernel Co., Ltd + * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH + * Copyright (c) 2022 Maya Matuszczyk + */ + +/dts-v1/; +#include "rk3326-anbernic-rg351m.dtsi" + +/ { + model = "Anbernic RG351M"; + compatible = "anbernic,rg351m", "rockchip,rk3326"; +}; + +&internal_display { + compatible = "elida,kd35t133"; + iovcc-supply = <&vcc_lcd>; + rotation = <270>; + vdd-supply = <&vcc_lcd>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts index 484b3840ae..4b9ced6774 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s-plus.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd. - * (http://www.friendlyarm.com) - * - * (C) Copyright 2016 Rockchip Electronics Co., Ltd - */ - -/dts-v1/; -#include "rk3328-nanopi-r2s.dts" - -/ { - compatible = "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328"; - model = "FriendlyElec NanoPi R2S Plus"; - - aliases { - mmc1 = &emmc; - }; -}; - -&emmc { - bus-width = <8>; - cap-mmc-highspeed; - disable-wp; - mmc-hs200-1_8v; - non-removable; - pinctrl-names = "default"; - pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * (C) Copyright 2018 FriendlyElec Computer Tech. Co., Ltd. + * (http://www.friendlyarm.com) + * + * (C) Copyright 2016 Rockchip Electronics Co., Ltd + */ + +/dts-v1/; +#include "rk3328-nanopi-r2s.dts" + +/ { + compatible = "friendlyarm,nanopi-r2s-plus", "rockchip,rk3328"; + model = "FriendlyElec NanoPi R2S Plus"; + + aliases { + mmc1 = &emmc; + }; +}; + +&emmc { + bus-width = <8>; + cap-mmc-highspeed; + disable-wp; + mmc-hs200-1_8v; + non-removable; + pinctrl-names = "default"; + pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dts index 8dc2c22cd2..99ac4ed0f1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-captain.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. - * (https://www.khadas.com) - */ - -/dts-v1/; -#include "rk3399-khadas-edge.dtsi" - -/ { - model = "Khadas Edge-Captain"; - compatible = "khadas,edge-captain", "rockchip,rk3399"; - - aliases { - ethernet0 = &gmac; - }; -}; - -&gmac { - status = "okay"; -}; - -&pcie_phy { - status = "okay"; -}; - -&pcie0 { - ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; - num-lanes = <4>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. + * (https://www.khadas.com) + */ + +/dts-v1/; +#include "rk3399-khadas-edge.dtsi" + +/ { + model = "Khadas Edge-Captain"; + compatible = "khadas,edge-captain", "rockchip,rk3399"; + + aliases { + ethernet0 = &gmac; + }; +}; + +&gmac { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; + num-lanes = <4>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dts index 8f847e1373..e12e7b4d64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge-v.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. - * (https://www.khadas.com) - */ - -/dts-v1/; -#include "rk3399-khadas-edge.dtsi" - -/ { - model = "Khadas Edge-V"; - compatible = "khadas,edge-v", "rockchip,rk3399"; - - aliases { - ethernet0 = &gmac; - }; -}; - -&gmac { - status = "okay"; -}; - -&pcie_phy { - status = "okay"; -}; - -&pcie0 { - ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; - num-lanes = <4>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Shenzhen Wesion Technology Co., Ltd. + * (https://www.khadas.com) + */ + +/dts-v1/; +#include "rk3399-khadas-edge.dtsi" + +/ { + model = "Khadas Edge-V"; + compatible = "khadas,edge-v", "rockchip,rk3399"; + + aliases { + ethernet0 = &gmac; + }; +}; + +&gmac { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>; + num-lanes = <4>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts index a30eddd8e1..a23d11ca0e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-nanopi-r4s-enterprise.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; -#include "rk3399-nanopi-r4s.dts" - -/ { - model = "FriendlyElec NanoPi R4S Enterprise Edition"; - compatible = "friendlyarm,nanopi-r4s-enterprise", "rockchip,rk3399"; -}; - -&gmac { - nvmem-cells = <&mac_address>; - nvmem-cell-names = "mac-address"; -}; - -&i2c2 { - eeprom@51 { - compatible = "microchip,24c02", "atmel,24c02"; - reg = <0x51>; - pagesize = <16>; - size = <256>; - #address-cells = <1>; - #size-cells = <1>; - - mac_address: mac-address@fa { - reg = <0xfa 0x06>; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; +#include "rk3399-nanopi-r4s.dts" + +/ { + model = "FriendlyElec NanoPi R4S Enterprise Edition"; + compatible = "friendlyarm,nanopi-r4s-enterprise", "rockchip,rk3399"; +}; + +&gmac { + nvmem-cells = <&mac_address>; + nvmem-cell-names = "mac-address"; +}; + +&i2c2 { + eeprom@51 { + compatible = "microchip,24c02", "atmel,24c02"; + reg = <0x51>; + pagesize = <16>; + size = <256>; + #address-cells = <1>; + #size-cells = <1>; + + mac_address: mac-address@fa { + reg = <0xfa 0x06>; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts index 49041c6d22..725ac3c1f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a-plus.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Akash Gajjar - * Copyright (c) 2019 Pragnesh Patel - */ - -/dts-v1/; -#include "rk3399-op1.dtsi" -#include "rk3399-rock-pi-4.dtsi" - -/ { - model = "Radxa ROCK Pi 4A+"; - compatible = "radxa,rockpi4a-plus", "radxa,rockpi4", "rockchip,rk3399"; -}; - -&es8316 { - pinctrl-0 = <&hp_detect &hp_int>; - pinctrl-names = "default"; - interrupt-parent = <&gpio1>; - interrupts = ; -}; - -&sound { - hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Akash Gajjar + * Copyright (c) 2019 Pragnesh Patel + */ + +/dts-v1/; +#include "rk3399-op1.dtsi" +#include "rk3399-rock-pi-4.dtsi" + +/ { + model = "Radxa ROCK Pi 4A+"; + compatible = "radxa,rockpi4a-plus", "radxa,rockpi4", "rockchip,rk3399"; +}; + +&es8316 { + pinctrl-0 = <&hp_detect &hp_int>; + pinctrl-names = "default"; + interrupt-parent = <&gpio1>; + interrupts = ; +}; + +&sound { + hp-det-gpio = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts index d6fcd21a5e..32d6bce5e3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4a.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Akash Gajjar - * Copyright (c) 2019 Pragnesh Patel - */ - -/dts-v1/; -#include "rk3399.dtsi" -#include "rk3399-rock-pi-4.dtsi" - -/ { - model = "Radxa ROCK Pi 4A"; - compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; -}; - -&spi1 { - status = "okay"; - - flash@0 { - compatible = "jedec,spi-nor"; - reg = <0>; - spi-max-frequency = <108000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Akash Gajjar + * Copyright (c) 2019 Pragnesh Patel + */ + +/dts-v1/; +#include "rk3399.dtsi" +#include "rk3399-rock-pi-4.dtsi" + +/ { + model = "Radxa ROCK Pi 4A"; + compatible = "radxa,rockpi4a", "radxa,rockpi4", "rockchip,rk3399"; +}; + +&spi1 { + status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <108000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts index 97d1187679..d3c628218c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3399pro-rock-pi-n10.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd - * Copyright (c) 2019 Radxa Limited - * Copyright (c) 2019 Amarula Solutions(India) - */ - -/dts-v1/; -#include "rk3399.dtsi" -#include -#include "rk3399pro-vmarc-som.dtsi" - -/ { - model = "Radxa ROCK Pi N10"; - compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", - "rockchip,rk3399pro"; - - chosen { - stdout-path = "serial2:1500000n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd + * Copyright (c) 2019 Radxa Limited + * Copyright (c) 2019 Amarula Solutions(India) + */ + +/dts-v1/; +#include "rk3399.dtsi" +#include +#include "rk3399pro-vmarc-som.dtsi" + +/ { + model = "Radxa ROCK Pi N10"; + compatible = "radxa,rockpi-n10", "vamrs,rk3399pro-vmarc-som", + "rockchip,rk3399pro"; + + chosen { + stdout-path = "serial2:1500000n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts index 85757d4495..6264a8c78d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-anbernic-rg-arc-s.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include -#include -#include -#include "rk3566-anbernic-rg-arc.dtsi" - -/ { - model = "Anbernic RG ARC-S"; - compatible = "anbernic,rg-arc-s", "rockchip,rk3566"; - - aliases { - mmc1 = &sdmmc0; - mmc2 = &sdmmc1; - mmc3 = &sdmmc2; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include +#include +#include +#include "rk3566-anbernic-rg-arc.dtsi" + +/ { + model = "Anbernic RG ARC-S"; + compatible = "anbernic,rg-arc-s", "rockchip,rk3566"; + + aliases { + mmc1 = &sdmmc0; + mmc2 = &sdmmc1; + mmc3 = &sdmmc2; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts index 999981cdda..074e93bd4b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-orangepi-3b-v1.1.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3566-orangepi-3b.dtsi" - -/ { - model = "Xunlong Orange Pi 3B v1.1"; - compatible = "xunlong,orangepi-3b-v1.1", "xunlong,orangepi-3b", "rockchip,rk3566"; -}; - -&pmu_io_domains { - vccio5-supply = <&vcc_3v3>; -}; - -&gmac1 { - phy-handle = <&rgmii_phy1>; - status = "okay"; -}; - -&mdio1 { - rgmii_phy1: ethernet-phy@1 { - compatible = "ethernet-phy-ieee802.3-c22"; - reg = <1>; - reset-assert-us = <20000>; - reset-deassert-us = <50000>; - reset-gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3566-orangepi-3b.dtsi" + +/ { + model = "Xunlong Orange Pi 3B v1.1"; + compatible = "xunlong,orangepi-3b-v1.1", "xunlong,orangepi-3b", "rockchip,rk3566"; +}; + +&pmu_io_domains { + vccio5-supply = <&vcc_3v3>; +}; + +&gmac1 { + phy-handle = <&rgmii_phy1>; + status = "okay"; +}; + +&mdio1 { + rgmii_phy1: ethernet-phy@1 { + compatible = "ethernet-phy-ieee802.3-c22"; + reg = <1>; + reset-assert-us = <20000>; + reset-deassert-us = <50000>; + reset-gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v0.1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v0.1.dts index 9129c1c523..5fe6ca5da9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v0.1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566-pinetab2-v0.1.dts @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -/dts-v1/; - -#include "rk3566-pinetab2.dtsi" - -/ { - model = "Pine64 PineTab2 v0.1"; - compatible = "pine64,pinetab2-v0.1", "pine64,pinetab2", "rockchip,rk3566"; -}; - -&lcd { - reset-gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; - pinctrl-names = "default"; - pinctrl-0 = <&lcd_pwren_h &lcd0_rst_l>; -}; - -&pinctrl { - lcd0 { - lcd0_rst_l: lcd0-rst-l { - rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - -&sdmmc1 { - vmmc-supply = <&vcc3v3_sys>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +/dts-v1/; + +#include "rk3566-pinetab2.dtsi" + +/ { + model = "Pine64 PineTab2 v0.1"; + compatible = "pine64,pinetab2-v0.1", "pine64,pinetab2", "rockchip,rk3566"; +}; + +&lcd { + reset-gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&lcd_pwren_h &lcd0_rst_l>; +}; + +&pinctrl { + lcd0 { + lcd0_rst_l: lcd0-rst-l { + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; +}; + +&sdmmc1 { + vmmc-supply = <&vcc3v3_sys>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566.dtsi index fedbe065d2..6c4b17d27b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3566.dtsi @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) - -#include "rk356x.dtsi" - -/ { - compatible = "rockchip,rk3566"; -}; - -&pipegrf { - compatible = "rockchip,rk3566-pipe-grf", "syscon"; -}; - -&power { - power-domain@RK3568_PD_PIPE { - reg = ; - clocks = <&cru PCLK_PIPE>; - pm_qos = <&qos_pcie2x1>, - <&qos_sata1>, - <&qos_sata2>, - <&qos_usb3_0>, - <&qos_usb3_1>; - #power-domain-cells = <0>; - }; -}; - -&usb_host0_xhci { - phys = <&usb2phy0_otg>; - phy-names = "usb2-phy"; - extcon = <&usb2phy0>; - maximum-speed = "high-speed"; -}; - -&vop { - compatible = "rockchip,rk3566-vop"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +#include "rk356x.dtsi" + +/ { + compatible = "rockchip,rk3566"; +}; + +&pipegrf { + compatible = "rockchip,rk3566-pipe-grf", "syscon"; +}; + +&power { + power-domain@RK3568_PD_PIPE { + reg = ; + clocks = <&cru PCLK_PIPE>; + pm_qos = <&qos_pcie2x1>, + <&qos_sata1>, + <&qos_sata2>, + <&qos_usb3_0>, + <&qos_usb3_1>; + #power-domain-cells = <0>; + }; +}; + +&usb_host0_xhci { + phys = <&usb2phy0_otg>; + phy-names = "usb2-phy"; + extcon = <&usb2phy0>; + maximum-speed = "high-speed"; +}; + +&vop { + compatible = "rockchip,rk3566-vop"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts index c914d35a14..8e5c182ef7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT - -#include "rk3568-fastrhino-r66s.dtsi" - -/ { - model = "Lunzn FastRhino R66S"; - compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; - - aliases { - mmc0 = &sdmmc0; - }; -}; - -&pmu_io_domains { - vccio3-supply = <&vccio_sd>; -}; - -&sdmmc0 { - bus-width = <4>; - cap-mmc-highspeed; - cap-sd-highspeed; - disable-wp; - no-sdio; - no-mmc; - sd-uhs-sdr50; - pinctrl-names = "default"; - pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; - vmmc-supply = <&vcc3v3_sd>; - vqmmc-supply = <&vccio_sd>; - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0; + }; +}; + +&pmu_io_domains { + vccio3-supply = <&vccio_sd>; +}; + +&sdmmc0 { + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + no-sdio; + no-mmc; + sd-uhs-sdr50; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts index 6bc3d02953..46d5e21d4d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6a-io.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. - */ - -/dts-v1/; -#include "rk3588.dtsi" -#include "rk3588-edgeble-neu6a.dtsi" -#include "rk3588-edgeble-neu6a-io.dtsi" - -/ { - model = "Edgeble Neu6A IO Board"; - compatible = "edgeble,neural-compute-module-6a-io", - "edgeble,neural-compute-module-6a", "rockchip,rk3588"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd. + */ + +/dts-v1/; +#include "rk3588.dtsi" +#include "rk3588-edgeble-neu6a.dtsi" +#include "rk3588-edgeble-neu6a-io.dtsi" + +/ { + model = "Edgeble Neu6A IO Board"; + compatible = "edgeble,neural-compute-module-6a-io", + "edgeble,neural-compute-module-6a", "rockchip,rk3588"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts index e821d40928..0d6f1be69a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-edgeble-neu6b-io.dts @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. - */ - -/dts-v1/; -#include "rk3588j.dtsi" -#include "rk3588-edgeble-neu6b.dtsi" -#include "rk3588-edgeble-neu6a-io.dtsi" - -/ { - model = "Edgeble Neu6B IO Board"; - compatible = "edgeble,neural-compute-module-6a-io", - "edgeble,neural-compute-module-6b", "rockchip,rk3588"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2023 Edgeble AI Technologies Pvt. Ltd. + */ + +/dts-v1/; +#include "rk3588j.dtsi" +#include "rk3588-edgeble-neu6b.dtsi" +#include "rk3588-edgeble-neu6a-io.dtsi" + +/ { + model = "Edgeble Neu6B IO Board"; + compatible = "edgeble,neural-compute-module-6a-io", + "edgeble,neural-compute-module-6b", "rockchip,rk3588"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-ep.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-ep.dtso index 25e1ae7314..672d748fcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-ep.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-ep.dtso @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * DT-overlay to run the PCIe3_4L Dual Mode controller in Endpoint mode - * in the SRNS (Separate Reference Clock No Spread) configuration. - * - * NOTE: If using a setup with two ROCK 5B:s, with one board running in - * RC mode and the other board running in EP mode, see also the device - * tree overlay: rk3588-rock-5b-pcie-srns.dtso. - */ - -/dts-v1/; -/plugin/; - -&pcie30phy { - rockchip,rx-common-refclk-mode = <0 0 0 0>; -}; - -&pcie3x4 { - status = "disabled"; -}; - -&pcie3x4_ep { - vpcie3v3-supply = <&vcc3v3_pcie30>; - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * DT-overlay to run the PCIe3_4L Dual Mode controller in Endpoint mode + * in the SRNS (Separate Reference Clock No Spread) configuration. + * + * NOTE: If using a setup with two ROCK 5B:s, with one board running in + * RC mode and the other board running in EP mode, see also the device + * tree overlay: rk3588-rock-5b-pcie-srns.dtso. + */ + +/dts-v1/; +/plugin/; + +&pcie30phy { + rockchip,rx-common-refclk-mode = <0 0 0 0>; +}; + +&pcie3x4 { + status = "disabled"; +}; + +&pcie3x4_ep { + vpcie3v3-supply = <&vcc3v3_pcie30>; + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-srns.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-srns.dtso index c7351d04a6..1a0f1af65c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-srns.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-rock-5b-pcie-srns.dtso @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * DT-overlay to run the PCIe3_4L Dual Mode controller in Root Complex - * mode in the SRNS (Separate Reference Clock No Spread) configuration. - * - * This device tree overlay is only needed (on the RC side) when running - * a setup with two ROCK 5B:s, with one board running in RC mode and the - * other board running in EP mode. - */ - -/dts-v1/; -/plugin/; - -&pcie30phy { - rockchip,rx-common-refclk-mode = <0 0 0 0>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * DT-overlay to run the PCIe3_4L Dual Mode controller in Root Complex + * mode in the SRNS (Separate Reference Clock No Spread) configuration. + * + * This device tree overlay is only needed (on the RC side) when running + * a setup with two ROCK 5B:s, with one board running in RC mode and the + * other board running in EP mode. + */ + +/dts-v1/; +/plugin/; + +&pcie30phy { + rockchip,rx-common-refclk-mode = <0 0 0 0>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dts index 0003f01f37..7bcad28d73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/rockchip/rk3588-turing-rk1.dts @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * This device tree covers the common case where the RK1 is used as a - * "compute node" system, where the carrier board is functioning more like a - * generic backplane (with no non-autoenumerable peripherals of its own) than - * like a device that the SoM is meant to enable. - * - * Copyright (c) 2023 Sam Edwards - */ - -/dts-v1/; -#include "rk3588-turing-rk1.dtsi" - -/ { - model = "Turing Machines RK1"; - compatible = "turing,rk1", "rockchip,rk3588"; - - chosen { - stdout-path = "serial9:115200n8"; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * This device tree covers the common case where the RK1 is used as a + * "compute node" system, where the carrier board is functioning more like a + * generic backplane (with no non-autoenumerable peripherals of its own) than + * like a device that the SoM is meant to enable. + * + * Copyright (c) 2023 Sam Edwards + */ + +/dts-v1/; +#include "rk3588-turing-rk1.dtsi" + +/ { + model = "Turing Machines RK1"; + compatible = "turing,rk1", "rockchip,rk3588"; + + chosen { + stdout-path = "serial9:115200n8"; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts index 7467579684..5c32c15963 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts @@ -1,39 +1,39 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Unisoc SP9863A-1h10 boards DTS file - * - * Copyright (C) 2019, Unisoc Inc. - */ - -/dts-v1/; - -#include "sc9863a.dtsi" - -/ { - model = "Spreadtrum SP9863A-1H10 Board"; - - compatible = "sprd,sp9863a-1h10", "sprd,sc9863a"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x0 0x80000000>; - }; - - chosen { - stdout-path = "serial1:115200n8"; - bootargs = "earlycon"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Unisoc SP9863A-1h10 boards DTS file + * + * Copyright (C) 2019, Unisoc Inc. + */ + +/dts-v1/; + +#include "sc9863a.dtsi" + +/ { + model = "Spreadtrum SP9863A-1H10 Board"; + + compatible = "sprd,sp9863a-1h10", "sprd,sc9863a"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x80000000>; + }; + + chosen { + stdout-path = "serial1:115200n8"; + bootargs = "earlycon"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums9620-2h10.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums9620-2h10.dts index 3ddcf35d7e..b35671192a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums9620-2h10.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/sprd/ums9620-2h10.dts @@ -1,38 +1,38 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Unisoc UMS9620-2h10 board DTS file - * - * Copyright (C) 2023, Unisoc Inc. - */ - -/dts-v1/; - -#include "ums9620.dtsi" - -/ { - model = "Unisoc UMS9620-2H10 Board"; - - compatible = "sprd,ums9620-2h10", "sprd,ums9620"; - - aliases { - serial0 = &uart0; - serial1 = &uart1; - }; - - memory@80000000 { - device_type = "memory"; - reg = <0x0 0x80000000 0x2 0x00000000>; - }; - - chosen { - stdout-path = "serial1:921600n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&uart1 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Unisoc UMS9620-2h10 board DTS file + * + * Copyright (C) 2023, Unisoc Inc. + */ + +/dts-v1/; + +#include "ums9620.dtsi" + +/ { + model = "Unisoc UMS9620-2H10 Board"; + + compatible = "sprd,ums9620-2h10", "sprd,ums9620"; + + aliases { + serial0 = &uart0; + serial1 = &uart1; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0x0 0x80000000 0x2 0x00000000>; + }; + + chosen { + stdout-path = "serial1:921600n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-dmp.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-dmp.dts index fa19c31eb1..c64a179ebb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-dmp.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-dmp.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2015 Marvell Technology Group Ltd. - * - * Author: Jisheng Zhang - */ - -/dts-v1/; - -#include "berlin4ct.dtsi" - -/ { - model = "Marvell BG4CT DMP board"; - compatible = "marvell,berlin4ct-dmp", "marvell,berlin4ct", "marvell,berlin"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@1000000 { - device_type = "memory"; - /* the first 16MB is for firmwares' usage */ - reg = <0 0x01000000 0 0x7f000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2015 Marvell Technology Group Ltd. + * + * Author: Jisheng Zhang + */ + +/dts-v1/; + +#include "berlin4ct.dtsi" + +/ { + model = "Marvell BG4CT DMP board"; + compatible = "marvell,berlin4ct-dmp", "marvell,berlin4ct", "marvell,berlin"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@1000000 { + device_type = "memory"; + /* the first 16MB is for firmwares' usage */ + reg = <0 0x01000000 0 0x7f000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-stb.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-stb.dts index 8f85e8f90f..277dccfa05 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-stb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/synaptics/berlin4ct-stb.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2015 Marvell Technology Group Ltd. - * - * Author: Jisheng Zhang - */ - -/dts-v1/; - -#include "berlin4ct.dtsi" - -/ { - model = "Marvell BG4CT STB board"; - compatible = "marvell,berlin4ct-stb", "marvell,berlin4ct", "marvell,berlin"; - - chosen { - stdout-path = "serial0:115200n8"; - }; - - memory@1000000 { - device_type = "memory"; - /* the first 16MB is for firmwares' usage */ - reg = <0 0x01000000 0 0x7f000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2015 Marvell Technology Group Ltd. + * + * Author: Jisheng Zhang + */ + +/dts-v1/; + +#include "berlin4ct.dtsi" + +/ { + model = "Marvell BG4CT STB board"; + compatible = "marvell,berlin4ct-stb", "marvell,berlin4ct", "marvell,berlin"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + memory@1000000 { + device_type = "memory"; + /* the first 16MB is for firmwares' usage */ + reg = <0 0x01000000 0 0x7f000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-nonwifi.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-nonwifi.dtsi index 84724b5b59..68d07695e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-nonwifi.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62-verdin-nonwifi.dtsi @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * Common dtsi for Verdin AM62 SoM non-WB variant - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - */ - -&sdhci2 { - pinctrl-0 = <&pinctrl_sdhci2>; - bus-width = <4>; - status = "disabled"; -}; - -&main_uart5 { - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_uart5>; - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * Common dtsi for Verdin AM62 SoM non-WB variant + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + */ + +&sdhci2 { + pinctrl-0 = <&pinctrl_sdhci2>; + bus-width = <4>; + status = "disabled"; +}; + +&main_uart5 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart5>; + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso index 263e55bd6b..6ec6d57ec4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-1-4-ghz-opp.dtso @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2024 PHYTEC America LLC - * Author: Nathan Morrisson - */ - -/dts-v1/; -/plugin/; - -&vdd_core { - regulator-min-microvolt = <850000>; - regulator-max-microvolt = <850000>; -}; - -&a53_opp_table { - opp-1400000000 { - opp-hz = /bits/ 64 <1400000000>; - opp-supported-hw = <0x01 0x0004>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2024 PHYTEC America LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +&vdd_core { + regulator-min-microvolt = <850000>; + regulator-max-microvolt = <850000>; +}; + +&a53_opp_table { + opp-1400000000 { + opp-hz = /bits/ 64 <1400000000>; + opp-supported-hw = <0x01 0x0004>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts index 5dc4d3015b..4fa5efdffc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH - * Author: Wadim Egorov - * - * Product homepage: - * https://www.phytec.com/product/phyboard-am62x - */ - -#include "k3-am625.dtsi" -#include "k3-am62-phycore-som.dtsi" -#include "k3-am62x-phyboard-lyra.dtsi" - -/ { - compatible = "phytec,am625-phyboard-lyra-rdk", - "phytec,am62-phycore-som", "ti,am625"; - model = "PHYTEC phyBOARD-Lyra AM625"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2022-2024 PHYTEC Messtechnik GmbH + * Author: Wadim Egorov + * + * Product homepage: + * https://www.phytec.com/product/phyboard-am62x + */ + +#include "k3-am625.dtsi" +#include "k3-am62-phycore-som.dtsi" +#include "k3-am62x-phyboard-lyra.dtsi" + +/ { + compatible = "phytec,am625-phyboard-lyra-rdk", + "phytec,am62-phycore-som", "ti,am625"; + model = "PHYTEC phyBOARD-Lyra AM625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dahlia.dts index dd688b64cc..d38bfef29d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dahlia.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-nonwifi.dtsi" -#include "k3-am62-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin AM62 on Dahlia Board"; - compatible = "toradex,verdin-am62-nonwifi-dahlia", - "toradex,verdin-am62-nonwifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-nonwifi.dtsi" +#include "k3-am62-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin AM62 on Dahlia Board"; + compatible = "toradex,verdin-am62-nonwifi-dahlia", + "toradex,verdin-am62-nonwifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dev.dts index 0153180f36..31d2a3066d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dev.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/verdin-development-board-kit - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-nonwifi.dtsi" -#include "k3-am62-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin AM62 on Verdin Development Board"; - compatible = "toradex,verdin-am62-nonwifi-dev", - "toradex,verdin-am62-nonwifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/verdin-development-board-kit + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-nonwifi.dtsi" +#include "k3-am62-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin AM62 on Verdin Development Board"; + compatible = "toradex,verdin-am62-nonwifi-dev", + "toradex,verdin-am62-nonwifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-mallow.dts index f7cab9ec2f..9cae12106e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-mallow.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/mallow-carrier-board - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-nonwifi.dtsi" -#include "k3-am62-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin AM62 on Mallow Board"; - compatible = "toradex,verdin-am62-nonwifi-mallow", - "toradex,verdin-am62-nonwifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/mallow-carrier-board + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-nonwifi.dtsi" +#include "k3-am62-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin AM62 on Mallow Board"; + compatible = "toradex,verdin-am62-nonwifi-mallow", + "toradex,verdin-am62-nonwifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-yavia.dts index df9a50aabe..e80332e1f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-yavia.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/yavia - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-nonwifi.dtsi" -#include "k3-am62-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin AM62 on Yavia Board"; - compatible = "toradex,verdin-am62-nonwifi-yavia", - "toradex,verdin-am62-nonwifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/yavia + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-nonwifi.dtsi" +#include "k3-am62-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin AM62 on Yavia Board"; + compatible = "toradex,verdin-am62-nonwifi-yavia", + "toradex,verdin-am62-nonwifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dahlia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dahlia.dts index 0a57d45d51..3850a706ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dahlia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dahlia.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-wifi.dtsi" -#include "k3-am62-verdin-dahlia.dtsi" - -/ { - model = "Toradex Verdin AM62 WB on Dahlia Board"; - compatible = "toradex,verdin-am62-wifi-dahlia", - "toradex,verdin-am62-wifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-wifi.dtsi" +#include "k3-am62-verdin-dahlia.dtsi" + +/ { + model = "Toradex Verdin AM62 WB on Dahlia Board"; + compatible = "toradex,verdin-am62-wifi-dahlia", + "toradex,verdin-am62-wifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dev.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dev.dts index d6f2165855..4b657d6d3e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dev.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dev.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/verdin-development-board-kit - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-wifi.dtsi" -#include "k3-am62-verdin-dev.dtsi" - -/ { - model = "Toradex Verdin AM62 WB on Verdin Development Board"; - compatible = "toradex,verdin-am62-wifi-dev", - "toradex,verdin-am62-wifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/verdin-development-board-kit + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-wifi.dtsi" +#include "k3-am62-verdin-dev.dtsi" + +/ { + model = "Toradex Verdin AM62 WB on Verdin Development Board"; + compatible = "toradex,verdin-am62-wifi-dev", + "toradex,verdin-am62-wifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-mallow.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-mallow.dts index 538933a45c..81d834b226 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-mallow.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-mallow.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/mallow-carrier-board - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-wifi.dtsi" -#include "k3-am62-verdin-mallow.dtsi" - -/ { - model = "Toradex Verdin AM62 WB on Mallow Board"; - compatible = "toradex,verdin-am62-wifi-mallow", - "toradex,verdin-am62-wifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/mallow-carrier-board + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-wifi.dtsi" +#include "k3-am62-verdin-mallow.dtsi" + +/ { + model = "Toradex Verdin AM62 WB on Mallow Board"; + compatible = "toradex,verdin-am62-wifi-mallow", + "toradex,verdin-am62-wifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-yavia.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-yavia.dts index 75b3df7906..8a2506068a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-yavia.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-yavia.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/* - * Copyright 2023 Toradex - * - * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 - * https://www.toradex.com/products/carrier-board/yavia - */ - -/dts-v1/; - -#include "k3-am625.dtsi" -#include "k3-am62-verdin.dtsi" -#include "k3-am62-verdin-wifi.dtsi" -#include "k3-am62-verdin-yavia.dtsi" - -/ { - model = "Toradex Verdin AM62 WB on Yavia Board"; - compatible = "toradex,verdin-am62-wifi-yavia", - "toradex,verdin-am62-wifi", - "toradex,verdin-am62", - "ti,am625"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT +/* + * Copyright 2023 Toradex + * + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 + * https://www.toradex.com/products/carrier-board/yavia + */ + +/dts-v1/; + +#include "k3-am625.dtsi" +#include "k3-am62-verdin.dtsi" +#include "k3-am62-verdin-wifi.dtsi" +#include "k3-am62-verdin-yavia.dtsi" + +/ { + model = "Toradex Verdin AM62 WB on Yavia Board"; + compatible = "toradex,verdin-am62-wifi-yavia", + "toradex,verdin-am62-wifi", + "toradex,verdin-am62", + "ti,am625"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts index 311fc9145f..3b93409b23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am62a7-phyboard-lyra-rdk.dts @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2023 - 2024 PHYTEC America LLC - * Author: Garrett Giordano - * - * Product homepage: - * https://www.phytec.com/product/phyboard-am62a - */ - -#include "k3-am62a7.dtsi" -#include "k3-am62a-phycore-som.dtsi" -#include "k3-am62x-phyboard-lyra.dtsi" - -/ { - compatible = "phytec,am62a7-phyboard-lyra-rdk", - "phytec,am62a-phycore-som", "ti,am62a7"; - model = "PHYTEC phyBOARD-Lyra AM62A7"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 - 2024 PHYTEC America LLC + * Author: Garrett Giordano + * + * Product homepage: + * https://www.phytec.com/product/phyboard-am62a + */ + +#include "k3-am62a7.dtsi" +#include "k3-am62a-phycore-som.dtsi" +#include "k3-am62x-phyboard-lyra.dtsi" + +/ { + compatible = "phytec,am62a7-phyboard-lyra-rdk", + "phytec,am62a-phycore-som", "ti,am62a7"; + model = "PHYTEC phyBOARD-Lyra AM62A7"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-wlan.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-wlan.dtso index 9b3823a736..82f8a21b6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-wlan.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am64-tqma64xxl-mbax4xxl-wlan.dtso @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (c) 2022-2024 TQ-Systems GmbH , D-82229 Seefeld, Germany. - */ - -/dts-v1/; -/plugin/; - -&sdhci1 { - mmc-pwrseq = <&wifi_pwrseq>; - no-sd; - status = "okay"; -}; - -&main_gpio0 { - line43-hog { - gpio-hog; - gpios = <43 0>; - line-name = "MMC1_CTRL"; - output-high; - }; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (c) 2022-2024 TQ-Systems GmbH , D-82229 Seefeld, Germany. + */ + +/dts-v1/; +/plugin/; + +&sdhci1 { + mmc-pwrseq = <&wifi_pwrseq>; + no-sd; + status = "okay"; +}; + +&main_gpio0 { + line43-hog { + gpio-hog; + gpios = <43 0>; + line-name = "MMC1_CTRL"; + output-high; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtso index cc594b04d2..666237f6d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2-bkey-ekey-pcie.dtso @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * IOT2050 M.2 variant, overlay for B-key PCIE0_LANE0 + E-key PCIE1_LANE0 - * Copyright (c) Siemens AG, 2022-2024 - * - * Authors: - * Chao Zeng - * Jan Kiszka - */ - -/dts-v1/; -/plugin/; - -#include -#include - -&pcie0_rc { - num-lanes = <1>; - phys = <&serdes0 PHY_TYPE_PCIE 1>; - phy-names = "pcie-phy0"; - reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; - status = "okay"; -}; - -&pcie1_rc { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * IOT2050 M.2 variant, overlay for B-key PCIE0_LANE0 + E-key PCIE1_LANE0 + * Copyright (c) Siemens AG, 2022-2024 + * + * Authors: + * Chao Zeng + * Jan Kiszka + */ + +/dts-v1/; +/plugin/; + +#include +#include + +&pcie0_rc { + num-lanes = <1>; + phys = <&serdes0 PHY_TYPE_PCIE 1>; + phy-names = "pcie-phy0"; + reset-gpios = <&main_gpio1 15 GPIO_ACTIVE_HIGH>; + status = "okay"; +}; + +&pcie1_rc { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso index d27feb5037..356c82bbe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/ti/k3-am6xx-phycore-disable-eth-phy.dtso @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only OR MIT -/* - * Copyright (C) 2023 PHYTEC America, LLC - * Author: Garrett Giordano - * - * Copyright (C) 2024 PHYTEC America, LLC - * Author: Nathan Morrisson - */ - -/dts-v1/; -/plugin/; - -&cpsw3g_phy1 { - status = "disabled"; -}; - -&cpsw_port1 { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0-only OR MIT +/* + * Copyright (C) 2023 PHYTEC America, LLC + * Author: Garrett Giordano + * + * Copyright (C) 2024 PHYTEC America, LLC + * Author: Nathan Morrisson + */ + +/dts-v1/; +/plugin/; + +&cpsw3g_phy1 { + status = "disabled"; +}; + +&cpsw_port1 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dts index 002ed1a1f1..4c1bd69e75 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/avnet-ultra96-rev1.dts @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * dts file for Avnet Ultra96 rev1 - * - * (C) Copyright 2018, Xilinx, Inc. - * - * Michal Simek - */ - -/dts-v1/; - -#include "zynqmp-zcu100-revC.dts" - -/ { - model = "Avnet Ultra96 Rev1"; - compatible = "avnet,ultra96-rev1", "avnet,ultra96", - "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", - "xlnx,zynqmp"; -}; +// SPDX-License-Identifier: GPL-2.0+ +/* + * dts file for Avnet Ultra96 rev1 + * + * (C) Copyright 2018, Xilinx, Inc. + * + * Michal Simek + */ + +/dts-v1/; + +#include "zynqmp-zcu100-revC.dts" + +/ { + model = "Avnet Ultra96 Rev1"; + compatible = "avnet,ultra96-rev1", "avnet,ultra96", + "xlnx,zynqmp-zcu100-revC", "xlnx,zynqmp-zcu100", + "xlnx,zynqmp"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts index fe394944f5..b804abe89d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/boot/dts/xilinx/zynqmp-smk-k26-revA.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * dts file for Xilinx ZynqMP SMK-K26 rev2/1/B/A - * - * (C) Copyright 2020 - 2021, Xilinx, Inc. - * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc. - * - * Michal Simek - */ - -#include "zynqmp-sm-k26-revA.dts" - -/ { - model = "ZynqMP SMK-K26 Rev2/1/B/A"; - compatible = "xlnx,zynqmp-smk-k26-rev2", - "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB", - "xlnx,zynqmp-smk-k26-revA", "xlnx,zynqmp-smk-k26", - "xlnx,zynqmp"; -}; - -&sdhci0 { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * dts file for Xilinx ZynqMP SMK-K26 rev2/1/B/A + * + * (C) Copyright 2020 - 2021, Xilinx, Inc. + * (C) Copyright 2023 - 2024, Advanced Micro Devices, Inc. + * + * Michal Simek + */ + +#include "zynqmp-sm-k26-revA.dts" + +/ { + model = "ZynqMP SMK-K26 Rev2/1/B/A"; + compatible = "xlnx,zynqmp-smk-k26-rev2", + "xlnx,zynqmp-smk-k26-rev1", "xlnx,zynqmp-smk-k26-revB", + "xlnx,zynqmp-smk-k26-revA", "xlnx,zynqmp-smk-k26", + "xlnx,zynqmp"; +}; + +&sdhci0 { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/configs/hardening.config b/image/debian/UFI003_MB_V02/kernel/arch/arm64/configs/hardening.config index 39eaa0298a..2417972292 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/configs/hardening.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/configs/hardening.config @@ -1,23 +1,23 @@ -# Basic kernel hardening options (specific to arm64) - -# Make sure PAN emulation is enabled. -CONFIG_ARM64_SW_TTBR0_PAN=y - -# Software Shadow Stack or PAC -CONFIG_SHADOW_CALL_STACK=y -CONFIG_UNWIND_PATCH_PAC_INTO_SCS=y - -# Pointer authentication (ARMv8.3 and later). If hardware actually supports -# it, one can turn off CONFIG_STACKPROTECTOR_STRONG with this enabled. -CONFIG_ARM64_PTR_AUTH=y -CONFIG_ARM64_PTR_AUTH_KERNEL=y - -# Available in ARMv8.5 and later. -CONFIG_ARM64_BTI=y -CONFIG_ARM64_BTI_KERNEL=y -CONFIG_ARM64_MTE=y -CONFIG_KASAN_HW_TAGS=y -CONFIG_ARM64_E0PD=y - -# Available in ARMv8.7 and later. -CONFIG_ARM64_EPAN=y +# Basic kernel hardening options (specific to arm64) + +# Make sure PAN emulation is enabled. +CONFIG_ARM64_SW_TTBR0_PAN=y + +# Software Shadow Stack or PAC +CONFIG_SHADOW_CALL_STACK=y +CONFIG_UNWIND_PATCH_PAC_INTO_SCS=y + +# Pointer authentication (ARMv8.3 and later). If hardware actually supports +# it, one can turn off CONFIG_STACKPROTECTOR_STRONG with this enabled. +CONFIG_ARM64_PTR_AUTH=y +CONFIG_ARM64_PTR_AUTH_KERNEL=y + +# Available in ARMv8.5 and later. +CONFIG_ARM64_BTI=y +CONFIG_ARM64_BTI_KERNEL=y +CONFIG_ARM64_MTE=y +CONFIG_KASAN_HW_TAGS=y +CONFIG_ARM64_E0PD=y + +# Available in ARMv8.7 and later. +CONFIG_ARM64_EPAN=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce.h index db6378351d..1e235c4371 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/crypto/sm4-ce.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * SM4 common functions for Crypto Extensions - * Copyright (C) 2022 Tianjia Zhang - */ - -void sm4_ce_expand_key(const u8 *key, u32 *rkey_enc, u32 *rkey_dec, - const u32 *fk, const u32 *ck); - -void sm4_ce_crypt_block(const u32 *rkey, u8 *dst, const u8 *src); - -void sm4_ce_cbc_enc(const u32 *rkey_enc, u8 *dst, const u8 *src, - u8 *iv, unsigned int nblocks); +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * SM4 common functions for Crypto Extensions + * Copyright (C) 2022 Tianjia Zhang + */ + +void sm4_ce_expand_key(const u8 *key, u32 *rkey_enc, u32 *rkey_dec, + const u32 *fk, const u32 *ck); + +void sm4_ce_crypt_block(const u32 *rkey, u8 *dst, const u8 *src); + +void sm4_ce_cbc_enc(const u32 *rkey_enc, u8 *dst, const u8 *src, + u8 *iv, unsigned int nblocks); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/Kbuild index 8ad33ffbfe..4e350df9a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/Kbuild @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h -syscall-y += syscall_table_64.h - -# arm32 syscall table used by lib/compat_audit.c: -syscall-y += unistd_32.h -# same constants with prefixes, used by vdso, seccomp and sigreturn: -syscall-y += unistd_compat_32.h - -generic-y += early_ioremap.h -generic-y += mcs_spinlock.h -generic-y += mmzone.h -generic-y += qrwlock.h -generic-y += qspinlock.h -generic-y += parport.h -generic-y += user.h - -generated-y += cpucap-defs.h -generated-y += sysreg-defs.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h +syscall-y += syscall_table_64.h + +# arm32 syscall table used by lib/compat_audit.c: +syscall-y += unistd_32.h +# same constants with prefixes, used by vdso, seccomp and sigreturn: +syscall-y += unistd_compat_32.h + +generic-y += early_ioremap.h +generic-y += mcs_spinlock.h +generic-y += mmzone.h +generic-y += qrwlock.h +generic-y += qspinlock.h +generic-y += parport.h +generic-y += user.h + +generated-y += cpucap-defs.h +generated-y += sysreg-defs.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/acenv.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/acenv.h index 9b245f0b64..f1f810dc9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/acenv.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/acenv.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * ARM64 specific ACPICA environments and implementation - * - * Copyright (C) 2014, Linaro Ltd. - * Author: Hanjun Guo - * Author: Graeme Gregory - */ - -#ifndef _ASM_ACENV_H -#define _ASM_ACENV_H - -/* It is required unconditionally by ACPI core, update it when needed. */ - -#endif /* _ASM_ACENV_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * ARM64 specific ACPICA environments and implementation + * + * Copyright (C) 2014, Linaro Ltd. + * Author: Hanjun Guo + * Author: Graeme Gregory + */ + +#ifndef _ASM_ACENV_H +#define _ASM_ACENV_H + +/* It is required unconditionally by ACPI core, update it when needed. */ + +#endif /* _ASM_ACENV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitrev.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitrev.h index bcba8f22d3..6faf9fba8c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitrev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bitrev.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_BITREV_H -#define __ASM_BITREV_H -static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) -{ - __asm__ ("rbit %w0, %w1" : "=r" (x) : "r" (x)); - return x; -} - -static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) -{ - return __arch_bitrev32((u32)x) >> 16; -} - -static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) -{ - return __arch_bitrev32((u32)x) >> 24; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_BITREV_H +#define __ASM_BITREV_H +static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) +{ + __asm__ ("rbit %w0, %w1" : "=r" (x) : "r" (x)); + return x; +} + +static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) +{ + return __arch_bitrev32((u32)x) >> 16; +} + +static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) +{ + return __arch_bitrev32((u32)x) >> 24; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/boot.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/boot.h index 32fd4fea47..3e7943fd17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/boot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/boot.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_BOOT_H -#define __ASM_BOOT_H - -#include - -/* - * arm64 requires the DTB to be 8 byte aligned and - * not exceed 2MB in size. - */ -#define MIN_FDT_ALIGN 8 -#define MAX_FDT_SIZE SZ_2M - -/* - * arm64 requires the kernel image to placed at a 2 MB aligned base address - */ -#define MIN_KIMG_ALIGN SZ_2M - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_BOOT_H +#define __ASM_BOOT_H + +#include + +/* + * arm64 requires the DTB to be 8 byte aligned and + * not exceed 2MB in size. + */ +#define MIN_FDT_ALIGN 8 +#define MAX_FDT_SIZE SZ_2M + +/* + * arm64 requires the kernel image to placed at a 2 MB aligned base address + */ +#define MIN_KIMG_ALIGN SZ_2M + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bug.h index 06e61d79d3..28be048db3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/bug.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2015 ARM Limited - * Author: Dave Martin - */ - -#ifndef _ARCH_ARM64_ASM_BUG_H -#define _ARCH_ARM64_ASM_BUG_H - -#include - -#include - -#define __BUG_FLAGS(flags) \ - asm volatile (__stringify(ASM_BUG_FLAGS(flags))); - -#define BUG() do { \ - __BUG_FLAGS(0); \ - unreachable(); \ -} while (0) - -#define __WARN_FLAGS(flags) __BUG_FLAGS(BUGFLAG_WARNING|(flags)) - -#define HAVE_ARCH_BUG - -#include - -#endif /* ! _ARCH_ARM64_ASM_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2015 ARM Limited + * Author: Dave Martin + */ + +#ifndef _ARCH_ARM64_ASM_BUG_H +#define _ARCH_ARM64_ASM_BUG_H + +#include + +#include + +#define __BUG_FLAGS(flags) \ + asm volatile (__stringify(ASM_BUG_FLAGS(flags))); + +#define BUG() do { \ + __BUG_FLAGS(0); \ + unreachable(); \ +} while (0) + +#define __WARN_FLAGS(flags) __BUG_FLAGS(BUGFLAG_WARNING|(flags)) + +#define HAVE_ARCH_BUG + +#include + +#endif /* ! _ARCH_ARM64_ASM_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/current.h index 0e3dffb306..54ceae0874 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/current.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CURRENT_H -#define __ASM_CURRENT_H - -#include - -#ifndef __ASSEMBLY__ - -struct task_struct; - -/* - * We don't use read_sysreg() as we want the compiler to cache the value where - * possible. - */ -static __always_inline struct task_struct *get_current(void) -{ - unsigned long sp_el0; - - asm ("mrs %0, sp_el0" : "=r" (sp_el0)); - - return (struct task_struct *)sp_el0; -} - -#define current get_current() - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_CURRENT_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CURRENT_H +#define __ASM_CURRENT_H + +#include + +#ifndef __ASSEMBLY__ + +struct task_struct; + +/* + * We don't use read_sysreg() as we want the compiler to cache the value where + * possible. + */ +static __always_inline struct task_struct *get_current(void) +{ + unsigned long sp_el0; + + asm ("mrs %0, sp_el0" : "=r" (sp_el0)); + + return (struct task_struct *)sp_el0; +} + +#define current get_current() + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_CURRENT_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/hypervisor.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/hypervisor.h index 17bacbbfc2..409e239834 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/hypervisor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/hypervisor.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM64_HYPERVISOR_H -#define _ASM_ARM64_HYPERVISOR_H - -#include - -void kvm_init_hyp_services(void); -bool kvm_arm_hyp_service_available(u32 func_id); - -#ifdef CONFIG_ARM_PKVM_GUEST -void pkvm_init_hyp_services(void); -#else -static inline void pkvm_init_hyp_services(void) { }; -#endif - -static inline void kvm_arch_init_hyp_services(void) -{ - pkvm_init_hyp_services(); -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM64_HYPERVISOR_H +#define _ASM_ARM64_HYPERVISOR_H + +#include + +void kvm_init_hyp_services(void); +bool kvm_arm_hyp_service_available(u32 func_id); + +#ifdef CONFIG_ARM_PKVM_GUEST +void pkvm_init_hyp_services(void); +#else +static inline void pkvm_init_hyp_services(void) { }; +#endif + +static inline void kvm_arch_init_hyp_services(void) +{ + pkvm_init_hyp_services(); +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/insn-def.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/insn-def.h index 00d1eaf07c..1a7d0d4836 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/insn-def.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/insn-def.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_INSN_DEF_H -#define __ASM_INSN_DEF_H - -#include - -/* A64 instructions are always 32 bits. */ -#define AARCH64_INSN_SIZE 4 - -/* - * BRK instruction encoding - * The #imm16 value should be placed at bits[20:5] within BRK ins - */ -#define AARCH64_BREAK_MON 0xd4200000 - -/* - * BRK instruction for provoking a fault on purpose - * Unlike kgdb, #imm16 value with unallocated handler is used for faulting. - */ -#define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5)) - -#endif /* __ASM_INSN_DEF_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_INSN_DEF_H +#define __ASM_INSN_DEF_H + +#include + +/* A64 instructions are always 32 bits. */ +#define AARCH64_INSN_SIZE 4 + +/* + * BRK instruction encoding + * The #imm16 value should be placed at bits[20:5] within BRK ins + */ +#define AARCH64_BREAK_MON 0xd4200000 + +/* + * BRK instruction for provoking a fault on purpose + * Unlike kgdb, #imm16 value with unallocated handler is used for faulting. + */ +#define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (FAULT_BRK_IMM << 5)) + +#endif /* __ASM_INSN_DEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq.h index 980a2f6158..e93548914c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/irq.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_IRQ_H -#define __ASM_IRQ_H - -#ifndef __ASSEMBLER__ - -#include - -#include - -void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu); -#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace - -struct pt_regs; - -int set_handle_irq(void (*handle_irq)(struct pt_regs *)); -#define set_handle_irq set_handle_irq -int set_handle_fiq(void (*handle_fiq)(struct pt_regs *)); - -static inline int nr_legacy_irqs(void) -{ - return 0; -} - -#endif /* !__ASSEMBLER__ */ -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_IRQ_H +#define __ASM_IRQ_H + +#ifndef __ASSEMBLER__ + +#include + +#include + +void arch_trigger_cpumask_backtrace(const cpumask_t *mask, int exclude_cpu); +#define arch_trigger_cpumask_backtrace arch_trigger_cpumask_backtrace + +struct pt_regs; + +int set_handle_irq(void (*handle_irq)(struct pt_regs *)); +#define set_handle_irq set_handle_irq +int set_handle_fiq(void (*handle_fiq)(struct pt_regs *)); + +static inline int nr_legacy_irqs(void) +{ + return 0; +} + +#endif /* !__ASSEMBLER__ */ +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kasan.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kasan.h index b87eddf50f..e1b57c13f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kasan.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kasan.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_KASAN_H -#define __ASM_KASAN_H - -#ifndef __ASSEMBLY__ - -#include -#include -#include -#include - -#define arch_kasan_set_tag(addr, tag) __tag_set(addr, tag) -#define arch_kasan_reset_tag(addr) __tag_reset(addr) -#define arch_kasan_get_tag(addr) __tag_get(addr) - -#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS) - -asmlinkage void kasan_early_init(void); -void kasan_init(void); - -#else -static inline void kasan_init(void) { } -#endif - -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_KASAN_H +#define __ASM_KASAN_H + +#ifndef __ASSEMBLY__ + +#include +#include +#include +#include + +#define arch_kasan_set_tag(addr, tag) __tag_set(addr, tag) +#define arch_kasan_reset_tag(addr) __tag_reset(addr) +#define arch_kasan_get_tag(addr) __tag_get(addr) + +#if defined(CONFIG_KASAN_GENERIC) || defined(CONFIG_KASAN_SW_TAGS) + +asmlinkage void kasan_early_init(void); +void kasan_init(void); + +#else +static inline void kasan_init(void) { } +#endif + +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_ras.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_ras.h index bb3ee69215..87e10d9a63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_ras.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/kvm_ras.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2018 - Arm Ltd */ - -#ifndef __ARM64_KVM_RAS_H__ -#define __ARM64_KVM_RAS_H__ - -#include -#include -#include - -#include - -/* - * Was this synchronous external abort a RAS notification? - * Returns '0' for errors handled by some RAS subsystem, or -ENOENT. - */ -static inline int kvm_handle_guest_sea(phys_addr_t addr, u64 esr) -{ - /* apei_claim_sea(NULL) expects to mask interrupts itself */ - lockdep_assert_irqs_enabled(); - - return apei_claim_sea(NULL); -} - -#endif /* __ARM64_KVM_RAS_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2018 - Arm Ltd */ + +#ifndef __ARM64_KVM_RAS_H__ +#define __ARM64_KVM_RAS_H__ + +#include +#include +#include + +#include + +/* + * Was this synchronous external abort a RAS notification? + * Returns '0' for errors handled by some RAS subsystem, or -ENOENT. + */ +static inline int kvm_handle_guest_sea(phys_addr_t addr, u64 esr) +{ + /* apei_claim_sea(NULL) expects to mask interrupts itself */ + lockdep_assert_irqs_enabled(); + + return apei_claim_sea(NULL); +} + +#endif /* __ARM64_KVM_RAS_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mem_encrypt.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mem_encrypt.h index 61cfe5b052..b0c9a86b13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mem_encrypt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mem_encrypt.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_MEM_ENCRYPT_H -#define __ASM_MEM_ENCRYPT_H - -struct arm64_mem_crypt_ops { - int (*encrypt)(unsigned long addr, int numpages); - int (*decrypt)(unsigned long addr, int numpages); -}; - -int arm64_mem_crypt_ops_register(const struct arm64_mem_crypt_ops *ops); - -int set_memory_encrypted(unsigned long addr, int numpages); -int set_memory_decrypted(unsigned long addr, int numpages); - -#endif /* __ASM_MEM_ENCRYPT_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_MEM_ENCRYPT_H +#define __ASM_MEM_ENCRYPT_H + +struct arm64_mem_crypt_ops { + int (*encrypt)(unsigned long addr, int numpages); + int (*decrypt)(unsigned long addr, int numpages); +}; + +int arm64_mem_crypt_ops_register(const struct arm64_mem_crypt_ops *ops); + +int set_memory_encrypted(unsigned long addr, int numpages); +int set_memory_decrypted(unsigned long addr, int numpages); + +#endif /* __ASM_MEM_ENCRYPT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mte-def.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mte-def.h index c22526ee5f..14ee86b019 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mte-def.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/mte-def.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020 ARM Ltd. - */ -#ifndef __ASM_MTE_DEF_H -#define __ASM_MTE_DEF_H - -#define MTE_GRANULE_SIZE UL(16) -#define MTE_GRANULE_MASK (~(MTE_GRANULE_SIZE - 1)) -#define MTE_GRANULES_PER_PAGE (PAGE_SIZE / MTE_GRANULE_SIZE) -#define MTE_TAG_SHIFT 56 -#define MTE_TAG_SIZE 4 -#define MTE_TAG_MASK GENMASK((MTE_TAG_SHIFT + (MTE_TAG_SIZE - 1)), MTE_TAG_SHIFT) -#define MTE_PAGE_TAG_STORAGE (MTE_GRANULES_PER_PAGE * MTE_TAG_SIZE / 8) - -#define __MTE_PREAMBLE ARM64_ASM_PREAMBLE ".arch_extension memtag\n" - -#endif /* __ASM_MTE_DEF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020 ARM Ltd. + */ +#ifndef __ASM_MTE_DEF_H +#define __ASM_MTE_DEF_H + +#define MTE_GRANULE_SIZE UL(16) +#define MTE_GRANULE_MASK (~(MTE_GRANULE_SIZE - 1)) +#define MTE_GRANULES_PER_PAGE (PAGE_SIZE / MTE_GRANULE_SIZE) +#define MTE_TAG_SHIFT 56 +#define MTE_TAG_SIZE 4 +#define MTE_TAG_MASK GENMASK((MTE_TAG_SHIFT + (MTE_TAG_SIZE - 1)), MTE_TAG_SHIFT) +#define MTE_PAGE_TAG_STORAGE (MTE_GRANULES_PER_PAGE * MTE_TAG_SIZE / 8) + +#define __MTE_PREAMBLE ARM64_ASM_PREAMBLE ".arch_extension memtag\n" + +#endif /* __ASM_MTE_DEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/neon.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/neon.h index ab0a426514..d4b1d172a7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/neon.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/neon.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm64/include/asm/neon.h - * - * Copyright (C) 2013 Linaro Ltd - */ - -#ifndef __ASM_NEON_H -#define __ASM_NEON_H - -#include -#include - -#define cpu_has_neon() system_supports_fpsimd() - -void kernel_neon_begin(void); -void kernel_neon_end(void); - -#endif /* ! __ASM_NEON_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * linux/arch/arm64/include/asm/neon.h + * + * Copyright (C) 2013 Linaro Ltd + */ + +#ifndef __ASM_NEON_H +#define __ASM_NEON_H + +#include +#include + +#define cpu_has_neon() system_supports_fpsimd() + +void kernel_neon_begin(void); +void kernel_neon_end(void); + +#endif /* ! __ASM_NEON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/page-def.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/page-def.h index 35889d5991..792e9fe881 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/page-def.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/page-def.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/include/asm/page.h - * - * Copyright (C) 1995-2003 Russell King - * Copyright (C) 2017 ARM Ltd. - */ -#ifndef __ASM_PAGE_DEF_H -#define __ASM_PAGE_DEF_H - -#include - -/* PAGE_SHIFT determines the page size */ -#define PAGE_SHIFT CONFIG_PAGE_SHIFT -#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) -#define PAGE_MASK (~(PAGE_SIZE-1)) - -#endif /* __ASM_PAGE_DEF_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/include/asm/page.h + * + * Copyright (C) 1995-2003 Russell King + * Copyright (C) 2017 ARM Ltd. + */ +#ifndef __ASM_PAGE_DEF_H +#define __ASM_PAGE_DEF_H + +#include + +/* PAGE_SHIFT determines the page size */ +#define PAGE_SHIFT CONFIG_PAGE_SHIFT +#define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) +#define PAGE_MASK (~(PAGE_SIZE-1)) + +#endif /* __ASM_PAGE_DEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/paravirt.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/paravirt.h index b68f6f7859..9aa193e0e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/paravirt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/paravirt.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM64_PARAVIRT_H -#define _ASM_ARM64_PARAVIRT_H - -#ifdef CONFIG_PARAVIRT -#include - -struct static_key; -extern struct static_key paravirt_steal_enabled; -extern struct static_key paravirt_steal_rq_enabled; - -u64 dummy_steal_clock(int cpu); - -DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); - -static inline u64 paravirt_steal_clock(int cpu) -{ - return static_call(pv_steal_clock)(cpu); -} - -int __init pv_time_init(void); - -#else - -#define pv_time_init() do {} while (0) - -#endif // CONFIG_PARAVIRT - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM64_PARAVIRT_H +#define _ASM_ARM64_PARAVIRT_H + +#ifdef CONFIG_PARAVIRT +#include + +struct static_key; +extern struct static_key paravirt_steal_enabled; +extern struct static_key paravirt_steal_rq_enabled; + +u64 dummy_steal_clock(int cpu); + +DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); + +static inline u64 paravirt_steal_clock(int cpu) +{ + return static_call(pv_steal_clock)(cpu); +} + +int __init pv_time_init(void); + +#else + +#define pv_time_init() do {} while (0) + +#endif // CONFIG_PARAVIRT + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/patching.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/patching.h index 853a0fc95c..587bdb91ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/patching.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/patching.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PATCHING_H -#define __ASM_PATCHING_H - -#include - -int aarch64_insn_read(void *addr, u32 *insnp); -int aarch64_insn_write(void *addr, u32 insn); - -int aarch64_insn_write_literal_u64(void *addr, u64 val); -void *aarch64_insn_set(void *dst, u32 insn, size_t len); -void *aarch64_insn_copy(void *dst, void *src, size_t len); - -int aarch64_insn_patch_text_nosync(void *addr, u32 insn); -int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt); - -#endif /* __ASM_PATCHING_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_PATCHING_H +#define __ASM_PATCHING_H + +#include + +int aarch64_insn_read(void *addr, u32 *insnp); +int aarch64_insn_write(void *addr, u32 insn); + +int aarch64_insn_write_literal_u64(void *addr, u64 val); +void *aarch64_insn_set(void *dst, u32 insn, size_t len); +void *aarch64_insn_copy(void *dst, void *src, size_t len); + +int aarch64_insn_patch_text_nosync(void *addr, u32 insn); +int aarch64_insn_patch_text(void *addrs[], u32 insns[], int cnt); + +#endif /* __ASM_PATCHING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pci.h index c2e0c4ced8..016eb6b46d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pci.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_PCI_H -#define __ASM_PCI_H - -#include -#include -#include - -#include - -#define PCIBIOS_MIN_IO 0x1000 - -/* - * Set to 1 if the kernel should re-assign all PCI bus numbers - */ -#define pcibios_assign_all_busses() \ - (pci_has_flag(PCI_REASSIGN_ALL_BUS)) - -#define arch_can_pci_mmap_wc() 1 - -/* Generic PCI */ -#include - -#endif /* __ASM_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_PCI_H +#define __ASM_PCI_H + +#include +#include +#include + +#include + +#define PCIBIOS_MIN_IO 0x1000 + +/* + * Set to 1 if the kernel should re-assign all PCI bus numbers + */ +#define pcibios_assign_all_busses() \ + (pci_has_flag(PCI_REASSIGN_ALL_BUS)) + +#define arch_can_pci_mmap_wc() 1 + +/* Generic PCI */ +#include + +#endif /* __ASM_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/proc-fns.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/proc-fns.h index 6018508bb5..0d5d1f0525 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/proc-fns.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/proc-fns.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Based on arch/arm/include/asm/proc-fns.h - * - * Copyright (C) 1997-1999 Russell King - * Copyright (C) 2000 Deep Blue Solutions Ltd - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_PROCFNS_H -#define __ASM_PROCFNS_H - -#ifndef __ASSEMBLY__ - -#include - -struct cpu_suspend_ctx; - -extern void cpu_do_idle(void); -extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr); -extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr); - -#include - -#endif /* __ASSEMBLY__ */ -#endif /* __ASM_PROCFNS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Based on arch/arm/include/asm/proc-fns.h + * + * Copyright (C) 1997-1999 Russell King + * Copyright (C) 2000 Deep Blue Solutions Ltd + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_PROCFNS_H +#define __ASM_PROCFNS_H + +#ifndef __ASSEMBLY__ + +#include + +struct cpu_suspend_ctx; + +extern void cpu_do_idle(void); +extern void cpu_do_suspend(struct cpu_suspend_ctx *ptr); +extern u64 cpu_do_resume(phys_addr_t ptr, u64 idmap_ttbr); + +#include + +#endif /* __ASSEMBLY__ */ +#endif /* __ASM_PROCFNS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pvclock-abi.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pvclock-abi.h index 1cc1624102..c4f1c0a078 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pvclock-abi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/pvclock-abi.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Copyright (C) 2019 Arm Ltd. */ - -#ifndef __ASM_PVCLOCK_ABI_H -#define __ASM_PVCLOCK_ABI_H - -/* The below structure is defined in ARM DEN0057A */ - -struct pvclock_vcpu_stolen_time { - __le32 revision; - __le32 attributes; - __le64 stolen_time; - /* Structure must be 64 byte aligned, pad to that size */ - u8 padding[48]; -} __packed; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* Copyright (C) 2019 Arm Ltd. */ + +#ifndef __ASM_PVCLOCK_ABI_H +#define __ASM_PVCLOCK_ABI_H + +/* The below structure is defined in ARM DEN0057A */ + +struct pvclock_vcpu_stolen_time { + __le32 revision; + __le32 attributes; + __le64 stolen_time; + /* Structure must be 64 byte aligned, pad to that size */ + u8 padding[48]; +} __packed; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/semihost.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/semihost.h index d6695c579f..87e353dab8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/semihost.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/semihost.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2012 ARM Ltd. - * Author: Marc Zyngier - * - * Adapted for ARM and earlycon: - * Copyright (C) 2014 Linaro Ltd. - * Author: Rob Herring - */ - -#ifndef _ARM64_SEMIHOST_H_ -#define _ARM64_SEMIHOST_H_ - -struct uart_port; - -static inline void smh_putc(struct uart_port *port, unsigned char c) -{ - asm volatile("mov x1, %0\n" - "mov x0, #3\n" - "hlt 0xf000\n" - : : "r" (&c) : "x0", "x1", "memory"); -} - -#endif /* _ARM64_SEMIHOST_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2012 ARM Ltd. + * Author: Marc Zyngier + * + * Adapted for ARM and earlycon: + * Copyright (C) 2014 Linaro Ltd. + * Author: Rob Herring + */ + +#ifndef _ARM64_SEMIHOST_H_ +#define _ARM64_SEMIHOST_H_ + +struct uart_port; + +static inline void smh_putc(struct uart_port *port, unsigned char c) +{ + asm volatile("mov x1, %0\n" + "mov x0, #3\n" + "hlt 0xf000\n" + : : "r" (&c) : "x0", "x1", "memory"); +} + +#endif /* _ARM64_SEMIHOST_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/set_memory.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/set_memory.h index 628d5b0753..917761feef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/set_memory.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/set_memory.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef _ASM_ARM64_SET_MEMORY_H -#define _ASM_ARM64_SET_MEMORY_H - -#include -#include - -bool can_set_direct_map(void); -#define can_set_direct_map can_set_direct_map - -int set_memory_valid(unsigned long addr, int numpages, int enable); - -int set_direct_map_invalid_noflush(struct page *page); -int set_direct_map_default_noflush(struct page *page); -bool kernel_page_present(struct page *page); - -#endif /* _ASM_ARM64_SET_MEMORY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef _ASM_ARM64_SET_MEMORY_H +#define _ASM_ARM64_SET_MEMORY_H + +#include +#include + +bool can_set_direct_map(void); +#define can_set_direct_map can_set_direct_map + +int set_memory_valid(unsigned long addr, int numpages, int enable); + +int set_direct_map_invalid_noflush(struct page *page); +int set_direct_map_default_noflush(struct page *page); +bool kernel_page_present(struct page *page); + +#endif /* _ASM_ARM64_SET_MEMORY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/shmparam.h index 158440f539..f920e22ec6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/shmparam.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_SHMPARAM_H -#define __ASM_SHMPARAM_H - -/* - * For IPC syscalls from compat tasks, we need to use the legacy 16k - * alignment value. Since we don't have aliasing D-caches, the rest of - * the time we can safely use PAGE_SIZE. - */ -#define COMPAT_SHMLBA (4 * PAGE_SIZE) - -#include - -#endif /* __ASM_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SHMPARAM_H +#define __ASM_SHMPARAM_H + +/* + * For IPC syscalls from compat tasks, we need to use the legacy 16k + * alignment value. Since we don't have aliasing D-caches, the rest of + * the time we can safely use PAGE_SIZE. + */ +#define COMPAT_SHMLBA (4 * PAGE_SIZE) + +#include + +#endif /* __ASM_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock.h index a9efc34a8c..0525c0b089 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H - -#include -#include - -/* See include/linux/spinlock.h */ -#define smp_mb__after_spinlock() smp_mb() - -/* - * Changing this will break osq_lock() thanks to the call inside - * smp_cond_load_relaxed(). - * - * See: - * https://lore.kernel.org/lkml/20200110100612.GC2827@hirez.programming.kicks-ass.net - */ -#define vcpu_is_preempted vcpu_is_preempted -static inline bool vcpu_is_preempted(int cpu) -{ - return false; -} - -#endif /* __ASM_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SPINLOCK_H +#define __ASM_SPINLOCK_H + +#include +#include + +/* See include/linux/spinlock.h */ +#define smp_mb__after_spinlock() smp_mb() + +/* + * Changing this will break osq_lock() thanks to the call inside + * smp_cond_load_relaxed(). + * + * See: + * https://lore.kernel.org/lkml/20200110100612.GC2827@hirez.programming.kicks-ass.net + */ +#define vcpu_is_preempted vcpu_is_preempted +static inline bool vcpu_is_preempted(int cpu) +{ + return false; +} + +#endif /* __ASM_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock_types.h index dbdaaa855f..11ab1c0776 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/spinlock_types.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Ltd. - */ -#ifndef __ASM_SPINLOCK_TYPES_H -#define __ASM_SPINLOCK_TYPES_H - -#if !defined(__LINUX_SPINLOCK_TYPES_RAW_H) && !defined(__ASM_SPINLOCK_H) -# error "please don't include this file directly" -#endif - -#include -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Ltd. + */ +#ifndef __ASM_SPINLOCK_TYPES_H +#define __ASM_SPINLOCK_TYPES_H + +#if !defined(__LINUX_SPINLOCK_TYPES_RAW_H) && !defined(__ASM_SPINLOCK_H) +# error "please don't include this file directly" +#endif + +#include +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/uprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/uprobes.h index bafffedd95..014b02897f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/uprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/uprobes.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014-2016 Pratyush Anand - */ - -#ifndef _ASM_UPROBES_H -#define _ASM_UPROBES_H - -#include -#include -#include - -#define UPROBE_SWBP_INSN cpu_to_le32(BRK64_OPCODE_UPROBES) -#define UPROBE_SWBP_INSN_SIZE AARCH64_INSN_SIZE -#define UPROBE_XOL_SLOT_BYTES AARCH64_INSN_SIZE - -typedef __le32 uprobe_opcode_t; - -struct arch_uprobe_task { -}; - -struct arch_uprobe { - union { - __le32 insn; - __le32 ixol; - }; - struct arch_probe_insn api; - bool simulate; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014-2016 Pratyush Anand + */ + +#ifndef _ASM_UPROBES_H +#define _ASM_UPROBES_H + +#include +#include +#include + +#define UPROBE_SWBP_INSN cpu_to_le32(BRK64_OPCODE_UPROBES) +#define UPROBE_SWBP_INSN_SIZE AARCH64_INSN_SIZE +#define UPROBE_XOL_SLOT_BYTES AARCH64_INSN_SIZE + +typedef __le32 uprobe_opcode_t; + +struct arch_uprobe_task { +}; + +struct arch_uprobe { + union { + __le32 insn; + __le32 ixol; + }; + struct arch_probe_insn api; + bool simulate; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/events.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/events.h index e82ec63c14..2788e95d0f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/events.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/asm/xen/events.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_ARM64_XEN_EVENTS_H -#define _ASM_ARM64_XEN_EVENTS_H - -#include -#include - -enum ipi_vector { - XEN_PLACEHOLDER_VECTOR, - - /* Xen IPIs go here */ - XEN_NR_IPIS, -}; - -static inline int xen_irqs_disabled(struct pt_regs *regs) -{ - return !interrupts_enabled(regs); -} - -#define xchg_xen_ulong(ptr, val) xchg((ptr), (val)) - -/* Rebind event channel is supported by default */ -static inline bool xen_support_evtchn_rebind(void) -{ - return true; -} - -#endif /* _ASM_ARM64_XEN_EVENTS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_ARM64_XEN_EVENTS_H +#define _ASM_ARM64_XEN_EVENTS_H + +#include +#include + +enum ipi_vector { + XEN_PLACEHOLDER_VECTOR, + + /* Xen IPIs go here */ + XEN_NR_IPIS, +}; + +static inline int xen_irqs_disabled(struct pt_regs *regs) +{ + return !interrupts_enabled(regs); +} + +#define xchg_xen_ulong(ptr, val) xchg((ptr), (val)) + +/* Rebind event channel is supported by default */ +static inline bool xen_support_evtchn_rebind(void) +{ + return true; +} + +#endif /* _ASM_ARM64_XEN_EVENTS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/mman.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/mman.h index 6136ea332f..e7e0c82162 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/mman.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/include/uapi/asm/mman.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI__ASM_MMAN_H -#define _UAPI__ASM_MMAN_H - -#include - -#define PROT_BTI 0x10 /* BTI guarded page */ -#define PROT_MTE 0x20 /* Normal Tagged mapping */ - -/* Override any generic PKEY permission defines */ -#define PKEY_DISABLE_EXECUTE 0x4 -#define PKEY_DISABLE_READ 0x8 -#undef PKEY_ACCESS_MASK -#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\ - PKEY_DISABLE_WRITE |\ - PKEY_DISABLE_READ |\ - PKEY_DISABLE_EXECUTE) - -#endif /* ! _UAPI__ASM_MMAN_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI__ASM_MMAN_H +#define _UAPI__ASM_MMAN_H + +#include + +#define PROT_BTI 0x10 /* BTI guarded page */ +#define PROT_MTE 0x20 /* Normal Tagged mapping */ + +/* Override any generic PKEY permission defines */ +#define PKEY_DISABLE_EXECUTE 0x4 +#define PKEY_DISABLE_READ 0x8 +#undef PKEY_ACCESS_MASK +#define PKEY_ACCESS_MASK (PKEY_DISABLE_ACCESS |\ + PKEY_DISABLE_WRITE |\ + PKEY_DISABLE_READ |\ + PKEY_DISABLE_EXECUTE) + +#endif /* ! _UAPI__ASM_MMAN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/kprobes_trampoline.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/kprobes_trampoline.S index fbfe030504..a362f3dbb3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/kprobes_trampoline.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/probes/kprobes_trampoline.S @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * trampoline entry and return code for kretprobes. - */ - -#include -#include -#include - - .text - -SYM_CODE_START(__kretprobe_trampoline) - /* - * Trigger a breakpoint exception. The PC will be adjusted by - * kretprobe_breakpoint_handler(), and no subsequent instructions will - * be executed from the trampoline. - */ - brk #KRETPROBES_BRK_IMM - ASM_BUG() -SYM_CODE_END(__kretprobe_trampoline) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * trampoline entry and return code for kretprobes. + */ + +#include +#include +#include + + .text + +SYM_CODE_START(__kretprobe_trampoline) + /* + * Trigger a breakpoint exception. The PC will be adjusted by + * kretprobe_breakpoint_handler(), and no subsequent instructions will + * be executed from the trampoline. + */ + brk #KRETPROBES_BRK_IMM + ASM_BUG() +SYM_CODE_END(__kretprobe_trampoline) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso-wrap.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso-wrap.S index f9985bc78f..c4b1990bf2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso-wrap.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso-wrap.S @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Limited - * - * Author: Will Deacon - */ - -#include -#include -#include -#include -#include - - .globl vdso_start, vdso_end - .section .rodata - .balign PAGE_SIZE -vdso_start: - .incbin "arch/arm64/kernel/vdso/vdso.so" - .balign PAGE_SIZE -vdso_end: - - .previous - -emit_aarch64_feature_1_and +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Limited + * + * Author: Will Deacon + */ + +#include +#include +#include +#include +#include + + .globl vdso_start, vdso_end + .section .rodata + .balign PAGE_SIZE +vdso_start: + .incbin "arch/arm64/kernel/vdso/vdso.so" + .balign PAGE_SIZE +vdso_end: + + .previous + +emit_aarch64_feature_1_and diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/gen_vdso_offsets.sh old mode 100644 new mode 100755 index 6b66860e61..0387209d65 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/gen_vdso_offsets.sh @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Author: Will Deacon -# - -LC_ALL=C -sed -n -e 's/^00*/0/' -e \ -'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# +# Doing this inside the Makefile will break the $(filter-out) function, +# causing Kbuild to rebuild the vdso-offsets header file every time. +# +# Author: Will Deacon +# + +LC_ALL=C +sed -n -e 's/^00*/0/' -e \ +'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2 0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/note.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/note.S index fdeeaaf5e7..3d4e82290c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/note.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/note.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2012 ARM Limited - * - * Author: Will Deacon - * - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include -#include -#include - -ELFNOTE_START(Linux, 0, "a") - .long LINUX_VERSION_CODE -ELFNOTE_END - -BUILD_SALT - -emit_aarch64_feature_1_and +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2012 ARM Limited + * + * Author: Will Deacon + * + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include +#include +#include + +ELFNOTE_START(Linux, 0, "a") + .long LINUX_VERSION_CODE +ELFNOTE_END + +BUILD_SALT + +emit_aarch64_feature_1_and diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgetrandom.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgetrandom.c index f8ea5917a9..832fe19529 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgetrandom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso/vgetrandom.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include - -typeof(__cvdso_getrandom) __kernel_getrandom; - -ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) -{ - if (alternative_has_cap_likely(ARM64_HAS_FPSIMD)) - return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); - - if (unlikely(opaque_len == ~0UL && !buffer && !len && !flags)) - return -ENOSYS; - return getrandom_syscall(buffer, len, flags); -} +// SPDX-License-Identifier: GPL-2.0 + +#include + +typeof(__cvdso_getrandom) __kernel_getrandom; + +ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) +{ + if (alternative_has_cap_likely(ARM64_HAS_FPSIMD)) + return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); + + if (unlikely(opaque_len == ~0UL && !buffer && !len && !flags)) + return -ENOSYS; + return getrandom_syscall(buffer, len, flags); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32-wrap.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32-wrap.S index 31f35b0c6a..e72ac7bc4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32-wrap.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32-wrap.S @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2012 ARM Limited - */ - -#include -#include -#include -#include - - .globl vdso32_start, vdso32_end - .section .rodata - .balign PAGE_SIZE -vdso32_start: - .incbin "arch/arm64/kernel/vdso32/vdso.so" - .balign PAGE_SIZE -vdso32_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2012 ARM Limited + */ + +#include +#include +#include +#include + + .globl vdso32_start, vdso32_end + .section .rodata + .balign PAGE_SIZE +vdso32_start: + .incbin "arch/arm64/kernel/vdso32/vdso.so" + .balign PAGE_SIZE +vdso32_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/note.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/note.c index fbcd02b628..eff5bf9efb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/note.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kernel/vdso32/note.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2012-2018 ARM Limited - * - * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. - * Here we can supply some information useful to userland. - */ - -#include -#include -#include -#include - -ELFNOTE32("Linux", 0, LINUX_VERSION_CODE); -BUILD_SALT; +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2012-2018 ARM Limited + * + * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. + * Here we can supply some information useful to userland. + */ + +#include +#include +#include +#include + +ELFNOTE32("Linux", 0, LINUX_VERSION_CODE); +BUILD_SALT; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/fpsimd.S b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/fpsimd.S index 4f368a0847..e950875e31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/fpsimd.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/fpsimd.S @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2015 - ARM Ltd - * Author: Marc Zyngier - */ - -#include - -#include - - .text - -SYM_FUNC_START(__fpsimd_save_state) - fpsimd_save x0, 1 - ret -SYM_FUNC_END(__fpsimd_save_state) - -SYM_FUNC_START(__fpsimd_restore_state) - fpsimd_restore x0, 1 - ret -SYM_FUNC_END(__fpsimd_restore_state) - -SYM_FUNC_START(__sve_restore_state) - mov x2, #1 - sve_load 0, x1, x2, 3 - ret -SYM_FUNC_END(__sve_restore_state) - -SYM_FUNC_START(__sve_save_state) - mov x2, #1 - sve_save 0, x1, x2, 3 - ret -SYM_FUNC_END(__sve_save_state) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2015 - ARM Ltd + * Author: Marc Zyngier + */ + +#include + +#include + + .text + +SYM_FUNC_START(__fpsimd_save_state) + fpsimd_save x0, 1 + ret +SYM_FUNC_END(__fpsimd_save_state) + +SYM_FUNC_START(__fpsimd_restore_state) + fpsimd_restore x0, 1 + ret +SYM_FUNC_END(__fpsimd_restore_state) + +SYM_FUNC_START(__sve_restore_state) + mov x2, #1 + sve_load 0, x1, x2, 3 + ret +SYM_FUNC_END(__sve_restore_state) + +SYM_FUNC_START(__sve_save_state) + mov x2, #1 + sve_save 0, x1, x2, 3 + ret +SYM_FUNC_END(__sve_save_state) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/early_alloc.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/early_alloc.h index bbe7132df2..dc61aaa56f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/early_alloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/early_alloc.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __KVM_HYP_EARLY_ALLOC_H -#define __KVM_HYP_EARLY_ALLOC_H - -#include - -void hyp_early_alloc_init(void *virt, unsigned long size); -unsigned long hyp_early_alloc_nr_used_pages(void); -void *hyp_early_alloc_page(void *arg); -void *hyp_early_alloc_contig(unsigned int nr_pages); - -extern struct kvm_pgtable_mm_ops hyp_early_alloc_mm_ops; - -#endif /* __KVM_HYP_EARLY_ALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __KVM_HYP_EARLY_ALLOC_H +#define __KVM_HYP_EARLY_ALLOC_H + +#include + +void hyp_early_alloc_init(void *virt, unsigned long size); +unsigned long hyp_early_alloc_nr_used_pages(void); +void *hyp_early_alloc_page(void *arg); +void *hyp_early_alloc_contig(unsigned int nr_pages); + +extern struct kvm_pgtable_mm_ops hyp_early_alloc_mm_ops; + +#endif /* __KVM_HYP_EARLY_ALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/ffa.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/ffa.h index 3804a5678c..146e0aebfa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/ffa.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/ffa.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2022 - Google LLC - * Author: Andrew Walbran - */ -#ifndef __KVM_HYP_FFA_H -#define __KVM_HYP_FFA_H - -#include - -#define FFA_MIN_FUNC_NUM 0x60 -#define FFA_MAX_FUNC_NUM 0xFF - -int hyp_ffa_init(void *pages); -bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id); - -#endif /* __KVM_HYP_FFA_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2022 - Google LLC + * Author: Andrew Walbran + */ +#ifndef __KVM_HYP_FFA_H +#define __KVM_HYP_FFA_H + +#include + +#define FFA_MIN_FUNC_NUM 0x60 +#define FFA_MAX_FUNC_NUM 0xFF + +int hyp_ffa_init(void *pages); +bool kvm_host_ffa_handler(struct kvm_cpu_context *host_ctxt, u32 func_id); + +#endif /* __KVM_HYP_FFA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/trap_handler.h b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/trap_handler.h index 9836a3e54b..45a84f0ade 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/trap_handler.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/include/nvhe/trap_handler.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Trap handler helpers. - * - * Copyright (C) 2020 - Google LLC - * Author: Marc Zyngier - */ - -#ifndef __ARM64_KVM_NVHE_TRAP_HANDLER_H__ -#define __ARM64_KVM_NVHE_TRAP_HANDLER_H__ - -#include - -#define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] -#define DECLARE_REG(type, name, ctxt, reg) \ - type name = (type)cpu_reg(ctxt, (reg)) - -void __pkvm_vcpu_init_traps(struct kvm_vcpu *vcpu); - -#endif /* __ARM64_KVM_NVHE_TRAP_HANDLER_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Trap handler helpers. + * + * Copyright (C) 2020 - Google LLC + * Author: Marc Zyngier + */ + +#ifndef __ARM64_KVM_NVHE_TRAP_HANDLER_H__ +#define __ARM64_KVM_NVHE_TRAP_HANDLER_H__ + +#include + +#define cpu_reg(ctxt, r) (ctxt)->regs.regs[r] +#define DECLARE_REG(type, name, ctxt, reg) \ + type name = (type)cpu_reg(ctxt, (reg)) + +void __pkvm_vcpu_init_traps(struct kvm_vcpu *vcpu); + +#endif /* __ARM64_KVM_NVHE_TRAP_HANDLER_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/Makefile index 0e5d5cc424..afc4aed923 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for Kernel-based Virtual Machine module, HYP/VHE part -# - -asflags-y := -D__KVM_VHE_HYPERVISOR__ -ccflags-y := -D__KVM_VHE_HYPERVISOR__ - -CFLAGS_switch.o += -Wno-override-init - -obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o -obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \ - ../fpsimd.o ../hyp-entry.o ../exception.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for Kernel-based Virtual Machine module, HYP/VHE part +# + +asflags-y := -D__KVM_VHE_HYPERVISOR__ +ccflags-y := -D__KVM_VHE_HYPERVISOR__ + +CFLAGS_switch.o += -Wno-override-init + +obj-y := timer-sr.o sysreg-sr.o debug-sr.o switch.o tlb.o +obj-y += ../vgic-v3-sr.o ../aarch32.o ../vgic-v2-cpuif-proxy.o ../entry.o \ + ../fpsimd.o ../hyp-entry.o ../exception.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/debug-sr.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/debug-sr.c index 6947e39d26..289689b268 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/debug-sr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/kvm/hyp/vhe/debug-sr.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2015 - ARM Ltd - * Author: Marc Zyngier - */ - -#include - -#include - -#include - -void __debug_switch_to_guest(struct kvm_vcpu *vcpu) -{ - __debug_switch_to_guest_common(vcpu); -} - -void __debug_switch_to_host(struct kvm_vcpu *vcpu) -{ - __debug_switch_to_host_common(vcpu); -} - -u64 __kvm_get_mdcr_el2(void) -{ - return read_sysreg(mdcr_el2); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2015 - ARM Ltd + * Author: Marc Zyngier + */ + +#include + +#include + +#include + +void __debug_switch_to_guest(struct kvm_vcpu *vcpu) +{ + __debug_switch_to_guest_common(vcpu); +} + +void __debug_switch_to_host(struct kvm_vcpu *vcpu) +{ + __debug_switch_to_host_common(vcpu); +} + +u64 __kvm_get_mdcr_el2(void) +{ + return read_sysreg(mdcr_el2); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/error-inject.c index 1d2ca8da24..ed15021da3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/lib/error-inject.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - /* - * 'regs' represents the state on entry of a predefined function in - * the kernel/module and which is captured on a kprobe. - * - * When kprobe returns back from exception it will override the end - * of probed function and directly return to the predefined - * function's caller. - */ - instruction_pointer_set(regs, procedure_link_pointer(regs)); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + /* + * 'regs' represents the state on entry of a predefined function in + * the kernel/module and which is captured on a kprobe. + * + * When kprobe returns back from exception it will override the end + * of probed function and directly return to the predefined + * function's caller. + */ + instruction_pointer_set(regs, procedure_link_pointer(regs)); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/ptdump_debugfs.c b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/ptdump_debugfs.c index 054b56a00b..1e308328c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/ptdump_debugfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/arm64/mm/ptdump_debugfs.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -#include - -static int ptdump_show(struct seq_file *m, void *v) -{ - struct ptdump_info *info = m->private; - - ptdump_walk(m, info); - return 0; -} -DEFINE_SHOW_ATTRIBUTE(ptdump); - -void __init ptdump_debugfs_register(struct ptdump_info *info, const char *name) -{ - debugfs_create_file(name, 0400, NULL, info, &ptdump_fops); -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +#include + +static int ptdump_show(struct seq_file *m, void *v) +{ + struct ptdump_info *info = m->private; + + ptdump_walk(m, info); + return 0; +} +DEFINE_SHOW_ATTRIBUTE(ptdump); + +void __init ptdump_debugfs_register(struct ptdump_info *info, const char *name) +{ + debugfs_create_file(name, 0400, NULL, info, &ptdump_fops); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/reg_ops.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/reg_ops.h index d63e5669e9..abd01a2433 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/reg_ops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/reg_ops.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_REG_OPS_H -#define __ABI_REG_OPS_H -#include - -#define cprcr(reg) \ -({ \ - unsigned int tmp; \ - asm volatile("cprcr %0, "reg"\n":"=b"(tmp)); \ - tmp; \ -}) - -#define cpwcr(reg, val) \ -({ \ - asm volatile("cpwcr %0, "reg"\n"::"b"(val)); \ -}) - -static inline unsigned int mfcr_hint(void) -{ - return mfcr("cr30"); -} - -static inline unsigned int mfcr_ccr2(void) { return 0; } - -#endif /* __ABI_REG_OPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_REG_OPS_H +#define __ABI_REG_OPS_H +#include + +#define cprcr(reg) \ +({ \ + unsigned int tmp; \ + asm volatile("cprcr %0, "reg"\n":"=b"(tmp)); \ + tmp; \ +}) + +#define cpwcr(reg, val) \ +({ \ + asm volatile("cpwcr %0, "reg"\n"::"b"(val)); \ +}) + +static inline unsigned int mfcr_hint(void) +{ + return mfcr("cr30"); +} + +static inline unsigned int mfcr_ccr2(void) { return 0; } + +#endif /* __ABI_REG_OPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/regdef.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/regdef.h index d74354f7dd..7b386fd670 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/regdef.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/regdef.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_REGDEF_H -#define __ASM_CSKY_REGDEF_H - -#ifdef __ASSEMBLY__ -#define syscallid r1 -#else -#define syscallid "r1" -#endif - -#define regs_syscallid(regs) regs->regs[9] -#define regs_fp(regs) regs->regs[2] - -/* - * PSR format: - * | 31 | 30-24 | 23-16 | 15 14 | 13-0 | - * S CPID VEC TM - * - * S: Super Mode - * CPID: Coprocessor id, only 15 for MMU - * VEC: Exception Number - * TM: Trace Mode - */ -#define DEFAULT_PSR_VALUE 0x8f000000 - -#define SYSTRACE_SAVENUM 2 - -#define TRAP0_SIZE 2 - -#endif /* __ASM_CSKY_REGDEF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_REGDEF_H +#define __ASM_CSKY_REGDEF_H + +#ifdef __ASSEMBLY__ +#define syscallid r1 +#else +#define syscallid "r1" +#endif + +#define regs_syscallid(regs) regs->regs[9] +#define regs_fp(regs) regs->regs[2] + +/* + * PSR format: + * | 31 | 30-24 | 23-16 | 15 14 | 13-0 | + * S CPID VEC TM + * + * S: Super Mode + * CPID: Coprocessor id, only 15 for MMU + * VEC: Exception Number + * TM: Trace Mode + */ +#define DEFAULT_PSR_VALUE 0x8f000000 + +#define SYSTRACE_SAVENUM 2 + +#define TRAP0_SIZE 2 + +#endif /* __ASM_CSKY_REGDEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/string.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/string.h index a142982d01..de50117b90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv1/inc/abi/string.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_STRING_H -#define __ABI_CSKY_STRING_H - -#define __HAVE_ARCH_MEMCPY -extern void *memcpy(void *, const void *, __kernel_size_t); - -#define __HAVE_ARCH_MEMMOVE -extern void *memmove(void *, const void *, __kernel_size_t); - -#define __HAVE_ARCH_MEMSET -extern void *memset(void *, int, __kernel_size_t); - -#endif /* __ABI_CSKY_STRING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_STRING_H +#define __ABI_CSKY_STRING_H + +#define __HAVE_ARCH_MEMCPY +extern void *memcpy(void *, const void *, __kernel_size_t); + +#define __HAVE_ARCH_MEMMOVE +extern void *memmove(void *, const void *, __kernel_size_t); + +#define __HAVE_ARCH_MEMSET +extern void *memset(void *, int, __kernel_size_t); + +#endif /* __ABI_CSKY_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/Makefile index 4f6c8d72f3..ea8005fe01 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += cacheflush.o -obj-$(CONFIG_CPU_HAS_FPU) += fpu.o -obj-y += memcmp.o -ifeq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y) -obj-y += memcpy.o -obj-y += memmove.o -obj-y += memset.o -endif -obj-y += strcmp.o -obj-y += strcpy.o -obj-y += strlen.o -obj-y += strksyms.o -obj-$(CONFIG_FUNCTION_TRACER) += mcount.o +# SPDX-License-Identifier: GPL-2.0-only +obj-y += cacheflush.o +obj-$(CONFIG_CPU_HAS_FPU) += fpu.o +obj-y += memcmp.o +ifeq ($(CONFIG_HAVE_EFFICIENT_UNALIGNED_STRING_OPS), y) +obj-y += memcpy.o +obj-y += memmove.o +obj-y += memset.o +endif +obj-y += strcmp.o +obj-y += strcpy.o +obj-y += strlen.o +obj-y += strksyms.o +obj-$(CONFIG_FUNCTION_TRACER) += mcount.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/regdef.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/regdef.h index 3e79c359cb..0933addbc2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/regdef.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/regdef.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_REGDEF_H -#define __ASM_CSKY_REGDEF_H - -#ifdef __ASSEMBLY__ -#define syscallid r7 -#else -#define syscallid "r7" -#endif - -#define regs_syscallid(regs) regs->regs[3] -#define regs_fp(regs) regs->regs[4] - -/* - * PSR format: - * | 31 | 30-24 | 23-16 | 15 14 | 13-10 | 9 | 8-0 | - * S VEC TM MM - * - * S: Super Mode - * VEC: Exception Number - * TM: Trace Mode - * MM: Memory unaligned addr access - */ -#define DEFAULT_PSR_VALUE 0x80000200 - -#define SYSTRACE_SAVENUM 5 - -#define TRAP0_SIZE 4 - -#endif /* __ASM_CSKY_REGDEF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_REGDEF_H +#define __ASM_CSKY_REGDEF_H + +#ifdef __ASSEMBLY__ +#define syscallid r7 +#else +#define syscallid "r7" +#endif + +#define regs_syscallid(regs) regs->regs[3] +#define regs_fp(regs) regs->regs[4] + +/* + * PSR format: + * | 31 | 30-24 | 23-16 | 15 14 | 13-10 | 9 | 8-0 | + * S VEC TM MM + * + * S: Super Mode + * VEC: Exception Number + * TM: Trace Mode + * MM: Memory unaligned addr access + */ +#define DEFAULT_PSR_VALUE 0x80000200 + +#define SYSTRACE_SAVENUM 5 + +#define TRAP0_SIZE 4 + +#endif /* __ASM_CSKY_REGDEF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/switch_context.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/switch_context.h index 3b677d3350..5dd5c3f4ee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/switch_context.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/inc/abi/switch_context.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ABI_CSKY_PTRACE_H -#define __ABI_CSKY_PTRACE_H - -struct switch_stack { -#ifdef CONFIG_CPU_HAS_HILO - unsigned long rhi; - unsigned long rlo; - unsigned long cr14; - unsigned long pad; -#endif - unsigned long r4; - unsigned long r5; - unsigned long r6; - unsigned long r7; - unsigned long r8; - unsigned long r9; - unsigned long r10; - unsigned long r11; - - unsigned long r15; - unsigned long r16; - unsigned long r17; - unsigned long r26; - unsigned long r27; - unsigned long r28; - unsigned long r29; - unsigned long r30; -}; -#endif /* __ABI_CSKY_PTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ABI_CSKY_PTRACE_H +#define __ABI_CSKY_PTRACE_H + +struct switch_stack { +#ifdef CONFIG_CPU_HAS_HILO + unsigned long rhi; + unsigned long rlo; + unsigned long cr14; + unsigned long pad; +#endif + unsigned long r4; + unsigned long r5; + unsigned long r6; + unsigned long r7; + unsigned long r8; + unsigned long r9; + unsigned long r10; + unsigned long r11; + + unsigned long r15; + unsigned long r16; + unsigned long r17; + unsigned long r26; + unsigned long r27; + unsigned long r28; + unsigned long r29; + unsigned long r30; +}; +#endif /* __ABI_CSKY_PTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/sysdep.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/sysdep.h index 6dd54f721e..61abe9201c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/sysdep.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/abiv2/sysdep.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __SYSDEP_H -#define __SYSDEP_H - -#ifdef __ASSEMBLER__ - -#if defined(__CK860__) -#define LABLE_ALIGN \ - .balignw 16, 0x6c03 - -#define PRE_BNEZAD(R) - -#define BNEZAD(R, L) \ - bnezad R, L -#else -#define LABLE_ALIGN \ - .balignw 8, 0x6c03 - -#define PRE_BNEZAD(R) \ - subi R, 1 - -#define BNEZAD(R, L) \ - bnez R, L -#endif - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __SYSDEP_H +#define __SYSDEP_H + +#ifdef __ASSEMBLER__ + +#if defined(__CK860__) +#define LABLE_ALIGN \ + .balignw 16, 0x6c03 + +#define PRE_BNEZAD(R) + +#define BNEZAD(R, L) \ + bnezad R, L +#else +#define LABLE_ALIGN \ + .balignw 8, 0x6c03 + +#define PRE_BNEZAD(R) \ + subi R, 1 + +#define BNEZAD(R, L) \ + bnez R, L +#endif + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/bug.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/bug.h index 9b6660abe8..03f1a5f918 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/bug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/bug.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_BUG_H -#define __ASM_CSKY_BUG_H - -#include -#include -#include - -#define BUG() \ -do { \ - asm volatile ("bkpt\n"); \ - unreachable(); \ -} while (0) - -#define HAVE_ARCH_BUG - -#include - -struct pt_regs; - -void die(struct pt_regs *regs, const char *str); -void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr); - -void show_regs(struct pt_regs *regs); -void show_code(struct pt_regs *regs); - -#endif /* __ASM_CSKY_BUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_BUG_H +#define __ASM_CSKY_BUG_H + +#include +#include +#include + +#define BUG() \ +do { \ + asm volatile ("bkpt\n"); \ + unreachable(); \ +} while (0) + +#define HAVE_ARCH_BUG + +#include + +struct pt_regs; + +void die(struct pt_regs *regs, const char *str); +void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr); + +void show_regs(struct pt_regs *regs); +void show_code(struct pt_regs *regs); + +#endif /* __ASM_CSKY_BUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/perf_event.h index 0388373ef2..249905d8a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/perf_event.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_PERF_EVENT_H -#define __ASM_CSKY_PERF_EVENT_H - -#include - -#define perf_arch_fetch_caller_regs(regs, __ip) { \ - (regs)->pc = (__ip); \ - regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \ - asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \ -} - -#endif /* __ASM_PERF_EVENT_ELF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_PERF_EVENT_H +#define __ASM_CSKY_PERF_EVENT_H + +#include + +#define perf_arch_fetch_caller_regs(regs, __ip) { \ + (regs)->pc = (__ip); \ + regs_fp(regs) = (unsigned long) __builtin_frame_address(0); \ + asm volatile("mov %0, sp\n":"=r"((regs)->usp)); \ +} + +#endif /* __ASM_PERF_EVENT_ELF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/probes.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/probes.h index f26de1f89d..5e526334e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/probes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/probes.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_PROBES_H -#define __ASM_CSKY_PROBES_H - -typedef u32 probe_opcode_t; -typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *); - -/* architecture specific copy of original instruction */ -struct arch_probe_insn { - probe_opcode_t *insn; - probes_handler_t *handler; - /* restore address after simulation */ - unsigned long restore; -}; - -#ifdef CONFIG_KPROBES -typedef u32 kprobe_opcode_t; -struct arch_specific_insn { - struct arch_probe_insn api; -}; -#endif - -#endif /* __ASM_CSKY_PROBES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_PROBES_H +#define __ASM_CSKY_PROBES_H + +typedef u32 probe_opcode_t; +typedef void (probes_handler_t) (u32 opcode, long addr, struct pt_regs *); + +/* architecture specific copy of original instruction */ +struct arch_probe_insn { + probe_opcode_t *insn; + probes_handler_t *handler; + /* restore address after simulation */ + unsigned long restore; +}; + +#ifdef CONFIG_KPROBES +typedef u32 kprobe_opcode_t; +struct arch_specific_insn { + struct arch_probe_insn api; +}; +#endif + +#endif /* __ASM_CSKY_PROBES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/reg_ops.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/reg_ops.h index 659f86846e..cccf7d525f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/reg_ops.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/reg_ops.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_REGS_OPS_H -#define __ASM_REGS_OPS_H - -#define mfcr(reg) \ -({ \ - unsigned int tmp; \ - asm volatile( \ - "mfcr %0, "reg"\n" \ - : "=r"(tmp) \ - : \ - : "memory"); \ - tmp; \ -}) - -#define mtcr(reg, val) \ -({ \ - asm volatile( \ - "mtcr %0, "reg"\n" \ - : \ - : "r"(val) \ - : "memory"); \ -}) - -#endif /* __ASM_REGS_OPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_REGS_OPS_H +#define __ASM_REGS_OPS_H + +#define mfcr(reg) \ +({ \ + unsigned int tmp; \ + asm volatile( \ + "mfcr %0, "reg"\n" \ + : "=r"(tmp) \ + : \ + : "memory"); \ + tmp; \ +}) + +#define mtcr(reg, val) \ +({ \ + asm volatile( \ + "mtcr %0, "reg"\n" \ + : \ + : "r"(val) \ + : "memory"); \ +}) + +#endif /* __ASM_REGS_OPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/stackprotector.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/stackprotector.h index 16ef0cbe45..d237474471 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/stackprotector.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/stackprotector.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_STACKPROTECTOR_H -#define _ASM_STACKPROTECTOR_H 1 - -extern unsigned long __stack_chk_guard; - -/* - * Initialize the stackprotector canary value. - * - * NOTE: this must only be called from functions that never return, - * and it must always be inlined. - */ -static __always_inline void boot_init_stack_canary(void) -{ - unsigned long canary = get_random_canary(); - - current->stack_canary = canary; - __stack_chk_guard = current->stack_canary; -} - -#endif /* __ASM_SH_STACKPROTECTOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_STACKPROTECTOR_H +#define _ASM_STACKPROTECTOR_H 1 + +extern unsigned long __stack_chk_guard; + +/* + * Initialize the stackprotector canary value. + * + * NOTE: this must only be called from functions that never return, + * and it must always be inlined. + */ +static __always_inline void boot_init_stack_canary(void) +{ + unsigned long canary = get_random_canary(); + + current->stack_canary = canary; + __stack_chk_guard = current->stack_canary; +} + +#endif /* __ASM_SH_STACKPROTECTOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/syscalls.h index 42ffba92a4..ea9ce6138b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/syscalls.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_CSKY_SYSCALLS_H -#define __ASM_CSKY_SYSCALLS_H - -#include - -long sys_cacheflush(void __user *, unsigned long, int); - -long sys_set_thread_area(unsigned long addr); - -long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len); - -#endif /* __ASM_CSKY_SYSCALLS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_CSKY_SYSCALLS_H +#define __ASM_CSKY_SYSCALLS_H + +#include + +long sys_cacheflush(void __user *, unsigned long, int); + +long sys_set_thread_area(unsigned long addr); + +long sys_csky_fadvise64_64(int fd, int advice, loff_t offset, loff_t len); + +#endif /* __ASM_CSKY_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/vsyscall.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/vsyscall.h index e3cb9a92ee..c276211a7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/vsyscall.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/include/asm/vdso/vsyscall.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef __ASM_VDSO_CSKY_VSYSCALL_H -#define __ASM_VDSO_CSKY_VSYSCALL_H - -#ifndef __ASSEMBLY__ - -#include - -extern struct vdso_data *vdso_data; - -static __always_inline struct vdso_data *__csky_get_k_vdso_data(void) -{ - return vdso_data; -} -#define __arch_get_k_vdso_data __csky_get_k_vdso_data - -#include - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_VDSO_CSKY_VSYSCALL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef __ASM_VDSO_CSKY_VSYSCALL_H +#define __ASM_VDSO_CSKY_VSYSCALL_H + +#ifndef __ASSEMBLY__ + +#include + +extern struct vdso_data *vdso_data; + +static __always_inline struct vdso_data *__csky_get_k_vdso_data(void) +{ + return vdso_data; +} +#define __arch_get_k_vdso_data __csky_get_k_vdso_data + +#include + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_VDSO_CSKY_VSYSCALL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/power.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/power.c index 6ed7a9fd7c..86ee202906 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/power.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/power.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include - -void (*pm_power_off)(void); -EXPORT_SYMBOL(pm_power_off); - -void machine_power_off(void) -{ - local_irq_disable(); - do_kernel_power_off(); - asm volatile ("bkpt"); -} - -void machine_halt(void) -{ - local_irq_disable(); - do_kernel_power_off(); - asm volatile ("bkpt"); -} - -void machine_restart(char *cmd) -{ - local_irq_disable(); - do_kernel_restart(cmd); - asm volatile ("bkpt"); -} +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include + +void (*pm_power_off)(void); +EXPORT_SYMBOL(pm_power_off); + +void machine_power_off(void) +{ + local_irq_disable(); + do_kernel_power_off(); + asm volatile ("bkpt"); +} + +void machine_halt(void) +{ + local_irq_disable(); + do_kernel_power_off(); + asm volatile ("bkpt"); +} + +void machine_restart(char *cmd) +{ + local_irq_disable(); + do_kernel_restart(cmd); + asm volatile ("bkpt"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/decode-insn.h b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/decode-insn.h index a3c5a329a4..9c4ad48fee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/decode-insn.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/probes/decode-insn.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef __CSKY_KERNEL_KPROBES_DECODE_INSN_H -#define __CSKY_KERNEL_KPROBES_DECODE_INSN_H - -#include -#include - -enum probe_insn { - INSN_REJECTED, - INSN_GOOD_NO_SLOT, - INSN_GOOD, -}; - -#define is_insn32(insn) ((insn & 0xc000) == 0xc000) - -enum probe_insn __kprobes -csky_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *asi); - -#endif /* __CSKY_KERNEL_KPROBES_DECODE_INSN_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef __CSKY_KERNEL_KPROBES_DECODE_INSN_H +#define __CSKY_KERNEL_KPROBES_DECODE_INSN_H + +#include +#include + +enum probe_insn { + INSN_REJECTED, + INSN_GOOD_NO_SLOT, + INSN_GOOD, +}; + +#define is_insn32(insn) ((insn & 0xc000) == 0xc000) + +enum probe_insn __kprobes +csky_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *asi); + +#endif /* __CSKY_KERNEL_KPROBES_DECODE_INSN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall_table.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall_table.c index 521f7bbe87..a6eb91a0e2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall_table.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/kernel/syscall_table.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include - -#undef __SYSCALL -#define __SYSCALL(nr, call)[nr] = (call), -#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) - -#define sys_fadvise64_64 sys_csky_fadvise64_64 -#define sys_sync_file_range sys_sync_file_range2 -void * const sys_call_table[__NR_syscalls] __page_aligned_data = { - [0 ... __NR_syscalls - 1] = sys_ni_syscall, -#include -}; +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include + +#undef __SYSCALL +#define __SYSCALL(nr, call)[nr] = (call), +#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) + +#define sys_fadvise64_64 sys_csky_fadvise64_64 +#define sys_sync_file_range sys_sync_file_range2 +void * const sys_call_table[__NR_syscalls] __page_aligned_data = { + [0 ... __NR_syscalls - 1] = sys_ni_syscall, +#include +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/Makefile index 43ddea3d1a..6e7696e55f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0-only -ifeq ($(CONFIG_CPU_HAS_CACHEV2),y) -obj-y += cachev2.o -CFLAGS_REMOVE_cachev2.o = $(CC_FLAGS_FTRACE) -else -obj-y += cachev1.o -CFLAGS_REMOVE_cachev1.o = $(CC_FLAGS_FTRACE) -endif - -obj-y += dma-mapping.o -obj-y += fault.o -obj-$(CONFIG_HIGHMEM) += highmem.o -obj-y += init.o -obj-y += ioremap.o -obj-y += syscache.o -obj-y += tlb.o -obj-y += asid.o -obj-y += context.o -obj-$(CONFIG_HAVE_TCM) += tcm.o +# SPDX-License-Identifier: GPL-2.0-only +ifeq ($(CONFIG_CPU_HAS_CACHEV2),y) +obj-y += cachev2.o +CFLAGS_REMOVE_cachev2.o = $(CC_FLAGS_FTRACE) +else +obj-y += cachev1.o +CFLAGS_REMOVE_cachev1.o = $(CC_FLAGS_FTRACE) +endif + +obj-y += dma-mapping.o +obj-y += fault.o +obj-$(CONFIG_HIGHMEM) += highmem.o +obj-y += init.o +obj-y += ioremap.o +obj-y += syscache.o +obj-y += tlb.o +obj-y += asid.o +obj-y += context.o +obj-$(CONFIG_HAVE_TCM) += tcm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/ioremap.c b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/ioremap.c index aa7d5af44b..70c8268d3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/ioremap.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/csky/mm/ioremap.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. - -#include -#include -#include - -pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, - unsigned long size, pgprot_t vma_prot) -{ - if (!pfn_valid(pfn)) { - return pgprot_noncached(vma_prot); - } else if (file->f_flags & O_SYNC) { - return pgprot_writecombine(vma_prot); - } - - return vma_prot; -} -EXPORT_SYMBOL(phys_mem_access_prot); +// SPDX-License-Identifier: GPL-2.0 +// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd. + +#include +#include +#include + +pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, + unsigned long size, pgprot_t vma_prot) +{ + if (!pfn_valid(pfn)) { + return pgprot_noncached(vma_prot); + } else if (file->f_flags & O_SYNC) { + return pgprot_writecombine(vma_prot); + } + + return vma_prot; +} +EXPORT_SYMBOL(phys_mem_access_prot); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/cache.h index 218dacd5b2..931719dfad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/cache.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Cache definitions for the Hexagon architecture - * - * Copyright (c) 2010-2011,2014 The Linux Foundation. All rights reserved. - */ - -#ifndef __ASM_CACHE_H -#define __ASM_CACHE_H - -/* Bytes per L1 cache line */ -#define L1_CACHE_SHIFT (5) -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define ARCH_DMA_MINALIGN L1_CACHE_BYTES - -#define __cacheline_aligned __aligned(L1_CACHE_BYTES) -#define ____cacheline_aligned __aligned(L1_CACHE_BYTES) - -/* See http://lwn.net/Articles/262554/ */ -#define __read_mostly - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Cache definitions for the Hexagon architecture + * + * Copyright (c) 2010-2011,2014 The Linux Foundation. All rights reserved. + */ + +#ifndef __ASM_CACHE_H +#define __ASM_CACHE_H + +/* Bytes per L1 cache line */ +#define L1_CACHE_SHIFT (5) +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define ARCH_DMA_MINALIGN L1_CACHE_BYTES + +#define __cacheline_aligned __aligned(L1_CACHE_BYTES) +#define ____cacheline_aligned __aligned(L1_CACHE_BYTES) + +/* See http://lwn.net/Articles/262554/ */ +#define __read_mostly + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/exec.h index 4d30974c59..bb79e23db0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/exec.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Process execution related definitions for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_EXEC_H -#define _ASM_EXEC_H - -/* Should probably shoot for an 8-byte aligned stack pointer */ -#define STACK_MASK (~7) -#define arch_align_stack(x) (x & STACK_MASK) - -#endif /* _ASM_EXEC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Process execution related definitions for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_EXEC_H +#define _ASM_EXEC_H + +/* Should probably shoot for an 8-byte aligned stack pointer */ +#define STACK_MASK (~7) +#define arch_align_stack(x) (x & STACK_MASK) + +#endif /* _ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fixmap.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fixmap.h index 8f9a3090f5..920660a04a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fixmap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/fixmap.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Fixmap support for Hexagon - enough to support highmem features - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_FIXMAP_H -#define _ASM_FIXMAP_H - -/* - * A lot of the fixmap info is already in mem-layout.h - */ -#include - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Fixmap support for Hexagon - enough to support highmem features + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_FIXMAP_H +#define _ASM_FIXMAP_H + +/* + * A lot of the fixmap info is already in mem-layout.h + */ +#include + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/intrinsics.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/intrinsics.h index 055d1c59fb..e8d6683926 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/intrinsics.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/intrinsics.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_HEXAGON_INTRINSICS_H -#define _ASM_HEXAGON_INTRINSICS_H - -#define HEXAGON_P_vrmpyhacc_PP __builtin_HEXAGON_M2_vrmac_s0 -#define HEXAGON_P_vrmpyh_PP __builtin_HEXAGON_M2_vrmpy_s0 -#define HEXAGON_R_cl0_R __builtin_HEXAGON_S2_cl0 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_HEXAGON_INTRINSICS_H +#define _ASM_HEXAGON_INTRINSICS_H + +#define HEXAGON_P_vrmpyhacc_PP __builtin_HEXAGON_M2_vrmac_s0 +#define HEXAGON_P_vrmpyh_PP __builtin_HEXAGON_M2_vrmpy_s0 +#define HEXAGON_R_cl0_R __builtin_HEXAGON_S2_cl0 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irq.h index b977ca1d48..a60d26754c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/irq.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_IRQ_H_ -#define _ASM_IRQ_H_ - -/* Number of first-level interrupts associated with the CPU core. */ -#define HEXAGON_CPUINTS 32 - -/* - * Must define NR_IRQS before including - * 64 == the two SIRC's, 176 == the two gpio's - * - * IRQ configuration is still in flux; defining this to a comfortably - * large number. - */ -#define NR_IRQS 512 - -#include - -struct pt_regs; -void arch_do_IRQ(struct pt_regs *); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_IRQ_H_ +#define _ASM_IRQ_H_ + +/* Number of first-level interrupts associated with the CPU core. */ +#define HEXAGON_CPUINTS 32 + +/* + * Must define NR_IRQS before including + * 64 == the two SIRC's, 176 == the two gpio's + * + * IRQ configuration is still in flux; defining this to a comfortably + * large number. + */ +#define NR_IRQS 512 + +#include + +struct pt_regs; +void arch_do_IRQ(struct pt_regs *); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/mmu.h index 27724f5278..dfa46660d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/mmu.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_MMU_H -#define _ASM_MMU_H - -#include - -/* - * Architecture-specific state for a mm_struct. - * For the Hexagon Virtual Machine, it can be a copy - * of the pointer to the page table base. - */ -struct mm_context { - unsigned long long generation; - unsigned long ptbase; - struct hexagon_vdso *vdso; -}; - -typedef struct mm_context mm_context_t; - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_MMU_H +#define _ASM_MMU_H + +#include + +/* + * Architecture-specific state for a mm_struct. + * For the Hexagon Virtual Machine, it can be a copy + * of the pointer to the page table base. + */ +struct mm_context { + unsigned long long generation; + unsigned long ptbase; + struct hexagon_vdso *vdso; +}; + +typedef struct mm_context mm_context_t; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/spinlock_types.h index 23b717d088..d5f66495b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/spinlock_types.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Spinlock support for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_SPINLOCK_TYPES_H -#define _ASM_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -typedef struct { - volatile unsigned int lock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } - -typedef struct { - volatile unsigned int lock; -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED { 0 } - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Spinlock support for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_SPINLOCK_TYPES_H +#define _ASM_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +typedef struct { + volatile unsigned int lock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } + +typedef struct { + volatile unsigned int lock; +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED { 0 } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/string.h index e518255286..5972cca796 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/string.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_STRING_H_ -#define _ASM_STRING_H_ - -#ifdef __KERNEL__ -#define __HAVE_ARCH_MEMCPY -extern void *memcpy(void *__to, __const__ void *__from, size_t __n); - -/* ToDo: use dczeroa, accelerate the compiler-constant zero case */ -#define __HAVE_ARCH_MEMSET -extern void *memset(void *__to, int c, size_t __n); -#endif - - -#endif /* _ASM_STRING_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_STRING_H_ +#define _ASM_STRING_H_ + +#ifdef __KERNEL__ +#define __HAVE_ARCH_MEMCPY +extern void *memcpy(void *__to, __const__ void *__from, size_t __n); + +/* ToDo: use dczeroa, accelerate the compiler-constant zero case */ +#define __HAVE_ARCH_MEMSET +extern void *memset(void *__to, int c, size_t __n); +#endif + + +#endif /* _ASM_STRING_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/switch_to.h index 25895d58a7..8c7d13fe42 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/switch_to.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Task switching definitions for the Hexagon architecture - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_SWITCH_TO_H -#define _ASM_SWITCH_TO_H - -struct thread_struct; - -extern struct task_struct *__switch_to(struct task_struct *, - struct task_struct *, - struct task_struct *); - -#define switch_to(p, n, r) do {\ - r = __switch_to((p), (n), (r));\ -} while (0) - -#endif /* _ASM_SWITCH_TO_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Task switching definitions for the Hexagon architecture + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_SWITCH_TO_H +#define _ASM_SWITCH_TO_H + +struct thread_struct; + +extern struct task_struct *__switch_to(struct task_struct *, + struct task_struct *, + struct task_struct *); + +#define switch_to(p, n, r) do {\ + r = __switch_to((p), (n), (r));\ +} while (0) + +#endif /* _ASM_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/timex.h index 1b2bbcb518..dfe69e118b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/timex.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_TIMEX_H -#define _ASM_TIMEX_H - -#include -#include - -/* Using TCX0 as our clock. CLOCK_TICK_RATE scheduled to be removed. */ -#define CLOCK_TICK_RATE 19200 - -#define ARCH_HAS_READ_CURRENT_TIMER - -static inline int read_current_timer(unsigned long *timer_val) -{ - *timer_val = __vmgettime(); - return 0; -} - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_TIMEX_H +#define _ASM_TIMEX_H + +#include +#include + +/* Using TCX0 as our clock. CLOCK_TICK_RATE scheduled to be removed. */ +#define CLOCK_TICK_RATE 19200 + +#define ARCH_HAS_READ_CURRENT_TIMER + +static inline int read_current_timer(unsigned long *timer_val) +{ + *timer_val = __vmgettime(); + return 0; +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/traps.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/traps.h index fdb6cd8f2a..3ea5fc84c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/traps.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/traps.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Trap support for Hexagon - * - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_HEXAGON_TRAPS_H -#define _ASM_HEXAGON_TRAPS_H - -#include - -extern int die(const char *str, struct pt_regs *regs, long err); -extern int die_if_kernel(char *str, struct pt_regs *regs, long err); - -#endif /* _ASM_HEXAGON_TRAPS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Trap support for Hexagon + * + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_HEXAGON_TRAPS_H +#define _ASM_HEXAGON_TRAPS_H + +#include + +extern int die(const char *str, struct pt_regs *regs, long err); +extern int die_if_kernel(char *str, struct pt_regs *regs, long err); + +#endif /* _ASM_HEXAGON_TRAPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vm_fault.h b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vm_fault.h index 3934027f67..27842ef1dd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vm_fault.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/include/asm/vm_fault.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#ifndef _ASM_HEXAGON_VM_FAULT_H -#define _ASM_HEXAGON_VM_FAULT_H - -extern void execute_protection_fault(struct pt_regs *); -extern void write_protection_fault(struct pt_regs *); -extern void read_protection_fault(struct pt_regs *); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#ifndef _ASM_HEXAGON_VM_FAULT_H +#define _ASM_HEXAGON_VM_FAULT_H + +extern void execute_protection_fault(struct pt_regs *); +extern void write_protection_fault(struct pt_regs *); +extern void read_protection_fault(struct pt_regs *); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile index 9a1cb87a0b..3fdf937eb5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -extra-y := vmlinux.lds - -obj-y += head.o -obj-$(CONFIG_SMP) += smp.o - -obj-y += setup.o irq_cpu.o traps.o syscalltab.o signal.o time.o -obj-y += process.o trampoline.o reset.o ptrace.o vdso.o - -obj-$(CONFIG_KGDB) += kgdb.o -obj-$(CONFIG_MODULES) += module.o hexagon_ksyms.o - -# Modules required to work with the Hexagon Virtual Machine -obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o -obj-y += vm_vectors.o - -obj-$(CONFIG_HAS_DMA) += dma.o - -obj-$(CONFIG_STACKTRACE) += stacktrace.o +# SPDX-License-Identifier: GPL-2.0 +extra-y := vmlinux.lds + +obj-y += head.o +obj-$(CONFIG_SMP) += smp.o + +obj-y += setup.o irq_cpu.o traps.o syscalltab.o signal.o time.o +obj-y += process.o trampoline.o reset.o ptrace.o vdso.o + +obj-$(CONFIG_KGDB) += kgdb.o +obj-$(CONFIG_MODULES) += module.o hexagon_ksyms.o + +# Modules required to work with the Hexagon Virtual Machine +obj-y += vm_entry.o vm_events.o vm_switch.o vm_ops.o vm_init_segtable.o +obj-y += vm_vectors.o + +obj-$(CONFIG_HAS_DMA) += dma.o + +obj-$(CONFIG_STACKTRACE) += stacktrace.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/reset.c index c49917deb0..efd70a8d25 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/reset.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -#include -#include -#include - -void machine_power_off(void) -{ - smp_send_stop(); - __vmstop(); -} - -void machine_halt(void) -{ -} - -void machine_restart(char *cmd) -{ -} - -void (*pm_power_off)(void) = NULL; -EXPORT_SYMBOL(pm_power_off); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +#include +#include +#include + +void machine_power_off(void) +{ + smp_send_stop(); + __vmstop(); +} + +void machine_halt(void) +{ +} + +void machine_restart(char *cmd) +{ +} + +void (*pm_power_off)(void) = NULL; +EXPORT_SYMBOL(pm_power_off); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/trampoline.S b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/trampoline.S index 8191606232..58f631870f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/trampoline.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/hexagon/kernel/trampoline.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. - */ - -/* - * Trampoline sequences to be copied onto user stack. - * This consumes a little more space than hand-assembling - * immediate constants for use in C, but is more portable - * to future tweaks to the Hexagon instruction set. - */ - -#include - -/* Sig trampolines - call sys_sigreturn or sys_rt_sigreturn as appropriate */ - -/* plain sigreturn is gone. */ - - .globl __rt_sigtramp_template -__rt_sigtramp_template: - r6 = #__NR_rt_sigreturn; - trap0(#1); +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. + */ + +/* + * Trampoline sequences to be copied onto user stack. + * This consumes a little more space than hand-assembling + * immediate constants for use in C, but is more portable + * to future tweaks to the Hexagon instruction set. + */ + +#include + +/* Sig trampolines - call sys_sigreturn or sys_rt_sigreturn as appropriate */ + +/* plain sigreturn is gone. */ + + .globl __rt_sigtramp_template +__rt_sigtramp_template: + r6 = #__NR_rt_sigreturn; + trap0(#1); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/acenv.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/acenv.h index dd2c811403..483c955f2a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/acenv.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/acenv.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * LoongArch specific ACPICA environments and implementation - * - * Author: Jianmin Lv - * Huacai Chen - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef _ASM_LOONGARCH_ACENV_H -#define _ASM_LOONGARCH_ACENV_H - -#ifdef CONFIG_ARCH_STRICT_ALIGN -#define ACPI_MISALIGNMENT_NOT_SUPPORTED -#endif /* CONFIG_ARCH_STRICT_ALIGN */ - -#endif /* _ASM_LOONGARCH_ACENV_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * LoongArch specific ACPICA environments and implementation + * + * Author: Jianmin Lv + * Huacai Chen + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef _ASM_LOONGARCH_ACENV_H +#define _ASM_LOONGARCH_ACENV_H + +#ifdef CONFIG_ARCH_STRICT_ALIGN +#define ACPI_MISALIGNMENT_NOT_SUPPORTED +#endif /* CONFIG_ARCH_STRICT_ALIGN */ + +#endif /* _ASM_LOONGARCH_ACENV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-prototypes.h index 133d7e1056..51f224bcfc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/asm-prototypes.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include -#include -#include -#include -#include -#include - -#ifdef CONFIG_ARCH_SUPPORTS_INT128 -__int128_t __ashlti3(__int128_t a, int b); -__int128_t __ashrti3(__int128_t a, int b); -__int128_t __lshrti3(__int128_t a, int b); -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include +#include +#include +#include +#include +#include + +#ifdef CONFIG_ARCH_SUPPORTS_INT128 +__int128_t __ashlti3(__int128_t a, int b); +__int128_t __ashrti3(__int128_t a, int b); +__int128_t __lshrti3(__int128_t a, int b); +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/branch.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/branch.h index a41acfa9e5..9a133e4c06 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/branch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/branch.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_BRANCH_H -#define _ASM_BRANCH_H - -#include - -static inline unsigned long exception_era(struct pt_regs *regs) -{ - return regs->csr_era; -} - -static inline void compute_return_era(struct pt_regs *regs) -{ - regs->csr_era += 4; -} - -#endif /* _ASM_BRANCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_BRANCH_H +#define _ASM_BRANCH_H + +#include + +static inline unsigned long exception_era(struct pt_regs *regs) +{ + return regs->csr_era; +} + +static inline void compute_return_era(struct pt_regs *regs) +{ + regs->csr_era += 4; +} + +#endif /* _ASM_BRANCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cache.h index 5a8655b70c..aa622c7544 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cache.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_CACHE_H -#define _ASM_CACHE_H - -#define L1_CACHE_SHIFT CONFIG_L1_CACHE_SHIFT -#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) - -#define ARCH_DMA_MINALIGN (16) - -#define __read_mostly __section(".data..read_mostly") - -#endif /* _ASM_CACHE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_CACHE_H +#define _ASM_CACHE_H + +#define L1_CACHE_SHIFT CONFIG_L1_CACHE_SHIFT +#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT) + +#define ARCH_DMA_MINALIGN (16) + +#define __read_mostly __section(".data..read_mostly") + +#endif /* _ASM_CACHE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cpufeature.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cpufeature.h index bd4772ace4..4da22a8e63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cpufeature.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/cpufeature.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * CPU feature definitions for module loading, used by - * module_cpu_feature_match(), see uapi/asm/hwcap.h for LoongArch CPU features. - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef __ASM_CPUFEATURE_H -#define __ASM_CPUFEATURE_H - -#include -#include - -#define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) - -#define cpu_feature(x) ilog2(HWCAP_ ## x) - -static inline bool cpu_have_feature(unsigned int num) -{ - return elf_hwcap & (1UL << num); -} - -#endif /* __ASM_CPUFEATURE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * CPU feature definitions for module loading, used by + * module_cpu_feature_match(), see uapi/asm/hwcap.h for LoongArch CPU features. + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef __ASM_CPUFEATURE_H +#define __ASM_CPUFEATURE_H + +#include +#include + +#define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) + +#define cpu_feature(x) ilog2(HWCAP_ ## x) + +static inline bool cpu_have_feature(unsigned int num) +{ + return elf_hwcap & (1UL << num); +} + +#endif /* __ASM_CPUFEATURE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/delay.h index e872bc2a2e..36d7751913 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/delay.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_DELAY_H -#define _ASM_DELAY_H - -#include - -extern void __delay(unsigned long cycles); -extern void __ndelay(unsigned long ns); -extern void __udelay(unsigned long us); - -#define ndelay(ns) __ndelay(ns) -#define udelay(us) __udelay(us) - -/* make sure "usecs *= ..." in udelay do not overflow. */ -#if HZ >= 1000 -#define MAX_UDELAY_MS 1 -#elif HZ <= 200 -#define MAX_UDELAY_MS 5 -#else -#define MAX_UDELAY_MS (1000 / HZ) -#endif - -#endif /* _ASM_DELAY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_DELAY_H +#define _ASM_DELAY_H + +#include + +extern void __delay(unsigned long cycles); +extern void __ndelay(unsigned long ns); +extern void __udelay(unsigned long us); + +#define ndelay(ns) __ndelay(ns) +#define udelay(us) __udelay(us) + +/* make sure "usecs *= ..." in udelay do not overflow. */ +#if HZ >= 1000 +#define MAX_UDELAY_MS 1 +#elif HZ <= 200 +#define MAX_UDELAY_MS 5 +#else +#define MAX_UDELAY_MS (1000 / HZ) +#endif + +#endif /* _ASM_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dmi.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dmi.h index cf0c2eb70d..6054934177 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/dmi.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_DMI_H -#define _ASM_DMI_H - -#include -#include - -#define dmi_early_remap(x, l) dmi_remap(x, l) -#define dmi_early_unmap(x, l) dmi_unmap(x) -#define dmi_alloc(l) memblock_alloc(l, PAGE_SIZE) - -static inline void *dmi_remap(u64 phys_addr, unsigned long size) -{ - return ((void *)TO_CACHE(phys_addr)); -} - -static inline void dmi_unmap(void *addr) -{ -} - -#endif /* _ASM_DMI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_DMI_H +#define _ASM_DMI_H + +#include +#include + +#define dmi_early_remap(x, l) dmi_remap(x, l) +#define dmi_early_unmap(x, l) dmi_unmap(x) +#define dmi_alloc(l) memblock_alloc(l, PAGE_SIZE) + +static inline void *dmi_remap(u64 phys_addr, unsigned long size) +{ + return ((void *)TO_CACHE(phys_addr)); +} + +static inline void dmi_unmap(void *addr) +{ +} + +#endif /* _ASM_DMI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/fixmap.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/fixmap.h index 378b6f3c79..d2e55ae55b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/fixmap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/fixmap.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * fixmap.h: compile-time virtual memory allocation - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef _ASM_FIXMAP_H -#define _ASM_FIXMAP_H - -#define NR_FIX_BTMAPS 64 - -enum fixed_addresses { - FIX_HOLE, - FIX_EARLYCON_MEM_BASE, - __end_of_fixed_addresses -}; - -#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) -#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) -#define FIXMAP_PAGE_IO PAGE_KERNEL_SUC - -extern void __set_fixmap(enum fixed_addresses idx, - phys_addr_t phys, pgprot_t flags); - -#include - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * fixmap.h: compile-time virtual memory allocation + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef _ASM_FIXMAP_H +#define _ASM_FIXMAP_H + +#define NR_FIX_BTMAPS 64 + +enum fixed_addresses { + FIX_HOLE, + FIX_EARLYCON_MEM_BASE, + __end_of_fixed_addresses +}; + +#define FIXADDR_SIZE (__end_of_fixed_addresses << PAGE_SHIFT) +#define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) +#define FIXMAP_PAGE_IO PAGE_KERNEL_SUC + +extern void __set_fixmap(enum fixed_addresses idx, + phys_addr_t phys, pgprot_t flags); + +#include + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hw_irq.h index c4002292f0..8156ffb674 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/hw_irq.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_HW_IRQ_H -#define __ASM_HW_IRQ_H - -#include - -extern atomic_t irq_err_count; - -#define ARCH_IRQ_INIT_FLAGS IRQ_NOPROBE - -/* - * interrupt-retrigger: NOP for now. This may not be appropriate for all - * machines, we'll see ... - */ - -#endif /* __ASM_HW_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_HW_IRQ_H +#define __ASM_HW_IRQ_H + +#include + +extern atomic_t irq_err_count; + +#define ARCH_IRQ_INIT_FLAGS IRQ_NOPROBE + +/* + * interrupt-retrigger: NOP for now. This may not be appropriate for all + * machines, we'll see ... + */ + +#endif /* __ASM_HW_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_regs.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_regs.h index 1d247dfba8..3d62d815bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/irq_regs.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_IRQ_REGS_H -#define __ASM_IRQ_REGS_H - -#define ARCH_HAS_OWN_IRQ_REGS - -#include - -static inline struct pt_regs *get_irq_regs(void) -{ - return current_thread_info()->regs; -} - -static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) -{ - struct pt_regs *old_regs; - - old_regs = get_irq_regs(); - current_thread_info()->regs = new_regs; - - return old_regs; -} - -#endif /* __ASM_IRQ_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_IRQ_REGS_H +#define __ASM_IRQ_REGS_H + +#define ARCH_HAS_OWN_IRQ_REGS + +#include + +static inline struct pt_regs *get_irq_regs(void) +{ + return current_thread_info()->regs; +} + +static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) +{ + struct pt_regs *old_regs; + + old_regs = get_irq_regs(); + current_thread_info()->regs = new_regs; + + return old_regs; +} + +#endif /* __ASM_IRQ_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/orc_header.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/orc_header.h index b2e6d96c9e..f9d509c3fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/orc_header.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/orc_header.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifndef _ORC_HEADER_H -#define _ORC_HEADER_H - -#include -#include -#include - -/* - * The header is currently a 20-byte hash of the ORC entry definition; see - * scripts/orc_hash.sh. - */ -#define ORC_HEADER \ - __used __section(".orc_header") __aligned(4) \ - static const u8 orc_header[] = { ORC_HASH } - -#endif /* _ORC_HEADER_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifndef _ORC_HEADER_H +#define _ORC_HEADER_H + +#include +#include +#include + +/* + * The header is currently a 20-byte hash of the ORC entry definition; see + * scripts/orc_hash.sh. + */ +#define ORC_HEADER \ + __used __section(".orc_header") __aligned(4) \ + static const u8 orc_header[] = { ORC_HASH } + +#endif /* _ORC_HEADER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/pci.h index c050c52290..846909d7e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/pci.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_PCI_H -#define _ASM_PCI_H - -#include -#include -#include -#include - -#define PCIBIOS_MIN_IO 0x4000 -#define PCIBIOS_MIN_MEM 0x20000000 -#define PCIBIOS_MIN_CARDBUS_IO 0x4000 - -#define HAVE_PCI_MMAP -#define pcibios_assign_all_busses() 0 - -extern phys_addr_t mcfg_addr_init(int node); - -/* generic pci stuff */ -#include - -#endif /* _ASM_PCI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_PCI_H +#define _ASM_PCI_H + +#include +#include +#include +#include + +#define PCIBIOS_MIN_IO 0x4000 +#define PCIBIOS_MIN_MEM 0x20000000 +#define PCIBIOS_MIN_CARDBUS_IO 0x4000 + +#define HAVE_PCI_MMAP +#define pcibios_assign_all_busses() 0 + +extern phys_addr_t mcfg_addr_init(int node); + +/* generic pci stuff */ +#include + +#endif /* _ASM_PCI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/perf_event.h index 13439992be..f948a0676d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/perf_event.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Author: Huacai Chen - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef __LOONGARCH_PERF_EVENT_H__ -#define __LOONGARCH_PERF_EVENT_H__ - -#include - -#define perf_arch_bpf_user_pt_regs(regs) (struct user_pt_regs *)regs - -#define perf_arch_fetch_caller_regs(regs, __ip) { \ - (regs)->csr_era = (__ip); \ - (regs)->regs[3] = (unsigned long) __builtin_frame_address(0); \ -} - -#endif /* __LOONGARCH_PERF_EVENT_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Author: Huacai Chen + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef __LOONGARCH_PERF_EVENT_H__ +#define __LOONGARCH_PERF_EVENT_H__ + +#include + +#define perf_arch_bpf_user_pt_regs(regs) (struct user_pt_regs *)regs + +#define perf_arch_fetch_caller_regs(regs, __ip) { \ + (regs)->csr_era = (__ip); \ + (regs)->regs[3] = (unsigned long) __builtin_frame_address(0); \ +} + +#endif /* __LOONGARCH_PERF_EVENT_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/prefetch.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/prefetch.h index e98f22608f..1672262a5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/prefetch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/prefetch.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __ASM_PREFETCH_H -#define __ASM_PREFETCH_H - -#define Pref_Load 0 -#define Pref_Store 8 - -#ifdef __ASSEMBLY__ - - .macro __pref hint addr -#ifdef CONFIG_CPU_HAS_PREFETCH - preld \hint, \addr, 0 -#endif - .endm - - .macro pref_load addr - __pref Pref_Load, \addr - .endm - - .macro pref_store addr - __pref Pref_Store, \addr - .endm - -#endif - -#endif /* __ASM_PREFETCH_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __ASM_PREFETCH_H +#define __ASM_PREFETCH_H + +#define Pref_Load 0 +#define Pref_Store 8 + +#ifdef __ASSEMBLY__ + + .macro __pref hint addr +#ifdef CONFIG_CPU_HAS_PREFETCH + preld \hint, \addr, 0 +#endif + .endm + + .macro pref_load addr + __pref Pref_Load, \addr + .endm + + .macro pref_store addr + __pref Pref_Store, \addr + .endm + +#endif + +#endif /* __ASM_PREFETCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/seccomp.h index fcf5c5dc90..31d6ab42e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/seccomp.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#include - -#ifdef CONFIG_32BIT -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH32 -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "loongarch32" -#else -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "loongarch64" -#endif - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#include + +#ifdef CONFIG_32BIT +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH32 +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "loongarch32" +#else +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_LOONGARCH64 +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "loongarch64" +#endif + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/timex.h index 2aa5adacc5..fb41e9e7a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/timex.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_TIMEX_H -#define _ASM_TIMEX_H - -#ifdef __KERNEL__ - -#include - -#include -#include - -typedef unsigned long cycles_t; - -#define get_cycles get_cycles - -static inline cycles_t get_cycles(void) -{ - return drdtime(); -} - -#endif /* __KERNEL__ */ - -#endif /* _ASM_TIMEX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_TIMEX_H +#define _ASM_TIMEX_H + +#ifdef __KERNEL__ + +#include + +#include +#include + +typedef unsigned long cycles_t; + +#define get_cycles get_cycles + +static inline cycles_t get_cycles(void) +{ + return drdtime(); +} + +#endif /* __KERNEL__ */ + +#endif /* _ASM_TIMEX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/types.h index 171f4cf202..baf15a0dcf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/types.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_TYPES_H -#define _ASM_TYPES_H - -#include -#include - -#ifdef __ASSEMBLY__ -#define _ULCAST_ -#define _U64CAST_ -#else -#define _ULCAST_ (unsigned long) -#define _U64CAST_ (u64) -#endif - -#endif /* _ASM_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_TYPES_H +#define _ASM_TYPES_H + +#include +#include + +#ifdef __ASSEMBLY__ +#define _ULCAST_ +#define _U64CAST_ +#else +#define _ULCAST_ (unsigned long) +#define _U64CAST_ (u64) +#endif + +#endif /* _ASM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vermagic.h index 3a63967bee..8b47ccfe3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/asm/vermagic.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#define MODULE_PROC_FAMILY "LOONGARCH " - -#ifdef CONFIG_32BIT -#define MODULE_KERNEL_TYPE "32BIT " -#elif defined CONFIG_64BIT -#define MODULE_KERNEL_TYPE "64BIT " -#endif - -#define MODULE_ARCH_VERMAGIC \ - MODULE_PROC_FAMILY MODULE_KERNEL_TYPE - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#define MODULE_PROC_FAMILY "LOONGARCH " + +#ifdef CONFIG_32BIT +#define MODULE_KERNEL_TYPE "32BIT " +#elif defined CONFIG_64BIT +#define MODULE_KERNEL_TYPE "64BIT " +#endif + +#define MODULE_ARCH_VERMAGIC \ + MODULE_PROC_FAMILY MODULE_KERNEL_TYPE + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/auxvec.h index 5442992185..922d9e6b50 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/auxvec.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * Author: Hanlu Li - * Huacai Chen - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#ifndef __ASM_AUXVEC_H -#define __ASM_AUXVEC_H - -/* Location of VDSO image. */ -#define AT_SYSINFO_EHDR 33 - -#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ - -#endif /* __ASM_AUXVEC_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * Author: Hanlu Li + * Huacai Chen + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#ifndef __ASM_AUXVEC_H +#define __ASM_AUXVEC_H + +/* Location of VDSO image. */ +#define AT_SYSINFO_EHDR 33 + +#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ + +#endif /* __ASM_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/byteorder.h index 4b5808f055..b1722d890d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/include/uapi/asm/byteorder.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * Author: Hanlu Li - * Huacai Chen - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef _ASM_BYTEORDER_H -#define _ASM_BYTEORDER_H - -#include - -#endif /* _ASM_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * Author: Hanlu Li + * Huacai Chen + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef _ASM_BYTEORDER_H +#define _ASM_BYTEORDER_H + +#include + +#endif /* _ASM_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/access-helper.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/access-helper.h index c2869a03b0..4a35ca81bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/access-helper.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/access-helper.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -static inline int __get_inst(u32 *i, u32 *p, bool user) -{ - return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); -} - -static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) -{ - return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +static inline int __get_inst(u32 *i, u32 *p, bool user) +{ + return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); +} + +static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) +{ + return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/crash_dump.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/crash_dump.c index 737a8b9c5d..e559307c10 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/crash_dump.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/crash_dump.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, - size_t csize, unsigned long offset) -{ - void *vaddr; - - if (!csize) - return 0; - - vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); - if (!vaddr) - return -ENOMEM; - - csize = copy_to_iter(vaddr + offset, csize, iter); - - memunmap(vaddr); - - return csize; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, + size_t csize, unsigned long offset) +{ + void *vaddr; + + if (!csize) + return 0; + + vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); + if (!vaddr) + return -ENOMEM; + + csize = copy_to_iter(vaddr + offset, csize, iter); + + memunmap(vaddr); + + return csize; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/dma.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/dma.c index 3966c10230..429555fb4e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/dma.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/dma.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#include -#include - -void acpi_arch_dma_setup(struct device *dev) -{ - int ret; - u64 mask, end; - const struct bus_dma_region *map = NULL; - - ret = acpi_dma_get_range(dev, &map); - if (!ret && map) { - end = dma_range_map_max(map); - - mask = DMA_BIT_MASK(ilog2(end) + 1); - dev->bus_dma_limit = end; - dev->dma_range_map = map; - dev->coherent_dma_mask = min(dev->coherent_dma_mask, mask); - *dev->dma_mask = min(*dev->dma_mask, mask); - } - -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#include +#include + +void acpi_arch_dma_setup(struct device *dev) +{ + int ret; + u64 mask, end; + const struct bus_dma_region *map = NULL; + + ret = acpi_dma_get_range(dev, &map); + if (!ret && map) { + end = dma_range_map_max(map); + + mask = DMA_BIT_MASK(ilog2(end) + 1); + dev->bus_dma_limit = end; + dev->dma_range_map = map; + dev->coherent_dma_mask = min(dev->coherent_dma_mask, mask); + *dev->dma_mask = min(*dev->dma_mask, mask); + } + +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/elf.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/elf.c index d9ea2b2a3c..0fa81ced28 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/elf.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/elf.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Author: Huacai Chen - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#include -#include -#include -#include - -#include -#include - -int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, - bool is_interp, struct arch_elf_state *state) -{ - return 0; -} - -int arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr, - struct arch_elf_state *state) -{ - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Author: Huacai Chen + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#include +#include +#include +#include + +#include +#include + +int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, + bool is_interp, struct arch_elf_state *state) +{ + return 0; +} + +int arch_check_elf(void *_ehdr, bool has_interpreter, void *_interp_ehdr, + struct arch_elf_state *state) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/image-vars.h b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/image-vars.h index 2388463f41..41ddcf56d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/image-vars.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/image-vars.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#ifndef __LOONGARCH_KERNEL_IMAGE_VARS_H -#define __LOONGARCH_KERNEL_IMAGE_VARS_H - -#ifdef CONFIG_EFI_STUB - -__efistub_strcmp = strcmp; -__efistub_kernel_entry = kernel_entry; -__efistub_kernel_asize = kernel_asize; -__efistub_kernel_fsize = kernel_fsize; -#if defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_SYSFB) -__efistub_screen_info = screen_info; -#endif - -#endif - -#endif /* __LOONGARCH_KERNEL_IMAGE_VARS_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#ifndef __LOONGARCH_KERNEL_IMAGE_VARS_H +#define __LOONGARCH_KERNEL_IMAGE_VARS_H + +#ifdef CONFIG_EFI_STUB + +__efistub_strcmp = strcmp; +__efistub_kernel_entry = kernel_entry; +__efistub_kernel_asize = kernel_asize; +__efistub_kernel_fsize = kernel_fsize; +#if defined(CONFIG_EFI_EARLYCON) || defined(CONFIG_SYSFB) +__efistub_screen_info = screen_info; +#endif + +#endif + +#endif /* __LOONGARCH_KERNEL_IMAGE_VARS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/jump_label.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/jump_label.c index 6dd5523cc1..31891214b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/jump_label.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/jump_label.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2023 Loongson Technology Corporation Limited - * - * Based on arch/arm64/kernel/jump_label.c - */ -#include -#include -#include - -void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) -{ - u32 insn; - void *addr = (void *)jump_entry_code(entry); - - if (type == JUMP_LABEL_JMP) - insn = larch_insn_gen_b(jump_entry_code(entry), jump_entry_target(entry)); - else - insn = larch_insn_gen_nop(); - - larch_insn_patch_text(addr, insn); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2023 Loongson Technology Corporation Limited + * + * Based on arch/arm64/kernel/jump_label.c + */ +#include +#include +#include + +void arch_jump_label_transform(struct jump_entry *entry, enum jump_label_type type) +{ + u32 insn; + void *addr = (void *)jump_entry_code(entry); + + if (type == JUMP_LABEL_JMP) + insn = larch_insn_gen_b(jump_entry_code(entry), jump_entry_target(entry)); + else + insn = larch_insn_gen_nop(); + + larch_insn_patch_text(addr, insn); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/topology.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/topology.c index a39c9f147d..75d5c51a7c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/topology.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kernel/topology.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#ifdef CONFIG_HOTPLUG_CPU -bool arch_cpu_is_hotpluggable(int cpu) -{ - return !io_master(cpu); -} -#endif +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +#ifdef CONFIG_HOTPLUG_CPU +bool arch_cpu_is_hotpluggable(int cpu) +{ + return !io_master(cpu); +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/Makefile index 19d1c539b3..2e188e8f14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/kvm/Makefile @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for LoongArch KVM support -# - -ccflags-y += -I $(src) - -include $(srctree)/virt/kvm/Makefile.kvm - -obj-$(CONFIG_KVM) += kvm.o - -kvm-y += exit.o -kvm-y += interrupt.o -kvm-y += main.o -kvm-y += mmu.o -kvm-y += switch.o -kvm-y += timer.o -kvm-y += tlb.o -kvm-y += vcpu.o -kvm-y += vm.o - -CFLAGS_exit.o += $(call cc-disable-warning, override-init) +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for LoongArch KVM support +# + +ccflags-y += -I $(src) + +include $(srctree)/virt/kvm/Makefile.kvm + +obj-$(CONFIG_KVM) += kvm.o + +kvm-y += exit.o +kvm-y += interrupt.o +kvm-y += main.o +kvm-y += mmu.o +kvm-y += switch.o +kvm-y += timer.o +kvm-y += tlb.o +kvm-y += vcpu.o +kvm-y += vm.o + +CFLAGS_exit.o += $(call cc-disable-warning, override-init) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/Makefile index 0dc0c236b0..ccea3bbd43 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/lib/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for LoongArch-specific library files. -# - -lib-y += delay.o memset.o memcpy.o memmove.o \ - clear_user.o copy_user.o csum.o dump_tlb.o unaligned.o - -obj-$(CONFIG_ARCH_SUPPORTS_INT128) += tishift.o - -obj-$(CONFIG_CPU_HAS_LSX) += xor_simd.o xor_simd_glue.o - -obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for LoongArch-specific library files. +# + +lib-y += delay.o memset.o memcpy.o memmove.o \ + clear_user.o copy_user.o csum.o dump_tlb.o unaligned.o + +obj-$(CONFIG_ARCH_SUPPORTS_INT128) += tishift.o + +obj-$(CONFIG_CPU_HAS_LSX) += xor_simd.o xor_simd_glue.o + +obj-$(CONFIG_FUNCTION_ERROR_INJECTION) += error-inject.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/Makefile index 39407bd244..278be2c8fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/mm/Makefile @@ -1,13 +1,13 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Linux/LoongArch-specific parts of the memory manager. -# - -obj-y += init.o cache.o tlb.o tlbex.o extable.o \ - fault.o ioremap.o maccess.o mmap.o pgtable.o \ - page.o pageattr.o - -obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o -obj-$(CONFIG_KASAN) += kasan_init.o - -KASAN_SANITIZE_kasan_init.o := n +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Linux/LoongArch-specific parts of the memory manager. +# + +obj-y += init.o cache.o tlb.o tlbex.o extable.o \ + fault.o ioremap.o maccess.o mmap.o pgtable.o \ + page.o pageattr.o + +obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o +obj-$(CONFIG_KASAN) += kasan_init.o + +KASAN_SANITIZE_kasan_init.o := n diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/gen_vdso_offsets.sh old mode 100644 new mode 100755 index aa5bd02fef..1bb4e12642 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/gen_vdso_offsets.sh @@ -1,13 +1,13 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Derived from RISC-V and ARM64: -# Author: Will Deacon -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# - -LC_ALL=C sed -n -e 's/^00*/0/' -e \ -'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Derived from RISC-V and ARM64: +# Author: Will Deacon +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# + +LC_ALL=C sed -n -e 's/^00*/0/' -e \ +'s/^\([0-9a-fA-F]*\) . VDSO_\([a-zA-Z0-9_]*\)$/\#define vdso_offset_\2\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/sigreturn.S b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/sigreturn.S index 2e84cb21c5..9cb3c58fad 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/sigreturn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/sigreturn.S @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Author: Huacai Chen - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ - -#include - -#include -#include - -#include -#include - - .section .text - .cfi_sections .debug_frame - -SYM_FUNC_START(__vdso_rt_sigreturn) - - li.w a7, __NR_rt_sigreturn - syscall 0 - -SYM_FUNC_END(__vdso_rt_sigreturn) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Author: Huacai Chen + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ + +#include + +#include +#include + +#include +#include + + .section .text + .cfi_sections .debug_frame + +SYM_FUNC_START(__vdso_rt_sigreturn) + + li.w a7, __NR_rt_sigreturn + syscall 0 + +SYM_FUNC_END(__vdso_rt_sigreturn) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vdso.S index 8945b7bffc..46789bade6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vdso.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - * - * Derived from RISC-V: - * Copyright (C) 2014 Regents of the University of California - */ - -#include -#include -#include - - __PAGE_ALIGNED_DATA - - .globl vdso_start, vdso_end - .balign PAGE_SIZE -vdso_start: - .incbin "arch/loongarch/vdso/vdso.so" - .balign PAGE_SIZE -vdso_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + * + * Derived from RISC-V: + * Copyright (C) 2014 Regents of the University of California + */ + +#include +#include +#include + + __PAGE_ALIGNED_DATA + + .globl vdso_start, vdso_end + .balign PAGE_SIZE +vdso_start: + .incbin "arch/loongarch/vdso/vdso.so" + .balign PAGE_SIZE +vdso_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgettimeofday.c b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgettimeofday.c index 2173e2b736..0885c1f3a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgettimeofday.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/loongarch/vdso/vgettimeofday.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * LoongArch userspace implementations of gettimeofday() and similar. - * - * Copyright (C) 2020-2022 Loongson Technology Corporation Limited - */ -#include -#include - -int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) -{ - return __cvdso_clock_gettime(clock, ts); -} - -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) -{ - return __cvdso_gettimeofday(tv, tz); -} - -int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) -{ - return __cvdso_clock_getres(clock_id, res); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * LoongArch userspace implementations of gettimeofday() and similar. + * + * Copyright (C) 2020-2022 Loongson Technology Corporation Limited + */ +#include +#include + +int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) +{ + return __cvdso_clock_gettime(clock, ts); +} + +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) +{ + return __cvdso_gettimeofday(tv, tz); +} + +int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) +{ + return __cvdso_clock_getres(clock_id, res); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/Makefile index 2bcd118754..279560add5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/68000/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -################################################## -# -# Makefile for 68000 core based cpus -# -# 2012.10.21, Luis Alves -# Merged all 68000 based cpu's config -# files into a single directory. -# - -# 68328, 68EZ328, 68VZ328 - -obj-y += entry.o ints.o timers.o m68328.o -obj-$(CONFIG_ROM) += romvec.o - -obj-$(CONFIG_DRAGEN2) += dragen2.o -obj-$(CONFIG_UCSIMM) += ucsimm.o -obj-$(CONFIG_UCDIMM) += ucsimm.o - -obj-y += head.o +# SPDX-License-Identifier: GPL-2.0 +################################################## +# +# Makefile for 68000 core based cpus +# +# 2012.10.21, Luis Alves +# Merged all 68000 based cpu's config +# files into a single directory. +# + +# 68328, 68EZ328, 68VZ328 + +obj-y += entry.o ints.o timers.o m68328.o +obj-$(CONFIG_ROM) += romvec.o + +obj-$(CONFIG_DRAGEN2) += dragen2.o +obj-$(CONFIG_UCSIMM) += ucsimm.o +obj-$(CONFIG_UCDIMM) += ucsimm.o + +obj-y += head.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/atari.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/atari.h index a0e4a40bcb..494a03ddac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/atari.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/atari/atari.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -struct rtc_time; - -/* ataints.c */ -void atari_init_IRQ(void); - -/* atasound.c */ -void atari_microwire_cmd(int cmd); -void atari_mksound(unsigned int hz, unsigned int ticks); - -/* time.c */ -void atari_sched_init(void); -int atari_mste_hwclk(int op, struct rtc_time *t); -int atari_tt_hwclk(int op, struct rtc_time *t); +/* SPDX-License-Identifier: GPL-2.0-only */ + +struct rtc_time; + +/* ataints.c */ +void atari_init_IRQ(void); + +/* atasound.c */ +void atari_microwire_cmd(int cmd); +void atari_mksound(unsigned int hz, unsigned int ticks); + +/* time.c */ +void atari_sched_init(void); +int atari_mste_hwclk(int op, struct rtc_time *t); +int atari_tt_hwclk(int op, struct rtc_time *t); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/fpsp040/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/m68k/fpsp040/Makefile index 216a1a481e..834ae9471b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/fpsp040/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/fpsp040/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for Linux arch/m68k/fpsp040 source directory -# - -obj-y := bindec.o binstr.o decbin.o do_func.o gen_except.o get_op.o \ - kernel_ex.o res_func.o round.o sacos.o sasin.o satan.o satanh.o \ - scosh.o setox.o sgetem.o sint.o slog2.o slogn.o \ - smovecr.o srem_mod.o scale.o \ - ssin.o ssinh.o stan.o stanh.o sto_res.o stwotox.o tbldo.o util.o \ - x_bsun.o x_fline.o x_operr.o x_ovfl.o x_snan.o x_store.o \ - x_unfl.o x_unimp.o x_unsupp.o bugfix.o skeleton.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for Linux arch/m68k/fpsp040 source directory +# + +obj-y := bindec.o binstr.o decbin.o do_func.o gen_except.o get_op.o \ + kernel_ex.o res_func.o round.o sacos.o sasin.o satan.o satanh.o \ + scosh.o setox.o sgetem.o sint.o slog2.o slogn.o \ + smovecr.o srem_mod.o scale.o \ + ssin.o ssinh.o stan.o stanh.o sto_res.o stwotox.o tbldo.o util.o \ + x_bsun.o x_fline.o x_operr.o x_ovfl.o x_snan.o x_store.o \ + x_unfl.o x_unimp.o x_unsupp.o bugfix.o skeleton.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/README.hp300 b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/README.hp300 index 27efc056ca..47073fbd40 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/README.hp300 +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/README.hp300 @@ -1,14 +1,14 @@ -HP300 notes ------------ - -The Linux/HP web page is at - -Currently only 9000/340 machines have been tested. Any amount of RAM should -work now but I've only tried 16MB and 12MB. - -The serial console is probably broken at the moment but the Topcat/HIL keyboard -combination seems to work for me. Your mileage may vary. - -The LANCE driver works after a fashion but only if you reset the chip before -every packet. This doesn't make for very speedy operation. - +HP300 notes +----------- + +The Linux/HP web page is at + +Currently only 9000/340 machines have been tested. Any amount of RAM should +work now but I've only tried 16MB and 12MB. + +The serial console is probably broken at the moment but the Topcat/HIL keyboard +combination seems to work for me. Your mileage may vary. + +The LANCE driver works after a fashion but only if you reset the chip before +every packet. This doesn't make for very speedy operation. + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/reboot.S b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/reboot.S index 059f9cd359..52eb852e6b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/reboot.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/hp300/reboot.S @@ -1,16 +1,16 @@ -/* - * linux/arch/m68k/hp300/reboot.S - * - * Copyright (C) 1998 Philip Blundell - * - * Do the dirty work of rebooting the machine. Basically we need to undo all the - * good stuff that head.S did when we started up. The caches and MMU must be - * disabled and then we jump back to the PROM. This is a bit gruesome but we put - * a brave face on it. - */ - -/* XXX Doesn't work yet. Not sure why and can't be bothered to fix it at the moment. */ - - .globl hp300_reset -hp300_reset: - jmp hp300_reset +/* + * linux/arch/m68k/hp300/reboot.S + * + * Copyright (C) 1998 Philip Blundell + * + * Do the dirty work of rebooting the machine. Basically we need to undo all the + * good stuff that head.S did when we started up. The caches and MMU must be + * disabled and then we jump back to the PROM. This is a bit gruesome but we put + * a brave face on it. + */ + +/* XXX Doesn't work yet. Not sure why and can't be bothered to fix it at the moment. */ + + .globl hp300_reset +hp300_reset: + jmp hp300_reset diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/src/README-SRC b/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/src/README-SRC index 5824e30c0c..6be5cff2a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/src/README-SRC +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/ifpsp060/src/README-SRC @@ -1,12 +1,12 @@ -This is the original source code from Motorola for the 68060 processor -support code, providing emulation for rarely used m68k instructions -not implemented in the 68060 silicon. - -The code provided here will not assemble out of the box using the GNU -assembler, however it is being included in order to comply with the -GNU General Public License. - -You don't need to actually assemble these files in order to compile a -workin m68k kernel, the precompiled .sa files in arch/m68k/ifpsp060 -are sufficient and were generated from these source files by -Motorola. +This is the original source code from Motorola for the 68060 processor +support code, providing emulation for rarely used m68k instructions +not implemented in the 68060 silicon. + +The code provided here will not assemble out of the box using the GNU +assembler, however it is being included in order to comply with the +GNU General Public License. + +You don't need to actually assemble these files in order to compile a +workin m68k kernel, the precompiled .sa files in arch/m68k/ifpsp060 +are sufficient and were generated from these source files by +Motorola. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_joystick.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_joystick.h index 4f3171ce10..c4a6a06e68 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_joystick.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_joystick.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _LINUX_ATARI_JOYSTICK_H -#define _LINUX_ATARI_JOYSTICK_H - -/* - * linux/include/linux/atari_joystick.h - * header file for Atari Joystick driver - * by Robert de Vries (robert@and.nl) on 19Jul93 - */ - -void atari_joystick_interrupt(char*); -int atari_joystick_init(void); -extern int atari_mouse_buttons; - -struct joystick_status { - char fire; - char dir; - int ready; - int active; - wait_queue_head_t wait; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _LINUX_ATARI_JOYSTICK_H +#define _LINUX_ATARI_JOYSTICK_H + +/* + * linux/include/linux/atari_joystick.h + * header file for Atari Joystick driver + * by Robert de Vries (robert@and.nl) on 19Jul93 + */ + +void atari_joystick_interrupt(char*); +int atari_joystick_init(void); +extern int atari_mouse_buttons; + +struct joystick_status { + char fire; + char dir; + int ready; + int active; + wait_queue_head_t wait; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stdma.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stdma.h index 0cd385345d..70de9b1247 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stdma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stdma.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _atari_stdma_h -#define _atari_stdma_h - - -#include - - -/***************************** Prototypes *****************************/ - -int stdma_try_lock(irq_handler_t, void *); -void stdma_lock(irq_handler_t handler, void *data); -void stdma_release( void ); -int stdma_islocked( void ); -int stdma_is_locked_by(irq_handler_t); -void stdma_init( void ); - -/************************* End of Prototypes **************************/ - - - -#endif /* _atari_stdma_h */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _atari_stdma_h +#define _atari_stdma_h + + +#include + + +/***************************** Prototypes *****************************/ + +int stdma_try_lock(irq_handler_t, void *); +void stdma_lock(irq_handler_t handler, void *data); +void stdma_release( void ); +int stdma_islocked( void ); +int stdma_is_locked_by(irq_handler_t); +void stdma_init( void ); + +/************************* End of Prototypes **************************/ + + + +#endif /* _atari_stdma_h */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stram.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stram.h index b290eda9ba..1fc19102aa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stram.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/atari_stram.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_ATARI_STRAM_H -#define _M68K_ATARI_STRAM_H - -/* - * Functions for Atari ST-RAM management - */ - -/* public interface */ -void *atari_stram_alloc(unsigned long size, const char *owner); -void atari_stram_free(void *); -void *atari_stram_to_virt(unsigned long phys); -unsigned long atari_stram_to_phys(void *); - -/* functions called internally by other parts of the kernel */ -void atari_stram_init(void); -void atari_stram_reserve_pages(void *start_mem); - -#endif /*_M68K_ATARI_STRAM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_ATARI_STRAM_H +#define _M68K_ATARI_STRAM_H + +/* + * Functions for Atari ST-RAM management + */ + +/* public interface */ +void *atari_stram_alloc(unsigned long size, const char *owner); +void atari_stram_free(void *); +void *atari_stram_to_virt(unsigned long phys); +unsigned long atari_stram_to_phys(void *); + +/* functions called internally by other parts of the kernel */ +void atari_stram_init(void); +void atari_stram_reserve_pages(void *start_mem); + +#endif /*_M68K_ATARI_STRAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/fpu.h index e045ebbe5f..ab12be88d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/fpu.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __M68K_FPU_H -#define __M68K_FPU_H - - -/* - * MAX floating point unit state size (FSAVE/FRESTORE) - */ - -#if defined(CONFIG_M68020) || defined(CONFIG_M68030) -#define FPSTATESIZE (216) -#elif defined(CONFIG_M68040) -#define FPSTATESIZE (96) -#elif defined(CONFIG_M68KFPU_EMU) -#define FPSTATESIZE (28) -#elif defined(CONFIG_COLDFIRE) && defined(CONFIG_MMU) -#define FPSTATESIZE (16) -#elif defined(CONFIG_M68060) -#define FPSTATESIZE (12) -#else -#define FPSTATESIZE (0) -#endif - -#endif /* __M68K_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __M68K_FPU_H +#define __M68K_FPU_H + + +/* + * MAX floating point unit state size (FSAVE/FRESTORE) + */ + +#if defined(CONFIG_M68020) || defined(CONFIG_M68030) +#define FPSTATESIZE (216) +#elif defined(CONFIG_M68040) +#define FPSTATESIZE (96) +#elif defined(CONFIG_M68KFPU_EMU) +#define FPSTATESIZE (28) +#elif defined(CONFIG_COLDFIRE) && defined(CONFIG_MMU) +#define FPSTATESIZE (16) +#elif defined(CONFIG_M68060) +#define FPSTATESIZE (12) +#else +#define FPSTATESIZE (0) +#endif + +#endif /* __M68K_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hwtest.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hwtest.h index 4944bb3fe8..f8d646205b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hwtest.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/hwtest.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Routines to test for presence/absence of hardware registers: - * see arch/m68k/mm/hwtest.c. - * -- PMM 05/1998 - * - * Removed __init from decls. We might want them in modules, and - * the code is tiny anyway. 16/5/98 pb - */ - -#ifndef __ASM_HWTEST_H -#define __ASM_HWTEST_H - -extern int hwreg_present(volatile void *regp); -extern int hwreg_write(volatile void *regp, unsigned short val); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* Routines to test for presence/absence of hardware registers: + * see arch/m68k/mm/hwtest.c. + * -- PMM 05/1998 + * + * Removed __init from decls. We might want them in modules, and + * the code is tiny anyway. 16/5/98 pb + */ + +#ifndef __ASM_HWTEST_H +#define __ASM_HWTEST_H + +extern int hwreg_present(volatile void *regp); +extern int hwreg_write(volatile void *regp, unsigned short val); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mac_asc.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mac_asc.h index ca624c4eea..0759902513 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mac_asc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mac_asc.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Apple Sound Chip - */ - -#ifndef __ASM_MAC_ASC_H -#define __ASM_MAC_ASC_H - -/* - * ASC offsets and controls - */ - -#define ASC_BUF_BASE 0x00 /* RAM buffer offset */ -#define ASC_BUF_SIZE 0x800 - -#define ASC_CONTROL 0x800 -#define ASC_CONTROL_OFF 0x00 -#define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte)) -#define ASC_ENABLE 0x801 -#define ASC_ENABLE_SAMPLE 0x02 -#define ASC_MODE 0x802 -#define ASC_MODE_SAMPLE 0x02 - -#define ASC_VOLUME 0x806 -#define ASC_CHAN 0x807 /* ??? */ - - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Apple Sound Chip + */ + +#ifndef __ASM_MAC_ASC_H +#define __ASM_MAC_ASC_H + +/* + * ASC offsets and controls + */ + +#define ASC_BUF_BASE 0x00 /* RAM buffer offset */ +#define ASC_BUF_SIZE 0x800 + +#define ASC_CONTROL 0x800 +#define ASC_CONTROL_OFF 0x00 +#define ASC_FREQ(chan,byte) ((0x810)+((chan)<<3)+(byte)) +#define ASC_ENABLE 0x801 +#define ASC_ENABLE_SAMPLE 0x02 +#define ASC_MODE 0x802 +#define ASC_MODE_SAMPLE 0x02 + +#define ASC_VOLUME 0x806 +#define ASC_CHAN 0x807 /* ??? */ + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/machw.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/machw.h index b758cb09be..a220951649 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/machw.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/machw.h @@ -1,24 +1,24 @@ -/* -** linux/machw.h -- This header defines some macros and pointers for -** the various Macintosh custom hardware registers. -** -** Copyright 1997 by Michael Schmitz -** -** This file is subject to the terms and conditions of the GNU General Public -** License. See the file COPYING in the main directory of this archive -** for more details. -** -*/ - -#ifndef _ASM_MACHW_H_ -#define _ASM_MACHW_H_ - -/* - * head.S maps the videomem to VIDEOMEMBASE - */ - -#define VIDEOMEMBASE 0xf0000000 -#define VIDEOMEMSIZE (4096*1024) -#define VIDEOMEMMASK (-4096*1024) - -#endif /* linux/machw.h */ +/* +** linux/machw.h -- This header defines some macros and pointers for +** the various Macintosh custom hardware registers. +** +** Copyright 1997 by Michael Schmitz +** +** This file is subject to the terms and conditions of the GNU General Public +** License. See the file COPYING in the main directory of this archive +** for more details. +** +*/ + +#ifndef _ASM_MACHW_H_ +#define _ASM_MACHW_H_ + +/* + * head.S maps the videomem to VIDEOMEMBASE + */ + +#define VIDEOMEMBASE 0xf0000000 +#define VIDEOMEMSIZE (4096*1024) +#define VIDEOMEMMASK (-4096*1024) + +#endif /* linux/machw.h */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mc146818rtc.h index 73e7c80680..6e9f319ce4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/mc146818rtc.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Machine dependent access functions for RTC registers. - */ -#ifndef _ASM_MC146818RTC_H -#define _ASM_MC146818RTC_H - - -#ifdef CONFIG_ATARI -/* RTC in Atari machines */ - -#include - -#define ATARI_RTC_PORT(x) (TT_RTC_BAS + 2*(x)) -#define RTC_ALWAYS_BCD 0 - -#define CMOS_READ(addr) ({ \ -atari_outb_p((addr), ATARI_RTC_PORT(0)); \ -atari_inb_p(ATARI_RTC_PORT(1)); \ -}) -#define CMOS_WRITE(val, addr) ({ \ -atari_outb_p((addr), ATARI_RTC_PORT(0)); \ -atari_outb_p((val), ATARI_RTC_PORT(1)); \ -}) -#endif /* CONFIG_ATARI */ - -#endif /* _ASM_MC146818RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Machine dependent access functions for RTC registers. + */ +#ifndef _ASM_MC146818RTC_H +#define _ASM_MC146818RTC_H + + +#ifdef CONFIG_ATARI +/* RTC in Atari machines */ + +#include + +#define ATARI_RTC_PORT(x) (TT_RTC_BAS + 2*(x)) +#define RTC_ALWAYS_BCD 0 + +#define CMOS_READ(addr) ({ \ +atari_outb_p((addr), ATARI_RTC_PORT(0)); \ +atari_inb_p(ATARI_RTC_PORT(1)); \ +}) +#define CMOS_WRITE(val, addr) ({ \ +atari_outb_p((addr), ATARI_RTC_PORT(0)); \ +atari_outb_p((val), ATARI_RTC_PORT(1)); \ +}) +#endif /* CONFIG_ATARI */ + +#endif /* _ASM_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/natfeat.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/natfeat.h index 80291a85a7..2d2424de1d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/natfeat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/natfeat.h @@ -1,23 +1,23 @@ -/* - * ARAnyM hardware support via Native Features (natfeats) - * - * Copyright (c) 2005 Petr Stehlik of ARAnyM dev team - * - * This software may be used and distributed according to the terms of - * the GNU General Public License (GPL), incorporated herein by reference. - */ -#include - -#ifndef _NATFEAT_H -#define _NATFEAT_H - -long nf_get_id(const char *feature_name); -long nf_call(long id, ...); - -void nf_init(void); -void nf_shutdown(void); - -void nfprint(const char *fmt, ...) - __printf(1, 2); - -# endif /* _NATFEAT_H */ +/* + * ARAnyM hardware support via Native Features (natfeats) + * + * Copyright (c) 2005 Petr Stehlik of ARAnyM dev team + * + * This software may be used and distributed according to the terms of + * the GNU General Public License (GPL), incorporated herein by reference. + */ +#include + +#ifndef _NATFEAT_H +#define _NATFEAT_H + +long nf_get_id(const char *feature_name); +long nf_call(long id, ...); + +void nf_init(void); +void nf_shutdown(void); + +void nfprint(const char *fmt, ...) + __printf(1, 2); + +# endif /* _NATFEAT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgalloc.h index 4984e3ad34..24ca46d2e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/pgalloc.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef M68K_PGALLOC_H -#define M68K_PGALLOC_H - -#include -#include -#include - -#ifdef CONFIG_MMU -#include -#if defined(CONFIG_COLDFIRE) -#include -#elif defined(CONFIG_SUN3) -#include -#else -#include -#endif - -extern void m68k_setup_node(int node); -#endif - -#endif /* M68K_PGALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef M68K_PGALLOC_H +#define M68K_PGALLOC_H + +#include +#include +#include + +#ifdef CONFIG_MMU +#include +#if defined(CONFIG_COLDFIRE) +#include +#elif defined(CONFIG_SUN3) +#include +#else +#include +#endif + +extern void m68k_setup_node(int node); +#endif + +#endif /* M68K_PGALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3-head.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3-head.h index f20ceb62de..5656a265ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3-head.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/sun3-head.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __SUN3_HEAD_H -#define __SUN3_HEAD_H - -#define KERNBASE 0xE000000 /* First address the kernel will eventually be */ -#define LOAD_ADDR 0x4000 /* prom jumps to us here unless this is elf /boot */ -#define FC_CONTROL 3 -#define FC_SUPERD 5 -#define FC_CPU 7 - -#endif /* __SUN3_HEAD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __SUN3_HEAD_H +#define __SUN3_HEAD_H + +#define KERNBASE 0xE000000 /* First address the kernel will eventually be */ +#define LOAD_ADDR 0x4000 /* prom jumps to us here unless this is elf /boot */ +#define FC_CONTROL 3 +#define FC_SUPERD 5 +#define FC_CPU 7 + +#endif /* __SUN3_HEAD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ucontext.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ucontext.h index ebec2b9456..1523a8e5ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ucontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/ucontext.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _M68K_UCONTEXT_H -#define _M68K_UCONTEXT_H - -typedef int greg_t; -#define NGREG 18 -typedef greg_t gregset_t[NGREG]; - -typedef struct fpregset { - int f_fpcntl[3]; - int f_fpregs[8*3]; -} fpregset_t; - -struct mcontext { - int version; - gregset_t gregs; - fpregset_t fpregs; -}; - -#define MCONTEXT_VERSION 2 - -struct ucontext { - unsigned long uc_flags; - struct ucontext *uc_link; - stack_t uc_stack; - struct mcontext uc_mcontext; - unsigned long uc_filler[80]; - sigset_t uc_sigmask; /* mask last for extensibility */ -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _M68K_UCONTEXT_H +#define _M68K_UCONTEXT_H + +typedef int greg_t; +#define NGREG 18 +typedef greg_t gregset_t[NGREG]; + +typedef struct fpregset { + int f_fpcntl[3]; + int f_fpregs[8*3]; +} fpregset_t; + +struct mcontext { + int version; + gregset_t gregs; + fpregset_t fpregs; +}; + +#define MCONTEXT_VERSION 2 + +struct ucontext { + unsigned long uc_flags; + struct ucontext *uc_link; + stack_t uc_stack; + struct mcontext uc_mcontext; + unsigned long uc_filler[80]; + sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virt.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virt.h index 27414cc752..d3320c9547 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/asm/virt.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_VIRT_H -#define __ASM_VIRT_H - -#define NUM_VIRT_SOURCES 200 - -struct virt_booter_device_data { - u32 mmio; - u32 irq; -}; - -struct virt_booter_data { - u32 qemu_version; - struct virt_booter_device_data pic; - struct virt_booter_device_data rtc; - struct virt_booter_device_data tty; - struct virt_booter_device_data ctrl; - struct virt_booter_device_data virtio; -}; - -extern struct virt_booter_data virt_bi_data; - -extern void __init virt_init_IRQ(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_VIRT_H +#define __ASM_VIRT_H + +#define NUM_VIRT_SOURCES 200 + +struct virt_booter_device_data { + u32 mmio; + u32 irq; +}; + +struct virt_booter_data { + u32 qemu_version; + struct virt_booter_device_data pic; + struct virt_booter_device_data rtc; + struct virt_booter_device_data tty; + struct virt_booter_device_data ctrl; + struct virt_booter_device_data virtio; +}; + +extern struct virt_booter_data virt_bi_data; + +extern void __init virt_init_IRQ(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-apollo.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-apollo.h index b0da46ecd1..c226f79579 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-apollo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-apollo.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* -** asm/bootinfo-apollo.h -- Apollo-specific boot information definitions -*/ - -#ifndef _UAPI_ASM_M68K_BOOTINFO_APOLLO_H -#define _UAPI_ASM_M68K_BOOTINFO_APOLLO_H - - - /* - * Apollo-specific tags - */ - -#define BI_APOLLO_MODEL 0x8000 /* model (__be32) */ - - - /* - * Apollo models (BI_APOLLO_MODEL) - */ - -#define APOLLO_UNKNOWN 0 -#define APOLLO_DN3000 1 -#define APOLLO_DN3010 2 -#define APOLLO_DN3500 3 -#define APOLLO_DN4000 4 -#define APOLLO_DN4500 5 - - -#endif /* _UAPI_ASM_M68K_BOOTINFO_APOLLO_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* +** asm/bootinfo-apollo.h -- Apollo-specific boot information definitions +*/ + +#ifndef _UAPI_ASM_M68K_BOOTINFO_APOLLO_H +#define _UAPI_ASM_M68K_BOOTINFO_APOLLO_H + + + /* + * Apollo-specific tags + */ + +#define BI_APOLLO_MODEL 0x8000 /* model (__be32) */ + + + /* + * Apollo models (BI_APOLLO_MODEL) + */ + +#define APOLLO_UNKNOWN 0 +#define APOLLO_DN3000 1 +#define APOLLO_DN3010 2 +#define APOLLO_DN3500 3 +#define APOLLO_DN4000 4 +#define APOLLO_DN4500 5 + + +#endif /* _UAPI_ASM_M68K_BOOTINFO_APOLLO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-q40.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-q40.h index 0483245bee..78bda04bf7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-q40.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/bootinfo-q40.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* -** asm/bootinfo-q40.h -- Q40-specific boot information definitions -*/ - -#ifndef _UAPI_ASM_M68K_BOOTINFO_Q40_H -#define _UAPI_ASM_M68K_BOOTINFO_Q40_H - - - /* - * Latest Q40 bootinfo version - */ - -#define Q40_BOOTI_VERSION MK_BI_VERSION(2, 0) - - -#endif /* _UAPI_ASM_M68K_BOOTINFO_Q40_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* +** asm/bootinfo-q40.h -- Q40-specific boot information definitions +*/ + +#ifndef _UAPI_ASM_M68K_BOOTINFO_Q40_H +#define _UAPI_ASM_M68K_BOOTINFO_Q40_H + + + /* + * Latest Q40 bootinfo version + */ + +#define Q40_BOOTI_VERSION MK_BI_VERSION(2, 0) + + +#endif /* _UAPI_ASM_M68K_BOOTINFO_Q40_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/cachectl.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/cachectl.h index cd81f69719..6171e246ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/cachectl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/cachectl.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _M68K_CACHECTL_H -#define _M68K_CACHECTL_H - -/* Definitions for the cacheflush system call. */ - -#define FLUSH_SCOPE_LINE 1 /* Flush a cache line */ -#define FLUSH_SCOPE_PAGE 2 /* Flush a page */ -#define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */ - -#define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */ -#define FLUSH_CACHE_INSN 2 /* Flush instruction cache */ -#define FLUSH_CACHE_BOTH 3 /* Flush both caches */ - -#endif /* _M68K_CACHECTL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _M68K_CACHECTL_H +#define _M68K_CACHECTL_H + +/* Definitions for the cacheflush system call. */ + +#define FLUSH_SCOPE_LINE 1 /* Flush a cache line */ +#define FLUSH_SCOPE_PAGE 2 /* Flush a page */ +#define FLUSH_SCOPE_ALL 3 /* Flush the whole cache -- superuser only */ + +#define FLUSH_CACHE_DATA 1 /* Writeback and flush data cache */ +#define FLUSH_CACHE_INSN 2 /* Flush instruction cache */ +#define FLUSH_CACHE_BOTH 3 /* Flush both caches */ + +#endif /* _M68K_CACHECTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/fcntl.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/fcntl.h index a219516ad4..c6861e6ee3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/fcntl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/fcntl.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _M68K_FCNTL_H -#define _M68K_FCNTL_H - -#define O_DIRECTORY 040000 /* must be a directory */ -#define O_NOFOLLOW 0100000 /* don't follow links */ -#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ -#define O_LARGEFILE 0400000 - -#include - -#endif /* _M68K_FCNTL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _M68K_FCNTL_H +#define _M68K_FCNTL_H + +#define O_DIRECTORY 040000 /* must be a directory */ +#define O_NOFOLLOW 0100000 /* don't follow links */ +#define O_DIRECT 0200000 /* direct disk access hint - currently ignored */ +#define O_LARGEFILE 0400000 + +#include + +#endif /* _M68K_FCNTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/setup.h index 1b81345ad8..25fe26d559 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/include/uapi/asm/setup.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* -** asm/setup.h -- Definition of the Linux/m68k setup information -** -** Copyright 1992 by Greg Harp -** -** This file is subject to the terms and conditions of the GNU General Public -** License. See the file COPYING in the main directory of this archive -** for more details. -*/ - -#ifndef _UAPI_M68K_SETUP_H -#define _UAPI_M68K_SETUP_H - -#define COMMAND_LINE_SIZE 256 - -#endif /* _UAPI_M68K_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* +** asm/setup.h -- Definition of the Linux/m68k setup information +** +** Copyright 1992 by Greg Harp +** +** This file is subject to the terms and conditions of the GNU General Public +** License. See the file COPYING in the main directory of this archive +** for more details. +*/ + +#ifndef _UAPI_M68K_SETUP_H +#define _UAPI_M68K_SETUP_H + +#define COMMAND_LINE_SIZE 256 + +#endif /* _UAPI_M68K_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/mac.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/mac.h index ce9c67fe35..d3d142cea3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/mac.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/mac/mac.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -struct rtc_time; - -/* baboon.c */ -void baboon_init(void); - -/* iop.c */ -void iop_init(void); - -/* misc.c */ -int mac_hwclk(int op, struct rtc_time *t); - -/* macboing.c */ -void mac_mksound(unsigned int freq, unsigned int length); - -/* oss.c */ -void oss_init(void); - -/* psc.c */ -void psc_init(void); - -/* via.c */ -void via_init(void); -void via_init_clock(void); +/* SPDX-License-Identifier: GPL-2.0 */ + +struct rtc_time; + +/* baboon.c */ +void baboon_init(void); + +/* iop.c */ +void iop_init(void); + +/* misc.c */ +int mac_hwclk(int op, struct rtc_time *t); + +/* macboing.c */ +void mac_mksound(unsigned int freq, unsigned int length); + +/* oss.c */ +void oss_init(void); + +/* psc.c */ +void psc_init(void); + +/* via.c */ +void via_init(void); +void via_init_clock(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/sun3.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/sun3.h index 52ab890ebb..8d98c0aaed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/sun3.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3/sun3.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -struct rtc_time; - -/* config.c */ -asmlinkage void sun3_init(void); - -/* idprom.c */ -void sun3_get_model(char *model); - -/* intersil.c */ -int sun3_hwclk(int set, struct rtc_time *t); - -/* leds.c */ -void sun3_leds(unsigned char byte); - -/* mmu_emu.c */ -void mmu_emu_init(unsigned long bootmem_end); -int mmu_emu_handle_fault(unsigned long vaddr, int read_flag, int kernel_fault); -void print_pte_vaddr(unsigned long vaddr); +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +struct rtc_time; + +/* config.c */ +asmlinkage void sun3_init(void); + +/* idprom.c */ +void sun3_get_model(char *model); + +/* intersil.c */ +int sun3_hwclk(int set, struct rtc_time *t); + +/* leds.c */ +void sun3_leds(unsigned char byte); + +/* mmu_emu.c */ +void mmu_emu_init(unsigned long bootmem_end); +int mmu_emu_handle_fault(unsigned long vaddr, int read_flag, int kernel_fault); +void print_pte_vaddr(unsigned long vaddr); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/time.h b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/time.h index acd77bc941..7cfff22e49 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/time.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/m68k/sun3x/time.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef SUN3X_TIME_H -#define SUN3X_TIME_H - -extern int sun3x_hwclk(int set, struct rtc_time *t); -void sun3x_sched_init(void); - -struct mostek_dt { - volatile unsigned char csr; - volatile unsigned char sec; - volatile unsigned char min; - volatile unsigned char hour; - volatile unsigned char wday; - volatile unsigned char mday; - volatile unsigned char month; - volatile unsigned char year; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef SUN3X_TIME_H +#define SUN3X_TIME_H + +extern int sun3x_hwclk(int set, struct rtc_time *t); +void sun3x_sched_init(void); + +struct mostek_dt { + volatile unsigned char csr; + volatile unsigned char sec; + volatile unsigned char min; + volatile unsigned char hour; + volatile unsigned char wday; + volatile unsigned char mday; + volatile unsigned char month; + volatile unsigned char year; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/dts/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/dts/Makefile index f773af693f..b84e2cbb20 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/dts/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/boot/dts/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -# - -dtb-y := system.dtb - -ifneq ($(DTB),) -obj-y += linked_dtb.o - -# Ensure system.dtb exists -$(obj)/linked_dtb.o: $(obj)/system.dtb - -# Generate system.dtb from $(DTB).dtb -ifneq ($(DTB),system) -$(obj)/system.dtb: $(obj)/$(DTB).dtb - $(call if_changed,copy) -endif -endif - -# Rule to build device tree blobs -DTC_FLAGS := -p 1024 +# SPDX-License-Identifier: GPL-2.0 +# + +dtb-y := system.dtb + +ifneq ($(DTB),) +obj-y += linked_dtb.o + +# Ensure system.dtb exists +$(obj)/linked_dtb.o: $(obj)/system.dtb + +# Generate system.dtb from $(DTB).dtb +ifneq ($(DTB),system) +$(obj)/system.dtb: $(obj)/$(DTB).dtb + $(call if_changed,copy) +endif +endif + +# Rule to build device tree blobs +DTC_FLAGS := -p 1024 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/asm-compat.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/asm-compat.h index ece8911125..c05259ce2d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/asm-compat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/asm-compat.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MICROBLAZE_ASM_COMPAT_H -#define _ASM_MICROBLAZE_ASM_COMPAT_H - -#include - -#ifdef __ASSEMBLY__ -# define stringify_in_c(...) __VA_ARGS__ -# define ASM_CONST(x) x -#else -/* This version of stringify will deal with commas... */ -# define __stringify_in_c(...) #__VA_ARGS__ -# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " -# define __ASM_CONST(x) x##UL -# define ASM_CONST(x) __ASM_CONST(x) -#endif - -#endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MICROBLAZE_ASM_COMPAT_H +#define _ASM_MICROBLAZE_ASM_COMPAT_H + +#include + +#ifdef __ASSEMBLY__ +# define stringify_in_c(...) __VA_ARGS__ +# define ASM_CONST(x) x +#else +/* This version of stringify will deal with commas... */ +# define __stringify_in_c(...) #__VA_ARGS__ +# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " +# define __ASM_CONST(x) x##UL +# define ASM_CONST(x) __ASM_CONST(x) +#endif + +#endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/elf.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/elf.h index d7a199522f..5331a8473a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/elf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/elf.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2008-2009 Michal Simek - * Copyright (C) 2008-2009 PetaLogix - * Copyright (C) 2006 Atmark Techno, Inc. - */ -#ifndef _ASM_MICROBLAZE_ELF_H -#define _ASM_MICROBLAZE_ELF_H - -#include - -#ifndef __uClinux__ -#ifndef ELF_GREG_T -#endif -#ifndef ELF_NGREG -#endif -#ifndef ELF_GREGSET_T -#endif -#ifndef ELF_FPREGSET_T -#endif -#ifdef __MICROBLAZEEL__ -#else -#endif -#define SET_PERSONALITY(ex) \ - set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) -#endif /* __uClinux__ */ -#endif /* _ASM_MICROBLAZE_ELF_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2008-2009 Michal Simek + * Copyright (C) 2008-2009 PetaLogix + * Copyright (C) 2006 Atmark Techno, Inc. + */ +#ifndef _ASM_MICROBLAZE_ELF_H +#define _ASM_MICROBLAZE_ELF_H + +#include + +#ifndef __uClinux__ +#ifndef ELF_GREG_T +#endif +#ifndef ELF_NGREG +#endif +#ifndef ELF_GREGSET_T +#endif +#ifndef ELF_FPREGSET_T +#endif +#ifdef __MICROBLAZEEL__ +#else +#endif +#define SET_PERSONALITY(ex) \ + set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) +#endif /* __uClinux__ */ +#endif /* _ASM_MICROBLAZE_ELF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ptrace.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ptrace.h index 3a1d24c4d1..bfcb89df5e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ptrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/ptrace.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ -#ifndef _ASM_MICROBLAZE_PTRACE_H -#define _ASM_MICROBLAZE_PTRACE_H - -#include - -#ifndef __ASSEMBLY__ -#define kernel_mode(regs) ((regs)->pt_mode) -#define user_mode(regs) (!kernel_mode(regs)) - -#define instruction_pointer(regs) ((regs)->pc) -#define profile_pc(regs) instruction_pointer(regs) -#define user_stack_pointer(regs) ((regs)->r1) - -static inline long regs_return_value(struct pt_regs *regs) -{ - return regs->r3; -} - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_MICROBLAZE_PTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ +#ifndef _ASM_MICROBLAZE_PTRACE_H +#define _ASM_MICROBLAZE_PTRACE_H + +#include + +#ifndef __ASSEMBLY__ +#define kernel_mode(regs) ((regs)->pt_mode) +#define user_mode(regs) (!kernel_mode(regs)) + +#define instruction_pointer(regs) ((regs)->pc) +#define profile_pc(regs) instruction_pointer(regs) +#define user_stack_pointer(regs) ((regs)->r1) + +static inline long regs_return_value(struct pt_regs *regs) +{ + return regs->r3; +} + +#endif /* __ASSEMBLY__ */ +#endif /* _ASM_MICROBLAZE_PTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/sections.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/sections.h index b2f186ba83..a9311ad84a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/sections.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/sections.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2008-2009 Michal Simek - * Copyright (C) 2008-2009 PetaLogix - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_SECTIONS_H -#define _ASM_MICROBLAZE_SECTIONS_H - -#include - -# ifndef __ASSEMBLY__ -extern char _ssbss[], _esbss[]; -extern unsigned long __ivt_start[], __ivt_end[]; - -extern u32 _fdt_start[], _fdt_end[]; - -# endif /* !__ASSEMBLY__ */ -#endif /* _ASM_MICROBLAZE_SECTIONS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2008-2009 Michal Simek + * Copyright (C) 2008-2009 PetaLogix + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_SECTIONS_H +#define _ASM_MICROBLAZE_SECTIONS_H + +#include + +# ifndef __ASSEMBLY__ +extern char _ssbss[], _esbss[]; +extern unsigned long __ivt_start[], __ivt_end[]; + +extern u32 _fdt_start[], _fdt_end[]; + +# endif /* !__ASSEMBLY__ */ +#endif /* _ASM_MICROBLAZE_SECTIONS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/string.h index 33a0b19d5c..8798ad2c13 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/string.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_STRING_H -#define _ASM_MICROBLAZE_STRING_H - -#ifdef __KERNEL__ - -#ifdef CONFIG_OPT_LIB_FUNCTION -#define __HAVE_ARCH_MEMSET -#define __HAVE_ARCH_MEMCPY -#define __HAVE_ARCH_MEMMOVE - -extern void *memset(void *, int, __kernel_size_t); -extern void *memcpy(void *, const void *, __kernel_size_t); -extern void *memmove(void *, const void *, __kernel_size_t); -#endif - -#endif /* __KERNEL__ */ - -#endif /* _ASM_MICROBLAZE_STRING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_STRING_H +#define _ASM_MICROBLAZE_STRING_H + +#ifdef __KERNEL__ + +#ifdef CONFIG_OPT_LIB_FUNCTION +#define __HAVE_ARCH_MEMSET +#define __HAVE_ARCH_MEMCPY +#define __HAVE_ARCH_MEMMOVE + +extern void *memset(void *, int, __kernel_size_t); +extern void *memcpy(void *, const void *, __kernel_size_t); +extern void *memmove(void *, const void *, __kernel_size_t); +#endif + +#endif /* __KERNEL__ */ + +#endif /* _ASM_MICROBLAZE_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/switch_to.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/switch_to.h index 83819a5af0..5afd6d9977 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/switch_to.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/switch_to.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - */ - -#ifndef _ASM_MICROBLAZE_SWITCH_TO_H -#define _ASM_MICROBLAZE_SWITCH_TO_H - -struct task_struct; -struct thread_info; - -extern struct task_struct *_switch_to(struct thread_info *prev, - struct thread_info *next); - -#define switch_to(prev, next, last) \ - do { \ - (last) = _switch_to(task_thread_info(prev), \ - task_thread_info(next)); \ - } while (0) - -#endif /* _ASM_MICROBLAZE_SWITCH_TO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + */ + +#ifndef _ASM_MICROBLAZE_SWITCH_TO_H +#define _ASM_MICROBLAZE_SWITCH_TO_H + +struct task_struct; +struct thread_info; + +extern struct task_struct *_switch_to(struct thread_info *prev, + struct thread_info *next); + +#define switch_to(prev, next, last) \ + do { \ + (last) = _switch_to(task_thread_info(prev), \ + task_thread_info(next)); \ + } while (0) + +#endif /* _ASM_MICROBLAZE_SWITCH_TO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/unwind.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/unwind.h index de8209b2ef..3db81777a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/unwind.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/asm/unwind.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Backtrace support for Microblaze - * - * Copyright (C) 2010 Digital Design Corporation - */ - -#ifndef __MICROBLAZE_UNWIND_H -#define __MICROBLAZE_UNWIND_H - -struct stack_trace; - -struct trap_handler_info { - unsigned long start_addr; - unsigned long end_addr; - const char *trap_name; -}; -extern struct trap_handler_info microblaze_trap_handlers; - -extern const char _hw_exception_handler; -extern const char ex_handler_unhandled; - -void microblaze_unwind(struct task_struct *task, struct stack_trace *trace, - const char *loglvl); - -#endif /* __MICROBLAZE_UNWIND_H */ - +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Backtrace support for Microblaze + * + * Copyright (C) 2010 Digital Design Corporation + */ + +#ifndef __MICROBLAZE_UNWIND_H +#define __MICROBLAZE_UNWIND_H + +struct stack_trace; + +struct trap_handler_info { + unsigned long start_addr; + unsigned long end_addr; + const char *trap_name; +}; +extern struct trap_handler_info microblaze_trap_handlers; + +extern const char _hw_exception_handler; +extern const char ex_handler_unhandled; + +void microblaze_unwind(struct task_struct *task, struct stack_trace *trace, + const char *loglvl); + +#endif /* __MICROBLAZE_UNWIND_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/setup.h index da1586e1bc..6831794e6f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/setup.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2007-2009 Michal Simek - * Copyright (C) 2007-2009 PetaLogix - * Copyright (C) 2006 Atmark Techno, Inc. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _UAPI_ASM_MICROBLAZE_SETUP_H -#define _UAPI_ASM_MICROBLAZE_SETUP_H - -#define COMMAND_LINE_SIZE 256 - -# ifndef __ASSEMBLY__ - -# endif /* __ASSEMBLY__ */ -#endif /* _UAPI_ASM_MICROBLAZE_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2007-2009 Michal Simek + * Copyright (C) 2007-2009 PetaLogix + * Copyright (C) 2006 Atmark Techno, Inc. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _UAPI_ASM_MICROBLAZE_SETUP_H +#define _UAPI_ASM_MICROBLAZE_SETUP_H + +#define COMMAND_LINE_SIZE 256 + +# ifndef __ASSEMBLY__ + +# endif /* __ASSEMBLY__ */ +#endif /* _UAPI_ASM_MICROBLAZE_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/sigcontext.h index e9e72acec0..47eb2e2111 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/sigcontext.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2006 Atmark Techno, Inc. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _ASM_MICROBLAZE_SIGCONTEXT_H -#define _ASM_MICROBLAZE_SIGCONTEXT_H - -/* FIXME should be linux/ptrace.h */ -#include - -struct sigcontext { - struct pt_regs regs; - unsigned long oldmask; -}; - -#endif /* _ASM_MICROBLAZE_SIGCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2006 Atmark Techno, Inc. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_MICROBLAZE_SIGCONTEXT_H +#define _ASM_MICROBLAZE_SIGCONTEXT_H + +/* FIXME should be linux/ptrace.h */ +#include + +struct sigcontext { + struct pt_regs regs; + unsigned long oldmask; +}; + +#endif /* _ASM_MICROBLAZE_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/unistd.h index 5ee0d81a4c..3f2d7cb683 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/include/uapi/asm/unistd.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright (C) 2007-2008 Michal Simek - * Copyright (C) 2006 Atmark Techno, Inc. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _UAPI_ASM_MICROBLAZE_UNISTD_H -#define _UAPI_ASM_MICROBLAZE_UNISTD_H - -#include - -#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright (C) 2007-2008 Michal Simek + * Copyright (C) 2006 Atmark Techno, Inc. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _UAPI_ASM_MICROBLAZE_UNISTD_H +#define _UAPI_ASM_MICROBLAZE_UNISTD_H + +#include + +#endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/Makefile index d7c3456843..9fe7ab688c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/Makefile @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile -# - -ifdef CONFIG_FUNCTION_TRACER -CFLAGS_REMOVE_ashldi3.o = -pg -CFLAGS_REMOVE_ashrdi3.o = -pg -CFLAGS_REMOVE_lshrdi3.o = -pg -endif - -lib-y := memset.o - -ifeq ($(CONFIG_OPT_LIB_ASM),y) -lib-y += fastcopy.o -else -lib-y += memcpy.o memmove.o -endif - -lib-y += uaccess_old.o - -# libgcc-style stuff needed in the kernel -obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o -obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile +# + +ifdef CONFIG_FUNCTION_TRACER +CFLAGS_REMOVE_ashldi3.o = -pg +CFLAGS_REMOVE_ashrdi3.o = -pg +CFLAGS_REMOVE_lshrdi3.o = -pg +endif + +lib-y := memset.o + +ifeq ($(CONFIG_OPT_LIB_ASM),y) +lib-y += fastcopy.o +else +lib-y += memcpy.o memmove.o +endif + +lib-y += uaccess_old.o + +# libgcc-style stuff needed in the kernel +obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o +obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashldi3.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashldi3.c index 9d0beba3e3..4d0f9481bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashldi3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashldi3.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "libgcc.h" - -long long __ashldi3(long long u, word_type b) -{ - DWunion uu, w; - word_type bm; - - if (b == 0) - return u; - - uu.ll = u; - bm = 32 - b; - - if (bm <= 0) { - w.s.low = 0; - w.s.high = (unsigned int) uu.s.low << -bm; - } else { - const unsigned int carries = (unsigned int) uu.s.low >> bm; - - w.s.low = (unsigned int) uu.s.low << b; - w.s.high = ((unsigned int) uu.s.high << b) | carries; - } - - return w.ll; -} -EXPORT_SYMBOL(__ashldi3); +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "libgcc.h" + +long long __ashldi3(long long u, word_type b) +{ + DWunion uu, w; + word_type bm; + + if (b == 0) + return u; + + uu.ll = u; + bm = 32 - b; + + if (bm <= 0) { + w.s.low = 0; + w.s.high = (unsigned int) uu.s.low << -bm; + } else { + const unsigned int carries = (unsigned int) uu.s.low >> bm; + + w.s.low = (unsigned int) uu.s.low << b; + w.s.high = ((unsigned int) uu.s.high << b) | carries; + } + + return w.ll; +} +EXPORT_SYMBOL(__ashldi3); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashrdi3.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashrdi3.c index b915bc8058..268098a962 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashrdi3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ashrdi3.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "libgcc.h" - -long long __ashrdi3(long long u, word_type b) -{ - DWunion uu, w; - word_type bm; - - if (b == 0) - return u; - - uu.ll = u; - bm = 32 - b; - - if (bm <= 0) { - /* w.s.high = 1..1 or 0..0 */ - w.s.high = - uu.s.high >> 31; - w.s.low = uu.s.high >> -bm; - } else { - const unsigned int carries = (unsigned int) uu.s.high << bm; - - w.s.high = uu.s.high >> b; - w.s.low = ((unsigned int) uu.s.low >> b) | carries; - } - - return w.ll; -} -EXPORT_SYMBOL(__ashrdi3); +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "libgcc.h" + +long long __ashrdi3(long long u, word_type b) +{ + DWunion uu, w; + word_type bm; + + if (b == 0) + return u; + + uu.ll = u; + bm = 32 - b; + + if (bm <= 0) { + /* w.s.high = 1..1 or 0..0 */ + w.s.high = + uu.s.high >> 31; + w.s.low = uu.s.high >> -bm; + } else { + const unsigned int carries = (unsigned int) uu.s.high << bm; + + w.s.high = uu.s.high >> b; + w.s.low = ((unsigned int) uu.s.low >> b) | carries; + } + + return w.ll; +} +EXPORT_SYMBOL(__ashrdi3); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/cmpdi2.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/cmpdi2.c index 4cf6f23cee..b3f8963851 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/cmpdi2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/cmpdi2.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "libgcc.h" - -word_type __cmpdi2(long long a, long long b) -{ - const DWunion au = { - .ll = a - }; - const DWunion bu = { - .ll = b - }; - - if (au.s.high < bu.s.high) - return 0; - else if (au.s.high > bu.s.high) - return 2; - - if ((unsigned int) au.s.low < (unsigned int) bu.s.low) - return 0; - else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) - return 2; - - return 1; -} -EXPORT_SYMBOL(__cmpdi2); +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "libgcc.h" + +word_type __cmpdi2(long long a, long long b) +{ + const DWunion au = { + .ll = a + }; + const DWunion bu = { + .ll = b + }; + + if (au.s.high < bu.s.high) + return 0; + else if (au.s.high > bu.s.high) + return 2; + + if ((unsigned int) au.s.low < (unsigned int) bu.s.low) + return 0; + else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) + return 2; + + return 1; +} +EXPORT_SYMBOL(__cmpdi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/lshrdi3.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/lshrdi3.c index eb314dd6c7..00eb826822 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/lshrdi3.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/lshrdi3.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "libgcc.h" - -long long __lshrdi3(long long u, word_type b) -{ - DWunion uu, w; - word_type bm; - - if (b == 0) - return u; - - uu.ll = u; - bm = 32 - b; - - if (bm <= 0) { - w.s.high = 0; - w.s.low = (unsigned int) uu.s.high >> -bm; - } else { - const unsigned int carries = (unsigned int) uu.s.high << bm; - - w.s.high = (unsigned int) uu.s.high >> b; - w.s.low = ((unsigned int) uu.s.low >> b) | carries; - } - - return w.ll; -} -EXPORT_SYMBOL(__lshrdi3); +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "libgcc.h" + +long long __lshrdi3(long long u, word_type b) +{ + DWunion uu, w; + word_type bm; + + if (b == 0) + return u; + + uu.ll = u; + bm = 32 - b; + + if (bm <= 0) { + w.s.high = 0; + w.s.low = (unsigned int) uu.s.high >> -bm; + } else { + const unsigned int carries = (unsigned int) uu.s.high << bm; + + w.s.high = (unsigned int) uu.s.high >> b; + w.s.low = ((unsigned int) uu.s.low >> b) | carries; + } + + return w.ll; +} +EXPORT_SYMBOL(__lshrdi3); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ucmpdi2.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ucmpdi2.c index ead149099e..c60e068ff8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ucmpdi2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/lib/ucmpdi2.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -#include - -#include "libgcc.h" - -word_type __ucmpdi2(unsigned long long a, unsigned long long b) -{ - const DWunion au = {.ll = a}; - const DWunion bu = {.ll = b}; - - if ((unsigned int) au.s.high < (unsigned int) bu.s.high) - return 0; - else if ((unsigned int) au.s.high > (unsigned int) bu.s.high) - return 2; - if ((unsigned int) au.s.low < (unsigned int) bu.s.low) - return 0; - else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) - return 2; - return 1; -} -EXPORT_SYMBOL(__ucmpdi2); +// SPDX-License-Identifier: GPL-2.0 +#include + +#include "libgcc.h" + +word_type __ucmpdi2(unsigned long long a, unsigned long long b) +{ + const DWunion au = {.ll = a}; + const DWunion bu = {.ll = b}; + + if ((unsigned int) au.s.high < (unsigned int) bu.s.high) + return 0; + else if ((unsigned int) au.s.high > (unsigned int) bu.s.high) + return 2; + if ((unsigned int) au.s.low < (unsigned int) bu.s.low) + return 0; + else if ((unsigned int) au.s.low > (unsigned int) bu.s.low) + return 2; + return 1; +} +EXPORT_SYMBOL(__ucmpdi2); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/consistent.c b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/consistent.c index 82e8f6be3b..b7ad4a9863 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/consistent.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/microblaze/mm/consistent.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Microblaze support for cache consistent memory. - * Copyright (C) 2010 Michal Simek - * Copyright (C) 2010 PetaLogix - * Copyright (C) 2005 John Williams - */ - -#include -#include -#include -#include -#include -#include -#include -#include - -void arch_dma_prep_coherent(struct page *page, size_t size) -{ - phys_addr_t paddr = page_to_phys(page); - - flush_dcache_range(paddr, paddr + size); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Microblaze support for cache consistent memory. + * Copyright (C) 2010 Michal Simek + * Copyright (C) 2010 PetaLogix + * Copyright (C) 2005 John Williams + */ + +#include +#include +#include +#include +#include +#include +#include +#include + +void arch_dma_prep_coherent(struct page *page, size_t size) +{ + phys_addr_t paddr = page_to_phys(page); + + flush_dcache_range(paddr, paddr + size); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/mips/Kbuild index 86185a8435..e901bf5544 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/Kbuild @@ -1,25 +1,25 @@ -# SPDX-License-Identifier: GPL-2.0 - -# platform specific definitions -include $(srctree)/arch/mips/Kbuild.platforms -obj-y := $(platform-y) - -# make clean traverses $(obj-) without having included .config, so -# everything ends up here -obj- := $(platform-y) - -# mips object files -# The object files are linked as core-y files would be linked - -obj-y += generic/ -obj-y += kernel/ -obj-y += mm/ -obj-y += net/ -obj-y += vdso/ - -ifdef CONFIG_KVM -obj-y += kvm/ -endif - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0 + +# platform specific definitions +include $(srctree)/arch/mips/Kbuild.platforms +obj-y := $(platform-y) + +# make clean traverses $(obj-) without having included .config, so +# everything ends up here +obj- := $(platform-y) + +# mips object files +# The object files are linked as core-y files would be linked + +obj-y += generic/ +obj-y += kernel/ +obj-y += mm/ +obj-y += net/ +obj-y += vdso/ + +ifdef CONFIG_KVM +obj-y += kvm/ +endif + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/platform.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/platform.h index 12cee645a4..23d98fc09a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/platform.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/alchemy/devboards/platform.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _DEVBOARD_PLATFORM_H_ -#define _DEVBOARD_PLATFORM_H_ - -#include - -int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, - phys_addr_t pcmcia_attr_len, - phys_addr_t pcmcia_mem_start, - phys_addr_t pcmcia_mem_end, - phys_addr_t pcmcia_io_start, - phys_addr_t pcmcia_io_end, - int card_irq, - int cd_irq, - int stschg_irq, - int eject_irq, - int id); - -int __init db1x_register_norflash(unsigned long size, int width, - int swapped); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _DEVBOARD_PLATFORM_H_ +#define _DEVBOARD_PLATFORM_H_ + +#include + +int __init db1x_register_pcmcia_socket(phys_addr_t pcmcia_attr_start, + phys_addr_t pcmcia_attr_len, + phys_addr_t pcmcia_mem_start, + phys_addr_t pcmcia_mem_end, + phys_addr_t pcmcia_io_start, + phys_addr_t pcmcia_io_end, + int card_irq, + int cd_irq, + int stschg_irq, + int eject_irq, + int id); + +int __init db1x_register_norflash(unsigned long size, int width, + int swapped); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Kconfig index ea88f42034..3014c80cf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Kconfig @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -config SOC_AR5312 - bool "Atheros AR5312/AR2312+ SoC support" - depends on ATH25 - default y - -config SOC_AR2315 - bool "Atheros AR2315+ SoC support" - depends on ATH25 - default y - -config PCI_AR2315 - bool "Atheros AR2315 PCI controller support" - depends on SOC_AR2315 - select ARCH_HAS_PHYS_TO_DMA - select FORCE_PCI - default y +# SPDX-License-Identifier: GPL-2.0 +config SOC_AR5312 + bool "Atheros AR5312/AR2312+ SoC support" + depends on ATH25 + default y + +config SOC_AR2315 + bool "Atheros AR2315+ SoC support" + depends on ATH25 + default y + +config PCI_AR2315 + bool "Atheros AR2315 PCI controller support" + depends on SOC_AR2315 + select ARCH_HAS_PHYS_TO_DMA + select FORCE_PCI + default y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Makefile index b5cb682ff9..eabad7da44 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/Makefile @@ -1,16 +1,16 @@ -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# Copyright (C) 2006 FON Technology, SL. -# Copyright (C) 2006 Imre Kaloz -# Copyright (C) 2006-2009 Felix Fietkau -# - -obj-y += board.o prom.o devices.o - -obj-$(CONFIG_EARLY_PRINTK) += early_printk.o - -obj-$(CONFIG_SOC_AR5312) += ar5312.o -obj-$(CONFIG_SOC_AR2315) += ar2315.o +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# Copyright (C) 2006 FON Technology, SL. +# Copyright (C) 2006 Imre Kaloz +# Copyright (C) 2006-2009 Felix Fietkau +# + +obj-y += board.o prom.o devices.o + +obj-$(CONFIG_EARLY_PRINTK) += early_printk.o + +obj-$(CONFIG_SOC_AR5312) += ar5312.o +obj-$(CONFIG_SOC_AR2315) += ar2315.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar2315.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar2315.h index 96c486f3cd..fccc64f6db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar2315.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar2315.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AR2315_H -#define __AR2315_H - -#ifdef CONFIG_SOC_AR2315 - -void ar2315_arch_init_irq(void); -void ar2315_init_devices(void); -void ar2315_plat_time_init(void); -void ar2315_plat_mem_setup(void); -void ar2315_arch_init(void); - -#else - -static inline void ar2315_arch_init_irq(void) {} -static inline void ar2315_init_devices(void) {} -static inline void ar2315_plat_time_init(void) {} -static inline void ar2315_plat_mem_setup(void) {} -static inline void ar2315_arch_init(void) {} - -#endif - -#endif /* __AR2315_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __AR2315_H +#define __AR2315_H + +#ifdef CONFIG_SOC_AR2315 + +void ar2315_arch_init_irq(void); +void ar2315_init_devices(void); +void ar2315_plat_time_init(void); +void ar2315_plat_mem_setup(void); +void ar2315_arch_init(void); + +#else + +static inline void ar2315_arch_init_irq(void) {} +static inline void ar2315_init_devices(void) {} +static inline void ar2315_plat_time_init(void) {} +static inline void ar2315_plat_mem_setup(void) {} +static inline void ar2315_arch_init(void) {} + +#endif + +#endif /* __AR2315_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar5312.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar5312.h index 45b0d5463e..67518a59ac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar5312.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/ar5312.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AR5312_H -#define __AR5312_H - -#ifdef CONFIG_SOC_AR5312 - -void ar5312_arch_init_irq(void); -void ar5312_init_devices(void); -void ar5312_plat_time_init(void); -void ar5312_plat_mem_setup(void); -void ar5312_arch_init(void); - -#else - -static inline void ar5312_arch_init_irq(void) {} -static inline void ar5312_init_devices(void) {} -static inline void ar5312_plat_time_init(void) {} -static inline void ar5312_plat_mem_setup(void) {} -static inline void ar5312_arch_init(void) {} - -#endif - -#endif /* __AR5312_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __AR5312_H +#define __AR5312_H + +#ifdef CONFIG_SOC_AR5312 + +void ar5312_arch_init_irq(void); +void ar5312_init_devices(void); +void ar5312_plat_time_init(void); +void ar5312_plat_mem_setup(void); +void ar5312_arch_init(void); + +#else + +static inline void ar5312_arch_init_irq(void) {} +static inline void ar5312_init_devices(void) {} +static inline void ar5312_plat_time_init(void) {} +static inline void ar5312_plat_mem_setup(void) {} +static inline void ar5312_arch_init(void) {} + +#endif + +#endif /* __AR5312_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/prom.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/prom.c index f4d10219b9..4466e14fea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/prom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath25/prom.c @@ -1,22 +1,22 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright MontaVista Software Inc - * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved. - * Copyright (C) 2006 FON Technology, SL. - * Copyright (C) 2006 Imre Kaloz - * Copyright (C) 2006 Felix Fietkau - */ - -/* - * Prom setup file for AR5312/AR231x SoCs - */ - -#include -#include - -void __init prom_init(void) -{ -} +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright MontaVista Software Inc + * Copyright (C) 2003 Atheros Communications, Inc., All Rights Reserved. + * Copyright (C) 2006 FON Technology, SL. + * Copyright (C) 2006 Imre Kaloz + * Copyright (C) 2006 Felix Fietkau + */ + +/* + * Prom setup file for AR5312/AR231x SoCs + */ + +#include +#include + +void __init prom_init(void) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Kconfig index 9fa4648c31..04154128c4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/Kconfig @@ -1,32 +1,32 @@ -# SPDX-License-Identifier: GPL-2.0 -if ATH79 - -config SOC_AR71XX - select HAVE_PCI - def_bool n - -config SOC_AR724X - select HAVE_PCI - select PCI_AR724X if PCI - def_bool n - -config SOC_AR913X - def_bool n - -config SOC_AR933X - def_bool n - -config SOC_AR934X - select HAVE_PCI - select PCI_AR724X if PCI - def_bool n - -config SOC_QCA955X - select HAVE_PCI - select PCI_AR724X if PCI - def_bool n - -config PCI_AR724X - def_bool n - -endif +# SPDX-License-Identifier: GPL-2.0 +if ATH79 + +config SOC_AR71XX + select HAVE_PCI + def_bool n + +config SOC_AR724X + select HAVE_PCI + select PCI_AR724X if PCI + def_bool n + +config SOC_AR913X + def_bool n + +config SOC_AR933X + def_bool n + +config SOC_AR934X + select HAVE_PCI + select PCI_AR724X if PCI + def_bool n + +config SOC_QCA955X + select HAVE_PCI + select PCI_AR724X if PCI + def_bool n + +config PCI_AR724X + def_bool n + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/common.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/common.h index ab9628b6b9..47fb66d7b2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ath79/common.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Atheros AR71XX/AR724X/AR913X common definitions - * - * Copyright (C) 2008-2011 Gabor Juhos - * Copyright (C) 2008 Imre Kaloz - * - * Parts of this file are based on Atheros' 2.6.15 BSP - */ - -#ifndef __ATH79_COMMON_H -#define __ATH79_COMMON_H - -#include - -#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024) -#define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024) - -void ath79_ddr_ctrl_init(void); - -#endif /* __ATH79_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Atheros AR71XX/AR724X/AR913X common definitions + * + * Copyright (C) 2008-2011 Gabor Juhos + * Copyright (C) 2008 Imre Kaloz + * + * Parts of this file are based on Atheros' 2.6.15 BSP + */ + +#ifndef __ATH79_COMMON_H +#define __ATH79_COMMON_H + +#include + +#define ATH79_MEM_SIZE_MIN (2 * 1024 * 1024) +#define ATH79_MEM_SIZE_MAX (256 * 1024 * 1024) + +void ath79_ddr_ctrl_init(void); + +#endif /* __ATH79_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/bcm47xx_private.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/bcm47xx_private.h index 53409077a8..bb96743bb9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/bcm47xx_private.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/bcm47xx/bcm47xx_private.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LINUX_BCM47XX_PRIVATE_H_ -#define LINUX_BCM47XX_PRIVATE_H_ - -#ifndef pr_fmt -#define pr_fmt(fmt) "bcm47xx: " fmt -#endif - -#include - -/* prom.c */ -void __init bcm47xx_prom_highmem_init(void); - -/* buttons.c */ -int __init bcm47xx_buttons_register(void); - -/* leds.c */ -void __init bcm47xx_leds_register(void); - -/* setup.c */ -void __init bcm47xx_bus_setup(void); - -/* workarounds.c */ -void __init bcm47xx_workarounds(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef LINUX_BCM47XX_PRIVATE_H_ +#define LINUX_BCM47XX_PRIVATE_H_ + +#ifndef pr_fmt +#define pr_fmt(fmt) "bcm47xx: " fmt +#endif + +#include + +/* prom.c */ +void __init bcm47xx_prom_highmem_init(void); + +/* buttons.c */ +int __init bcm47xx_buttons_register(void); + +/* leds.c */ +void __init bcm47xx_leds_register(void); + +/* setup.c */ +void __init bcm47xx_bus_setup(void); + +/* workarounds.c */ +void __init bcm47xx_workarounds(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/decompress.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/decompress.h index 4a31d18572..073b64593b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/decompress.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/compressed/decompress.h @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef _DECOMPRESSOR_H -#define _DECOMPRESSOR_H - -/* The linker tells us where the image is. */ -extern unsigned char __image_begin[], __image_end[]; - -/* debug interfaces */ -#ifdef CONFIG_DEBUG_ZBOOT -extern void putc(char c); -extern void puts(const char *s); -extern void puthex(unsigned long long val); -#else -#define putc(s) do {} while (0) -#define puts(s) do {} while (0) -#define puthex(val) do {} while (0) -#endif - -extern char __appended_dtb[]; - -void error(char *x); -void decompress_kernel(unsigned long boot_heap_start); - -#endif +// SPDX-License-Identifier: GPL-2.0 +#ifndef _DECOMPRESSOR_H +#define _DECOMPRESSOR_H + +/* The linker tells us where the image is. */ +extern unsigned char __image_begin[], __image_end[]; + +/* debug interfaces */ +#ifdef CONFIG_DEBUG_ZBOOT +extern void putc(char c); +extern void puts(const char *s); +extern void puthex(unsigned long long val); +#else +#define putc(s) do {} while (0) +#define puts(s) do {} while (0) +#define puthex(val) do {} while (0) +#endif + +extern char __appended_dtb[]; + +void error(char *x); +void decompress_kernel(unsigned long boot_heap_start); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts index 784dc92cd5..f845faa0d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm93384wvg_viper.dts @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm3384_viper.dtsi" - -/ { - compatible = "brcm,bcm93384wvg-viper", "brcm,bcm3384-viper"; - model = "Broadcom BCM93384WVG-viper"; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; - -&ehci0 { - status = "okay"; -}; - -&ohci0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm3384_viper.dtsi" + +/ { + compatible = "brcm,bcm93384wvg-viper", "brcm,bcm3384-viper"; + model = "Broadcom BCM93384WVG-viper"; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; + +&ehci0 { + status = "okay"; +}; + +&ohci0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm96368mvwg.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm96368mvwg.dts index 5ed742199d..f5e9550853 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm96368mvwg.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm96368mvwg.dts @@ -1,32 +1,32 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm6368.dtsi" - -/ { - compatible = "brcm,bcm96368mvwg", "brcm,bcm6368"; - model = "Broadcom BCM96368MVWG"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x04000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; - -/* FIXME: need to set up USB_CTRL registers first */ -&ehci { - status = "disabled"; -}; - -&ohci { - status = "disabled"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm6368.dtsi" + +/ { + compatible = "brcm,bcm96368mvwg", "brcm,bcm6368"; + model = "Broadcom BCM96368MVWG"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x04000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; + +/* FIXME: need to set up USB_CTRL registers first */ +&ehci { + status = "disabled"; +}; + +&ohci { + status = "disabled"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi index 1b4294cf7c..96c30d857b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch24.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -&nand { - nandcs@1 { - compatible = "brcm,nandcs"; - reg = <1>; - nand-on-flash-bbt; - - nand-ecc-strength = <24>; - nand-ecc-step-size = <1024>; - brcm,nand-oob-sector-size = <27>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - flash1.rootfs@0 { - reg = <0x0 0x10000000>; - }; - - flash1.kernel@10000000 { - reg = <0x10000000 0x400000>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +&nand { + nandcs@1 { + compatible = "brcm,nandcs"; + reg = <1>; + nand-on-flash-bbt; + + nand-ecc-strength = <24>; + nand-ecc-step-size = <1024>; + brcm,nand-oob-sector-size = <27>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1.rootfs@0 { + reg = <0x0 0x10000000>; + }; + + flash1.kernel@10000000 { + reg = <0x10000000 0x400000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi index 5825412c40..7b5afefbbf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm97xxx-nand-cs1-bch4.dtsi @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -&nand { - nandcs@1 { - compatible = "brcm,nandcs"; - reg = <1>; - nand-on-flash-bbt; - - nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; - brcm,nand-oob-sector-size = <16>; - - partitions { - compatible = "fixed-partitions"; - #address-cells = <1>; - #size-cells = <1>; - - flash1.rootfs@0 { - reg = <0x0 0x10000000>; - }; - - flash1.kernel@10000000 { - reg = <0x10000000 0x400000>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0 +&nand { + nandcs@1 { + compatible = "brcm,nandcs"; + reg = <1>; + nand-on-flash-bbt; + + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + brcm,nand-oob-sector-size = <16>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + flash1.rootfs@0 { + reg = <0x0 0x10000000>; + }; + + flash1.kernel@10000000 { + reg = <0x10000000 0x400000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm9ejtagprb.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm9ejtagprb.dts index aab535dc5d..615d2b9777 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm9ejtagprb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/brcm/bcm9ejtagprb.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "bcm6328.dtsi" - -/ { - compatible = "brcm,bcm9ejtagprb", "brcm,bcm6328"; - model = "Broadcom BCM9EJTAGPRB"; - - memory@0 { - device_type = "memory"; - reg = <0x00000000 0x08000000>; - }; - - chosen { - bootargs = "console=ttyS0,115200"; - stdout-path = &uart0; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "bcm6328.dtsi" + +/ { + compatible = "brcm,bcm9ejtagprb", "brcm,bcm6328"; + model = "Broadcom BCM9EJTAGPRB"; + + memory@0 { + device_type = "memory"; + reg = <0x00000000 0x08000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/Makefile index 83e07f1d7a..54aa0c4e60 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ingenic/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_JZ4740_QI_LB60) += qi_lb60.dtb -dtb-$(CONFIG_JZ4740_RS90) += rs90.dtb -dtb-$(CONFIG_JZ4770_GCW0) += gcw0.dtb -dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb -dtb-$(CONFIG_X1000_CU1000_NEO) += cu1000-neo.dtb -dtb-$(CONFIG_X1830_CU1830_NEO) += cu1830-neo.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_JZ4740_QI_LB60) += qi_lb60.dtb +dtb-$(CONFIG_JZ4740_RS90) += rs90.dtb +dtb-$(CONFIG_JZ4770_GCW0) += gcw0.dtb +dtb-$(CONFIG_JZ4780_CI20) += ci20.dtb +dtb-$(CONFIG_X1000_CU1000_NEO) += cu1000-neo.dtb +dtb-$(CONFIG_X1830_CU1830_NEO) += cu1830-neo.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/Makefile index fb4bb7d465..5c6433e441 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/Makefile @@ -1,9 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64_2core_2k1000.dtb -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_4core_ls7a.dtb -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_4core_rs780e.dtb -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_8core_rs780e.dtb -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64g_4core_ls7a.dtb -dtb-$(CONFIG_MACH_LOONGSON64) += loongson64v_4core_virtio.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64_2core_2k1000.dtb +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_4core_ls7a.dtb +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_4core_rs780e.dtb +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64c_8core_rs780e.dtb +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64g_4core_ls7a.dtb +dtb-$(CONFIG_MACH_LOONGSON64) += loongson64v_4core_virtio.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_rs780e.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_rs780e.dts index b410f0c99d..d681a295df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_rs780e.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_4core_rs780e.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "loongson64c-package.dtsi" -#include "rs780e-pch.dtsi" - -/ { - compatible = "loongson,loongson64c-4core-rs780e"; -}; - -&package0 { - htpic: interrupt-controller@efdfb000080 { - compatible = "loongson,htpic-1.0"; - reg = <0xefd 0xfb000080 0x40>; - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&liointc>; - interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, - <25 IRQ_TYPE_LEVEL_HIGH>, - <26 IRQ_TYPE_LEVEL_HIGH>, - <27 IRQ_TYPE_LEVEL_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "loongson64c-package.dtsi" +#include "rs780e-pch.dtsi" + +/ { + compatible = "loongson,loongson64c-4core-rs780e"; +}; + +&package0 { + htpic: interrupt-controller@efdfb000080 { + compatible = "loongson,htpic-1.0"; + reg = <0xefd 0xfb000080 0x40>; + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&liointc>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, + <25 IRQ_TYPE_LEVEL_HIGH>, + <26 IRQ_TYPE_LEVEL_HIGH>, + <27 IRQ_TYPE_LEVEL_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_8core_rs780e.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_8core_rs780e.dts index 058de74655..3c2044142c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_8core_rs780e.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/loongson/loongson64c_8core_rs780e.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; - -#include "loongson64c-package.dtsi" -#include "rs780e-pch.dtsi" - -/ { - compatible = "loongson,loongson64c-8core-rs780e"; -}; - -&package0 { - htpic: interrupt-controller@1efdfb000080 { - compatible = "loongson,htpic-1.0"; - reg = <0x1efd 0xfb000080 0x40>; - interrupt-controller; - #interrupt-cells = <1>; - - interrupt-parent = <&liointc>; - interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, - <25 IRQ_TYPE_LEVEL_HIGH>, - <26 IRQ_TYPE_LEVEL_HIGH>, - <27 IRQ_TYPE_LEVEL_HIGH>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 + +/dts-v1/; + +#include "loongson64c-package.dtsi" +#include "rs780e-pch.dtsi" + +/ { + compatible = "loongson,loongson64c-8core-rs780e"; +}; + +&package0 { + htpic: interrupt-controller@1efdfb000080 { + compatible = "loongson,htpic-1.0"; + reg = <0x1efd 0xfb000080 0x40>; + interrupt-controller; + #interrupt-cells = <1>; + + interrupt-parent = <&liointc>; + interrupts = <24 IRQ_TYPE_LEVEL_HIGH>, + <25 IRQ_TYPE_LEVEL_HIGH>, + <26 IRQ_TYPE_LEVEL_HIGH>, + <27 IRQ_TYPE_LEVEL_HIGH>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts index c9129f862b..6898b2d826 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Copyright 2023 Mobileye Vision Technologies Ltd. - */ - -/dts-v1/; - -#include "eyeq5.dtsi" - -/ { - compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5"; - model = "Mobile EyeQ5 MP5 Evaluation board"; - - chosen { - stdout-path = "serial2:115200n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x40000000 0x0 0x02000000>, - <0x8 0x02000000 0x0 0x7E000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Copyright 2023 Mobileye Vision Technologies Ltd. + */ + +/dts-v1/; + +#include "eyeq5.dtsi" + +/ { + compatible = "mobileye,eyeq5-epm5", "mobileye,eyeq5"; + model = "Mobile EyeQ5 MP5 Evaluation board"; + + chosen { + stdout-path = "serial2:115200n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x40000000 0x0 0x02000000>, + <0x8 0x02000000 0x0 0x7E000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts index 1772eb3f02..ebc0d363fb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mobileye/eyeq6h-epm6.dts @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -/* - * Copyright 2024 Mobileye Vision Technologies Ltd. - */ - -/dts-v1/; - -#include "eyeq6h.dtsi" - -/ { - compatible = "mobileye,eyeq6-epm6", "mobileye,eyeq6"; - model = "Mobile EyeQ6H MP6 Evaluation board"; - - chosen { - stdout-path = "serial0:921600n8"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x1 0x00000000 0x1 0x00000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +/* + * Copyright 2024 Mobileye Vision Technologies Ltd. + */ + +/dts-v1/; + +#include "eyeq6h.dtsi" + +/ { + compatible = "mobileye,eyeq6-epm6", "mobileye,eyeq6"; + model = "Mobile EyeQ6H MP6 Evaluation board"; + + chosen { + stdout-path = "serial0:921600n8"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x1 0x00000000 0x1 0x00000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/luton_pcb091.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/luton_pcb091.dts index e8cbfabbb3..26ef6285d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/luton_pcb091.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/mscc/luton_pcb091.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -/* - * Copyright (c) 2020 Microsemi Corporation - */ - -/dts-v1/; - -#include "luton.dtsi" - -/ { - model = "Luton10 PCB091 Reference Board"; - compatible = "mscc,luton-pcb091", "mscc,luton"; - - aliases { - serial0 = &uart0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&i2c0 { - status = "okay"; - i2c-sda-hold-time-ns = <300>; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2020 Microsemi Corporation + */ + +/dts-v1/; + +#include "luton.dtsi" + +/ { + model = "Luton10 PCB091 Reference Board"; + compatible = "mscc,luton-pcb091", "mscc,luton"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + i2c-sda-hold-time-ns = <300>; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/Makefile index 1bbde2706c..d27d7e8c70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/ralink/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_DTB_RT2880_EVAL) += rt2880_eval.dtb -dtb-$(CONFIG_DTB_RT305X_EVAL) += rt3052_eval.dtb -dtb-$(CONFIG_DTB_RT3883_EVAL) += rt3883_eval.dtb -dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb -dtb-$(CONFIG_DTB_OMEGA2P) += omega2p.dtb -dtb-$(CONFIG_DTB_VOCORE2) += vocore2.dtb - -dtb-$(CONFIG_SOC_MT7621) += \ - mt7621-gnubee-gb-pc1.dtb \ - mt7621-gnubee-gb-pc2.dtb \ - mt7621-tplink-hc220-g5-v1.dtb - -obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_DTB_RT2880_EVAL) += rt2880_eval.dtb +dtb-$(CONFIG_DTB_RT305X_EVAL) += rt3052_eval.dtb +dtb-$(CONFIG_DTB_RT3883_EVAL) += rt3883_eval.dtb +dtb-$(CONFIG_DTB_MT7620A_EVAL) += mt7620a_eval.dtb +dtb-$(CONFIG_DTB_OMEGA2P) += omega2p.dtb +dtb-$(CONFIG_DTB_VOCORE2) += vocore2.dtb + +dtb-$(CONFIG_SOC_MT7621) += \ + mt7621-gnubee-gb-pc1.dtb \ + mt7621-gnubee-gb-pc2.dtb \ + mt7621-tplink-hc220-g5-v1.dtb + +obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y)) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/cisco_sg220-26.dts b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/cisco_sg220-26.dts index c8401d6aa8..1cdbb09297 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/cisco_sg220-26.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/cisco_sg220-26.dts @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause - -/dts-v1/; - -#include "rtl83xx.dtsi" -#include "rtl838x.dtsi" - -/ { - model = "Cisco SG220-26"; - compatible = "cisco,sg220-26", "realtek,rtl8382-soc"; - - chosen { - stdout-path = "serial0:9600n8"; - bootargs = "earlycon console=ttyS0,9600"; - }; - - memory@0 { - device_type = "memory"; - reg = <0x0 0x8000000>; - }; -}; - -&uart0 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause + +/dts-v1/; + +#include "rtl83xx.dtsi" +#include "rtl838x.dtsi" + +/ { + model = "Cisco SG220-26"; + compatible = "cisco,sg220-26", "realtek,rtl8382-soc"; + + chosen { + stdout-path = "serial0:9600n8"; + bootargs = "earlycon console=ttyS0,9600"; + }; + + memory@0 { + device_type = "memory"; + reg = <0x0 0x8000000>; + }; +}; + +&uart0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/rtl838x.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/rtl838x.dtsi index e79ce609d5..722106e391 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/rtl838x.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/dts/realtek/rtl838x.dtsi @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause - -/ { - cpus { - #address-cells = <1>; - #size-cells = <0>; - - cpu@0 { - device_type = "cpu"; - compatible = "mips,mips4KEc"; - reg = <0>; - clocks = <&baseclk 0>; - clock-names = "cpu"; - }; - }; - - baseclk: baseclk { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <500000000>; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause + +/ { + cpus { + #address-cells = <1>; + #size-cells = <0>; + + cpu@0 { + device_type = "cpu"; + compatible = "mips,mips4KEc"; + reg = <0>; + clocks = <&baseclk 0>; + clock-names = "cpu"; + }; + }; + + baseclk: baseclk { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <500000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_32.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_32.c index 8930878253..428bea4893 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_32.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/boot/tools/relocs_32.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "relocs.h" - -#define ELF_BITS 32 - -#define ELF_MACHINE EM_MIPS -#define ELF_MACHINE_NAME "MIPS" -#define SHT_REL_TYPE SHT_REL -#define Elf_Rel ElfW(Rel) - -#define ELF_CLASS ELFCLASS32 -#define ELF_R_SYM(val) ELF32_R_SYM(val) -#define ELF_R_TYPE(val) ELF32_R_TYPE(val) -#define ELF_ST_TYPE(o) ELF32_ST_TYPE(o) -#define ELF_ST_BIND(o) ELF32_ST_BIND(o) -#define ELF_ST_VISIBILITY(o) ELF32_ST_VISIBILITY(o) - -#include "relocs.c" +// SPDX-License-Identifier: GPL-2.0 +#include "relocs.h" + +#define ELF_BITS 32 + +#define ELF_MACHINE EM_MIPS +#define ELF_MACHINE_NAME "MIPS" +#define SHT_REL_TYPE SHT_REL +#define Elf_Rel ElfW(Rel) + +#define ELF_CLASS ELFCLASS32 +#define ELF_R_SYM(val) ELF32_R_SYM(val) +#define ELF_R_TYPE(val) ELF32_R_TYPE(val) +#define ELF_ST_TYPE(o) ELF32_ST_TYPE(o) +#define ELF_ST_BIND(o) ELF32_ST_BIND(o) +#define ELF_ST_VISIBILITY(o) ELF32_ST_VISIBILITY(o) + +#include "relocs.c" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Makefile index 4307de5af8..2a59265788 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/cavium-octeon/Makefile @@ -1,20 +1,20 @@ -# -# Makefile for the Cavium Octeon specific kernel interface routines -# under Linux. -# -# This file is subject to the terms and conditions of the GNU General Public -# License. See the file "COPYING" in the main directory of this archive -# for more details. -# -# Copyright (C) 2005-2009 Cavium Networks -# - -obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o -obj-y += dma-octeon.o -obj-y += octeon-memcpy.o -obj-y += executive/ -obj-y += crypto/ - -obj-$(CONFIG_MTD) += flash_setup.o -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_OCTEON_ILM) += oct_ilm.o +# +# Makefile for the Cavium Octeon specific kernel interface routines +# under Linux. +# +# This file is subject to the terms and conditions of the GNU General Public +# License. See the file "COPYING" in the main directory of this archive +# for more details. +# +# Copyright (C) 2005-2009 Cavium Networks +# + +obj-y := cpu.o setup.o octeon-platform.o octeon-irq.o csrc-octeon.o +obj-y += dma-octeon.o +obj-y += octeon-memcpy.o +obj-y += executive/ +obj-y += crypto/ + +obj-$(CONFIG_MTD) += flash_setup.o +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_OCTEON_ILM) += oct_ilm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ni169445.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ni169445.config index b72a938246..fc3580e4e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ni169445.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ni169445.config @@ -1,29 +1,29 @@ -# require CONFIG_CPU_MIPS32_R2=y -# require CONFIG_CPU_LITTLE_ENDIAN=y - -CONFIG_FIT_IMAGE_FDT_NI169445=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y - -CONFIG_GPIOLIB=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_GENERIC_PLATFORM=y - -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CMDLINE_PARTS=y - -CONFIG_MTD_NAND_ECC_SW_HAMMING=y -CONFIG_MTD_NAND_ECC_SW_BCH=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_GPIO=y - -CONFIG_MTD_UBI=y -CONFIG_MTD_UBI_BLOCK=y - -CONFIG_NETDEVICES=y -CONFIG_STMMAC_ETH=y -CONFIG_STMMAC_PLATFORM=y -CONFIG_DWMAC_GENERIC=y +# require CONFIG_CPU_MIPS32_R2=y +# require CONFIG_CPU_LITTLE_ENDIAN=y + +CONFIG_FIT_IMAGE_FDT_NI169445=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_GPIOLIB=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_GENERIC_PLATFORM=y + +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CMDLINE_PARTS=y + +CONFIG_MTD_NAND_ECC_SW_HAMMING=y +CONFIG_MTD_NAND_ECC_SW_BCH=y +CONFIG_MTD_RAW_NAND=y +CONFIG_MTD_NAND_GPIO=y + +CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_BLOCK=y + +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +CONFIG_STMMAC_PLATFORM=y +CONFIG_DWMAC_GENERIC=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ranchu.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ranchu.config index 8fea85e587..640aac845e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ranchu.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-ranchu.config @@ -1,29 +1,29 @@ -CONFIG_VIRT_BOARD_RANCHU=y - -CONFIG_BATTERY_GOLDFISH=y -CONFIG_FB=y -CONFIG_FB_GOLDFISH=y -CONFIG_GOLDFISH=y -CONFIG_STAGING=y -CONFIG_GOLDFISH_PIC=y -CONFIG_GOLDFISH_PIPE=y -CONFIG_GOLDFISH_TTY=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_GOLDFISH=y - -CONFIG_INPUT_EVDEV=y -CONFIG_INPUT_KEYBOARD=y -CONFIG_KEYBOARD_GOLDFISH_EVENTS=y - -CONFIG_MAGIC_SYSRQ=y -CONFIG_POWER_SUPPLY=y -CONFIG_POWER_RESET=y -CONFIG_POWER_RESET_SYSCON=y -CONFIG_POWER_RESET_SYSCON_POWEROFF=y - -CONFIG_VIRTIO_BLK=y -CONFIG_VIRTIO_CONSOLE=y -CONFIG_VIRTIO_MMIO=y -CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y -CONFIG_NETDEVICES=y -CONFIG_VIRTIO_NET=y +CONFIG_VIRT_BOARD_RANCHU=y + +CONFIG_BATTERY_GOLDFISH=y +CONFIG_FB=y +CONFIG_FB_GOLDFISH=y +CONFIG_GOLDFISH=y +CONFIG_STAGING=y +CONFIG_GOLDFISH_PIC=y +CONFIG_GOLDFISH_PIPE=y +CONFIG_GOLDFISH_TTY=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_GOLDFISH=y + +CONFIG_INPUT_EVDEV=y +CONFIG_INPUT_KEYBOARD=y +CONFIG_KEYBOARD_GOLDFISH_EVENTS=y + +CONFIG_MAGIC_SYSRQ=y +CONFIG_POWER_SUPPLY=y +CONFIG_POWER_RESET=y +CONFIG_POWER_RESET_SYSCON=y +CONFIG_POWER_RESET_SYSCON_POWEROFF=y + +CONFIG_VIRTIO_BLK=y +CONFIG_VIRTIO_CONSOLE=y +CONFIG_VIRTIO_MMIO=y +CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y +CONFIG_NETDEVICES=y +CONFIG_VIRTIO_NET=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-sead-3.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-sead-3.config index 149b7e7c50..df49a592db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-sead-3.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-sead-3.config @@ -1,34 +1,34 @@ -# require CONFIG_32BIT=y - -CONFIG_LEGACY_BOARD_SEAD3=y - -CONFIG_AUXDISPLAY=y -CONFIG_IMG_ASCII_LCD=y - -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_SYSCON=y - -CONFIG_MMC=y -CONFIG_MMC_SPI=y - -CONFIG_MTD=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_OF_PARTS=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_PHYSMAP_OF=y -CONFIG_MTD_UBI=y -CONFIG_MTD_UBI_GLUEBI=y - -CONFIG_NETDEVICES=y -CONFIG_SMSC911X=y -CONFIG_SMSC_PHY=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y - -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y +# require CONFIG_32BIT=y + +CONFIG_LEGACY_BOARD_SEAD3=y + +CONFIG_AUXDISPLAY=y +CONFIG_IMG_ASCII_LCD=y + +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y +CONFIG_LEDS_SYSCON=y + +CONFIG_MMC=y +CONFIG_MMC_SPI=y + +CONFIG_MTD=y +CONFIG_MTD_BLOCK=y +CONFIG_MTD_CFI=y +CONFIG_MTD_CFI_INTELEXT=y +CONFIG_MTD_OF_PARTS=y +CONFIG_MTD_PHYSMAP=y +CONFIG_MTD_PHYSMAP_OF=y +CONFIG_MTD_UBI=y +CONFIG_MTD_UBI_GLUEBI=y + +CONFIG_NETDEVICES=y +CONFIG_SMSC911X=y +CONFIG_SMSC_PHY=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y + +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-xilfpga.config b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-xilfpga.config index 317c62da13..9cce57385b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-xilfpga.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/configs/generic/board-xilfpga.config @@ -1,22 +1,22 @@ -# require CONFIG_CPU_MIPS32_R2=y -# require CONFIG_CPU_LITTLE_ENDIAN=y - -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_OF_PLATFORM=y -CONFIG_GPIO_SYSFS=y -CONFIG_GPIO_XILINX=y -CONFIG_PANIC_ON_OOPS=y -CONFIG_FIT_IMAGE_FDT_XILFPGA=y -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_XILINX=y -CONFIG_SENSORS_ADT7410=y -CONFIG_TMPFS=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_NETDEVICES=y -CONFIG_XILINX_EMACLITE=y -CONFIG_SMSC_PHY=y +# require CONFIG_CPU_MIPS32_R2=y +# require CONFIG_CPU_LITTLE_ENDIAN=y + +CONFIG_SERIAL_8250=y +CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_SERIAL_OF_PLATFORM=y +CONFIG_GPIO_SYSFS=y +CONFIG_GPIO_XILINX=y +CONFIG_PANIC_ON_OOPS=y +CONFIG_FIT_IMAGE_FDT_XILFPGA=y +CONFIG_I2C=y +CONFIG_I2C_CHARDEV=y +CONFIG_I2C_XILINX=y +CONFIG_SENSORS_ADT7410=y +CONFIG_TMPFS=y +CONFIG_NET=y +CONFIG_PACKET=y +CONFIG_UNIX=y +CONFIG_INET=y +CONFIG_NETDEVICES=y +CONFIG_XILINX_EMACLITE=y +CONFIG_SMSC_PHY=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/dectypes.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/dectypes.h index 71e69bbdb4..9fcbcc7cdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/dectypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/dectypes.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef DECTYPES -#define DECTYPES - -#define DS2100_3100 1 /* DS2100/3100 Pmax */ -#define DS5000_200 2 /* DS5000/200 3max */ -#define DS5000_1XX 3 /* DS5000/1xx kmin */ -#define DS5000_2X0 4 /* DS5000/2x0 3max+ */ -#define DS5800 5 /* DS5800 Isis */ -#define DS5400 6 /* DS5400 MIPSfair */ -#define DS5000_XX 7 /* DS5000/xx maxine */ -#define DS5500 11 /* DS5500 MIPSfair-2 */ -#define DS5100 12 /* DS5100 MIPSmate */ - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef DECTYPES +#define DECTYPES + +#define DS2100_3100 1 /* DS2100/3100 Pmax */ +#define DS5000_200 2 /* DS5000/200 3max */ +#define DS5000_1XX 3 /* DS5000/1xx kmin */ +#define DS5000_2X0 4 /* DS5000/2x0 3max+ */ +#define DS5800 5 /* DS5800 Isis */ +#define DS5400 6 /* DS5400 MIPSfair */ +#define DS5000_XX 7 /* DS5000/xx maxine */ +#define DS5500 11 /* DS5500 MIPSfair-2 */ +#define DS5100 12 /* DS5100 MIPSmate */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/locore.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/locore.S index 578ad1e51d..0eb8fab62a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/locore.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/dec/prom/locore.S @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * locore.S - */ -#include -#include -#include - - .text - -/* - * Simple general exception handling routine. This one is used for the - * Memory sizing routine for pmax machines. HK - */ - -NESTED(genexcept_early, 0, sp) - .set noat - .set noreorder - - mfc0 k0, CP0_STATUS - la k1, mem_err - - sw k0, 0(k1) - - mfc0 k0, CP0_EPC - nop - addiu k0, 4 # skip the causing instruction - jr k0 - rfe -END(genexcept_early) +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * locore.S + */ +#include +#include +#include + + .text + +/* + * Simple general exception handling routine. This one is used for the + * Memory sizing routine for pmax machines. HK + */ + +NESTED(genexcept_early, 0, sp) + .set noat + .set noreorder + + mfc0 k0, CP0_STATUS + la k1, mem_err + + sw k0, 0(k1) + + mfc0 k0, CP0_EPC + nop + addiu k0, 4 # skip the causing instruction + jr k0 + rfe +END(genexcept_early) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/Makefile index 0e7ec49819..64d685efcc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/Makefile @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the ARC prom monitor library routines under Linux. -# - -ifdef CONFIG_ARC_CMDLINE_ONLY -lib-y += cmdline.o -else -lib-y += cmdline.o env.o file.o identify.o init.o \ - misc.o -endif - -lib-$(CONFIG_ARC_MEMORY) += memory.o -lib-$(CONFIG_ARC_CONSOLE) += arc_con.o -lib-$(CONFIG_ARC_PROMLIB) += promlib.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the ARC prom monitor library routines under Linux. +# + +ifdef CONFIG_ARC_CMDLINE_ONLY +lib-y += cmdline.o +else +lib-y += cmdline.o env.o file.o identify.o init.o \ + misc.o +endif + +lib-$(CONFIG_ARC_MEMORY) += memory.o +lib-$(CONFIG_ARC_CONSOLE) += arc_con.o +lib-$(CONFIG_ARC_PROMLIB) += promlib.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/env.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/env.c index 9cdf5565ad..02407a7bb3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/env.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/env.c @@ -1,21 +1,21 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * env.c: ARCS environment variable routines. - * - * Copyright (C) 1996 David S. Miller (davem@davemloft.net) - */ -#include -#include -#include - -#include -#include - -PCHAR __init -ArcGetEnvironmentVariable(CHAR *name) -{ - return (CHAR *) ARC_CALL1(get_evar, name); -} +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * env.c: ARCS environment variable routines. + * + * Copyright (C) 1996 David S. Miller (davem@davemloft.net) + */ +#include +#include +#include + +#include +#include + +PCHAR __init +ArcGetEnvironmentVariable(CHAR *name) +{ + return (CHAR *) ARC_CALL1(get_evar, name); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/file.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/file.c index 0a1969f327..b0d8535c80 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/file.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/fw/arc/file.c @@ -1,25 +1,25 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * ARC firmware interface. - * - * Copyright (C) 1994, 1995, 1996, 1999 Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ - -#include -#include - -LONG -ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) -{ - return ARC_CALL4(read, FileID, Buffer, N, Count); -} - -LONG -ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) -{ - return ARC_CALL4(write, FileID, Buffer, N, Count); -} +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * ARC firmware interface. + * + * Copyright (C) 1994, 1995, 1996, 1999 Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ + +#include +#include + +LONG +ArcRead(ULONG FileID, VOID *Buffer, ULONG N, ULONG *Count) +{ + return ARC_CALL4(read, FileID, Buffer, N, Count); +} + +LONG +ArcWrite(ULONG FileID, PVOID Buffer, ULONG N, PULONG Count) +{ + return ARC_CALL4(write, FileID, Buffer, N, Count); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/Makefile index 3e3460aa29..ea0e4ad5e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0-or-later -# -# Copyright (C) 2016 Imagination Technologies -# Author: Paul Burton -# - -obj-$(CONFIG_MACH_GENERIC_CORE) += init.o -obj-$(CONFIG_MACH_GENERIC_CORE) += irq.o -obj-$(CONFIG_MACH_GENERIC_CORE) += proc.o - -obj-$(CONFIG_YAMON_DT_SHIM) += yamon-dt.o -obj-$(CONFIG_LEGACY_BOARD_SEAD3) += board-sead3.o -obj-$(CONFIG_LEGACY_BOARD_OCELOT) += board-ocelot.o -obj-$(CONFIG_MACH_INGENIC) += board-ingenic.o -obj-$(CONFIG_VIRT_BOARD_RANCHU) += board-ranchu.o -obj-$(CONFIG_MACH_REALTEK_RTL) += board-realtek.o +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (C) 2016 Imagination Technologies +# Author: Paul Burton +# + +obj-$(CONFIG_MACH_GENERIC_CORE) += init.o +obj-$(CONFIG_MACH_GENERIC_CORE) += irq.o +obj-$(CONFIG_MACH_GENERIC_CORE) += proc.o + +obj-$(CONFIG_YAMON_DT_SHIM) += yamon-dt.o +obj-$(CONFIG_LEGACY_BOARD_SEAD3) += board-sead3.o +obj-$(CONFIG_LEGACY_BOARD_OCELOT) += board-ocelot.o +obj-$(CONFIG_MACH_INGENIC) += board-ingenic.o +obj-$(CONFIG_VIRT_BOARD_RANCHU) += board-ranchu.o +obj-$(CONFIG_MACH_REALTEK_RTL) += board-realtek.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-boston.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-boston.its.S index e437ada26f..c45ad27594 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-boston.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-boston.its.S @@ -1,22 +1,22 @@ -/ { - images { - fdt-boston { - description = "img,boston Device Tree"; - data = /incbin/("boot/dts/img/boston.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - conf-boston { - description = "Boston Linux kernel"; - kernel = "kernel"; - fdt = "fdt-boston"; - }; - }; -}; +/ { + images { + fdt-boston { + description = "img,boston Device Tree"; + data = /incbin/("boot/dts/img/boston.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + conf-boston { + description = "Boston Linux kernel"; + kernel = "kernel"; + fdt = "fdt-boston"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-luton.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-luton.its.S index 6d529bc0b0..bd9837c9af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-luton.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-luton.its.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/ { - images { - fdt-luton_pcb091 { - description = "MSCC Luton PCB091 Device Tree"; - data = /incbin/("boot/dts/mscc/luton_pcb091.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - pcb091 { - description = "Luton Linux kernel"; - kernel = "kernel"; - fdt = "fdt-luton_pcb091"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/ { + images { + fdt-luton_pcb091 { + description = "MSCC Luton PCB091 Device Tree"; + data = /incbin/("boot/dts/mscc/luton_pcb091.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + pcb091 { + description = "Luton Linux kernel"; + kernel = "kernel"; + fdt = "fdt-luton_pcb091"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-marduk.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-marduk.its.S index e731b2266a..4f633794db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-marduk.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-marduk.its.S @@ -1,22 +1,22 @@ -/ { - images { - fdt-marduk { - description = "img,pistachio-marduk Device Tree"; - data = /incbin/("boot/dts/img/pistachio_marduk.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - conf-marduk { - description = "Marduk Linux kernel"; - kernel = "kernel"; - fdt = "fdt-marduk"; - }; - }; -}; +/ { + images { + fdt-marduk { + description = "img,pistachio-marduk Device Tree"; + data = /incbin/("boot/dts/img/pistachio_marduk.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + conf-marduk { + description = "Marduk Linux kernel"; + kernel = "kernel"; + fdt = "fdt-marduk"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ni169445.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ni169445.its.S index 782c3cabe6..0a2e8f7a85 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ni169445.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-ni169445.its.S @@ -1,22 +1,22 @@ -/ { - images { - fdt-ni169445 { - description = "NI 169445 device tree"; - data = /incbin/("boot/dts/ni/169445.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - conf-ni169445 { - description = "NI 169445 Linux Kernel"; - kernel = "kernel"; - fdt = "fdt-ni169445"; - }; - }; -}; +/ { + images { + fdt-ni169445 { + description = "NI 169445 device tree"; + data = /incbin/("boot/dts/ni/169445.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + conf-ni169445 { + description = "NI 169445 Linux Kernel"; + kernel = "kernel"; + fdt = "fdt-ni169445"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-serval.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-serval.its.S index 2a26495f12..dde833efe9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-serval.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-serval.its.S @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/ { - images { - fdt-serval_pcb105 { - description = "MSCC Serval PCB105 Device Tree"; - data = /incbin/("boot/dts/mscc/serval_pcb105.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - pcb105 { - description = "Serval Linux kernel"; - kernel = "kernel"; - fdt = "fdt-serval_pcb105"; - ramdisk = "ramdisk"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/ { + images { + fdt-serval_pcb105 { + description = "MSCC Serval PCB105 Device Tree"; + data = /incbin/("boot/dts/mscc/serval_pcb105.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + pcb105 { + description = "Serval Linux kernel"; + kernel = "kernel"; + fdt = "fdt-serval_pcb105"; + ramdisk = "ramdisk"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-xilfpga.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-xilfpga.its.S index 3a3c87592d..08c1e900eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-xilfpga.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/board-xilfpga.its.S @@ -1,22 +1,22 @@ -/ { - images { - fdt-xilfpga { - description = "MIPSfpga (xilfpga) Device Tree"; - data = /incbin/("boot/dts/xilfpga/nexys4ddr.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - conf-xilfpga { - description = "MIPSfpga Linux kernel"; - kernel = "kernel"; - fdt = "fdt-xilfpga"; - }; - }; -}; +/ { + images { + fdt-xilfpga { + description = "MIPSfpga (xilfpga) Device Tree"; + data = /incbin/("boot/dts/xilfpga/nexys4ddr.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + conf-xilfpga { + description = "MIPSfpga Linux kernel"; + kernel = "kernel"; + fdt = "fdt-xilfpga"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/proc.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/proc.c index 4ef7ea7dc3..cce2fde219 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/proc.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/proc.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2016 Imagination Technologies - * Author: Paul Burton - */ - -#include - -#include - -char *system_type; - -const char *get_system_type(void) -{ - const char *str; - int err; - - if (system_type) - return system_type; - - err = of_property_read_string(of_root, "model", &str); - if (!err) - return str; - - err = of_property_read_string_index(of_root, "compatible", 0, &str); - if (!err) - return str; - - return "Unknown"; -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2016 Imagination Technologies + * Author: Paul Burton + */ + +#include + +#include + +char *system_type; + +const char *get_system_type(void) +{ + const char *str; + int err; + + if (system_type) + return system_type; + + err = of_property_read_string(of_root, "model", &str); + if (!err) + return str; + + err = of_property_read_string_index(of_root, "compatible", 0, &str); + if (!err) + return str; + + return "Unknown"; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/vmlinux.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/vmlinux.its.S index 8a6736282d..3e25467654 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/vmlinux.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/generic/vmlinux.its.S @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/dts-v1/; - -/ { - description = KERNEL_NAME; - #address-cells = ; - - images { - kernel { - description = KERNEL_NAME; - data = /incbin/(VMLINUX_BINARY); - type = "kernel"; - arch = "mips"; - os = "linux"; - compression = VMLINUX_COMPRESSION; - load = /bits/ ADDR_BITS ; - entry = /bits/ ADDR_BITS ; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - default = "conf-default"; - - conf-default { - description = "Generic Linux kernel"; - kernel = "kernel"; - }; - }; -}; +/* SPDX-License-Identifier: GPL-2.0 */ +/dts-v1/; + +/ { + description = KERNEL_NAME; + #address-cells = ; + + images { + kernel { + description = KERNEL_NAME; + data = /incbin/(VMLINUX_BINARY); + type = "kernel"; + arch = "mips"; + os = "linux"; + compression = VMLINUX_COMPRESSION; + load = /bits/ ADDR_BITS ; + entry = /bits/ ADDR_BITS ; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + default = "conf-default"; + + conf-default { + description = "Generic Linux kernel"; + kernel = "kernel"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/Kbuild index bfe37204c6..7ba67a0d6c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/Kbuild @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -# MIPS headers -generated-y += syscall_table_n32.h -generated-y += syscall_table_n64.h -generated-y += syscall_table_o32.h -generated-y += unistd_nr_n32.h -generated-y += unistd_nr_n64.h -generated-y += unistd_nr_o32.h - -generic-y += kvm_para.h -generic-y += mcs_spinlock.h -generic-y += parport.h -generic-y += qrwlock.h -generic-y += qspinlock.h -generic-y += user.h +# SPDX-License-Identifier: GPL-2.0 +# MIPS headers +generated-y += syscall_table_n32.h +generated-y += syscall_table_n64.h +generated-y += syscall_table_o32.h +generated-y += unistd_nr_n32.h +generated-y += unistd_nr_n64.h +generated-y += unistd_nr_o32.h + +generic-y += kvm_para.h +generic-y += mcs_spinlock.h +generic-y += parport.h +generic-y += qrwlock.h +generic-y += qspinlock.h +generic-y += user.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/amon.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/amon.h index 5c1448d1ad..3cc03c64a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/amon.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/amon.h @@ -1,12 +1,12 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2013 Imagination Technologies Ltd. - * - * Arbitrary Monitor Support (AMON) - */ -int amon_cpu_avail(int cpu); -int amon_cpu_start(int cpu, unsigned long pc, unsigned long sp, - unsigned long gp, unsigned long a0); +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2013 Imagination Technologies Ltd. + * + * Arbitrary Monitor Support (AMON) + */ +int amon_cpu_avail(int cpu); +int amon_cpu_start(int cpu, unsigned long pc, unsigned long sp, + unsigned long gp, unsigned long a0); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bitrev.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bitrev.h index 8d2acc125b..8a2538e08a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bitrev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bitrev.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __MIPS_ASM_BITREV_H__ -#define __MIPS_ASM_BITREV_H__ - -#include - -static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) -{ - u32 ret; - - asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab32(x))); - return ret; -} - -static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) -{ - u16 ret; - - asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); - return ret; -} - -static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) -{ - u8 ret; - - asm("bitswap %0, %1" : "=r"(ret) : "r"(x)); - return ret; -} - -#endif /* __MIPS_ASM_BITREV_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __MIPS_ASM_BITREV_H__ +#define __MIPS_ASM_BITREV_H__ + +#include + +static __always_inline __attribute_const__ u32 __arch_bitrev32(u32 x) +{ + u32 ret; + + asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab32(x))); + return ret; +} + +static __always_inline __attribute_const__ u16 __arch_bitrev16(u16 x) +{ + u16 ret; + + asm("bitswap %0, %1" : "=r"(ret) : "r"(__swab16(x))); + return ret; +} + +static __always_inline __attribute_const__ u8 __arch_bitrev8(u8 x) +{ + u8 ret; + + asm("bitswap %0, %1" : "=r"(ret) : "r"(x)); + return ret; +} + +#endif /* __MIPS_ASM_BITREV_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bugs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bugs.h index 6c93d41082..84be74afcb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bugs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/bugs.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2007 Maciej W. Rozycki - */ -#ifndef _ASM_BUGS_H -#define _ASM_BUGS_H - -#include -#include - -#include -#include - -extern int daddiu_bug; - -extern void check_bugs64_early(void); - -extern void check_bugs32(void); -extern void check_bugs64(void); - -static inline int r4k_daddiu_bug(void) -{ - if (!IS_ENABLED(CONFIG_CPU_R4X00_BUGS64)) - return 0; - - WARN_ON(daddiu_bug < 0); - return daddiu_bug != 0; -} - -#endif /* _ASM_BUGS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2007 Maciej W. Rozycki + */ +#ifndef _ASM_BUGS_H +#define _ASM_BUGS_H + +#include +#include + +#include +#include + +extern int daddiu_bug; + +extern void check_bugs64_early(void); + +extern void check_bugs32(void); +extern void check_bugs64(void); + +static inline int r4k_daddiu_bug(void) +{ + if (!IS_ENABLED(CONFIG_CPU_R4X00_BUGS64)) + return 0; + + WARN_ON(daddiu_bug < 0); + return daddiu_bug != 0; +} + +#endif /* _ASM_BUGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cpufeature.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cpufeature.h index 7630bc13ae..ba9e62faf5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cpufeature.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/cpufeature.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * CPU feature definitions for module loading, used by - * module_cpu_feature_match(), see uapi/asm/hwcap.h for MIPS CPU features. - */ - -#ifndef __ASM_CPUFEATURE_H -#define __ASM_CPUFEATURE_H - -#include -#include - -#define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) - -#define cpu_feature(x) ilog2(HWCAP_ ## x) - -static inline bool cpu_have_feature(unsigned int num) -{ - return elf_hwcap & (1UL << num); -} - -#endif /* __ASM_CPUFEATURE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * CPU feature definitions for module loading, used by + * module_cpu_feature_match(), see uapi/asm/hwcap.h for MIPS CPU features. + */ + +#ifndef __ASM_CPUFEATURE_H +#define __ASM_CPUFEATURE_H + +#include +#include + +#define MAX_CPU_FEATURES (8 * sizeof(elf_hwcap)) + +#define cpu_feature(x) ilog2(HWCAP_ ## x) + +static inline bool cpu_have_feature(unsigned int num) +{ + return elf_hwcap & (1UL << num); +} + +#endif /* __ASM_CPUFEATURE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/debug.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/debug.h index efbdde3161..e703924292 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/debug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/debug.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2015 Imagination Technologies - */ - -#ifndef __MIPS_ASM_DEBUG_H__ -#define __MIPS_ASM_DEBUG_H__ - -#include - -/* - * mips_debugfs_dir corresponds to the "mips" directory at the top level - * of the DebugFS hierarchy. MIPS-specific DebugFS entries should be - * placed beneath this directory. - */ -extern struct dentry *mips_debugfs_dir; - -#endif /* __MIPS_ASM_DEBUG_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2015 Imagination Technologies + */ + +#ifndef __MIPS_ASM_DEBUG_H__ +#define __MIPS_ASM_DEBUG_H__ + +#include + +/* + * mips_debugfs_dir corresponds to the "mips" directory at the top level + * of the DebugFS hierarchy. MIPS-specific DebugFS entries should be + * placed beneath this directory. + */ +extern struct dentry *mips_debugfs_dir; + +#endif /* __MIPS_ASM_DEBUG_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/system.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/system.h index fb379d5d2c..d0873fd4e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/system.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dec/system.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/dec/system.h - * - * Generic DECstation/DECsystem bits. - * - * Copyright (C) 2005, 2006 Maciej W. Rozycki - */ -#ifndef __ASM_DEC_SYSTEM_H -#define __ASM_DEC_SYSTEM_H - -extern unsigned long dec_kn_slot_base, dec_kn_slot_size; -extern int dec_tc_bus; - -#endif /* __ASM_DEC_SYSTEM_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/dec/system.h + * + * Generic DECstation/DECsystem bits. + * + * Copyright (C) 2005, 2006 Maciej W. Rozycki + */ +#ifndef __ASM_DEC_SYSTEM_H +#define __ASM_DEC_SYSTEM_H + +extern unsigned long dec_kn_slot_base, dec_kn_slot_size; +extern int dec_tc_bus; + +#endif /* __ASM_DEC_SYSTEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-mapping.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-mapping.h index fefc05a8c7..0fee561ac7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-mapping.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dma-mapping.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_DMA_MAPPING_H -#define _ASM_DMA_MAPPING_H - -#include - -extern const struct dma_map_ops jazz_dma_ops; - -static inline const struct dma_map_ops *get_arch_dma_ops(void) -{ -#if defined(CONFIG_MACH_JAZZ) - return &jazz_dma_ops; -#else - return NULL; -#endif -} - -#endif /* _ASM_DMA_MAPPING_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_DMA_MAPPING_H +#define _ASM_DMA_MAPPING_H + +#include + +extern const struct dma_map_ops jazz_dma_ops; + +static inline const struct dma_map_ops *get_arch_dma_ops(void) +{ +#if defined(CONFIG_MACH_JAZZ) + return &jazz_dma_ops; +#else + return NULL; +#endif +} + +#endif /* _ASM_DMA_MAPPING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dmi.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dmi.h index 32aec7098b..dc397f630c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/dmi.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_DMI_H -#define _ASM_DMI_H - -#include -#include - -#define dmi_early_remap(x, l) ioremap(x, l) -#define dmi_early_unmap(x, l) iounmap(x) -#define dmi_remap(x, l) ioremap_cache(x, l) -#define dmi_unmap(x) iounmap(x) - -/* MIPS initialize DMI scan before SLAB is ready, so we use memblock here */ -#define dmi_alloc(l) memblock_alloc_low(l, PAGE_SIZE) - -#if defined(CONFIG_MACH_LOONGSON64) -#define SMBIOS_ENTRY_POINT_SCAN_START 0xFFFE000 -#endif - -#endif /* _ASM_DMI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_DMI_H +#define _ASM_DMI_H + +#include +#include + +#define dmi_early_remap(x, l) ioremap(x, l) +#define dmi_early_unmap(x, l) iounmap(x) +#define dmi_remap(x, l) ioremap_cache(x, l) +#define dmi_unmap(x) iounmap(x) + +/* MIPS initialize DMI scan before SLAB is ready, so we use memblock here */ +#define dmi_alloc(l) memblock_alloc_low(l, PAGE_SIZE) + +#if defined(CONFIG_MACH_LOONGSON64) +#define SMBIOS_ENTRY_POINT_SCAN_START 0xFFFE000 +#endif + +#endif /* _ASM_DMI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/errno.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/errno.h index 9366d3491d..21d91cdfe3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/errno.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/errno.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle - */ -#ifndef _ASM_ERRNO_H -#define _ASM_ERRNO_H - -#include - - -/* The biggest error number defined here or in . */ -#define EMAXERRNO 1133 - -#endif /* _ASM_ERRNO_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1995, 1999, 2001, 2002 by Ralf Baechle + */ +#ifndef _ASM_ERRNO_H +#define _ASM_ERRNO_H + +#include + + +/* The biggest error number defined here or in . */ +#define EMAXERRNO 1133 + +#endif /* _ASM_ERRNO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/exec.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/exec.h index 867ba4350f..c1f6afa4bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/exec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/exec.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994, 95, 96, 97, 98, 99, 2003, 06 by Ralf Baechle - * Copyright (C) 1996 by Paul M. Antoine - * Copyright (C) 1999 Silicon Graphics - * Kevin D. Kissell, kevink@mips.org and Carsten Langgaard, carstenl@mips.com - * Copyright (C) 2000 MIPS Technologies, Inc. - */ -#ifndef _ASM_EXEC_H -#define _ASM_EXEC_H - -extern unsigned long arch_align_stack(unsigned long sp); - -#endif /* _ASM_EXEC_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994, 95, 96, 97, 98, 99, 2003, 06 by Ralf Baechle + * Copyright (C) 1996 by Paul M. Antoine + * Copyright (C) 1999 Silicon Graphics + * Kevin D. Kissell, kevink@mips.org and Carsten Langgaard, carstenl@mips.com + * Copyright (C) 2000 MIPS Technologies, Inc. + */ +#ifndef _ASM_EXEC_H +#define _ASM_EXEC_H + +extern unsigned long arch_align_stack(unsigned long sp); + +#endif /* _ASM_EXEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hardirq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hardirq.h index 69ff4b7cb6..c977a86c2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hardirq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hardirq.h @@ -1,18 +1,18 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1997, 98, 99, 2000, 01, 05 Ralf Baechle (ralf@linux-mips.org) - * Copyright (C) 1999, 2000 Silicon Graphics, Inc. - * Copyright (C) 2001 MIPS Technologies, Inc. - */ -#ifndef _ASM_HARDIRQ_H -#define _ASM_HARDIRQ_H - -extern void ack_bad_irq(unsigned int irq); -#define ack_bad_irq ack_bad_irq - -#include - -#endif /* _ASM_HARDIRQ_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1997, 98, 99, 2000, 01, 05 Ralf Baechle (ralf@linux-mips.org) + * Copyright (C) 1999, 2000 Silicon Graphics, Inc. + * Copyright (C) 2001 MIPS Technologies, Inc. + */ +#ifndef _ASM_HARDIRQ_H +#define _ASM_HARDIRQ_H + +extern void ack_bad_irq(unsigned int irq); +#define ack_bad_irq ack_bad_irq + +#include + +#endif /* _ASM_HARDIRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hw_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hw_irq.h index 3d6ff72825..9e8ef5994c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hw_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/hw_irq.h @@ -1,20 +1,20 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2000, 2001, 2002 by Ralf Baechle - */ -#ifndef __ASM_HW_IRQ_H -#define __ASM_HW_IRQ_H - -#include - -extern atomic_t irq_err_count; - -/* - * interrupt-retrigger: NOP for now. This may not be appropriate for all - * machines, we'll see ... - */ - -#endif /* __ASM_HW_IRQ_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2000, 2001, 2002 by Ralf Baechle + */ +#ifndef __ASM_HW_IRQ_H +#define __ASM_HW_IRQ_H + +#include + +extern atomic_t irq_err_count; + +/* + * interrupt-retrigger: NOP for now. This may not be appropriate for all + * machines, we'll see ... + */ + +#endif /* __ASM_HW_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_cpu.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_cpu.h index 9271f2bbe9..83d7331ab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_cpu.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/irq_cpu.h - * - * MIPS CPU interrupt definitions. - * - * Copyright (C) 2002 Maciej W. Rozycki - */ -#ifndef _ASM_IRQ_CPU_H -#define _ASM_IRQ_CPU_H - -extern void mips_cpu_irq_init(void); - -#ifdef CONFIG_IRQ_DOMAIN -struct device_node; -extern int mips_cpu_irq_of_init(struct device_node *of_node, - struct device_node *parent); -#endif - -#endif /* _ASM_IRQ_CPU_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/irq_cpu.h + * + * MIPS CPU interrupt definitions. + * + * Copyright (C) 2002 Maciej W. Rozycki + */ +#ifndef _ASM_IRQ_CPU_H +#define _ASM_IRQ_CPU_H + +extern void mips_cpu_irq_init(void); + +#ifdef CONFIG_IRQ_DOMAIN +struct device_node; +extern int mips_cpu_irq_of_init(struct device_node *of_node, + struct device_node *parent); +#endif + +#endif /* _ASM_IRQ_CPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_regs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_regs.h index a4f44b1946..7795dc02c7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_regs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/irq_regs.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * - * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org) - */ -#ifndef __ASM_IRQ_REGS_H -#define __ASM_IRQ_REGS_H - -#define ARCH_HAS_OWN_IRQ_REGS - -#include - -static inline struct pt_regs *get_irq_regs(void) -{ - return current_thread_info()->regs; -} - -static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) -{ - struct pt_regs *old_regs; - - old_regs = get_irq_regs(); - current_thread_info()->regs = new_regs; - - return old_regs; -} - -#endif /* __ASM_IRQ_REGS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * + * Copyright (C) 2006 Ralf Baechle (ralf@linux-mips.org) + */ +#ifndef __ASM_IRQ_REGS_H +#define __ASM_IRQ_REGS_H + +#define ARCH_HAS_OWN_IRQ_REGS + +#include + +static inline struct pt_regs *get_irq_regs(void) +{ + return current_thread_info()->regs; +} + +static inline struct pt_regs *set_irq_regs(struct pt_regs *new_regs) +{ + struct pt_regs *old_regs; + + old_regs = get_irq_regs(); + current_thread_info()->regs = new_regs; + + return old_regs; +} + +#endif /* __ASM_IRQ_REGS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isa-rev.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isa-rev.h index 83dd7cf95c..683ea3454d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isa-rev.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isa-rev.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2018 MIPS Tech, LLC - * Author: Matt Redfearn - */ - -#ifndef __MIPS_ASM_ISA_REV_H__ -#define __MIPS_ASM_ISA_REV_H__ - -/* - * The ISA revision level. This is 0 for MIPS I to V and N for - * MIPS{32,64}rN. - */ - -/* If the compiler has defined __mips_isa_rev, believe it. */ -#ifdef __mips_isa_rev -#define MIPS_ISA_REV __mips_isa_rev -#else -/* The compiler hasn't defined the isa rev so assume it's MIPS I - V (0) */ -#define MIPS_ISA_REV 0 -#endif - - -#endif /* __MIPS_ASM_ISA_REV_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 MIPS Tech, LLC + * Author: Matt Redfearn + */ + +#ifndef __MIPS_ASM_ISA_REV_H__ +#define __MIPS_ASM_ISA_REV_H__ + +/* + * The ISA revision level. This is 0 for MIPS I to V and N for + * MIPS{32,64}rN. + */ + +/* If the compiler has defined __mips_isa_rev, believe it. */ +#ifdef __mips_isa_rev +#define MIPS_ISA_REV __mips_isa_rev +#else +/* The compiler hasn't defined the isa rev so assume it's MIPS I - V (0) */ +#define MIPS_ISA_REV 0 +#endif + + +#endif /* __MIPS_ASM_ISA_REV_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isadep.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isadep.h index 9e9f02c258..8fc1e3ae8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isadep.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/isadep.h @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Various ISA level dependent constants. - * Most of the following constants reflect the different layout - * of Coprocessor 0 registers. - * - * Copyright (c) 1998 Harald Koerfgen - */ - -#ifndef __ASM_ISADEP_H -#define __ASM_ISADEP_H - -#if defined(CONFIG_CPU_R3000) -/* - * R2000 or R3000 - */ - -/* - * kernel or user mode? (CP0_STATUS) - */ -#define KU_MASK 0x08 -#define KU_USER 0x08 -#define KU_KERN 0x00 - -#else -/* - * kernel or user mode? - */ -#define KU_MASK 0x18 -#define KU_USER 0x10 -#define KU_KERN 0x00 - -#endif - -#endif /* __ASM_ISADEP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Various ISA level dependent constants. + * Most of the following constants reflect the different layout + * of Coprocessor 0 registers. + * + * Copyright (c) 1998 Harald Koerfgen + */ + +#ifndef __ASM_ISADEP_H +#define __ASM_ISADEP_H + +#if defined(CONFIG_CPU_R3000) +/* + * R2000 or R3000 + */ + +/* + * kernel or user mode? (CP0_STATUS) + */ +#define KU_MASK 0x08 +#define KU_USER 0x08 +#define KU_KERN 0x00 + +#else +/* + * kernel or user mode? + */ +#define KU_MASK 0x18 +#define KU_USER 0x10 +#define KU_KERN 0x00 + +#endif + +#endif /* __ASM_ISADEP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550_spi.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550_spi.h index 278a7a1979..fe6ca4606d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550_spi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1550_spi.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * au1550_spi.h - Au1550 PSC SPI controller driver - platform data structure - */ - -#ifndef _AU1550_SPI_H_ -#define _AU1550_SPI_H_ - -struct au1550_spi_info { - u32 mainclk_hz; /* main input clock frequency of PSC */ - u16 num_chipselect; /* number of chipselects supported */ - void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); - void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity); -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * au1550_spi.h - Au1550 PSC SPI controller driver - platform data structure + */ + +#ifndef _AU1550_SPI_H_ +#define _AU1550_SPI_H_ + +struct au1550_spi_info { + u32 mainclk_hz; /* main input clock frequency of PSC */ + u16 num_chipselect; /* number of chipselects supported */ + void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); + void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity); +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1xxx_eth.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1xxx_eth.h index 3751b40160..9d1c8d5ed4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1xxx_eth.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-au1x00/au1xxx_eth.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __AU1X00_ETH_DATA_H -#define __AU1X00_ETH_DATA_H - -/* Platform specific PHY configuration passed to the MAC driver */ -struct au1000_eth_platform_data { - int phy_static_config; - int phy_search_highest_addr; - int phy1_search_mac0; - int phy_addr; - int phy_busid; - int phy_irq; - char mac[6]; -}; - -void __init au1xxx_override_eth_cfg(unsigned port, - struct au1000_eth_platform_data *eth_data); - -#endif /* __AU1X00_ETH_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __AU1X00_ETH_DATA_H +#define __AU1X00_ETH_DATA_H + +/* Platform specific PHY configuration passed to the MAC driver */ +struct au1000_eth_platform_data { + int phy_static_config; + int phy_search_highest_addr; + int phy1_search_mac0; + int phy_addr; + int phy_busid; + int phy_irq; + char mac[6]; +}; + +void __init au1xxx_override_eth_cfg(unsigned port, + struct au1000_eth_platform_data *eth_data); + +#endif /* __AU1X00_ETH_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cs.h index 8a0fcfe695..1c634d7c15 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cs.h @@ -1,11 +1,11 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_CS_H -#define BCM63XX_CS_H - -int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size); -int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, - unsigned int setup, unsigned int hold); -int bcm63xx_set_cs_param(unsigned int cs, u32 flags); -int bcm63xx_set_cs_status(unsigned int cs, int enable); - -#endif /* !BCM63XX_CS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_CS_H +#define BCM63XX_CS_H + +int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size); +int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, + unsigned int setup, unsigned int hold); +int bcm63xx_set_cs_param(unsigned int cs, u32 flags); +int bcm63xx_set_cs_status(unsigned int cs, int enable); + +#endif /* !BCM63XX_CS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h index 22ffd19597..3f920baff9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_dev_usb_usbd.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_DEV_USB_USBD_H_ -#define BCM63XX_DEV_USB_USBD_H_ - -/* - * usb device platform data - */ -struct bcm63xx_usbd_platform_data { - /* board can only support full speed (USB 1.1) */ - int use_fullspeed; - - /* 0-based port index, for chips with >1 USB PHY */ - int port_no; -}; - -int bcm63xx_usbd_register(const struct bcm63xx_usbd_platform_data *pd); - -#endif /* BCM63XX_DEV_USB_USBD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_DEV_USB_USBD_H_ +#define BCM63XX_DEV_USB_USBD_H_ + +/* + * usb device platform data + */ +struct bcm63xx_usbd_platform_data { + /* board can only support full speed (USB 1.1) */ + int use_fullspeed; + + /* 0-based port index, for chips with >1 USB PHY */ + int port_no; +}; + +int bcm63xx_usbd_register(const struct bcm63xx_usbd_platform_data *pd); + +#endif /* BCM63XX_DEV_USB_USBD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_irq.h index 538fec8744..7887bc6905 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_irq.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_IRQ_H_ -#define BCM63XX_IRQ_H_ - -#include - -#define IRQ_INTERNAL_BASE 8 -#define IRQ_EXTERNAL_BASE 100 -#define IRQ_EXT_0 (IRQ_EXTERNAL_BASE + 0) -#define IRQ_EXT_1 (IRQ_EXTERNAL_BASE + 1) -#define IRQ_EXT_2 (IRQ_EXTERNAL_BASE + 2) -#define IRQ_EXT_3 (IRQ_EXTERNAL_BASE + 3) - -#endif /* ! BCM63XX_IRQ_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_IRQ_H_ +#define BCM63XX_IRQ_H_ + +#include + +#define IRQ_INTERNAL_BASE 8 +#define IRQ_EXTERNAL_BASE 100 +#define IRQ_EXT_0 (IRQ_EXTERNAL_BASE + 0) +#define IRQ_EXT_1 (IRQ_EXTERNAL_BASE + 1) +#define IRQ_EXT_2 (IRQ_EXTERNAL_BASE + 2) +#define IRQ_EXT_3 (IRQ_EXTERNAL_BASE + 3) + +#endif /* ! BCM63XX_IRQ_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h index cc3d4df084..2c0645b7da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_reset.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __BCM63XX_RESET_H -#define __BCM63XX_RESET_H - -enum bcm63xx_core_reset { - BCM63XX_RESET_SPI, - BCM63XX_RESET_ENET, - BCM63XX_RESET_USBH, - BCM63XX_RESET_USBD, - BCM63XX_RESET_SAR, - BCM63XX_RESET_DSL, - BCM63XX_RESET_EPHY, - BCM63XX_RESET_ENETSW, - BCM63XX_RESET_PCM, - BCM63XX_RESET_MPI, - BCM63XX_RESET_PCIE, - BCM63XX_RESET_PCIE_EXT, -}; - -void bcm63xx_core_set_reset(enum bcm63xx_core_reset, int reset); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __BCM63XX_RESET_H +#define __BCM63XX_RESET_H + +enum bcm63xx_core_reset { + BCM63XX_RESET_SPI, + BCM63XX_RESET_ENET, + BCM63XX_RESET_USBH, + BCM63XX_RESET_USBD, + BCM63XX_RESET_SAR, + BCM63XX_RESET_DSL, + BCM63XX_RESET_EPHY, + BCM63XX_RESET_ENETSW, + BCM63XX_RESET_PCM, + BCM63XX_RESET_MPI, + BCM63XX_RESET_PCIE, + BCM63XX_RESET_PCIE_EXT, +}; + +void bcm63xx_core_set_reset(enum bcm63xx_core_reset, int reset); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_timer.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_timer.h index fb92dee2a9..bcbece793f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/bcm63xx_timer.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef BCM63XX_TIMER_H_ -#define BCM63XX_TIMER_H_ - -int bcm63xx_timer_register(int id, void (*callback)(void *data), void *data); -void bcm63xx_timer_unregister(int id); -int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us); -int bcm63xx_timer_enable(int id); -int bcm63xx_timer_disable(int id); -unsigned int bcm63xx_timer_countdown(unsigned int countdown_us); - -#endif /* !BCM63XX_TIMER_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef BCM63XX_TIMER_H_ +#define BCM63XX_TIMER_H_ + +int bcm63xx_timer_register(int id, void (*callback)(void *data), void *data); +void bcm63xx_timer_unregister(int id); +int bcm63xx_timer_set(int id, int monotonic, unsigned int countdown_us); +int bcm63xx_timer_enable(int id); +int bcm63xx_timer_disable(int id); +unsigned int bcm63xx_timer_countdown(unsigned int countdown_us); + +#endif /* !BCM63XX_TIMER_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/spaces.h index 22296da6d6..1410ed0da4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bcm63xx/spaces.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle - * Copyright (C) 2000, 2002 Maciej W. Rozycki - * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_BCM63XX_SPACES_H -#define _ASM_BCM63XX_SPACES_H - -#include - -#include - -#endif /* __ASM_BCM63XX_SPACES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_BCM63XX_SPACES_H +#define _ASM_BCM63XX_SPACES_H + +#include + +#include + +#endif /* __ASM_BCM63XX_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/cpu-feature-overrides.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/cpu-feature-overrides.h index 172945dce8..68a219d804 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/cpu-feature-overrides.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/cpu-feature-overrides.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H -#define __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H - -/* Invariants across all BMIPS processors */ -#define cpu_has_vtag_icache 0 -#define cpu_icache_snoops_remote_store 1 - -/* Processor ISA compatibility is MIPS32R1 */ -#define cpu_has_mips32r1 1 -#define cpu_has_mips32r2 0 -#define cpu_has_mips64r1 0 -#define cpu_has_mips64r2 0 - -#endif /* __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H + +/* Invariants across all BMIPS processors */ +#define cpu_has_vtag_icache 0 +#define cpu_icache_snoops_remote_store 1 + +/* Processor ISA compatibility is MIPS32R1 */ +#define cpu_has_mips32r1 1 +#define cpu_has_mips32r2 0 +#define cpu_has_mips64r1 0 +#define cpu_has_mips64r2 0 + +#endif /* __ASM_MACH_BMIPS_CPU_FEATURE_OVERRIDES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/spaces.h index 37c7bd2bb9..c59b28fd9e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-bmips/spaces.h @@ -1,18 +1,18 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle - * Copyright (C) 2000, 2002 Maciej W. Rozycki - * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_BMIPS_SPACES_H -#define _ASM_BMIPS_SPACES_H - -/* Avoid collisions with system base register (SBR) region on BMIPS3300 */ -#include - -#include - -#endif /* __ASM_BMIPS_SPACES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_BMIPS_SPACES_H +#define _ASM_BMIPS_SPACES_H + +/* Avoid collisions with system base register (SBR) region on BMIPS3300 */ +#include + +#include + +#endif /* __ASM_BMIPS_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-db1x00/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-db1x00/irq.h index 0addf250fc..15b2669323 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-db1x00/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-db1x00/irq.h @@ -1,23 +1,23 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2003 by Ralf Baechle - */ -#ifndef __ASM_MACH_GENERIC_IRQ_H -#define __ASM_MACH_GENERIC_IRQ_H - - -#ifdef NR_IRQS -#undef NR_IRQS -#endif - -#ifndef MIPS_CPU_IRQ_BASE -#define MIPS_CPU_IRQ_BASE 0 -#endif - -/* 8 (MIPS) + 128 (au1300) + 16 (cpld) */ -#define NR_IRQS 152 - -#endif /* __ASM_MACH_GENERIC_IRQ_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2003 by Ralf Baechle + */ +#ifndef __ASM_MACH_GENERIC_IRQ_H +#define __ASM_MACH_GENERIC_IRQ_H + + +#ifdef NR_IRQS +#undef NR_IRQS +#endif + +#ifndef MIPS_CPU_IRQ_BASE +#define MIPS_CPU_IRQ_BASE 0 +#endif + +/* 8 (MIPS) + 128 (au1300) + 16 (cpld) */ +#define NR_IRQS 152 + +#endif /* __ASM_MACH_GENERIC_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h index b98cba65e1..42be9e9ced 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/cpu-feature-overrides.h @@ -1,13 +1,13 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2003 Ralf Baechle - */ -#ifndef __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H -#define __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H - -/* Intentionally empty file ... */ - -#endif /* __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2003 Ralf Baechle + */ +#ifndef __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H +#define __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H + +/* Intentionally empty file ... */ + +#endif /* __ASM_MACH_GENERIC_CPU_FEATURE_OVERRIDES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/ioremap.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/ioremap.h index de6381fefe..f2442b8454 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/ioremap.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/ioremap.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * include/asm-mips/mach-generic/ioremap.h - */ -#ifndef __ASM_MACH_GENERIC_IOREMAP_H -#define __ASM_MACH_GENERIC_IOREMAP_H - -#include - -static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, - unsigned long flags) -{ - return NULL; -} - -static inline int plat_iounmap(const volatile void __iomem *addr) -{ - return 0; -} - -#endif /* __ASM_MACH_GENERIC_IOREMAP_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * include/asm-mips/mach-generic/ioremap.h + */ +#ifndef __ASM_MACH_GENERIC_IOREMAP_H +#define __ASM_MACH_GENERIC_IOREMAP_H + +#include + +static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, + unsigned long flags) +{ + return NULL; +} + +static inline int plat_iounmap(const volatile void __iomem *addr) +{ + return 0; +} + +#endif /* __ASM_MACH_GENERIC_IOREMAP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kmalloc.h index 9db0b9a467..649a983388 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-generic/kmalloc.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_GENERIC_KMALLOC_H -#define __ASM_MACH_GENERIC_KMALLOC_H - -#ifdef CONFIG_DMA_NONCOHERENT -/* - * Total overkill for most systems but need as a safe default. - * Set this one if any device in the system might do non-coherent DMA. - */ -#define ARCH_DMA_MINALIGN 128 -#endif - -#endif /* __ASM_MACH_GENERIC_KMALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_GENERIC_KMALLOC_H +#define __ASM_MACH_GENERIC_KMALLOC_H + +#ifdef CONFIG_DMA_NONCOHERENT +/* + * Total overkill for most systems but need as a safe default. + * Set this one if any device in the system might do non-coherent DMA. + */ +#define ARCH_DMA_MINALIGN 128 +#endif + +#endif /* __ASM_MACH_GENERIC_KMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip22/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip22/spaces.h index 1ac2868dbc..24fe92cb53 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip22/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip22/spaces.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle - * Copyright (C) 2000, 2002 Maciej W. Rozycki - * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_MACH_IP22_SPACES_H -#define _ASM_MACH_IP22_SPACES_H - -#define PHYS_OFFSET _AC(0x08000000, UL) - -#include - -#endif /* __ASM_MACH_IP22_SPACES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_MACH_IP22_SPACES_H +#define _ASM_MACH_IP22_SPACES_H + +#define PHYS_OFFSET _AC(0x08000000, UL) + +#include + +#endif /* __ASM_MACH_IP22_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mmzone.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mmzone.h index 151a00d5b1..56959eb9cb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip27/mmzone.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MACH_MMZONE_H -#define _ASM_MACH_MMZONE_H - -#include -#include -#include -#include - -#define pa_to_nid(addr) NASID_GET(addr) - -struct hub_data { - kern_vars_t kern_vars; - DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW); - cpumask_t h_cpus; -}; - -struct node_data { - struct pglist_data pglist; - struct hub_data hub; -}; - -extern struct node_data *__node_data[]; - -#define hub_data(n) (&__node_data[(n)]->hub) - -#endif /* _ASM_MACH_MMZONE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MACH_MMZONE_H +#define _ASM_MACH_MMZONE_H + +#include +#include +#include +#include + +#define pa_to_nid(addr) NASID_GET(addr) + +struct hub_data { + kern_vars_t kern_vars; + DECLARE_BITMAP(h_bigwin_used, HUB_NUM_BIG_WINDOW); + cpumask_t h_cpus; +}; + +struct node_data { + struct pglist_data pglist; + struct hub_data hub; +}; + +extern struct node_data *__node_data[]; + +#define hub_data(n) (&__node_data[(n)]->hub) + +#endif /* _ASM_MACH_MMZONE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip28/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip28/spaces.h index 3191cf496d..c4a912733b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip28/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip28/spaces.h @@ -1,18 +1,18 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle - * Copyright (C) 2000, 2002 Maciej W. Rozycki - * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. - * 2004 pf - */ -#ifndef _ASM_MACH_IP28_SPACES_H -#define _ASM_MACH_IP28_SPACES_H - -#define PHYS_OFFSET _AC(0x20000000, UL) - -#include - -#endif /* _ASM_MACH_IP28_SPACES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + * 2004 pf + */ +#ifndef _ASM_MACH_IP28_SPACES_H +#define _ASM_MACH_IP28_SPACES_H + +#define PHYS_OFFSET _AC(0x20000000, UL) + +#include + +#endif /* _ASM_MACH_IP28_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/spaces.h index 4e8f71e9ef..c8a302dfbe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-ip30/spaces.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2016 Joshua Kinard - * - */ -#ifndef _ASM_MACH_IP30_SPACES_H -#define _ASM_MACH_IP30_SPACES_H - -/* - * Memory in IP30/Octane is offset 512MB in the physical address space. - */ -#define PHYS_OFFSET _AC(0x20000000, UL) - -#ifdef CONFIG_64BIT -#define CAC_BASE _AC(0xA800000000000000, UL) -#endif - -#include - -#endif /* _ASM_MACH_IP30_SPACES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2016 Joshua Kinard + * + */ +#ifndef _ASM_MACH_IP30_SPACES_H +#define _ASM_MACH_IP30_SPACES_H + +/* + * Memory in IP30/Octane is offset 512MB in the physical address space. + */ +#define PHYS_OFFSET _AC(0x20000000, UL) + +#ifdef CONFIG_64BIT +#define CAC_BASE _AC(0xA800000000000000, UL) +#endif + +#include + +#endif /* _ASM_MACH_IP30_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h index ebd8db8a15..6eeda90f70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/falcon/falcon_irq.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 Thomas Langer - */ - -#ifndef _FALCON_IRQ__ -#define _FALCON_IRQ__ - -#define INT_NUM_IRQ0 8 -#define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0) -#define INT_NUM_IM1_IRL0 (INT_NUM_IM0_IRL0 + 32) -#define INT_NUM_IM2_IRL0 (INT_NUM_IM1_IRL0 + 32) -#define INT_NUM_IM3_IRL0 (INT_NUM_IM2_IRL0 + 32) -#define INT_NUM_IM4_IRL0 (INT_NUM_IM3_IRL0 + 32) -#define INT_NUM_EXTRA_START (INT_NUM_IM4_IRL0 + 32) -#define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) - -#define MAX_IM 5 - -#endif /* _FALCON_IRQ__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 Thomas Langer + */ + +#ifndef _FALCON_IRQ__ +#define _FALCON_IRQ__ + +#define INT_NUM_IRQ0 8 +#define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0) +#define INT_NUM_IM1_IRL0 (INT_NUM_IM0_IRL0 + 32) +#define INT_NUM_IM2_IRL0 (INT_NUM_IM1_IRL0 + 32) +#define INT_NUM_IM3_IRL0 (INT_NUM_IM2_IRL0 + 32) +#define INT_NUM_IM4_IRL0 (INT_NUM_IM3_IRL0 + 32) +#define INT_NUM_EXTRA_START (INT_NUM_IM4_IRL0 + 32) +#define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) + +#define MAX_IM 5 + +#endif /* _FALCON_IRQ__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h index 88c12fc3d4..5f0d0ba991 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-lantiq/xway/lantiq_irq.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 John Crispin - */ - -#ifndef _LANTIQ_XWAY_IRQ_H__ -#define _LANTIQ_XWAY_IRQ_H__ - -#define INT_NUM_IRQ0 8 -#define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0) -#define INT_NUM_IM1_IRL0 (INT_NUM_IRQ0 + 32) -#define INT_NUM_IM2_IRL0 (INT_NUM_IRQ0 + 64) -#define INT_NUM_IM3_IRL0 (INT_NUM_IRQ0 + 96) -#define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128) -#define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) - -#define LTQ_DMA_CH0_INT (INT_NUM_IM2_IRL0) - -#define MAX_IM 5 - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 John Crispin + */ + +#ifndef _LANTIQ_XWAY_IRQ_H__ +#define _LANTIQ_XWAY_IRQ_H__ + +#define INT_NUM_IRQ0 8 +#define INT_NUM_IM0_IRL0 (INT_NUM_IRQ0 + 0) +#define INT_NUM_IM1_IRL0 (INT_NUM_IRQ0 + 32) +#define INT_NUM_IM2_IRL0 (INT_NUM_IRQ0 + 64) +#define INT_NUM_IM3_IRL0 (INT_NUM_IRQ0 + 96) +#define INT_NUM_IM4_IRL0 (INT_NUM_IRQ0 + 128) +#define INT_NUM_IM_OFFSET (INT_NUM_IM1_IRL0 - INT_NUM_IM0_IRL0) + +#define LTQ_DMA_CH0_INT (INT_NUM_IM2_IRL0) + +#define MAX_IM 5 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/machine.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/machine.h index caef728e18..4097267ef1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/machine.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson2ef/machine.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009 Lemote, Inc. - * Author: Wu Zhangjin - */ - -#ifndef __ASM_MACH_LOONGSON2EF_MACHINE_H -#define __ASM_MACH_LOONGSON2EF_MACHINE_H - -#ifdef CONFIG_LEMOTE_FULOONG2E - -#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E - -#endif - -/* use fuloong2f as the default machine of LEMOTE_MACH2F */ -#ifdef CONFIG_LEMOTE_MACH2F - -#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2F - -#endif - -#endif /* __ASM_MACH_LOONGSON2EF_MACHINE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009 Lemote, Inc. + * Author: Wu Zhangjin + */ + +#ifndef __ASM_MACH_LOONGSON2EF_MACHINE_H +#define __ASM_MACH_LOONGSON2EF_MACHINE_H + +#ifdef CONFIG_LEMOTE_FULOONG2E + +#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2E + +#endif + +/* use fuloong2f as the default machine of LEMOTE_MACH2F */ +#ifdef CONFIG_LEMOTE_MACH2F + +#define LOONGSON_MACHTYPE MACH_LEMOTE_FL2F + +#endif + +#endif /* __ASM_MACH_LOONGSON2EF_MACHINE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h index d019063aa5..8be710557b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/builtin_dtbs.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2019 Jiaxun Yang - * - * Built-in Generic dtbs for MACH_LOONGSON64 - */ - -#ifndef __ASM_MACH_LOONGSON64_BUILTIN_DTBS_H_ -#define __ASM_MACH_LOONGSON64_BUILTIN_DTBS_H_ - -extern u32 __dtb_loongson64_2core_2k1000_begin[]; -extern u32 __dtb_loongson64c_4core_ls7a_begin[]; -extern u32 __dtb_loongson64c_4core_rs780e_begin[]; -extern u32 __dtb_loongson64c_8core_rs780e_begin[]; -extern u32 __dtb_loongson64g_4core_ls7a_begin[]; -extern u32 __dtb_loongson64v_4core_virtio_begin[]; -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2019 Jiaxun Yang + * + * Built-in Generic dtbs for MACH_LOONGSON64 + */ + +#ifndef __ASM_MACH_LOONGSON64_BUILTIN_DTBS_H_ +#define __ASM_MACH_LOONGSON64_BUILTIN_DTBS_H_ + +extern u32 __dtb_loongson64_2core_2k1000_begin[]; +extern u32 __dtb_loongson64c_4core_ls7a_begin[]; +extern u32 __dtb_loongson64c_4core_rs780e_begin[]; +extern u32 __dtb_loongson64c_8core_rs780e_begin[]; +extern u32 __dtb_loongson64g_4core_ls7a_begin[]; +extern u32 __dtb_loongson64v_4core_virtio_begin[]; +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/irq.h index 76f3d71b5c..67c15f320f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/irq.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_LOONGSON64_IRQ_H_ -#define __ASM_MACH_LOONGSON64_IRQ_H_ - -/* cpu core interrupt numbers */ -#define NR_IRQS_LEGACY 16 -#define NR_MIPS_CPU_IRQS 8 -#define NR_MAX_CHAINED_IRQS 40 /* Chained IRQs means those not directly used by devices */ -#define NR_IRQS (NR_IRQS_LEGACY + NR_MIPS_CPU_IRQS + NR_MAX_CHAINED_IRQS + 256) -#define MAX_IO_PICS 1 -#define MIPS_CPU_IRQ_BASE NR_IRQS_LEGACY -#define GSI_MIN_CPU_IRQ 0 - -#include - -#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_LOONGSON64_IRQ_H_ +#define __ASM_MACH_LOONGSON64_IRQ_H_ + +/* cpu core interrupt numbers */ +#define NR_IRQS_LEGACY 16 +#define NR_MIPS_CPU_IRQS 8 +#define NR_MAX_CHAINED_IRQS 40 /* Chained IRQs means those not directly used by devices */ +#define NR_IRQS (NR_IRQS_LEGACY + NR_MIPS_CPU_IRQS + NR_MAX_CHAINED_IRQS + 256) +#define MAX_IO_PICS 1 +#define MIPS_CPU_IRQ_BASE NR_IRQS_LEGACY +#define GSI_MIN_CPU_IRQ 0 + +#include + +#endif /* __ASM_MACH_LOONGSON64_IRQ_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/pci.h index 2dd6005b3a..8b59d64a23 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/pci.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (c) 2008 Zhang Le - * Copyright (c) 2009 Wu Zhangjin - */ - -#ifndef __ASM_MACH_LOONGSON64_PCI_H_ -#define __ASM_MACH_LOONGSON64_PCI_H_ - -extern struct pci_ops loongson_pci_ops; - -/* this is an offset from mips_io_port_base */ -#define LOONGSON_PCI_IO_START 0x00004000UL - -#define LOONGSON_PCI_MEM_START 0x40000000UL -#define LOONGSON_PCI_MEM_END 0x7effffffUL - - -#endif /* !__ASM_MACH_LOONGSON64_PCI_H_ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (c) 2008 Zhang Le + * Copyright (c) 2009 Wu Zhangjin + */ + +#ifndef __ASM_MACH_LOONGSON64_PCI_H_ +#define __ASM_MACH_LOONGSON64_PCI_H_ + +extern struct pci_ops loongson_pci_ops; + +/* this is an offset from mips_io_port_base */ +#define LOONGSON_PCI_IO_START 0x00004000UL + +#define LOONGSON_PCI_MEM_START 0x40000000UL +#define LOONGSON_PCI_MEM_END 0x7effffffUL + + +#endif /* !__ASM_MACH_LOONGSON64_PCI_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/spaces.h index 4ee37a900b..ce04e998a3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/spaces.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MACH_LOONGSON64_SPACES_H_ -#define __ASM_MACH_LOONGSON64_SPACES_H_ - -#if defined(CONFIG_64BIT) -#define CAC_BASE _AC(0x9800000000000000, UL) -#endif /* CONFIG_64BIT */ - -/* Skip 128k to trap NULL pointer dereferences */ -#define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) -#define PCI_IOSIZE SZ_16M -#define MAP_BASE (PCI_IOBASE + PCI_IOSIZE) - -#define IO_SPACE_LIMIT (PCI_IOSIZE - 1) - -#include -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MACH_LOONGSON64_SPACES_H_ +#define __ASM_MACH_LOONGSON64_SPACES_H_ + +#if defined(CONFIG_64BIT) +#define CAC_BASE _AC(0x9800000000000000, UL) +#endif /* CONFIG_64BIT */ + +/* Skip 128k to trap NULL pointer dereferences */ +#define PCI_IOBASE _AC(0xc000000000000000 + SZ_128K, UL) +#define PCI_IOSIZE SZ_16M +#define MAP_BASE (PCI_IOBASE + PCI_IOSIZE) + +#define IO_SPACE_LIMIT (PCI_IOSIZE - 1) + +#include +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/topology.h index 7d8ce22488..3414a1fd17 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-loongson64/topology.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_MACH_TOPOLOGY_H -#define _ASM_MACH_TOPOLOGY_H - -#ifdef CONFIG_NUMA - -#define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) - -extern cpumask_t __node_cpumask[]; -#define cpumask_of_node(node) (&__node_cpumask[node]) - -struct pci_bus; -extern int pcibus_to_node(struct pci_bus *); - -#define cpumask_of_pcibus(bus) (cpu_online_mask) - -extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; - -#define node_distance(from, to) (__node_distances[(from)][(to)]) - -#endif - -#include - -#endif /* _ASM_MACH_TOPOLOGY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_MACH_TOPOLOGY_H +#define _ASM_MACH_TOPOLOGY_H + +#ifdef CONFIG_NUMA + +#define cpu_to_node(cpu) (cpu_logical_map(cpu) >> 2) + +extern cpumask_t __node_cpumask[]; +#define cpumask_of_node(node) (&__node_cpumask[node]) + +struct pci_bus; +extern int pcibus_to_node(struct pci_bus *); + +#define cpumask_of_pcibus(bus) (cpu_online_mask) + +extern unsigned char __node_distances[MAX_NUMNODES][MAX_NUMNODES]; + +#define node_distance(from, to) (__node_distances[(from)][(to)]) + +#endif + +#include + +#endif /* _ASM_MACH_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/mach-gt64120.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/mach-gt64120.h index 1bf0853930..b9dee7c3e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/mach-gt64120.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-malta/mach-gt64120.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * This is a direct copy of the ev96100.h file, with a global - * search and replace. The numbers are the same. - * - * The reason I'm duplicating this is so that the 64120/96100 - * defines won't be confusing in the source code. - */ -#ifndef _ASM_MACH_MIPS_MACH_GT64120_DEP_H -#define _ASM_MACH_MIPS_MACH_GT64120_DEP_H - -#define MIPS_GT_BASE 0x1be00000 - -extern unsigned long _pcictrl_gt64120; -/* - * GT64120 config space base address - */ -#define GT64120_BASE _pcictrl_gt64120 - -#endif /* _ASM_MACH_MIPS_MACH_GT64120_DEP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * This is a direct copy of the ev96100.h file, with a global + * search and replace. The numbers are the same. + * + * The reason I'm duplicating this is so that the 64120/96100 + * defines won't be confusing in the source code. + */ +#ifndef _ASM_MACH_MIPS_MACH_GT64120_DEP_H +#define _ASM_MACH_MIPS_MACH_GT64120_DEP_H + +#define MIPS_GT_BASE 0x1be00000 + +extern unsigned long _pcictrl_gt64120; +/* + * GT64120 config space base address + */ +#define GT64120_BASE _pcictrl_gt64120 + +#endif /* _ASM_MACH_MIPS_MACH_GT64120_DEP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/irq.h index 536ab0ee73..ddaf999bc6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/irq.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Joshua Henderson - * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. - */ -#ifndef __ASM_MACH_PIC32_IRQ_H -#define __ASM_MACH_PIC32_IRQ_H - -#define NR_IRQS 256 -#define MIPS_CPU_IRQ_BASE 0 - -#include - -#endif /* __ASM_MACH_PIC32_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Joshua Henderson + * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. + */ +#ifndef __ASM_MACH_PIC32_IRQ_H +#define __ASM_MACH_PIC32_IRQ_H + +#define NR_IRQS 256 +#define MIPS_CPU_IRQ_BASE 0 + +#include + +#endif /* __ASM_MACH_PIC32_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/spaces.h index c18def3f37..eb557b52cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-pic32/spaces.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Joshua Henderson - * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. - */ -#ifndef _ASM_MACH_PIC32_SPACES_H -#define _ASM_MACH_PIC32_SPACES_H - -#ifdef CONFIG_PIC32MZDA -#define PHYS_OFFSET _AC(0x08000000, UL) -#endif - -#include - -#endif /* __ASM_MACH_PIC32_SPACES_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Joshua Henderson + * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. + */ +#ifndef _ASM_MACH_PIC32_SPACES_H +#define _ASM_MACH_PIC32_SPACES_H + +#ifdef CONFIG_PIC32MZDA +#define PHYS_OFFSET _AC(0x08000000, UL) +#endif + +#include + +#endif /* __ASM_MACH_PIC32_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rc32434/rc32434.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rc32434/rc32434.h index 451f6aaf7d..1bec6cc8ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rc32434/rc32434.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-rc32434/rc32434.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Definitions for IDT RC323434 CPU. - */ - -#ifndef _ASM_RC32434_RC32434_H_ -#define _ASM_RC32434_RC32434_H_ - -#include -#include - -#define IDT_CLOCK_MULT 2 - -/* cpu pipeline flush */ -static inline void rc32434_sync(void) -{ - __asm__ volatile ("sync"); -} - -#endif /* _ASM_RC32434_RC32434_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Definitions for IDT RC323434 CPU. + */ + +#ifndef _ASM_RC32434_RC32434_H_ +#define _ASM_RC32434_RC32434_H_ + +#include +#include + +#define IDT_CLOCK_MULT 2 + +/* cpu pipeline flush */ +static inline void rc32434_sync(void) +{ + __asm__ volatile ("sync"); +} + +#endif /* _ASM_RC32434_RC32434_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/spaces.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/spaces.h index 8871a6a62b..0cb10a6f48 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/spaces.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mach-tx49xx/spaces.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle - * Copyright (C) 2000, 2002 Maciej W. Rozycki - * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_TX49XX_SPACES_H -#define _ASM_TX49XX_SPACES_H - -#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000) - -#include - -#endif /* __ASM_TX49XX_SPACES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994 - 1999, 2000, 03, 04 Ralf Baechle + * Copyright (C) 2000, 2002 Maciej W. Rozycki + * Copyright (C) 1990, 1999, 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_TX49XX_SPACES_H +#define _ASM_TX49XX_SPACES_H + +#define FIXADDR_TOP ((unsigned long)(long)(int)0xfefe0000) + +#include + +#endif /* __ASM_TX49XX_SPACES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mc146818rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mc146818rtc.h index eaee0fcba6..68b4da6d52 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mc146818rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mc146818rtc.h @@ -1,16 +1,16 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Machine dependent access functions for RTC registers. - * - * Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle - * Copyright (C) 2002 Maciej W. Rozycki - */ -#ifndef _ASM_MC146818RTC_H -#define _ASM_MC146818RTC_H - -#include - -#endif /* _ASM_MC146818RTC_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Machine dependent access functions for RTC registers. + * + * Copyright (C) 1996, 1997, 1998, 2000 Ralf Baechle + * Copyright (C) 2002 Maciej W. Rozycki + */ +#ifndef _ASM_MC146818RTC_H +#define _ASM_MC146818RTC_H + +#include + +#endif /* _ASM_MC146818RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/sim.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/sim.h index 784c579624..ca37a4f329 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/sim.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mips-boards/sim.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. - */ - -#ifndef _ASM_MIPS_BOARDS_SIM_H -#define _ASM_MIPS_BOARDS_SIM_H - -#define STATS_ON 1 -#define STATS_OFF 2 -#define STATS_CLEAR 3 -#define STATS_DUMP 4 -#define TRACE_ON 5 -#define TRACE_OFF 6 - - -#define simcfg(code) \ -({ \ - __asm__ __volatile__( \ - "sltiu $0,$0, %0" \ - ::"i"(code) \ - ); \ -}) - - - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2005 MIPS Technologies, Inc. All rights reserved. + */ + +#ifndef _ASM_MIPS_BOARDS_SIM_H +#define _ASM_MIPS_BOARDS_SIM_H + +#define STATS_ON 1 +#define STATS_OFF 2 +#define STATS_CLEAR 3 +#define STATS_DUMP 4 +#define TRACE_ON 5 +#define TRACE_OFF 6 + + +#define simcfg(code) \ +({ \ + __asm__ __volatile__( \ + "sltiu $0,$0, %0" \ + ::"i"(code) \ + ); \ +}) + + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmu.h index c43170c43c..5df0238f63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmu.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_MMU_H -#define __ASM_MMU_H - -#include -#include -#include - -typedef struct { - union { - u64 asid[NR_CPUS]; - atomic64_t mmid; - }; - - void *vdso; - - /* lock to be held whilst modifying fp_bd_emupage_allocmap */ - spinlock_t bd_emupage_lock; - /* bitmap tracking allocation of fp_bd_emupage */ - unsigned long *bd_emupage_allocmap; - /* wait queue for threads requiring an emuframe */ - wait_queue_head_t bd_emupage_queue; -} mm_context_t; - -#endif /* __ASM_MMU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_MMU_H +#define __ASM_MMU_H + +#include +#include +#include + +typedef struct { + union { + u64 asid[NR_CPUS]; + atomic64_t mmid; + }; + + void *vdso; + + /* lock to be held whilst modifying fp_bd_emupage_allocmap */ + spinlock_t bd_emupage_lock; + /* bitmap tracking allocation of fp_bd_emupage */ + unsigned long *bd_emupage_allocmap; + /* wait queue for threads requiring an emuframe */ + wait_queue_head_t bd_emupage_queue; +} mm_context_t; + +#endif /* __ASM_MMU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmzone.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmzone.h index 9915288e10..14226ea420 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmzone.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/mmzone.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99 - * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004 - */ -#ifndef _ASM_MMZONE_H_ -#define _ASM_MMZONE_H_ - -#include - -#ifdef CONFIG_NUMA -# include -#endif - -#ifndef pa_to_nid -#define pa_to_nid(addr) 0 -#endif - -#ifndef nid_to_addrbase -#define nid_to_addrbase(nid) 0 -#endif - -extern void setup_zero_pages(void); - -#endif /* _ASM_MMZONE_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Written by Kanoj Sarcar (kanoj@sgi.com) Aug 99 + * Rewritten for Linux 2.6 by Christoph Hellwig (hch@lst.de) Jan 2004 + */ +#ifndef _ASM_MMZONE_H_ +#define _ASM_MMZONE_H_ + +#include + +#ifdef CONFIG_NUMA +# include +#endif + +#ifndef pa_to_nid +#define pa_to_nid(addr) 0 +#endif + +#ifndef nid_to_addrbase +#define nid_to_addrbase(nid) 0 +#endif + +extern void setup_zero_pages(void); + +#endif /* _ASM_MMZONE_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/r4k-timer.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/r4k-timer.h index 509cb036e2..432e61dd52 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/r4k-timer.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/r4k-timer.h @@ -1,25 +1,25 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org) - */ -#ifndef __ASM_R4K_TIMER_H -#define __ASM_R4K_TIMER_H - -#include - -#ifdef CONFIG_SYNC_R4K - -extern void synchronise_count_slave(int cpu); - -#else - -static inline void synchronise_count_slave(int cpu) -{ -} - -#endif - -#endif /* __ASM_R4K_TIMER_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2008 by Ralf Baechle (ralf@linux-mips.org) + */ +#ifndef __ASM_R4K_TIMER_H +#define __ASM_R4K_TIMER_H + +#include + +#ifdef CONFIG_SYNC_R4K + +extern void synchronise_count_slave(int cpu); + +#else + +static inline void synchronise_count_slave(int cpu) +{ +} + +#endif + +#endif /* __ASM_R4K_TIMER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/reboot.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/reboot.h index 5f2a4b25b0..e48c0bfab2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/reboot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/reboot.h @@ -1,15 +1,15 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1997, 1999, 2001, 06 by Ralf Baechle - * Copyright (C) 2001 MIPS Technologies, Inc. - */ -#ifndef _ASM_REBOOT_H -#define _ASM_REBOOT_H - -extern void (*_machine_restart)(char *command); -extern void (*_machine_halt)(void); - -#endif /* _ASM_REBOOT_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1997, 1999, 2001, 06 by Ralf Baechle + * Copyright (C) 2001 MIPS Technologies, Inc. + */ +#ifndef _ASM_REBOOT_H +#define _ASM_REBOOT_H + +extern void (*_machine_restart)(char *command); +extern void (*_machine_halt)(void); + +#endif /* _ASM_REBOOT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/seeq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/seeq.h index 8ef319b589..af0ffd7689 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/seeq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/seeq.h @@ -1,21 +1,21 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2007 by Ralf Baechle - */ -#ifndef __ASM_SGI_SEEQ_H -#define __ASM_SGI_SEEQ_H - -#include - -#include - -struct sgiseeq_platform_data { - struct hpc3_regs *hpc; - unsigned int irq; - unsigned char mac[ETH_ALEN]; -}; - -#endif /* __ASM_SGI_SEEQ_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2007 by Ralf Baechle + */ +#ifndef __ASM_SGI_SEEQ_H +#define __ASM_SGI_SEEQ_H + +#include + +#include + +struct sgiseeq_platform_data { + struct hpc3_regs *hpc; + unsigned int irq; + unsigned char mac[ETH_ALEN]; +}; + +#endif /* __ASM_SGI_SEEQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/wd.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/wd.h index 8d12e5fcd8..0d6c3a4da8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/wd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sgi/wd.h @@ -1,20 +1,20 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2007 by Ralf Baechle - */ -#ifndef __ASM_SGI_WD_H -#define __ASM_SGI_WD_H - -#include - -struct sgiwd93_platform_data { - unsigned int unit; - unsigned int irq; - struct hpc3_scsiregs *hregs; - unsigned char *wdregs; -}; - -#endif /* __ASM_SGI_WD_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2007 by Ralf Baechle + */ +#ifndef __ASM_SGI_WD_H +#define __ASM_SGI_WD_H + +#include + +struct sgiwd93_platform_data { + unsigned int unit; + unsigned int irq; + struct hpc3_scsiregs *hregs; + unsigned char *wdregs; +}; + +#endif /* __ASM_SGI_WD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/shmparam.h index 6865f55a03..324d04042b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/shmparam.h @@ -1,13 +1,13 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ -#ifndef _ASM_SHMPARAM_H -#define _ASM_SHMPARAM_H - -#define __ARCH_FORCE_SHMLBA 1 - -#define SHMLBA 0x40000 /* attach addr a multiple of this */ - -#endif /* _ASM_SHMPARAM_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#ifndef _ASM_SHMPARAM_H +#define _ASM_SHMPARAM_H + +#define __ARCH_FORCE_SHMLBA 1 + +#define SHMLBA 0x40000 /* attach addr a multiple of this */ + +#endif /* _ASM_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/sentosa.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/sentosa.h index efdc29e7dd..a27cda344e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/sentosa.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sibyte/sentosa.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2000, 2001 Broadcom Corporation - */ -#ifndef __ASM_SIBYTE_SENTOSA_H -#define __ASM_SIBYTE_SENTOSA_H - -#include -#include - -#ifdef CONFIG_SIBYTE_SENTOSA -#define SIBYTE_BOARD_NAME "BCM91250E (Sentosa)" -#endif -#ifdef CONFIG_SIBYTE_RHONE -#define SIBYTE_BOARD_NAME "BCM91125E (Rhone)" -#endif - -/* Generic bus chip selects */ -#ifdef CONFIG_SIBYTE_RHONE -#define LEDS_CS 6 -#define LEDS_PHYS 0x1d0a0000 -#endif - -/* GPIOs */ -#define K_GPIO_DBG_LED 0 - -#endif /* __ASM_SIBYTE_SENTOSA_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2000, 2001 Broadcom Corporation + */ +#ifndef __ASM_SIBYTE_SENTOSA_H +#define __ASM_SIBYTE_SENTOSA_H + +#include +#include + +#ifdef CONFIG_SIBYTE_SENTOSA +#define SIBYTE_BOARD_NAME "BCM91250E (Sentosa)" +#endif +#ifdef CONFIG_SIBYTE_RHONE +#define SIBYTE_BOARD_NAME "BCM91125E (Rhone)" +#endif + +/* Generic bus chip selects */ +#ifdef CONFIG_SIBYTE_RHONE +#define LEDS_CS 6 +#define LEDS_PHYS 0x1d0a0000 +#endif + +/* GPIOs */ +#define K_GPIO_DBG_LED 0 + +#endif /* __ASM_SIBYTE_SENTOSA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/klkernvars.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/klkernvars.h index b7591917df..ea6b217951 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/klkernvars.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sn/klkernvars.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00. - * Copyright 2000 Silicon Graphics, Inc. - */ -#ifndef __ASM_SN_KLKERNVARS_H -#define __ASM_SN_KLKERNVARS_H - -#define KV_MAGIC_OFFSET 0x0 -#define KV_RO_NASID_OFFSET 0x4 -#define KV_RW_NASID_OFFSET 0x6 - -#define KV_MAGIC 0x5f4b565f - -#ifndef __ASSEMBLY__ - -#include - -typedef struct kern_vars_s { - int kv_magic; - nasid_t kv_ro_nasid; - nasid_t kv_rw_nasid; - unsigned long kv_ro_baseaddr; - unsigned long kv_rw_baseaddr; -} kern_vars_t; - -#endif /* !__ASSEMBLY__ */ - -#endif /* __ASM_SN_KLKERNVARS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * File ported from IRIX to Linux by Kanoj Sarcar, 06/08/00. + * Copyright 2000 Silicon Graphics, Inc. + */ +#ifndef __ASM_SN_KLKERNVARS_H +#define __ASM_SN_KLKERNVARS_H + +#define KV_MAGIC_OFFSET 0x0 +#define KV_RO_NASID_OFFSET 0x4 +#define KV_RW_NASID_OFFSET 0x6 + +#define KV_MAGIC 0x5f4b565f + +#ifndef __ASSEMBLY__ + +#include + +typedef struct kern_vars_s { + int kv_magic; + nasid_t kv_ro_nasid; + nasid_t kv_rw_nasid; + unsigned long kv_ro_baseaddr; + unsigned long kv_rw_baseaddr; +} kern_vars_t; + +#endif /* !__ASSEMBLY__ */ + +#endif /* __ASM_SN_KLKERNVARS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sparsemem.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sparsemem.h index f754d305de..b0686ca3d8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sparsemem.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/sparsemem.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _MIPS_SPARSEMEM_H -#define _MIPS_SPARSEMEM_H -#ifdef CONFIG_SPARSEMEM - -/* - * SECTION_SIZE_BITS 2^N: how big each section will be - * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space - */ -#if defined(CONFIG_MIPS_HUGE_TLB_SUPPORT) && defined(CONFIG_PAGE_SIZE_64KB) -# define SECTION_SIZE_BITS 29 -#else -# define SECTION_SIZE_BITS 28 -#endif -#define MAX_PHYSMEM_BITS 48 - -#endif /* CONFIG_SPARSEMEM */ -#endif /* _MIPS_SPARSEMEM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _MIPS_SPARSEMEM_H +#define _MIPS_SPARSEMEM_H +#ifdef CONFIG_SPARSEMEM + +/* + * SECTION_SIZE_BITS 2^N: how big each section will be + * MAX_PHYSMEM_BITS 2^N: how much memory we can have in that space + */ +#if defined(CONFIG_MIPS_HUGE_TLB_SUPPORT) && defined(CONFIG_PAGE_SIZE_64KB) +# define SECTION_SIZE_BITS 29 +#else +# define SECTION_SIZE_BITS 28 +#endif +#define MAX_PHYSMEM_BITS 48 + +#endif /* CONFIG_SPARSEMEM */ +#endif /* _MIPS_SPARSEMEM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlb.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlb.h index 261c1afc61..90f3ad76d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlb.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_TLB_H -#define __ASM_TLB_H - -#include -#include - -#define _UNIQUE_ENTRYHI(base, idx) \ - (((base) + ((idx) << (PAGE_SHIFT + 1))) | \ - (cpu_has_tlbinv ? MIPS_ENTRYHI_EHINV : 0)) -#define UNIQUE_ENTRYHI(idx) _UNIQUE_ENTRYHI(CKSEG0, idx) -#define UNIQUE_GUEST_ENTRYHI(idx) _UNIQUE_ENTRYHI(CKSEG1, idx) - -static inline unsigned int num_wired_entries(void) -{ - unsigned int wired = read_c0_wired(); - - if (cpu_has_mips_r6) - wired &= MIPSR6_WIRED_WIRED; - - return wired; -} - -#include - -#endif /* __ASM_TLB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_TLB_H +#define __ASM_TLB_H + +#include +#include + +#define _UNIQUE_ENTRYHI(base, idx) \ + (((base) + ((idx) << (PAGE_SHIFT + 1))) | \ + (cpu_has_tlbinv ? MIPS_ENTRYHI_EHINV : 0)) +#define UNIQUE_ENTRYHI(idx) _UNIQUE_ENTRYHI(CKSEG0, idx) +#define UNIQUE_GUEST_ENTRYHI(idx) _UNIQUE_ENTRYHI(CKSEG1, idx) + +static inline unsigned int num_wired_entries(void) +{ + unsigned int wired = read_c0_wired(); + + if (cpu_has_mips_r6) + wired &= MIPSR6_WIRED_WIRED; + + return wired; +} + +#include + +#endif /* __ASM_TLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbdebug.h index fd7cac229a..3a25a8780a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/tlbdebug.h @@ -1,17 +1,17 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2002 by Ralf Baechle - */ -#ifndef __ASM_TLBDEBUG_H -#define __ASM_TLBDEBUG_H - -/* - * TLB debugging functions: - */ -extern void dump_tlb_regs(void); -extern void dump_tlb_all(void); - -#endif /* __ASM_TLBDEBUG_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2002 by Ralf Baechle + */ +#ifndef __ASM_TLBDEBUG_H +#define __ASM_TLBDEBUG_H + +/* + * TLB debugging functions: + */ +extern void dump_tlb_regs(void); +extern void dump_tlb_all(void); + +#endif /* __ASM_TLBDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/topology.h index 49754e7b12..0673d2d0f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/topology.h @@ -1,21 +1,21 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2007 by Ralf Baechle - */ -#ifndef __ASM_TOPOLOGY_H -#define __ASM_TOPOLOGY_H - -#include -#include - -#ifdef CONFIG_SMP -#define topology_physical_package_id(cpu) (cpu_data[cpu].package) -#define topology_core_id(cpu) (cpu_core(&cpu_data[cpu])) -#define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) -#define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) -#endif - -#endif /* __ASM_TOPOLOGY_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2007 by Ralf Baechle + */ +#ifndef __ASM_TOPOLOGY_H +#define __ASM_TOPOLOGY_H + +#include +#include + +#ifdef CONFIG_SMP +#define topology_physical_package_id(cpu) (cpu_data[cpu].package) +#define topology_core_id(cpu) (cpu_core(&cpu_data[cpu])) +#define topology_core_cpumask(cpu) (&cpu_core_map[cpu]) +#define topology_sibling_cpumask(cpu) (&cpu_sibling_map[cpu]) +#endif + +#endif /* __ASM_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9pio.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9pio.h index 882d4f791d..3d6fa9f8d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9pio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/txx9pio.h @@ -1,29 +1,29 @@ -/* - * include/asm-mips/txx9pio.h - * TX39/TX49 PIO controller definitions. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ -#ifndef __ASM_TXX9PIO_H -#define __ASM_TXX9PIO_H - -#include - -struct txx9_pio_reg { - __u32 dout; - __u32 din; - __u32 dir; - __u32 od; - __u32 flag[2]; - __u32 pol; - __u32 intc; - __u32 maskcpu; - __u32 maskext; -}; - -int txx9_gpio_init(unsigned long baseaddr, - unsigned int base, unsigned int num); - -#endif /* __ASM_TXX9PIO_H */ +/* + * include/asm-mips/txx9pio.h + * TX39/TX49 PIO controller definitions. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#ifndef __ASM_TXX9PIO_H +#define __ASM_TXX9PIO_H + +#include + +struct txx9_pio_reg { + __u32 dout; + __u32 din; + __u32 dir; + __u32 od; + __u32 flag[2]; + __u32 pol; + __u32 intc; + __u32 maskcpu; + __u32 maskext; +}; + +int txx9_gpio_init(unsigned long baseaddr, + unsigned int base, unsigned int num); + +#endif /* __ASM_TXX9PIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/types.h index cc612599de..638ef88e2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/asm/types.h @@ -1,16 +1,16 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle - * Copyright (C) 2008 Wind River Systems, - * written by Ralf Baechle - * Copyright (C) 1999 Silicon Graphics, Inc. - */ -#ifndef _ASM_TYPES_H -#define _ASM_TYPES_H - -#include - -#endif /* _ASM_TYPES_H */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle + * Copyright (C) 2008 Wind River Systems, + * written by Ralf Baechle + * Copyright (C) 1999 Silicon Graphics, Inc. + */ +#ifndef _ASM_TYPES_H +#define _ASM_TYPES_H + +#include + +#endif /* _ASM_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/auxvec.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/auxvec.h index a81373cafe..612c2c41f6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/auxvec.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/auxvec.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * Copyright (C) 2015 Imagination Technologies - * Author: Alex Smith - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - */ - -#ifndef __ASM_AUXVEC_H -#define __ASM_AUXVEC_H - -/* Location of VDSO image. */ -#define AT_SYSINFO_EHDR 33 - -#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ - -#endif /* __ASM_AUXVEC_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * Copyright (C) 2015 Imagination Technologies + * Author: Alex Smith + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + */ + +#ifndef __ASM_AUXVEC_H +#define __ASM_AUXVEC_H + +/* Location of VDSO image. */ +#define AT_SYSINFO_EHDR 33 + +#define AT_VECTOR_SIZE_ARCH 1 /* entries in ARCH_DLINFO */ + +#endif /* __ASM_AUXVEC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/byteorder.h index 6884f25b5a..b4edc85f9c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/byteorder.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1996, 99, 2003 by Ralf Baechle - */ -#ifndef _ASM_BYTEORDER_H -#define _ASM_BYTEORDER_H - -#if defined(__MIPSEB__) -#include -#elif defined(__MIPSEL__) -#include -#else -# error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" -#endif - -#endif /* _ASM_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1996, 99, 2003 by Ralf Baechle + */ +#ifndef _ASM_BYTEORDER_H +#define _ASM_BYTEORDER_H + +#if defined(__MIPSEB__) +#include +#elif defined(__MIPSEL__) +#include +#else +# error "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" +#endif + +#endif /* _ASM_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/param.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/param.h index 2595ef9f97..3f337ed66f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/param.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/include/uapi/asm/param.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org) - * Copyright 2000 Silicon Graphics, Inc. - */ -#ifndef _ASM_PARAM_H -#define _ASM_PARAM_H - -#define EXEC_PAGESIZE 65536 - -#include - -#endif /* _ASM_PARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright 1994 - 2000, 2002 Ralf Baechle (ralf@gnu.org) + * Copyright 2000 Silicon Graphics, Inc. + */ +#ifndef _ASM_PARAM_H +#define _ASM_PARAM_H + +#define EXEC_PAGESIZE 65536 + +#include + +#endif /* _ASM_PARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/access-helper.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/access-helper.h index 14632beade..5903880315 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/access-helper.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/access-helper.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include - -static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) -{ - return user ? get_user(*a, (unsigned long __user *)p) : - get_kernel_nofault(*a, p); -} - -static inline int __get_inst16(u16 *i, u16 *p, bool user) -{ - return user ? get_user(*i, (u16 __user *)p) : get_kernel_nofault(*i, p); -} - -static inline int __get_inst32(u32 *i, u32 *p, bool user) -{ - return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); -} +/* SPDX-License-Identifier: GPL-2.0 */ + +#include + +static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) +{ + return user ? get_user(*a, (unsigned long __user *)p) : + get_kernel_nofault(*a, p); +} + +static inline int __get_inst16(u16 *i, u16 *p, bool user) +{ + return user ? get_user(*i, (u16 __user *)p) : get_kernel_nofault(*i, p); +} + +static inline int __get_inst32(u32 *i, u32 *p, bool user) +{ + return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/crash_dump.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/crash_dump.c index 2bd67c5ac2..6e50f49024 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/crash_dump.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/crash_dump.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, - size_t csize, unsigned long offset) -{ - void *vaddr; - - if (!csize) - return 0; - - vaddr = kmap_local_pfn(pfn); - csize = copy_to_iter(vaddr + offset, csize, iter); - kunmap_local(vaddr); - - return csize; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, + size_t csize, unsigned long offset) +{ + void *vaddr; + + if (!csize) + return 0; + + vaddr = kmap_local_pfn(pfn); + csize = copy_to_iter(vaddr + offset, csize, iter); + kunmap_local(vaddr); + + return csize; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/topology.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/topology.c index a137f58d18..9429d85a47 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/topology.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kernel/topology.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include -#include -#include - -static DEFINE_PER_CPU(struct cpu, cpu_devices); - -static int __init topology_init(void) -{ - int i, ret; - - for_each_present_cpu(i) { - struct cpu *c = &per_cpu(cpu_devices, i); - - c->hotpluggable = !!i; - ret = register_cpu(c, i); - if (ret) - printk(KERN_WARNING "topology_init: register_cpu %d " - "failed (%d)\n", i, ret); - } - - return 0; -} - -subsys_initcall(topology_init); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include +#include +#include + +static DEFINE_PER_CPU(struct cpu, cpu_devices); + +static int __init topology_init(void) +{ + int i, ret; + + for_each_present_cpu(i) { + struct cpu *c = &per_cpu(cpu_devices, i); + + c->hotpluggable = !!i; + ret = register_cpu(c, i); + if (ret) + printk(KERN_WARNING "topology_init: register_cpu %d " + "failed (%d)\n", i, ret); + } + + return 0; +} + +subsys_initcall(topology_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/kvm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/kvm/Makefile index 6997941447..805aeea216 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/kvm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/kvm/Makefile @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for KVM support for MIPS -# - -include $(srctree)/virt/kvm/Makefile.kvm - -ccflags-y += -Ivirt/kvm -Iarch/mips/kvm - -kvm-$(CONFIG_CPU_HAS_MSA) += msa.o - -kvm-y += mips.o emulate.o entry.o \ - interrupt.o stats.o \ - fpu.o -kvm-y += hypcall.o -kvm-y += mmu.o -kvm-$(CONFIG_CPU_LOONGSON64) += loongson_ipi.o - -kvm-y += vz.o -obj-$(CONFIG_KVM) += kvm.o -obj-y += tlb.o +# SPDX-License-Identifier: GPL-2.0 +# Makefile for KVM support for MIPS +# + +include $(srctree)/virt/kvm/Makefile.kvm + +ccflags-y += -Ivirt/kvm -Iarch/mips/kvm + +kvm-$(CONFIG_CPU_HAS_MSA) += msa.o + +kvm-y += mips.o emulate.o entry.o \ + interrupt.o stats.o \ + fpu.o +kvm-y += hypcall.o +kvm-y += mmu.o +kvm-$(CONFIG_CPU_LOONGSON64) += loongson_ipi.o + +kvm-y += vz.o +obj-$(CONFIG_KVM) += kvm.o +obj-y += tlb.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/prom.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/prom.h index d2a215e7ef..5cd29c6b33 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/prom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lantiq/prom.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 John Crispin - */ - -#ifndef _LTQ_PROM_H__ -#define _LTQ_PROM_H__ - -#define LTQ_SYS_TYPE_LEN 0x100 -#define LTQ_SYS_REV_LEN 0x10 - -struct ltq_soc_info { - unsigned char *name; - unsigned int rev; - unsigned char rev_type[LTQ_SYS_REV_LEN]; - unsigned int srev; - unsigned int partnum; - unsigned int type; - unsigned char sys_type[LTQ_SYS_TYPE_LEN]; - unsigned char *compatible; -}; - -extern void ltq_soc_detect(struct ltq_soc_info *i); -extern void ltq_soc_init(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 John Crispin + */ + +#ifndef _LTQ_PROM_H__ +#define _LTQ_PROM_H__ + +#define LTQ_SYS_TYPE_LEN 0x100 +#define LTQ_SYS_REV_LEN 0x10 + +struct ltq_soc_info { + unsigned char *name; + unsigned int rev; + unsigned char rev_type[LTQ_SYS_REV_LEN]; + unsigned int srev; + unsigned int partnum; + unsigned int type; + unsigned char sys_type[LTQ_SYS_TYPE_LEN]; + unsigned char *compatible; +}; + +extern void ltq_soc_detect(struct ltq_soc_info *i); +extern void ltq_soc_init(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/Makefile index 5a35613a0f..5d5b993cbc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/lib/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for MIPS-specific library files.. -# - -lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \ - mips-atomic.o strncpy_user.o \ - strnlen_user.o uncached.o - -obj-y += iomap_copy.o -obj-$(CONFIG_PCI) += iomap-pci.o -lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y)) - -obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o -obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o - -# libgcc-style stuff needed in the kernel -obj-y += bswapsi.o bswapdi.o multi3.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for MIPS-specific library files.. +# + +lib-y += bitops.o csum_partial.o delay.o memcpy.o memset.o \ + mips-atomic.o strncpy_user.o \ + strnlen_user.o uncached.o + +obj-y += iomap_copy.o +obj-$(CONFIG_PCI) += iomap-pci.o +lib-$(CONFIG_GENERIC_CSUM) := $(filter-out csum_partial.o, $(lib-y)) + +obj-$(CONFIG_CPU_GENERIC_DUMP_TLB) += dump_tlb.o +obj-$(CONFIG_CPU_R3000) += r3k_dump_tlb.o + +# libgcc-style stuff needed in the kernel +obj-y += bswapsi.o bswapdi.o multi3.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/Makefile index 470c0761f4..30ea8b5ca6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/Makefile @@ -1,28 +1,28 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for loongson based machines. -# - -obj-y += setup.o init.o env.o time.o reset.o irq.o \ - bonito-irq.o mem.o machtype.o platform.o -obj-$(CONFIG_PCI) += pci.o - -# -# Serial port support -# -obj-$(CONFIG_LOONGSON_UART_BASE) += serial.o -obj-$(CONFIG_EARLY_PRINTK) += serial.o -obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o -obj-$(CONFIG_LOONGSON_MC146818) += rtc.o - -# -# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure -# space -# -obj-$(CONFIG_CS5536) += cs5536/ - -# -# Suspend Support -# - -obj-$(CONFIG_SUSPEND) += pm.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for loongson based machines. +# + +obj-y += setup.o init.o env.o time.o reset.o irq.o \ + bonito-irq.o mem.o machtype.o platform.o +obj-$(CONFIG_PCI) += pci.o + +# +# Serial port support +# +obj-$(CONFIG_LOONGSON_UART_BASE) += serial.o +obj-$(CONFIG_EARLY_PRINTK) += serial.o +obj-$(CONFIG_LOONGSON_UART_BASE) += uart_base.o +obj-$(CONFIG_LOONGSON_MC146818) += rtc.o + +# +# Enable CS5536 Virtual Support Module(VSM) to virtulize the PCI configure +# space +# +obj-$(CONFIG_CS5536) += cs5536/ + +# +# Suspend Support +# + +obj-$(CONFIG_SUSPEND) += pm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/setup.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/setup.c index ca3ca4db01..4fd27f4f90 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/setup.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/common/setup.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology - * Author: Fuxin Zhang, zhangfx@lemote.com - */ -#include -#include - -#include -#include - -#include - -static void wbflush_loongson(void) -{ - asm(".set\tpush\n\t" - ".set\tnoreorder\n\t" - ".set mips3\n\t" - "sync\n\t" - "nop\n\t" - ".set\tpop\n\t" - ".set mips0\n\t"); -} - -void (*__wbflush)(void) = wbflush_loongson; -EXPORT_SYMBOL(__wbflush); - -void __init plat_mem_setup(void) -{ -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology + * Author: Fuxin Zhang, zhangfx@lemote.com + */ +#include +#include + +#include +#include + +#include + +static void wbflush_loongson(void) +{ + asm(".set\tpush\n\t" + ".set\tnoreorder\n\t" + ".set mips3\n\t" + "sync\n\t" + "nop\n\t" + ".set\tpop\n\t" + ".set mips0\n\t"); +} + +void (*__wbflush)(void) = wbflush_loongson; +EXPORT_SYMBOL(__wbflush); + +void __init plat_mem_setup(void) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/reset.c index f9518798d0..8273de1cf4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson2ef/fuloong-2e/reset.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* Board-specific reboot/shutdown routines - * Copyright (c) 2009 Philippe Vachon - * - * Copyright (C) 2009 Lemote Inc. - * Author: Wu Zhangjin, wuzhangjin@gmail.com - */ - -#include - -void mach_prepare_reboot(void) -{ - LOONGSON_GENCFG &= ~(1 << 2); - LOONGSON_GENCFG |= (1 << 2); -} - -void mach_prepare_shutdown(void) -{ -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* Board-specific reboot/shutdown routines + * Copyright (c) 2009 Philippe Vachon + * + * Copyright (C) 2009 Lemote Inc. + * Author: Wu Zhangjin, wuzhangjin@gmail.com + */ + +#include + +void mach_prepare_reboot(void) +{ + LOONGSON_GENCFG &= ~(1 << 2); + LOONGSON_GENCFG |= (1 << 2); +} + +void mach_prepare_shutdown(void) +{ +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/setup.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/setup.c index 65410d3c7f..4733fe0371 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/setup.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/setup.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2011 Zhang, Keguang - */ - -#include -#include -#include -#include -#include - -const char *get_system_type(void) -{ - unsigned int processor_id = (¤t_cpu_data)->processor_id; - - switch (processor_id & PRID_REV_MASK) { - case PRID_REV_LOONGSON1B: -#if defined(CONFIG_LOONGSON1_LS1B) - return "LOONGSON LS1B"; -#elif defined(CONFIG_LOONGSON1_LS1C) - return "LOONGSON LS1C"; -#endif - default: - return "LOONGSON (unknown)"; - } -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2011 Zhang, Keguang + */ + +#include +#include +#include +#include +#include + +const char *get_system_type(void) +{ + unsigned int processor_id = (¤t_cpu_data)->processor_id; + + switch (processor_id & PRID_REV_MASK) { + case PRID_REV_LOONGSON1B: +#if defined(CONFIG_LOONGSON1_LS1B) + return "LOONGSON LS1B"; +#elif defined(CONFIG_LOONGSON1_LS1C) + return "LOONGSON LS1C"; +#endif + default: + return "LOONGSON (unknown)"; + } +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/time.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/time.c index 0a543d3d14..74ad2b1791 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/time.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/common/time.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2014 Zhang, Keguang - */ - -#include -#include -#include - -void __init plat_time_init(void) -{ - struct clk *clk = NULL; - - /* initialize LS1X clocks */ - of_clk_init(NULL); - - /* setup mips r4k timer */ - clk = clk_get(NULL, "cpu_clk"); - if (IS_ERR(clk)) - panic("unable to get cpu clock, err=%ld", PTR_ERR(clk)); - - mips_hpt_frequency = clk_get_rate(clk) / 2; -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2014 Zhang, Keguang + */ + +#include +#include +#include + +void __init plat_time_init(void) +{ + struct clk *clk = NULL; + + /* initialize LS1X clocks */ + of_clk_init(NULL); + + /* setup mips r4k timer */ + clk = clk_get(NULL, "cpu_clk"); + if (IS_ERR(clk)) + panic("unable to get cpu clock, err=%ld", PTR_ERR(clk)); + + mips_hpt_frequency = clk_get_rate(clk) / 2; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/board.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/board.c index 9f46a034ea..9dcfe9de55 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/board.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson32/ls1c/board.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (c) 2016 Yang Ling - */ - -#include - -static struct platform_device *ls1c_platform_devices[] __initdata = { - &ls1x_uart_pdev, - &ls1x_eth0_pdev, - &ls1x_rtc_pdev, - &ls1x_wdt_pdev, -}; - -static int __init ls1c_platform_init(void) -{ - ls1x_serial_set_uartclk(&ls1x_uart_pdev); - - return platform_add_devices(ls1c_platform_devices, - ARRAY_SIZE(ls1c_platform_devices)); -} - -arch_initcall(ls1c_platform_init); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (c) 2016 Yang Ling + */ + +#include + +static struct platform_device *ls1c_platform_devices[] __initdata = { + &ls1x_uart_pdev, + &ls1x_eth0_pdev, + &ls1x_rtc_pdev, + &ls1x_wdt_pdev, +}; + +static int __init ls1c_platform_init(void) +{ + ls1x_serial_set_uartclk(&ls1x_uart_pdev); + + return platform_add_devices(ls1c_platform_devices, + ARRAY_SIZE(ls1c_platform_devices)); +} + +arch_initcall(ls1c_platform_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Kconfig index 0ccb7f7d38..517f1f8e81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Kconfig @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -if MACH_LOONGSON64 - -config RS780_HPET - bool "RS780/SBX00 HPET Timer" - depends on MACH_LOONGSON64 - depends on BROKEN - select MIPS_EXTERNAL_TIMER - help - This option enables the hpet timer of AMD RS780/SBX00. - - Note: This driver is doing some dangerous hack. Please only enable - it on RS780E systems. - -endif # MACH_LOONGSON64 +# SPDX-License-Identifier: GPL-2.0 +if MACH_LOONGSON64 + +config RS780_HPET + bool "RS780/SBX00 HPET Timer" + depends on MACH_LOONGSON64 + depends on BROKEN + select MIPS_EXTERNAL_TIMER + help + This option enables the hpet timer of AMD RS780/SBX00. + + Note: This driver is doing some dangerous hack. Please only enable + it on RS780E systems. + +endif # MACH_LOONGSON64 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Makefile index ad596cf9f2..cbba30dfdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for Loongson-3 family machines -# -obj-$(CONFIG_MACH_LOONGSON64) += cop2-ex.o dma.o \ - setup.o init.o env.o time.o reset.o \ - -obj-$(CONFIG_SMP) += smp.o -obj-$(CONFIG_NUMA) += numa.o -obj-$(CONFIG_RS780_HPET) += hpet.o -obj-$(CONFIG_SUSPEND) += pm.o sleeper.o -obj-$(CONFIG_PCI_QUIRKS) += vbios_quirk.o -obj-$(CONFIG_CPU_LOONGSON3_CPUCFG_EMULATION) += cpucfg-emul.o -obj-$(CONFIG_SYSFS) += boardinfo.o +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for Loongson-3 family machines +# +obj-$(CONFIG_MACH_LOONGSON64) += cop2-ex.o dma.o \ + setup.o init.o env.o time.o reset.o \ + +obj-$(CONFIG_SMP) += smp.o +obj-$(CONFIG_NUMA) += numa.o +obj-$(CONFIG_RS780_HPET) += hpet.o +obj-$(CONFIG_SUSPEND) += pm.o sleeper.o +obj-$(CONFIG_PCI_QUIRKS) += vbios_quirk.o +obj-$(CONFIG_CPU_LOONGSON3_CPUCFG_EMULATION) += cpucfg-emul.o +obj-$(CONFIG_SYSFS) += boardinfo.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/setup.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/setup.c index a83d15b890..257038e187 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/setup.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/setup.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology - * Author: Fuxin Zhang, zhangfx@lemote.com - */ -#include -#include - -#include -#include -#include - -#include - -#include - -void *loongson_fdt_blob; - -void __init plat_mem_setup(void) -{ - if (loongson_fdt_blob) - __dt_setup_arch(loongson_fdt_blob); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright (C) 2007 Lemote Inc. & Institute of Computing Technology + * Author: Fuxin Zhang, zhangfx@lemote.com + */ +#include +#include + +#include +#include +#include + +#include + +#include + +void *loongson_fdt_blob; + +void __init plat_mem_setup(void) +{ + if (loongson_fdt_blob) + __dt_setup_arch(loongson_fdt_blob); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/sleeper.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/sleeper.S index e64fa6fbd4..cf16877409 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/sleeper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/loongson64/sleeper.S @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2024, Jiaxun Yang - * Loongson EFI firmware sleeper routine - */ - -#include -#include - -#include - -LEAF(loongson_lefi_sleep) - SUSPEND_SAVE - move t9, a0 - PTR_LA a0, wake - move a1, sp - jalr t9 -wake: - smp_slave_setup - RESUME_RESTORE_REGS_RETURN -END(loongson_lefi_sleep) +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2024, Jiaxun Yang + * Loongson EFI firmware sleeper routine + */ + +#include +#include + +#include + +LEAF(loongson_lefi_sleep) + SUSPEND_SAVE + move t9, a0 + PTR_LA a0, wake + move a1, sp + jalr t9 +wake: + smp_slave_setup + RESUME_RESTORE_REGS_RETURN +END(loongson_lefi_sleep) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/extable.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/extable.c index 0a5fe07cb4..81bc8a34a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/extable.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/extable.c @@ -1,25 +1,25 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle - */ -#include -#include -#include -#include - -int fixup_exception(struct pt_regs *regs) -{ - const struct exception_table_entry *fixup; - - fixup = search_exception_tables(exception_epc(regs)); - if (fixup) { - regs->cp0_epc = fixup->nextinsn; - - return 1; - } - - return 0; -} +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 1997, 99, 2001 - 2004 Ralf Baechle + */ +#include +#include +#include +#include + +int fixup_exception(struct pt_regs *regs) +{ + const struct exception_table_entry *fixup; + + fixup = search_exception_tables(exception_epc(regs)); + if (fixup) { + regs->cp0_epc = fixup->nextinsn; + + return 1; + } + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/highmem.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/highmem.c index d26bb56d87..57e2f08f00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/highmem.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/highmem.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include -#include -#include -#include -#include - -unsigned long highstart_pfn, highend_pfn; - -void kmap_flush_tlb(unsigned long addr) -{ - flush_tlb_one(addr); -} -EXPORT_SYMBOL(kmap_flush_tlb); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include +#include +#include +#include +#include + +unsigned long highstart_pfn, highend_pfn; + +void kmap_flush_tlb(unsigned long addr) +{ + flush_tlb_one(addr); +} +EXPORT_SYMBOL(kmap_flush_tlb); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/ioremap64.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/ioremap64.c index 0eea1812a4..15e7820d6a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/ioremap64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mm/ioremap64.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include -#include - -void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, - unsigned long prot_val) -{ - unsigned long flags = prot_val & _CACHE_MASK; - u64 base = (flags == _CACHE_UNCACHED ? IO_BASE : UNCAC_BASE); - void __iomem *addr; - - addr = plat_ioremap(offset, size, flags); - if (!addr) - addr = (void __iomem *)(unsigned long)(base + offset); - return addr; -} -EXPORT_SYMBOL(ioremap_prot); - -void iounmap(const volatile void __iomem *addr) -{ - plat_iounmap(addr); -} -EXPORT_SYMBOL(iounmap); +// SPDX-License-Identifier: GPL-2.0-only +#include +#include + +void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, + unsigned long prot_val) +{ + unsigned long flags = prot_val & _CACHE_MASK; + u64 base = (flags == _CACHE_UNCACHED ? IO_BASE : UNCAC_BASE); + void __iomem *addr; + + addr = plat_ioremap(offset, size, flags); + if (!addr) + addr = (void __iomem *)(unsigned long)(base + offset); + return addr; +} +EXPORT_SYMBOL(ioremap_prot); + +void iounmap(const volatile void __iomem *addr) +{ + plat_iounmap(addr); +} +EXPORT_SYMBOL(iounmap); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Kconfig index a318faee26..f9abb2d6e1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Kconfig @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 -if EYEQ - -choice - prompt "Mobileye EyeQ SoC selection" - default MACH_EYEQ5 - help - Select Mobileye EyeQ MIPS SoC type. - - config MACH_EYEQ5 - bool "Mobileye EyeQ5 SoC" - - config MACH_EYEQ6H - bool "Mobileye EyeQ6H SoC" -endchoice - -config FIT_IMAGE_FDT_EPM5 - bool "Include FDT for Mobileye EyeQ5 development platforms" - depends on MACH_EYEQ5 - default n - help - Enable this to include the FDT for the EyeQ5 development platforms - from Mobileye in the FIT kernel image. - This requires u-boot on the platform. - -endif +# SPDX-License-Identifier: GPL-2.0 +if EYEQ + +choice + prompt "Mobileye EyeQ SoC selection" + default MACH_EYEQ5 + help + Select Mobileye EyeQ MIPS SoC type. + + config MACH_EYEQ5 + bool "Mobileye EyeQ5 SoC" + + config MACH_EYEQ6H + bool "Mobileye EyeQ6H SoC" +endchoice + +config FIT_IMAGE_FDT_EPM5 + bool "Include FDT for Mobileye EyeQ5 development platforms" + depends on MACH_EYEQ5 + default n + help + Enable this to include the FDT for the EyeQ5 development platforms + from Mobileye in the FIT kernel image. + This requires u-boot on the platform. + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Platform index 8ff0f6ad4b..69f775bbbb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/Platform @@ -1,16 +1,16 @@ -# -# Copyright (C) 2016 Imagination Technologies -# Author: Paul Burton -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by the -# Free Software Foundation; either version 2 of the License, or (at your -# option) any later version. -# - -load-$(CONFIG_MACH_EYEQ5) = 0xa800000808000000 -load-$(CONFIG_MACH_EYEQ6H) = 0xa800000100800000 -all-$(CONFIG_MACH_EYEQ5) += vmlinux.gz.itb - -its-y := vmlinux.its.S -its-$(CONFIG_FIT_IMAGE_FDT_EPM5) += board-epm5.its.S +# +# Copyright (C) 2016 Imagination Technologies +# Author: Paul Burton +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the +# Free Software Foundation; either version 2 of the License, or (at your +# option) any later version. +# + +load-$(CONFIG_MACH_EYEQ5) = 0xa800000808000000 +load-$(CONFIG_MACH_EYEQ6H) = 0xa800000100800000 +all-$(CONFIG_MACH_EYEQ5) += vmlinux.gz.itb + +its-y := vmlinux.its.S +its-$(CONFIG_FIT_IMAGE_FDT_EPM5) += board-epm5.its.S diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/board-epm5.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/board-epm5.its.S index 16d64d024e..08e8c4f183 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/board-epm5.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/board-epm5.its.S @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ -/ { - images { - fdt-mobileye-epm5 { - description = "Mobileeye MP5 Device Tree"; - data = /incbin/("boot/dts/mobileye/eyeq5-epm5.dtb"); - type = "flat_dt"; - arch = "mips"; - compression = "none"; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - default = "conf-1"; - conf-1 { - description = "Mobileye EPM5 Linux kernel"; - kernel = "kernel"; - fdt = "fdt-mobileye-epm5"; - }; - }; -}; +/* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ +/ { + images { + fdt-mobileye-epm5 { + description = "Mobileeye MP5 Device Tree"; + data = /incbin/("boot/dts/mobileye/eyeq5-epm5.dtb"); + type = "flat_dt"; + arch = "mips"; + compression = "none"; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + default = "conf-1"; + conf-1 { + description = "Mobileye EPM5 Linux kernel"; + kernel = "kernel"; + fdt = "fdt-mobileye-epm5"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/vmlinux.its.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/vmlinux.its.S index 8a6736282d..3e25467654 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/vmlinux.its.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mobileye/vmlinux.its.S @@ -1,32 +1,32 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/dts-v1/; - -/ { - description = KERNEL_NAME; - #address-cells = ; - - images { - kernel { - description = KERNEL_NAME; - data = /incbin/(VMLINUX_BINARY); - type = "kernel"; - arch = "mips"; - os = "linux"; - compression = VMLINUX_COMPRESSION; - load = /bits/ ADDR_BITS ; - entry = /bits/ ADDR_BITS ; - hash { - algo = "sha1"; - }; - }; - }; - - configurations { - default = "conf-default"; - - conf-default { - description = "Generic Linux kernel"; - kernel = "kernel"; - }; - }; -}; +/* SPDX-License-Identifier: GPL-2.0 */ +/dts-v1/; + +/ { + description = KERNEL_NAME; + #address-cells = ; + + images { + kernel { + description = KERNEL_NAME; + data = /incbin/(VMLINUX_BINARY); + type = "kernel"; + arch = "mips"; + os = "linux"; + compression = VMLINUX_COMPRESSION; + load = /bits/ ADDR_BITS ; + entry = /bits/ ADDR_BITS ; + hash { + algo = "sha1"; + }; + }; + }; + + configurations { + default = "conf-default"; + + conf-default { + description = "Generic Linux kernel"; + kernel = "kernel"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Makefile index b8014a68e9..bb2c706e11 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/mti-malta/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Carsten Langgaard, carstenl@mips.com -# Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. -# -# Copyright (C) 2008 Wind River Systems, Inc. -# written by Ralf Baechle -# -obj-y += malta-dtshim.o -obj-y += malta-init.o -obj-y += malta-int.o -obj-y += malta-memory.o -obj-y += malta-platform.o -obj-y += malta-setup.o -obj-y += malta-time.o - -CFLAGS_malta-dtshim.o = -I$(src)/../../../scripts/dtc/libfdt +# SPDX-License-Identifier: GPL-2.0 +# +# Carsten Langgaard, carstenl@mips.com +# Copyright (C) 1999,2000 MIPS Technologies, Inc. All rights reserved. +# +# Copyright (C) 2008 Wind River Systems, Inc. +# written by Ralf Baechle +# +obj-y += malta-dtshim.o +obj-y += malta-init.o +obj-y += malta-int.o +obj-y += malta-memory.o +obj-y += malta-platform.o +obj-y += malta-setup.o +obj-y += malta-time.o + +CFLAGS_malta-dtshim.o = -I$(src)/../../../scripts/dtc/libfdt diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-ath79.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-ath79.c index 02b49f47a7..6a6c4f58f7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-ath79.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-ath79.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2018 John Crispin - */ - -#include -//#include -#include - -int pcibios_plat_dev_init(struct pci_dev *dev) -{ - return 0; -} - -int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) -{ - return of_irq_parse_and_map_pci(dev, slot, pin); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2018 John Crispin + */ + +#include +//#include +#include + +int pcibios_plat_dev_init(struct pci_dev *dev) +{ + return 0; +} + +int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +{ + return of_irq_parse_and_map_pci(dev, slot, pin); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-bcm63xx.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-bcm63xx.c index 6705874c5f..340863009d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-bcm63xx.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/fixup-bcm63xx.c @@ -1,21 +1,21 @@ -/* - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - * - * Copyright (C) 2008 Maxime Bizon - */ - -#include -#include -#include - -int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) -{ - return bcm63xx_get_irq_number(IRQ_PCI); -} - -int pcibios_plat_dev_init(struct pci_dev *dev) -{ - return 0; -} +/* + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + * + * Copyright (C) 2008 Maxime Bizon + */ + +#include +#include +#include + +int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) +{ + return bcm63xx_get_irq_number(IRQ_PCI); +} + +int pcibios_plat_dev_init(struct pci_dev *dev) +{ + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-lantiq.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-lantiq.h index d547474cda..fdbb0e89bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-lantiq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pci/pci-lantiq.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2010 John Crispin - */ - -#ifndef _LTQ_PCI_H__ -#define _LTQ_PCI_H__ - -extern __iomem void *ltq_pci_mapped_cfg; -extern int ltq_pci_read_config_dword(struct pci_bus *bus, - unsigned int devfn, int where, int size, u32 *val); -extern int ltq_pci_write_config_dword(struct pci_bus *bus, - unsigned int devfn, int where, int size, u32 val); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2010 John Crispin + */ + +#ifndef _LTQ_PCI_H__ +#define _LTQ_PCI_H__ + +extern __iomem void *ltq_pci_mapped_cfg; +extern int ltq_pci_read_config_dword(struct pci_bus *bus, + unsigned int devfn, int where, int size, u32 *val); +extern int ltq_pci_write_config_dword(struct pci_bus *bus, + unsigned int devfn, int where, int size, u32 val); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/pic32mzda.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/pic32mzda.h index b9cfc1df00..b7a93d8fe1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/pic32mzda.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/pic32/pic32mzda/pic32mzda.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Joshua Henderson - * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. - */ -#ifndef PIC32MZDA_COMMON_H -#define PIC32MZDA_COMMON_H - -/* early clock */ -u32 pic32_get_pbclk(int bus); -u32 pic32_get_sysclk(void); - -/* Device configuration */ -void __init pic32_config_init(void); -int pic32_set_lcd_mode(int mode); -int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs); -u32 pic32_get_boot_status(void); -int pic32_disable_lcd(void); -int pic32_enable_lcd(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Joshua Henderson + * Copyright (C) 2015 Microchip Technology Inc. All rights reserved. + */ +#ifndef PIC32MZDA_COMMON_H +#define PIC32MZDA_COMMON_H + +/* early clock */ +u32 pic32_get_pbclk(int bus); +u32 pic32_get_sysclk(void); + +/* Device configuration */ +void __init pic32_config_init(void); +int pic32_set_lcd_mode(int mode); +int pic32_set_sdhci_adma_fifo_threshold(u32 rthrs, u32 wthrs); +u32 pic32_get_boot_status(void); +int pic32_disable_lcd(void); +int pic32_enable_lcd(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/bootrom.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/bootrom.c index fdc3e01259..8c8cc0a81e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/bootrom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/bootrom.c @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2013 John Crispin - */ - -#include -#include - -#define BOOTROM_OFFSET 0x10118000 -#define BOOTROM_SIZE 0x8000 - -static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET); - -static int bootrom_show(struct seq_file *s, void *unused) -{ - seq_write(s, membase, BOOTROM_SIZE); - - return 0; -} -DEFINE_SHOW_ATTRIBUTE(bootrom); - -static int __init bootrom_setup(void) -{ - debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_fops); - return 0; -} - -postcore_initcall(bootrom_setup); +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2013 John Crispin + */ + +#include +#include + +#define BOOTROM_OFFSET 0x10118000 +#define BOOTROM_SIZE 0x8000 + +static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET); + +static int bootrom_show(struct seq_file *s, void *unused) +{ + seq_write(s, membase, BOOTROM_SIZE); + + return 0; +} +DEFINE_SHOW_ATTRIBUTE(bootrom); + +static int __init bootrom_setup(void) +{ + debugfs_create_file("bootrom", 0444, NULL, NULL, &bootrom_fops); + return 0; +} + +postcore_initcall(bootrom_setup); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/common.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/common.h index d70bbc18d9..893981a0ca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/common.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2013 John Crispin - */ - -#ifndef _RALINK_COMMON_H__ -#define _RALINK_COMMON_H__ - -#define RAMIPS_SYS_TYPE_LEN 32 - -struct ralink_soc_info { - unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; - unsigned char *compatible; - - unsigned long mem_base; - unsigned long mem_size; - unsigned long mem_size_min; - unsigned long mem_size_max; - void (*mem_detect)(void); -}; -extern struct ralink_soc_info soc_info; - -extern void ralink_of_remap(void); - -extern void __init prom_soc_init(struct ralink_soc_info *soc_info); - -#endif /* _RALINK_COMMON_H__ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2013 John Crispin + */ + +#ifndef _RALINK_COMMON_H__ +#define _RALINK_COMMON_H__ + +#define RAMIPS_SYS_TYPE_LEN 32 + +struct ralink_soc_info { + unsigned char sys_type[RAMIPS_SYS_TYPE_LEN]; + unsigned char *compatible; + + unsigned long mem_base; + unsigned long mem_size; + unsigned long mem_size_min; + unsigned long mem_size_max; + void (*mem_detect)(void); +}; +extern struct ralink_soc_info soc_info; + +extern void ralink_of_remap(void); + +extern void __init prom_soc_init(struct ralink_soc_info *soc_info); + +#endif /* _RALINK_COMMON_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/irq-gic.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/irq-gic.c index 4e16beb701..8bc566ea00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/irq-gic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/irq-gic.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2015 Nikolay Martynov - * Copyright (C) 2015 John Crispin - */ - -#include - -#include -#include -#include -#include - -int get_c0_perfcount_int(void) -{ - return gic_get_c0_perfcount_int(); -} -EXPORT_SYMBOL_GPL(get_c0_perfcount_int); - -void __init arch_init_irq(void) -{ - irqchip_init(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2015 Nikolay Martynov + * Copyright (C) 2015 John Crispin + */ + +#include + +#include +#include +#include +#include + +int get_c0_perfcount_int(void) +{ + return gic_get_c0_perfcount_int(); +} +EXPORT_SYMBOL_GPL(get_c0_perfcount_int); + +void __init arch_init_irq(void) +{ + irqchip_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/timer-gic.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/timer-gic.c index c642052871..926082655a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/timer-gic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/ralink/timer-gic.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright (C) 2015 Nikolay Martynov - * Copyright (C) 2015 John Crispin - */ - -#include - -#include -#include -#include - -#include - -#include "common.h" - -void __init plat_time_init(void) -{ - ralink_of_remap(); - - of_clk_init(NULL); - timer_probe(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright (C) 2015 Nikolay Martynov + * Copyright (C) 2015 John Crispin + */ + +#include + +#include +#include +#include + +#include + +#include "common.h" + +void __init plat_time_init(void) +{ + ralink_of_remap(); + + of_clk_init(NULL); + timer_probe(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip22/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip22/Makefile index c91c5b3d17..45f42fa08f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip22/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip22/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the SGI specific kernel interface routines -# under Linux. -# - -obj-y += ip22-mc.o ip22-hpc.o ip22-int.o ip22-time.o ip22-nvram.o \ - ip22-platform.o ip22-reset.o ip22-setup.o ip22-gio.o - -obj-$(CONFIG_SGI_IP22) += ip22-berr.o -obj-$(CONFIG_SGI_IP28) += ip28-berr.o -obj-$(CONFIG_EISA) += ip22-eisa.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the SGI specific kernel interface routines +# under Linux. +# + +obj-y += ip22-mc.o ip22-hpc.o ip22-int.o ip22-time.o ip22-nvram.o \ + ip22-platform.o ip22-reset.o ip22-setup.o ip22-gio.o + +obj-$(CONFIG_SGI_IP22) += ip22-berr.o +obj-$(CONFIG_SGI_IP28) += ip28-berr.o +obj-$(CONFIG_EISA) += ip22-eisa.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-console.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-console.c index e533676612..a5f10097b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-console.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip30/ip30-console.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include - -#include -#include - -static inline struct ioc3_uartregs *console_uart(void) -{ - struct ioc3 *ioc3; - - ioc3 = (struct ioc3 *)((void *)(0x900000001f600000)); - return &ioc3->sregs.uarta; -} - -void prom_putchar(char c) -{ - struct ioc3_uartregs *uart = console_uart(); - - while ((readb(&uart->iu_lsr) & 0x20) == 0) - cpu_relax(); - - writeb(c, &uart->iu_thr); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include + +#include +#include + +static inline struct ioc3_uartregs *console_uart(void) +{ + struct ioc3 *ioc3; + + ioc3 = (struct ioc3 *)((void *)(0x900000001f600000)); + return &ioc3->sregs.uarta; +} + +void prom_putchar(char c) +{ + struct ioc3_uartregs *uart = console_uart(); + + while ((readb(&uart->iu_lsr) & 0x20) == 0) + cpu_relax(); + + writeb(c, &uart->iu_thr); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Platform b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Platform index 1052e602cd..f58a7a02b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Platform +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/Platform @@ -1,10 +1,10 @@ -# -# SGI-IP32 (O2) -# -# Set the load address to >= 80069000 if you want to leave space for symmon, -# 0xffffffff80004000 for production kernels. Note that the value must be aligned to -# a multiple of the kernel stack size or the handling of the current variable -# will break. -# -cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32 -load-$(CONFIG_SGI_IP32) += 0xffffffff80004000 +# +# SGI-IP32 (O2) +# +# Set the load address to >= 80069000 if you want to leave space for symmon, +# 0xffffffff80004000 for production kernels. Note that the value must be aligned to +# a multiple of the kernel stack size or the handling of the current variable +# will break. +# +cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32 +load-$(CONFIG_SGI_IP32) += 0xffffffff80004000 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-common.h b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-common.h index bda7dce27b..cfc0225b14 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-common.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sgi-ip32/ip32-common.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __IP32_COMMON_H -#define __IP32_COMMON_H - -#include -#include - -void __init crime_init(void); -irqreturn_t crime_memerr_intr(int irq, void *dev_id); -irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); -void __init ip32_be_init(void); -void ip32_prepare_poweroff(void); - -#endif /* __IP32_COMMON_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __IP32_COMMON_H +#define __IP32_COMMON_H + +#include +#include + +void __init crime_init(void); +irqreturn_t crime_memerr_intr(int irq, void *dev_id); +irqreturn_t crime_cpuerr_intr(int irq, void *dev_id); +void __init ip32_be_init(void); +void ip32_prepare_poweroff(void); + +#endif /* __IP32_COMMON_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/swarm-i2c.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/swarm-i2c.c index 4fa7da0faf..1ed2dc96d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/swarm-i2c.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/sibyte/swarm/swarm-i2c.c @@ -1,31 +1,31 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Broadcom BCM91250A (SWARM), etc. I2C platform setup. - * - * Copyright (c) 2008 Maciej W. Rozycki - */ - -#include -#include -#include - - -static struct i2c_board_info swarm_i2c_info1[] __initdata = { - { - I2C_BOARD_INFO("m41t81", 0x68), - }, -}; - -static int __init swarm_i2c_init(void) -{ - int err; - - err = i2c_register_board_info(1, swarm_i2c_info1, - ARRAY_SIZE(swarm_i2c_info1)); - if (err < 0) - printk(KERN_ERR - "swarm-i2c: cannot register board I2C devices\n"); - return err; -} - -arch_initcall(swarm_i2c_init); +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Broadcom BCM91250A (SWARM), etc. I2C platform setup. + * + * Copyright (c) 2008 Maciej W. Rozycki + */ + +#include +#include +#include + + +static struct i2c_board_info swarm_i2c_info1[] __initdata = { + { + I2C_BOARD_INFO("m41t81", 0x68), + }, +}; + +static int __init swarm_i2c_init(void) +{ + int err; + + err = i2c_register_board_info(1, swarm_i2c_info1, + ARRAY_SIZE(swarm_i2c_info1)); + if (err < 0) + printk(KERN_ERR + "swarm-i2c: cannot register board I2C devices\n"); + return err; +} + +arch_initcall(swarm_i2c_init); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/config-n32-o32-env.c b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/config-n32-o32-env.c index 74ae8e1fcb..0011a632ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/config-n32-o32-env.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/config-n32-o32-env.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Configuration file for O32 and N32 binaries. - * Note: To be included before lib/vdso/gettimeofday.c - */ -#if defined(CONFIG_MIPS32_O32) || defined(CONFIG_MIPS32_N32) -/* - * In case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel - * configuration. - */ -#undef CONFIG_64BIT - -#define BUILD_VDSO32 -#define CONFIG_32BIT 1 -#define CONFIG_GENERIC_ATOMIC64 1 -#define BUILD_VDSO32_64 - -#endif - +// SPDX-License-Identifier: GPL-2.0 +/* + * Configuration file for O32 and N32 binaries. + * Note: To be included before lib/vdso/gettimeofday.c + */ +#if defined(CONFIG_MIPS32_O32) || defined(CONFIG_MIPS32_N32) +/* + * In case of a 32 bit VDSO for a 64 bit kernel fake a 32 bit kernel + * configuration. + */ +#undef CONFIG_64BIT + +#define BUILD_VDSO32 +#define CONFIG_32BIT 1 +#define CONFIG_GENERIC_ATOMIC64 1 +#define BUILD_VDSO32_64 + +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/sigreturn.S b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/sigreturn.S index 288d47967e..e5c0ab98ab 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/sigreturn.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/mips/vdso/sigreturn.S @@ -1,35 +1,35 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2015 Imagination Technologies - * Author: Alex Smith - */ - -#include - -#include - -#include -#include - - .section .text - .cfi_sections .debug_frame - -LEAF(__vdso_rt_sigreturn) - .cfi_signal_frame - - li v0, __NR_rt_sigreturn - syscall - - END(__vdso_rt_sigreturn) - -#if _MIPS_SIM == _MIPS_SIM_ABI32 - -LEAF(__vdso_sigreturn) - .cfi_signal_frame - - li v0, __NR_sigreturn - syscall - - END(__vdso_sigreturn) - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2015 Imagination Technologies + * Author: Alex Smith + */ + +#include + +#include + +#include +#include + + .section .text + .cfi_sections .debug_frame + +LEAF(__vdso_rt_sigreturn) + .cfi_signal_frame + + li v0, __NR_rt_sigreturn + syscall + + END(__vdso_rt_sigreturn) + +#if _MIPS_SIM == _MIPS_SIM_ABI32 + +LEAF(__vdso_sigreturn) + .cfi_signal_frame + + li v0, __NR_sigreturn + syscall + + END(__vdso_sigreturn) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kconfig.debug b/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kconfig.debug index 2541632b38..ca1beb87f9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kconfig.debug +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/Kconfig.debug @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 - -config EARLY_PRINTK - bool "Activate early kernel debugging" - default y - depends on TTY - select SERIAL_CORE_CONSOLE - help - Enable early printk on console. - This is useful for kernel debugging when your machine crashes very - early before the console code is initialized. - You should normally say N here, unless you want to debug such a crash. +# SPDX-License-Identifier: GPL-2.0 + +config EARLY_PRINTK + bool "Activate early kernel debugging" + default y + depends on TTY + select SERIAL_CORE_CONSOLE + help + Enable early printk on console. + This is useful for kernel debugging when your machine crashes very + early before the console code is initialized. + You should normally say N here, unless you want to debug such a crash. diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/Makefile index d04f44a0e4..791e430925 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/boot/compressed/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# create a compressed vmlinux image from the original vmlinux -# - -targets := vmlinux head.o misc.o piggy.o vmlinux.lds -asflags-y := - -OBJECTS = $(obj)/head.o $(obj)/misc.o - -LDFLAGS_vmlinux := -T - -$(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE - $(call if_changed,ld) - -LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T - -$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE - $(call if_changed,ld) +# SPDX-License-Identifier: GPL-2.0 +# +# create a compressed vmlinux image from the original vmlinux +# + +targets := vmlinux head.o misc.o piggy.o vmlinux.lds +asflags-y := + +OBJECTS = $(obj)/head.o $(obj)/misc.o + +LDFLAGS_vmlinux := -T + +$(obj)/vmlinux: $(obj)/vmlinux.lds $(OBJECTS) $(obj)/piggy.o FORCE + $(call if_changed,ld) + +LDFLAGS_piggy.o := -r --format binary --oformat elf32-littlenios2 -T + +$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/../vmlinux.gz FORCE + $(call if_changed,ld) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/delay.h index f98c42f9ee..098e49bf3a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/delay.h @@ -1,21 +1,21 @@ -/* - * Copyright (C) 2014 Altera Corporation - * Copyright (C) 2004 Microtronix Datacom Ltd - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _ASM_NIOS2_DELAY_H -#define _ASM_NIOS2_DELAY_H - -#include - -/* Undefined functions to get compile-time errors */ -extern void __bad_udelay(void); -extern void __bad_ndelay(void); - -extern unsigned long loops_per_jiffy; - -#endif /* _ASM_NIOS2_DELAY_H */ +/* + * Copyright (C) 2014 Altera Corporation + * Copyright (C) 2004 Microtronix Datacom Ltd + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_NIOS2_DELAY_H +#define _ASM_NIOS2_DELAY_H + +#include + +/* Undefined functions to get compile-time errors */ +extern void __bad_udelay(void); +extern void __bad_ndelay(void); + +extern unsigned long loops_per_jiffy; + +#endif /* _ASM_NIOS2_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/mmu.h index 9228bbbefd..d9c0b1010f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/mmu.h @@ -1,16 +1,16 @@ -/* - * Copyright (C) 2010 Tobias Klauser - * Copyright (C) 2004 Microtronix Datacom Ltd. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _ASM_NIOS2_MMU_H -#define _ASM_NIOS2_MMU_H - -/* Default "unsigned long" context */ -typedef unsigned long mm_context_t; - -#endif /* _ASM_NIOS2_MMU_H */ +/* + * Copyright (C) 2010 Tobias Klauser + * Copyright (C) 2004 Microtronix Datacom Ltd. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_NIOS2_MMU_H +#define _ASM_NIOS2_MMU_H + +/* Default "unsigned long" context */ +typedef unsigned long mm_context_t; + +#endif /* _ASM_NIOS2_MMU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/setup.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/setup.h index 9708b49e46..908a1526d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/setup.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/setup.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2011 Tobias Klauser - */ - -#ifndef _ASM_NIOS2_SETUP_H -#define _ASM_NIOS2_SETUP_H - -#include - -#ifndef __ASSEMBLY__ -#ifdef __KERNEL__ - -extern char exception_handler_hook[]; -extern char fast_handler[]; -extern char fast_handler_end[]; - -extern void pagetable_init(void); - -#endif/* __KERNEL__ */ -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_NIOS2_SETUP_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2011 Tobias Klauser + */ + +#ifndef _ASM_NIOS2_SETUP_H +#define _ASM_NIOS2_SETUP_H + +#include + +#ifndef __ASSEMBLY__ +#ifdef __KERNEL__ + +extern char exception_handler_hook[]; +extern char fast_handler[]; +extern char fast_handler_end[]; + +extern void pagetable_init(void); + +#endif/* __KERNEL__ */ +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_NIOS2_SETUP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/string.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/string.h index 7a43cfd200..14dd570d64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/string.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/string.h @@ -1,24 +1,24 @@ -/* - * Copyright (C) 2004 Microtronix Datacom Ltd - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _ASM_NIOS2_STRING_H -#define _ASM_NIOS2_STRING_H - -#ifdef __KERNEL__ - -#define __HAVE_ARCH_MEMSET -#define __HAVE_ARCH_MEMCPY -#define __HAVE_ARCH_MEMMOVE - -extern void *memset(void *s, int c, size_t count); -extern void *memcpy(void *d, const void *s, size_t count); -extern void *memmove(void *d, const void *s, size_t count); - -#endif /* __KERNEL__ */ - -#endif /* _ASM_NIOS2_STRING_H */ +/* + * Copyright (C) 2004 Microtronix Datacom Ltd + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_NIOS2_STRING_H +#define _ASM_NIOS2_STRING_H + +#ifdef __KERNEL__ + +#define __HAVE_ARCH_MEMSET +#define __HAVE_ARCH_MEMCPY +#define __HAVE_ARCH_MEMMOVE + +extern void *memset(void *s, int c, size_t count); +extern void *memcpy(void *d, const void *s, size_t count); +extern void *memmove(void *d, const void *s, size_t count); + +#endif /* __KERNEL__ */ + +#endif /* _ASM_NIOS2_STRING_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/timex.h index 90ad2cdfd1..40a1adc9bd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/timex.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Copyright Altera Corporation (C) 2014. All rights reserved. - */ - -#ifndef _ASM_NIOS2_TIMEX_H -#define _ASM_NIOS2_TIMEX_H - -typedef unsigned long cycles_t; - -extern cycles_t get_cycles(void); -#define get_cycles get_cycles - -#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback()) - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ +/* Copyright Altera Corporation (C) 2014. All rights reserved. + */ + +#ifndef _ASM_NIOS2_TIMEX_H +#define _ASM_NIOS2_TIMEX_H + +typedef unsigned long cycles_t; + +extern cycles_t get_cycles(void); +#define get_cycles get_cycles + +#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback()) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/traps.h b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/traps.h index 0c0e0d0160..afd77bef01 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/traps.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/include/asm/traps.h @@ -1,21 +1,21 @@ -/* - * Copyright (C) 2011 Tobias Klauser - * Copyright (C) 2004 Microtronix Datacom Ltd. - * - * This file is subject to the terms and conditions of the GNU General Public - * License. See the file "COPYING" in the main directory of this archive - * for more details. - */ - -#ifndef _ASM_NIOS2_TRAPS_H -#define _ASM_NIOS2_TRAPS_H - -#define TRAP_ID_SYSCALL 0 - -#ifndef __ASSEMBLY__ -void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr); -void do_page_fault(struct pt_regs *regs, unsigned long cause, - unsigned long address); -#endif - -#endif /* _ASM_NIOS2_TRAPS_H */ +/* + * Copyright (C) 2011 Tobias Klauser + * Copyright (C) 2004 Microtronix Datacom Ltd. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ + +#ifndef _ASM_NIOS2_TRAPS_H +#define _ASM_NIOS2_TRAPS_H + +#define TRAP_ID_SYSCALL 0 + +#ifndef __ASSEMBLY__ +void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr); +void do_page_fault(struct pt_regs *regs, unsigned long cause, + unsigned long address); +#endif + +#endif /* _ASM_NIOS2_TRAPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile index 0c0026f1c4..78a913181f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/Makefile @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the nios2 linux kernel. -# - -extra-y += vmlinux.lds - -obj-y += head.o -obj-y += cpuinfo.o -obj-y += entry.o -obj-y += insnemu.o -obj-y += irq.o -obj-y += nios2_ksyms.o -obj-y += process.o -obj-y += prom.o -obj-y += ptrace.o -obj-y += setup.o -obj-y += signal.o -obj-y += sys_nios2.o -obj-y += syscall_table.o -obj-y += time.o -obj-y += traps.o - -obj-$(CONFIG_KGDB) += kgdb.o -obj-$(CONFIG_MODULES) += module.o -obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP) += misaligned.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the nios2 linux kernel. +# + +extra-y += vmlinux.lds + +obj-y += head.o +obj-y += cpuinfo.o +obj-y += entry.o +obj-y += insnemu.o +obj-y += irq.o +obj-y += nios2_ksyms.o +obj-y += process.o +obj-y += prom.o +obj-y += ptrace.o +obj-y += setup.o +obj-y += signal.o +obj-y += sys_nios2.o +obj-y += syscall_table.o +obj-y += time.o +obj-y += traps.o + +obj-$(CONFIG_KGDB) += kgdb.o +obj-$(CONFIG_MODULES) += module.o +obj-$(CONFIG_NIOS2_ALIGNMENT_TRAP) += misaligned.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/syscall_table.c b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/syscall_table.c index 15fd29ddb6..434694067d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/syscall_table.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/nios2/kernel/syscall_table.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright Altera Corporation (C) 2013. All rights reserved - */ - -#include -#include -#include - -#include - -#define __SYSCALL(nr, call) [nr] = (call), -#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) - -#define sys_mmap2 sys_mmap_pgoff - -void *sys_call_table[__NR_syscalls] = { - [0 ... __NR_syscalls-1] = sys_ni_syscall, -#include -}; +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright Altera Corporation (C) 2013. All rights reserved + */ + +#include +#include +#include + +#include + +#define __SYSCALL(nr, call) [nr] = (call), +#define __SYSCALL_WITH_COMPAT(nr, native, compat) __SYSCALL(nr, native) + +#define sys_mmap2 sys_mmap_pgoff + +void *sys_call_table[__NR_syscalls] = { + [0 ... __NR_syscalls-1] = sys_ni_syscall, +#include +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__ffs.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__ffs.h index 30d95c2127..1e224b616f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__ffs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__ffs.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#ifndef __ASM_OPENRISC___FFS_H -#define __ASM_OPENRISC___FFS_H - - -#ifdef CONFIG_OPENRISC_HAVE_INST_FF1 - -static inline unsigned long __ffs(unsigned long x) -{ - int ret; - - __asm__ ("l.ff1 %0,%1" - : "=r" (ret) - : "r" (x)); - - return ret-1; -} - -#else -#include -#endif - -#endif /* __ASM_OPENRISC___FFS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#ifndef __ASM_OPENRISC___FFS_H +#define __ASM_OPENRISC___FFS_H + + +#ifdef CONFIG_OPENRISC_HAVE_INST_FF1 + +static inline unsigned long __ffs(unsigned long x) +{ + int ret; + + __asm__ ("l.ff1 %0,%1" + : "=r" (ret) + : "r" (x)); + + return ret-1; +} + +#else +#include +#endif + +#endif /* __ASM_OPENRISC___FFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__fls.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__fls.h index 7367b2baa3..9658446ad1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__fls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/__fls.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#ifndef __ASM_OPENRISC___FLS_H -#define __ASM_OPENRISC___FLS_H - - -#ifdef CONFIG_OPENRISC_HAVE_INST_FL1 - -static inline unsigned long __fls(unsigned long x) -{ - int ret; - - __asm__ ("l.fl1 %0,%1" - : "=r" (ret) - : "r" (x)); - - return ret-1; -} - -#else -#include -#endif - -#endif /* __ASM_OPENRISC___FLS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#ifndef __ASM_OPENRISC___FLS_H +#define __ASM_OPENRISC___FLS_H + + +#ifdef CONFIG_OPENRISC_HAVE_INST_FL1 + +static inline unsigned long __fls(unsigned long x) +{ + int ret; + + __asm__ ("l.fl1 %0,%1" + : "=r" (ret) + : "r" (x)); + + return ret-1; +} + +#else +#include +#endif + +#endif /* __ASM_OPENRISC___FLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/ffs.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/ffs.h index 43b05d0d06..b4c835d6bc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/ffs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/ffs.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#ifndef __ASM_OPENRISC_FFS_H -#define __ASM_OPENRISC_FFS_H - -#ifdef CONFIG_OPENRISC_HAVE_INST_FF1 - -static inline int ffs(int x) -{ - int ret; - - __asm__ ("l.ff1 %0,%1" - : "=r" (ret) - : "r" (x)); - - return ret; -} - -#else -#include -#endif - -#endif /* __ASM_OPENRISC_FFS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#ifndef __ASM_OPENRISC_FFS_H +#define __ASM_OPENRISC_FFS_H + +#ifdef CONFIG_OPENRISC_HAVE_INST_FF1 + +static inline int ffs(int x) +{ + int ret; + + __asm__ ("l.ff1 %0,%1" + : "=r" (ret) + : "r" (x)); + + return ret; +} + +#else +#include +#endif + +#endif /* __ASM_OPENRISC_FFS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/fls.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/fls.h index 5b481d6a59..6b77f6556f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/fls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/bitops/fls.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#ifndef __ASM_OPENRISC_FLS_H -#define __ASM_OPENRISC_FLS_H - - -#ifdef CONFIG_OPENRISC_HAVE_INST_FL1 - -static inline int fls(unsigned int x) -{ - int ret; - - __asm__ ("l.fl1 %0,%1" - : "=r" (ret) - : "r" (x)); - - return ret; -} - -#else -#include -#endif - -#endif /* __ASM_OPENRISC_FLS_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#ifndef __ASM_OPENRISC_FLS_H +#define __ASM_OPENRISC_FLS_H + + +#ifdef CONFIG_OPENRISC_HAVE_INST_FL1 + +static inline int fls(unsigned int x) +{ + int ret; + + __asm__ ("l.fl1 %0,%1" + : "=r" (ret) + : "r" (x)); + + return ret; +} + +#else +#include +#endif + +#endif /* __ASM_OPENRISC_FLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/delay.h index 6b4c5ad45f..b32919ee0b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/delay.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * OpenRISC implementation: - * Copyright (C) 2010-2011 Jonas Bonn - */ - -#ifndef __ASM_OPENRISC_DELAY_H -#define __ASM_OPENRISC_DELAY_H - -#include - -extern unsigned long loops_per_jiffy; - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * OpenRISC implementation: + * Copyright (C) 2010-2011 Jonas Bonn + */ + +#ifndef __ASM_OPENRISC_DELAY_H +#define __ASM_OPENRISC_DELAY_H + +#include + +extern unsigned long loops_per_jiffy; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/fpu.h index 9ca8252663..57bc44d80d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/fpu.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_OPENRISC_FPU_H -#define __ASM_OPENRISC_FPU_H - -struct task_struct; - -#ifdef CONFIG_FPU -static inline void save_fpu(struct task_struct *task) -{ - task->thread.fpcsr = mfspr(SPR_FPCSR); -} - -static inline void restore_fpu(struct task_struct *task) -{ - mtspr(SPR_FPCSR, task->thread.fpcsr); -} -#else -#define save_fpu(tsk) do { } while (0) -#define restore_fpu(tsk) do { } while (0) -#endif - -#endif /* __ASM_OPENRISC_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_OPENRISC_FPU_H +#define __ASM_OPENRISC_FPU_H + +struct task_struct; + +#ifdef CONFIG_FPU +static inline void save_fpu(struct task_struct *task) +{ + task->thread.fpcsr = mfspr(SPR_FPCSR); +} + +static inline void restore_fpu(struct task_struct *task) +{ + mtspr(SPR_FPCSR, task->thread.fpcsr); +} +#else +#define save_fpu(tsk) do { } while (0) +#define restore_fpu(tsk) do { } while (0) +#endif + +#endif /* __ASM_OPENRISC_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irq.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irq.h index 522e5cf33a..fd092a6e86 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/irq.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * OpenRISC implementation: - * Copyright (C) 2003 Matjaz Breskvar - * Copyright (C) 2010-2011 Jonas Bonn - * et al. - */ - -#ifndef __ASM_OPENRISC_IRQ_H__ -#define __ASM_OPENRISC_IRQ_H__ - -#define NR_IRQS 32 -#include - -#define NO_IRQ (-1) - -#endif /* __ASM_OPENRISC_IRQ_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * OpenRISC implementation: + * Copyright (C) 2003 Matjaz Breskvar + * Copyright (C) 2010-2011 Jonas Bonn + * et al. + */ + +#ifndef __ASM_OPENRISC_IRQ_H__ +#define __ASM_OPENRISC_IRQ_H__ + +#define NR_IRQS 32 +#include + +#define NO_IRQ (-1) + +#endif /* __ASM_OPENRISC_IRQ_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/linkage.h index e30db7d265..25aa449ac3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/linkage.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * OpenRISC implementation: - * Copyright (C) 2003 Matjaz Breskvar - * Copyright (C) 2010-2011 Jonas Bonn - * et al. - */ - -#ifndef __ASM_OPENRISC_LINKAGE_H -#define __ASM_OPENRISC_LINKAGE_H - -#define __ALIGN .align 0 -#define __ALIGN_STR ".align 0" - -#endif /* __ASM_OPENRISC_LINKAGE_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * OpenRISC implementation: + * Copyright (C) 2003 Matjaz Breskvar + * Copyright (C) 2010-2011 Jonas Bonn + * et al. + */ + +#ifndef __ASM_OPENRISC_LINKAGE_H +#define __ASM_OPENRISC_LINKAGE_H + +#define __ALIGN .align 0 +#define __ALIGN_STR ".align 0" + +#endif /* __ASM_OPENRISC_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/mmu.h index 3f0ea1fc32..eb720110f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/mmu.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * OpenRISC Linux - * - * Linux architectural port borrowing liberally from similar works of - * others. All original copyrights apply as per the original source - * declaration. - * - * OpenRISC implementation: - * Copyright (C) 2003 Matjaz Breskvar - * Copyright (C) 2010-2011 Jonas Bonn - * et al. - */ - -#ifndef __ASM_OPENRISC_MMU_H -#define __ASM_OPENRISC_MMU_H - -#ifndef __ASSEMBLY__ -typedef unsigned long mm_context_t; -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * OpenRISC Linux + * + * Linux architectural port borrowing liberally from similar works of + * others. All original copyrights apply as per the original source + * declaration. + * + * OpenRISC implementation: + * Copyright (C) 2003 Matjaz Breskvar + * Copyright (C) 2010-2011 Jonas Bonn + * et al. + */ + +#ifndef __ASM_OPENRISC_MMU_H +#define __ASM_OPENRISC_MMU_H + +#ifndef __ASSEMBLY__ +typedef unsigned long mm_context_t; +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unwinder.h b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unwinder.h index a1cf249310..165ec6f02a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unwinder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/include/asm/unwinder.h @@ -1,20 +1,20 @@ -/* - * OpenRISC unwinder.h - * - * Architecture API for unwinding stacks. - * - * Copyright (C) 2017 Stafford Horne - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ - -#ifndef __ASM_OPENRISC_UNWINDER_H -#define __ASM_OPENRISC_UNWINDER_H - -void unwind_stack(void *data, unsigned long *stack, - void (*trace)(void *data, unsigned long addr, - int reliable)); - -#endif /* __ASM_OPENRISC_UNWINDER_H */ +/* + * OpenRISC unwinder.h + * + * Architecture API for unwinding stacks. + * + * Copyright (C) 2017 Stafford Horne + * + * This file is licensed under the terms of the GNU General Public License + * version 2. This program is licensed "as is" without any warranty of any + * kind, whether express or implied. + */ + +#ifndef __ASM_OPENRISC_UNWINDER_H +#define __ASM_OPENRISC_UNWINDER_H + +void unwind_stack(void *data, unsigned long *stack, + void (*trace)(void *data, unsigned long addr, + int reliable)); + +#endif /* __ASM_OPENRISC_UNWINDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile index 0f0ca51487..79129161f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/openrisc/kernel/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -extra-y := vmlinux.lds - -obj-y := head.o setup.o or32_ksyms.o process.o dma.o \ - traps.o time.o irq.o entry.o ptrace.o signal.o \ - sys_call_table.o unwinder.o - -obj-$(CONFIG_SMP) += smp.o sync-timer.o -obj-$(CONFIG_STACKTRACE) += stacktrace.o -obj-$(CONFIG_MODULES) += module.o -obj-$(CONFIG_OF) += prom.o - -clean: +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +extra-y := vmlinux.lds + +obj-y := head.o setup.o or32_ksyms.o process.o dma.o \ + traps.o time.o irq.o entry.o ptrace.o signal.o \ + sys_call_table.o unwinder.o + +obj-$(CONFIG_SMP) += smp.o sync-timer.o +obj-$(CONFIG_STACKTRACE) += stacktrace.o +obj-$(CONFIG_MODULES) += module.o +obj-$(CONFIG_OF) += prom.o + +clean: diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/Makefile index 78f284850e..657f967240 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/boot/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux parisc-specific parts of the boot image creator. -# - -targets := image -targets += bzImage -subdir- := compressed - -$(obj)/image: vmlinux FORCE - $(call if_changed,objcopy) - -$(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE - $(call if_changed,objcopy) - -$(obj)/compressed/vmlinux: FORCE - $(Q)$(MAKE) $(build)=$(obj)/compressed $@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Makefile for the linux parisc-specific parts of the boot image creator. +# + +targets := image +targets += bzImage +subdir- := compressed + +$(obj)/image: vmlinux FORCE + $(call if_changed,objcopy) + +$(obj)/bzImage: $(if $(CONFIG_KERNEL_UNCOMPRESSED),$(objtree)/vmlinux,$(obj)/compressed/vmlinux) FORCE + $(call if_changed,objcopy) + +$(obj)/compressed/vmlinux: FORCE + $(Q)$(MAKE) $(build)=$(obj)/compressed $@ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/compat_ucontext.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/compat_ucontext.h index 22e4690018..c606f1bc89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/compat_ucontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/compat_ucontext.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_COMPAT_UCONTEXT_H -#define _ASM_PARISC_COMPAT_UCONTEXT_H - -#include - -/* 32-bit ucontext as seen from an 64-bit kernel */ -struct compat_ucontext { - compat_uint_t uc_flags; - compat_uptr_t uc_link; - compat_stack_t uc_stack; /* struct compat_sigaltstack (12 bytes)*/ - /* FIXME: Pad out to get uc_mcontext to start at an 8-byte aligned boundary */ - compat_uint_t pad[1]; - struct compat_sigcontext uc_mcontext; - compat_sigset_t uc_sigmask; /* mask last for extensibility */ -}; - -#endif /* !_ASM_PARISC_COMPAT_UCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_COMPAT_UCONTEXT_H +#define _ASM_PARISC_COMPAT_UCONTEXT_H + +#include + +/* 32-bit ucontext as seen from an 64-bit kernel */ +struct compat_ucontext { + compat_uint_t uc_flags; + compat_uptr_t uc_link; + compat_stack_t uc_stack; /* struct compat_sigaltstack (12 bytes)*/ + /* FIXME: Pad out to get uc_mcontext to start at an 8-byte aligned boundary */ + compat_uint_t pad[1]; + struct compat_sigcontext uc_mcontext; + compat_sigset_t uc_sigmask; /* mask last for extensibility */ +}; + +#endif /* !_ASM_PARISC_COMPAT_UCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/current.h index 2aa93d06be..dc7aea07c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/current.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_CURRENT_H -#define _ASM_PARISC_CURRENT_H - -#ifndef __ASSEMBLY__ -struct task_struct; - -static __always_inline struct task_struct *get_current(void) -{ - struct task_struct *ts; - - /* do not use mfctl() macro as it is marked volatile */ - asm( "mfctl %%cr30,%0" : "=r" (ts) ); - return ts; -} - -#define current get_current() - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_PARISC_CURRENT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_CURRENT_H +#define _ASM_PARISC_CURRENT_H + +#ifndef __ASSEMBLY__ +struct task_struct; + +static __always_inline struct task_struct *get_current(void) +{ + struct task_struct *ts; + + /* do not use mfctl() macro as it is marked volatile */ + asm( "mfctl %%cr30,%0" : "=r" (ts) ); + return ts; +} + +#define current get_current() + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PARISC_CURRENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/delay.h index 369e0352c5..841b506b70 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/delay.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_DELAY_H -#define _ASM_PARISC_DELAY_H - -static __inline__ void __delay(unsigned long loops) { - asm volatile( - " .balignl 64,0x34000034\n" - " addib,UV -1,%0,.\n" - " nop\n" - : "=r" (loops) : "0" (loops)); -} - -extern void __udelay(unsigned long usecs); -extern void __udelay_bad(unsigned long usecs); - -static inline void udelay(unsigned long usecs) -{ - if (__builtin_constant_p(usecs) && (usecs) > 20000) - __udelay_bad(usecs); - __udelay(usecs); -} - -#endif /* _ASM_PARISC_DELAY_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_DELAY_H +#define _ASM_PARISC_DELAY_H + +static __inline__ void __delay(unsigned long loops) { + asm volatile( + " .balignl 64,0x34000034\n" + " addib,UV -1,%0,.\n" + " nop\n" + : "=r" (loops) : "0" (loops)); +} + +extern void __udelay(unsigned long usecs); +extern void __udelay_bad(unsigned long usecs); + +static inline void udelay(unsigned long usecs) +{ + if (__builtin_constant_p(usecs) && (usecs) > 20000) + __udelay_bad(usecs); + __udelay(usecs); +} + +#endif /* _ASM_PARISC_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/dwarf.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/dwarf.h index edd771c5c7..f4512db86a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/dwarf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/dwarf.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2016 Helge Deller - */ - -#ifndef _ASM_PARISC_DWARF_H -#define _ASM_PARISC_DWARF_H - -#ifdef __ASSEMBLY__ - -#define CFI_STARTPROC .cfi_startproc -#define CFI_ENDPROC .cfi_endproc -#define CFI_DEF_CFA .cfi_def_cfa -#define CFI_REGISTER .cfi_register -#define CFI_REL_OFFSET .cfi_rel_offset -#define CFI_UNDEFINED .cfi_undefined - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_PARISC_DWARF_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2016 Helge Deller + */ + +#ifndef _ASM_PARISC_DWARF_H +#define _ASM_PARISC_DWARF_H + +#ifdef __ASSEMBLY__ + +#define CFI_STARTPROC .cfi_startproc +#define CFI_ENDPROC .cfi_endproc +#define CFI_DEF_CFA .cfi_def_cfa +#define CFI_REGISTER .cfi_register +#define CFI_REL_OFFSET .cfi_rel_offset +#define CFI_UNDEFINED .cfi_undefined + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_PARISC_DWARF_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/eisa_bus.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/eisa_bus.h index 3910528622..55dba9cd40 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/eisa_bus.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/eisa_bus.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * eisa_bus.h interface between the eisa BA driver and the bus enumerator - * - * Copyright (c) 2002 Daniel Engstrom <5116@telia.com> - */ - -#ifndef ASM_EISA_H -#define ASM_EISA_H - -extern void eisa_make_irq_level(int num); -extern void eisa_make_irq_edge(int num); -extern int eisa_enumerator(unsigned long eeprom_addr, - struct resource *io_parent, - struct resource *mem_parent); -extern int eisa_eeprom_init(unsigned long addr); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * eisa_bus.h interface between the eisa BA driver and the bus enumerator + * + * Copyright (c) 2002 Daniel Engstrom <5116@telia.com> + */ + +#ifndef ASM_EISA_H +#define ASM_EISA_H + +extern void eisa_make_irq_level(int num); +extern void eisa_make_irq_edge(int num); +extern int eisa_enumerator(unsigned long eeprom_addr, + struct resource *io_parent, + struct resource *mem_parent); +extern int eisa_eeprom_init(unsigned long addr); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kbdleds.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kbdleds.h index e3077a983c..50fcce8106 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kbdleds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/kbdleds.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_KBDLEDS_H -#define _ASM_PARISC_KBDLEDS_H - -/* - * On HIL keyboards of PARISC machines there is no NumLock key and - * everyone expects the keypad to be used for numbers. That's why - * we can safely turn on the NUMLOCK bit. - */ - -static inline int kbd_defleds(void) -{ -#if defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD) - return 1 << VC_NUMLOCK; -#else - return 0; -#endif -} - -#endif /* _ASM_PARISC_KBDLEDS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_KBDLEDS_H +#define _ASM_PARISC_KBDLEDS_H + +/* + * On HIL keyboards of PARISC machines there is no NumLock key and + * everyone expects the keypad to be used for numbers. That's why + * we can safely turn on the NUMLOCK bit. + */ + +static inline int kbd_defleds(void) +{ +#if defined(CONFIG_KEYBOARD_HIL) || defined(CONFIG_KEYBOARD_HIL_OLD) + return 1 << VC_NUMLOCK; +#else + return 0; +#endif +} + +#endif /* _ASM_PARISC_KBDLEDS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/module.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/module.h index e608c56474..c8c131a749 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/module.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/module.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_MODULE_H -#define _ASM_PARISC_MODULE_H - -#include - -/* - * This file contains the parisc architecture specific module code. - */ - -struct unwind_table; - -struct mod_arch_specific -{ - unsigned long got_offset, got_count, got_max; - unsigned long fdesc_offset, fdesc_count, fdesc_max; - struct { - unsigned long stub_offset; - unsigned int stub_entries; - } *section; - int unwind_section; - struct unwind_table *unwind; -}; - -#endif /* _ASM_PARISC_MODULE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_MODULE_H +#define _ASM_PARISC_MODULE_H + +#include + +/* + * This file contains the parisc architecture specific module code. + */ + +struct unwind_table; + +struct mod_arch_specific +{ + unsigned long got_offset, got_count, got_max; + unsigned long fdesc_offset, fdesc_count, fdesc_max; + struct { + unsigned long stub_offset; + unsigned int stub_entries; + } *section; + int unwind_section; + struct unwind_table *unwind; +}; + +#endif /* _ASM_PARISC_MODULE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/parport.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/parport.h index 4d75af053b..2c8e2321c2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/parport.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/parport.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * - * parport.h: ia32-compatible parport initialisation - * - * This file should only be included by drivers/parport/parport_pc.c. - */ -#ifndef _ASM_PARPORT_H -#define _ASM_PARPORT_H 1 - - -static int parport_pc_find_nonpci_ports (int autoirq, int autodma) -{ - /* nothing ! */ - return 0; -} - - -#endif /* !(_ASM_PARPORT_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * + * parport.h: ia32-compatible parport initialisation + * + * This file should only be included by drivers/parport/parport_pc.c. + */ +#ifndef _ASM_PARPORT_H +#define _ASM_PARPORT_H 1 + + +static int parport_pc_find_nonpci_ports (int autoirq, int autodma) +{ + /* nothing ! */ + return 0; +} + + +#endif /* !(_ASM_PARPORT_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/patch.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/patch.h index 1725298e0d..400d84c6e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/patch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/patch.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PARISC_KERNEL_PATCH_H -#define _PARISC_KERNEL_PATCH_H - -/* stop machine and patch kernel text */ -void patch_text(void *addr, unsigned int insn); -void patch_text_multiple(void *addr, u32 *insn, unsigned int len); - -/* patch kernel text with machine already stopped (e.g. in kgdb) */ -void __patch_text(void *addr, u32 insn); -void __patch_text_multiple(void *addr, u32 *insn, unsigned int len); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PARISC_KERNEL_PATCH_H +#define _PARISC_KERNEL_PATCH_H + +/* stop machine and patch kernel text */ +void patch_text(void *addr, unsigned int insn); +void patch_text_multiple(void *addr, u32 *insn, unsigned int len); + +/* patch kernel text with machine already stopped (e.g. in kgdb) */ +void __patch_text(void *addr, u32 insn); +void __patch_text_multiple(void *addr, u32 *insn, unsigned int len); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/rt_sigframe.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/rt_sigframe.h index 5b801964ff..bb7fb41533 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/rt_sigframe.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/rt_sigframe.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_RT_SIGFRAME_H -#define _ASM_PARISC_RT_SIGFRAME_H - -struct rt_sigframe { - unsigned int tramp[2]; /* holds original return address */ - struct siginfo info; - struct ucontext uc; -}; - -#define SIGFRAME 128 -#define FUNCTIONCALLFRAME 96 -#define PARISC_RT_SIGFRAME_SIZE \ - (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME) - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_RT_SIGFRAME_H +#define _ASM_PARISC_RT_SIGFRAME_H + +struct rt_sigframe { + unsigned int tramp[2]; /* holds original return address */ + struct siginfo info; + struct ucontext uc; +}; + +#define SIGFRAME 128 +#define FUNCTIONCALLFRAME 96 +#define PARISC_RT_SIGFRAME_SIZE \ + (((sizeof(struct rt_sigframe) + FUNCTIONCALLFRAME) + SIGFRAME) & -SIGFRAME) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/signal.h index eb2e2fb6eb..e84883c6b4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/signal.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_PARISC_SIGNAL_H -#define _ASM_PARISC_SIGNAL_H - -#include - -# ifndef __ASSEMBLY__ - -/* Most things should be clean enough to redefine this at will, if care - is taken to make libc match. */ - -#include - -#endif /* !__ASSEMBLY */ -#endif /* _ASM_PARISC_SIGNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_PARISC_SIGNAL_H +#define _ASM_PARISC_SIGNAL_H + +#include + +# ifndef __ASSEMBLY__ + +/* Most things should be clean enough to redefine this at will, if care + is taken to make libc match. */ + +#include + +#endif /* !__ASSEMBLY */ +#endif /* _ASM_PARISC_SIGNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/timex.h index 2e17741b4c..b4622cb06a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/timex.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * linux/include/asm-parisc/timex.h - * - * PARISC architecture timex specifications - */ -#ifndef _ASMPARISC_TIMEX_H -#define _ASMPARISC_TIMEX_H - -#include - -#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ - -typedef unsigned long cycles_t; - -static inline cycles_t get_cycles(void) -{ - return mfctl(16); -} -#define get_cycles get_cycles - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * linux/include/asm-parisc/timex.h + * + * PARISC architecture timex specifications + */ +#ifndef _ASMPARISC_TIMEX_H +#define _ASMPARISC_TIMEX_H + +#include + +#define CLOCK_TICK_RATE 1193180 /* Underlying HZ */ + +typedef unsigned long cycles_t; + +static inline cycles_t get_cycles(void) +{ + return mfctl(16); +} +#define get_cycles get_cycles + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/topology.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/topology.h index 94e20c9031..406afb356f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/topology.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/topology.h @@ -1,19 +1,19 @@ -#ifndef _ASM_PARISC_TOPOLOGY_H -#define _ASM_PARISC_TOPOLOGY_H - -#ifdef CONFIG_GENERIC_ARCH_TOPOLOGY - -#include -#include - -#else - -static inline void init_cpu_topology(void) { } -static inline void store_cpu_topology(unsigned int cpuid) { } -static inline void reset_cpu_topology(void) { } - -#endif - -#include - -#endif /* _ASM_ARM_TOPOLOGY_H */ +#ifndef _ASM_PARISC_TOPOLOGY_H +#define _ASM_PARISC_TOPOLOGY_H + +#ifdef CONFIG_GENERIC_ARCH_TOPOLOGY + +#include +#include + +#else + +static inline void init_cpu_topology(void) { } +static inline void store_cpu_topology(unsigned int cpuid) { } +static inline void reset_cpu_topology(void) { } + +#endif + +#include + +#endif /* _ASM_ARM_TOPOLOGY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vdso.h index 15617cb52c..2a2dc11b55 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/asm/vdso.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __PARISC_VDSO_H__ -#define __PARISC_VDSO_H__ - -#ifndef __ASSEMBLY__ - -#ifdef CONFIG_64BIT -#include -#endif -#include - -#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) -#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) - -extern struct vdso_data *vdso_data; - -#endif /* __ASSEMBLY __ */ - -/* Default link addresses for the vDSOs */ -#define VDSO_LBASE 0 - -#define VDSO_VERSION_STRING LINUX_6.11 - -#endif /* __PARISC_VDSO_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __PARISC_VDSO_H__ +#define __PARISC_VDSO_H__ + +#ifndef __ASSEMBLY__ + +#ifdef CONFIG_64BIT +#include +#endif +#include + +#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) +#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) + +extern struct vdso_data *vdso_data; + +#endif /* __ASSEMBLY __ */ + +/* Default link addresses for the vDSOs */ +#define VDSO_LBASE 0 + +#define VDSO_VERSION_STRING LINUX_6.11 + +#endif /* __PARISC_VDSO_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/cachectl.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/cachectl.h index 5f4515601e..68d6b45549 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/cachectl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/cachectl.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_CACHECTL -#define _ASM_CACHECTL - -/* - * Options for cacheflush system call - */ -#define ICACHE (1<<0) /* flush instruction cache */ -#define DCACHE (1<<1) /* writeback and flush data cache */ -#define BCACHE (ICACHE|DCACHE) /* flush both caches */ - -#endif /* _ASM_CACHECTL */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_CACHECTL +#define _ASM_CACHECTL + +/* + * Options for cacheflush system call + */ +#define ICACHE (1<<0) /* flush instruction cache */ +#define DCACHE (1<<1) /* writeback and flush data cache */ +#define BCACHE (ICACHE|DCACHE) /* flush both caches */ + +#endif /* _ASM_CACHECTL */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sigcontext.h index 8b4edbccd3..be404bb0f8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/include/uapi/asm/sigcontext.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASMPARISC_SIGCONTEXT_H -#define _ASMPARISC_SIGCONTEXT_H - -#define PARISC_SC_FLAG_ONSTACK 1<<0 -#define PARISC_SC_FLAG_IN_SYSCALL 1<<1 - -/* We will add more stuff here as it becomes necessary, until we know - it works. */ -struct sigcontext { - unsigned long sc_flags; - - unsigned long sc_gr[32]; /* PSW in sc_gr[0] */ - unsigned long long sc_fr[32]; /* FIXME, do we need other state info? */ - unsigned long sc_iasq[2]; - unsigned long sc_iaoq[2]; - unsigned long sc_sar; /* cr11 */ -}; - - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASMPARISC_SIGCONTEXT_H +#define _ASMPARISC_SIGCONTEXT_H + +#define PARISC_SC_FLAG_ONSTACK 1<<0 +#define PARISC_SC_FLAG_IN_SYSCALL 1<<1 + +/* We will add more stuff here as it becomes necessary, until we know + it works. */ +struct sigcontext { + unsigned long sc_flags; + + unsigned long sc_gr[32]; /* PSW in sc_gr[0] */ + unsigned long long sc_fr[32]; /* FIXME, do we need other state info? */ + unsigned long sc_iasq[2]; + unsigned long sc_iaoq[2]; + unsigned long sc_sar; /* cr11 */ +}; + + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/compat_audit.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/compat_audit.c index 9a8a69646a..3ac53f1ab8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/compat_audit.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/compat_audit.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -unsigned int parisc32_dir_class[] = { -#include -~0U -}; - -unsigned int parisc32_chattr_class[] = { -#include -~0U -}; - -unsigned int parisc32_write_class[] = { -#include -~0U -}; - -unsigned int parisc32_read_class[] = { -#include -~0U -}; - -unsigned int parisc32_signal_class[] = { -#include -~0U -}; +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +unsigned int parisc32_dir_class[] = { +#include +~0U +}; + +unsigned int parisc32_chattr_class[] = { +#include +~0U +}; + +unsigned int parisc32_write_class[] = { +#include +~0U +}; + +unsigned int parisc32_read_class[] = { +#include +~0U +}; + +unsigned int parisc32_signal_class[] = { +#include +~0U +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/gen_vdso_offsets.sh old mode 100644 new mode 100755 index 121b275270..da39d6cff7 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso32/gen_vdso_offsets.sh @@ -1,15 +1,15 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Inspired by arm64 version. -# - -LC_ALL=C -sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso32_offset_\2\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# +# Doing this inside the Makefile will break the $(filter-out) function, +# causing Kbuild to rebuild the vdso-offsets header file every time. +# +# Inspired by arm64 version. +# + +LC_ALL=C +sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso32_offset_\2\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/gen_vdso_offsets.sh old mode 100644 new mode 100755 index fea3843a65..37f05cb38d --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/kernel/vdso64/gen_vdso_offsets.sh @@ -1,15 +1,15 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Inspired by arm64 version. -# - -LC_ALL=C -sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso64_offset_\2\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# +# Doing this inside the Makefile will break the $(filter-out) function, +# causing Kbuild to rebuild the vdso-offsets header file every time. +# +# Inspired by arm64 version. +# + +LC_ALL=C +sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso64_offset_\2\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/ucmpdi2.c b/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/ucmpdi2.c index 3c3982be91..9d8b4dbae2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/ucmpdi2.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/lib/ucmpdi2.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include - -union ull_union { - unsigned long long ull; - struct { - unsigned int high; - unsigned int low; - } ui; -}; - -word_type __ucmpdi2(unsigned long long a, unsigned long long b) -{ - union ull_union au = {.ull = a}; - union ull_union bu = {.ull = b}; - - if (au.ui.high < bu.ui.high) - return 0; - else if (au.ui.high > bu.ui.high) - return 2; - if (au.ui.low < bu.ui.low) - return 0; - else if (au.ui.low > bu.ui.low) - return 2; - return 1; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include + +union ull_union { + unsigned long long ull; + struct { + unsigned int high; + unsigned int low; + } ui; +}; + +word_type __ucmpdi2(unsigned long long a, unsigned long long b) +{ + union ull_union au = {.ull = a}; + union ull_union bu = {.ull = b}; + + if (au.ui.high < bu.ui.high) + return 0; + else if (au.ui.high > bu.ui.high) + return 2; + if (au.ui.low < bu.ui.low) + return 0; + else if (au.ui.low > bu.ui.low) + return 2; + return 1; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/math-emu.h b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/math-emu.h index 2b3f689d5e..a7b6fac166 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/math-emu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/parisc/math-emu/math-emu.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Linux/PA-RISC Project (http://www.parisc-linux.org/) - * - * Floating-point emulation code - * Copyright (C) 2001 Hewlett-Packard (Paul Bame) - */ -#ifndef _PARISC_MATH_EMU_H -#define _PARISC_MATH_EMU_H - -#include -extern int handle_fpe(struct pt_regs *regs); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Linux/PA-RISC Project (http://www.parisc-linux.org/) + * + * Floating-point emulation code + * Copyright (C) 2001 Hewlett-Packard (Paul Bame) + */ +#ifndef _PARISC_MATH_EMU_H +#define _PARISC_MATH_EMU_H + +#include +extern int handle_fpe(struct pt_regs *regs); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/Kbuild index d9ca2cdacf..571f260b08 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/Kbuild @@ -1,22 +1,22 @@ -# SPDX-License-Identifier: GPL-2.0 -subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror -Wa,--fatal-warnings -subdir-asflags-$(CONFIG_PPC_WERROR) := -Wa,--fatal-warnings - -obj-y += kernel/ -obj-y += mm/ -obj-y += lib/ -obj-y += sysdev/ -obj-y += platforms/ -obj-y += math-emu/ -obj-y += crypto/ -obj-y += net/ - -obj-$(CONFIG_XMON) += xmon/ -obj-$(CONFIG_KVM) += kvm/ - -obj-$(CONFIG_PERF_EVENTS) += perf/ -obj-$(CONFIG_KEXEC_CORE) += kexec/ -obj-$(CONFIG_KEXEC_FILE) += purgatory/ - -# for cleaning -subdir- += boot +# SPDX-License-Identifier: GPL-2.0 +subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror -Wa,--fatal-warnings +subdir-asflags-$(CONFIG_PPC_WERROR) := -Wa,--fatal-warnings + +obj-y += kernel/ +obj-y += mm/ +obj-y += lib/ +obj-y += sysdev/ +obj-y += platforms/ +obj-y += math-emu/ +obj-y += crypto/ +obj-y += net/ + +obj-$(CONFIG_XMON) += xmon/ +obj-$(CONFIG_KVM) += kvm/ + +obj-$(CONFIG_PERF_EVENTS) += perf/ +obj-$(CONFIG_KEXEC_CORE) += kexec/ +obj-$(CONFIG_KEXEC_FILE) += purgatory/ + +# for cleaning +subdir- += boot diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/.gitignore b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/.gitignore index da0ea3291d..a4716d138c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/.gitignore +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/.gitignore @@ -1,48 +1,48 @@ -# SPDX-License-Identifier: GPL-2.0-only -addnote -decompress_inflate.c -empty.c -hack-coff -inffast.c -inffast.h -inffixed.h -inflate.c -inflate.h -inftrees.c -inftrees.h -infutil.c -infutil.h -kernel-vmlinux.strip.c -kernel-vmlinux.strip.gz -mktree -otheros.bld -otheros-too-big.bld -uImage -cuImage.* -dtbImage.* -treeImage.* -vmlinux.strip -zImage -zImage.initrd -zImage.bin.* -zImage.chrp -zImage.coff -zImage.epapr -zImage.holly -zImage.*lds -zImage.maple -zImage.miboot -zImage.pmac -zImage.pseries -zconf.h -zlib.h -zutil.h -fdt.c -fdt.h -fdt_ro.c -fdt_rw.c -fdt_strerror.c -fdt_sw.c -fdt_wip.c -libfdt.h -libfdt_internal.h +# SPDX-License-Identifier: GPL-2.0-only +addnote +decompress_inflate.c +empty.c +hack-coff +inffast.c +inffast.h +inffixed.h +inflate.c +inflate.h +inftrees.c +inftrees.h +infutil.c +infutil.h +kernel-vmlinux.strip.c +kernel-vmlinux.strip.gz +mktree +otheros.bld +otheros-too-big.bld +uImage +cuImage.* +dtbImage.* +treeImage.* +vmlinux.strip +zImage +zImage.initrd +zImage.bin.* +zImage.chrp +zImage.coff +zImage.epapr +zImage.holly +zImage.*lds +zImage.maple +zImage.miboot +zImage.pmac +zImage.pseries +zconf.h +zlib.h +zutil.h +fdt.c +fdt.h +fdt_ro.c +fdt_rw.c +fdt_strerror.c +fdt_sw.c +fdt_wip.c +libfdt.h +libfdt_internal.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot-bamboo.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot-bamboo.c index 1b5a1f95ba..a5dcf3091d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot-bamboo.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot-bamboo.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Old U-boot compatibility for Bamboo - * - * Author: Josh Boyer - * - * Copyright 2007 IBM Corporation - * - * Based on cuboot-ebony.c - */ - -#include "ops.h" -#include "stdio.h" -#include "44x.h" -#include "cuboot.h" - -#define TARGET_4xx -#define TARGET_44x -#include "ppcboot.h" - -static bd_t bd; - -void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, - unsigned long r6, unsigned long r7) -{ - CUBOOT_INIT(); - bamboo_init(&bd.bi_enetaddr, &bd.bi_enet1addr); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Old U-boot compatibility for Bamboo + * + * Author: Josh Boyer + * + * Copyright 2007 IBM Corporation + * + * Based on cuboot-ebony.c + */ + +#include "ops.h" +#include "stdio.h" +#include "44x.h" +#include "cuboot.h" + +#define TARGET_4xx +#define TARGET_44x +#include "ppcboot.h" + +static bd_t bd; + +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5, + unsigned long r6, unsigned long r7) +{ + CUBOOT_INIT(); + bamboo_init(&bd.bi_enetaddr, &bd.bi_enet1addr); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot.h index 26c1bc3b40..c2b2c58eaa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/cuboot.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_CUBOOT_H_ -#define _PPC_BOOT_CUBOOT_H_ - -void cuboot_init(unsigned long r4, unsigned long r5, - unsigned long r6, unsigned long r7, - unsigned long end_of_ram); - -#define CUBOOT_INIT() \ - do { \ - memcpy(&bd, (bd_t *)r3, sizeof(bd)); \ - cuboot_init(r4, r5, r6, r7, bd.bi_memstart + bd.bi_memsize); \ - } while (0) - -#endif /* _PPC_BOOT_CUBOOT_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_CUBOOT_H_ +#define _PPC_BOOT_CUBOOT_H_ + +void cuboot_init(unsigned long r4, unsigned long r5, + unsigned long r6, unsigned long r7, + unsigned long end_of_ram); + +#define CUBOOT_INIT() \ + do { \ + memcpy(&bd, (bd_t *)r3, sizeof(bd)); \ + cuboot_init(r4, r5, r6, r7, bd.bi_memstart + bd.bi_memsize); \ + } while (0) + +#endif /* _PPC_BOOT_CUBOOT_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts index d1ab1f1a44..0ba86a6dce 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/bsc9131rdb.dts @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * BSC9131 RDB Device Tree Source - * - * Copyright 2011-2012 Freescale Semiconductor Inc. - */ - -/include/ "bsc9131si-pre.dtsi" - -/ { - model = "fsl,bsc9131rdb"; - compatible = "fsl,bsc9131rdb"; - - memory { - device_type = "memory"; - }; - - board_ifc: ifc: memory-controller@ff71e000 { - /* NAND Flash on board */ - ranges = <0x0 0x0 0x0 0xff800000 0x00004000>; - reg = <0x0 0xff71e000 0x0 0x2000>; - }; - - board_soc: soc: soc@ff700000 { - ranges = <0x0 0x0 0xff700000 0x100000>; - }; -}; - -/include/ "bsc9131rdb.dtsi" -/include/ "bsc9131si-post.dtsi" +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * BSC9131 RDB Device Tree Source + * + * Copyright 2011-2012 Freescale Semiconductor Inc. + */ + +/include/ "bsc9131si-pre.dtsi" + +/ { + model = "fsl,bsc9131rdb"; + compatible = "fsl,bsc9131rdb"; + + memory { + device_type = "memory"; + }; + + board_ifc: ifc: memory-controller@ff71e000 { + /* NAND Flash on board */ + ranges = <0x0 0x0 0x0 0xff800000 0x00004000>; + reg = <0x0 0xff71e000 0x0 0x2000>; + }; + + board_soc: soc: soc@ff700000 { + ranges = <0x0 0x0 0xff700000 0x100000>; + }; +}; + +/include/ "bsc9131rdb.dtsi" +/include/ "bsc9131si-post.dtsi" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts index 96f959d83c..d4f5f159d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/fsl/t1040rdb-rev-a.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * T1040RDB-REV-A Device Tree Source - * - * Copyright 2014 - 2015 Freescale Semiconductor Inc. - * - */ - -#include "t1040rdb.dts" - -/ { - model = "fsl,T1040RDB-REV-A"; -}; - -&seville_port0 { - label = "ETH5"; -}; - -&seville_port2 { - label = "ETH7"; -}; - -&seville_port4 { - label = "ETH9"; -}; - -&seville_port6 { - label = "ETH11"; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * T1040RDB-REV-A Device Tree Source + * + * Copyright 2014 - 2015 Freescale Semiconductor Inc. + * + */ + +#include "t1040rdb.dts" + +/ { + model = "fsl,T1040RDB-REV-A"; +}; + +&seville_port0 { + label = "ETH5"; +}; + +&seville_port2 { + label = "ETH7"; +}; + +&seville_port4 { + label = "ETH9"; +}; + +&seville_port6 { + label = "ETH11"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2i.dts b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2i.dts index d061f8e8ae..3fb2e0ad73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2i.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2i.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * O2I Device Tree Source - * - * Copyright (C) 2012 DENX Software Engineering - * Anatolij Gustschin - */ - -/include/ "o2d.dtsi" - -/ { - model = "ifm,o2i"; - compatible = "ifm,o2d"; - - localbus { - flash@0,0 { - partition@60000 { - label = "kernel"; - reg = <0x00060000 0x00260000>; - read-only; - }; - /* o2i specific partitions */ - partition@2c0000 { - label = "o2i user defined"; - reg = <0x002c0000 0x00d40000>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * O2I Device Tree Source + * + * Copyright (C) 2012 DENX Software Engineering + * Anatolij Gustschin + */ + +/include/ "o2d.dtsi" + +/ { + model = "ifm,o2i"; + compatible = "ifm,o2d"; + + localbus { + flash@0,0 { + partition@60000 { + label = "kernel"; + reg = <0x00060000 0x00260000>; + read-only; + }; + /* o2i specific partitions */ + partition@2c0000 { + label = "o2i user defined"; + reg = <0x002c0000 0x00d40000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2mnt.dts b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2mnt.dts index f5065776a4..c5e0ba6e8f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2mnt.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/dts/o2mnt.dts @@ -1,29 +1,29 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * O2MNT Device Tree Source - * - * Copyright (C) 2012 DENX Software Engineering - * Anatolij Gustschin - */ - -/include/ "o2d.dtsi" - -/ { - model = "ifm,o2mnt"; - compatible = "ifm,o2d"; - - localbus { - flash@0,0 { - partition@60000 { - label = "kernel"; - reg = <0x00060000 0x00260000>; - read-only; - }; - /* add o2mnt specific partitions */ - partition@2c0000 { - label = "o2mnt user defined"; - reg = <0x002c0000 0x00d40000>; - }; - }; - }; -}; +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * O2MNT Device Tree Source + * + * Copyright (C) 2012 DENX Software Engineering + * Anatolij Gustschin + */ + +/include/ "o2d.dtsi" + +/ { + model = "ifm,o2mnt"; + compatible = "ifm,o2d"; + + localbus { + flash@0,0 { + partition@60000 { + label = "kernel"; + reg = <0x00060000 0x00260000>; + read-only; + }; + /* add o2mnt specific partitions */ + partition@2c0000 { + label = "o2mnt user defined"; + reg = <0x002c0000 0x00d40000>; + }; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixup-headers.sed b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixup-headers.sed index ca3aae1bc7..96362428eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixup-headers.sed +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/fixup-headers.sed @@ -1,12 +1,12 @@ -# Copyright 2016 IBM Corporation. -# -# This program is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License version 2 or later as -# published by the Free Software Foundation. - -s@#include @@; -s@\"zlib_inflate/\([^\"]*\).*@"\1"@; -s@@@; - -s@__used@@; -s@]*\).*@"\1"@; +# Copyright 2016 IBM Corporation. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License version 2 or later as +# published by the Free Software Foundation. + +s@#include @@; +s@\"zlib_inflate/\([^\"]*\).*@"\1"@; +s@@@; + +s@__used@@; +s@]*\).*@"\1"@; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/gamecube.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/gamecube.c index 69f9a08618..d030612fdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/gamecube.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/gamecube.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * arch/powerpc/boot/gamecube.c - * - * Nintendo GameCube bootwrapper support - * Copyright (C) 2004-2009 The GameCube Linux Team - * Copyright (C) 2008,2009 Albert Herranz - */ - -#include -#include "stdio.h" -#include "types.h" -#include "io.h" -#include "ops.h" - -#include "ugecon.h" - -BSS_STACK(8192); - -void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) -{ - u32 heapsize = 16*1024*1024 - (u32)_end; - - simple_alloc_init(_end, heapsize, 32, 64); - fdt_init(_dtb_start); - - if (ug_probe()) - console_ops.write = ug_console_write; -} - +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * arch/powerpc/boot/gamecube.c + * + * Nintendo GameCube bootwrapper support + * Copyright (C) 2004-2009 The GameCube Linux Team + * Copyright (C) 2008,2009 Albert Herranz + */ + +#include +#include "stdio.h" +#include "types.h" +#include "io.h" +#include "ops.h" + +#include "ugecon.h" + +BSS_STACK(8192); + +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) +{ + u32 heapsize = 16*1024*1024 - (u32)_end; + + simple_alloc_init(_end, heapsize, 32, 64); + fdt_init(_dtb_start); + + if (ug_probe()) + console_ops.write = ug_console_write; +} + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/microwatt.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/microwatt.c index ff196996cb..ca9d83617f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/microwatt.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/microwatt.c @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include -#include "stdio.h" -#include "types.h" -#include "io.h" -#include "ops.h" - -BSS_STACK(8192); - -void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) -{ - unsigned long heapsize = 16*1024*1024 - (unsigned long)_end; - - /* - * Disable interrupts and turn off MSR_RI, since we'll - * shortly be overwriting the interrupt vectors. - */ - __asm__ volatile("mtmsrd %0,1" : : "r" (0)); - - simple_alloc_init(_end, heapsize, 32, 64); - fdt_init(_dtb_start); - serial_console_init(); -} +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include "stdio.h" +#include "types.h" +#include "io.h" +#include "ops.h" + +BSS_STACK(8192); + +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) +{ + unsigned long heapsize = 16*1024*1024 - (unsigned long)_end; + + /* + * Disable interrupts and turn off MSR_RI, since we'll + * shortly be overwriting the interrupt vectors. + */ + __asm__ volatile("mtmsrd %0,1" : : "r" (0)); + + simple_alloc_init(_end, heapsize, 32, 64); + fdt_init(_dtb_start); + serial_console_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mvme5100.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mvme5100.c index ac8c9eb21f..51453d0ec9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mvme5100.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/mvme5100.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Motorola/Emerson MVME5100 with PPCBug firmware. - * - * Author: Stephen Chivers - * - * Copyright 2013 CSC Australia Pty. Ltd. - */ -#include "types.h" -#include "ops.h" -#include "io.h" - -BSS_STACK(4096); - -void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) -{ - u32 heapsize; - - heapsize = 0x8000000 - (u32)_end; /* 128M */ - simple_alloc_init(_end, heapsize, 32, 64); - fdt_init(_dtb_start); - serial_console_init(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Motorola/Emerson MVME5100 with PPCBug firmware. + * + * Author: Stephen Chivers + * + * Copyright 2013 CSC Australia Pty. Ltd. + */ +#include "types.h" +#include "ops.h" +#include "io.h" + +BSS_STACK(4096); + +void platform_init(unsigned long r3, unsigned long r4, unsigned long r5) +{ + u32 heapsize; + + heapsize = 0x8000000 - (u32)_end; /* 128M */ + simple_alloc_init(_end, heapsize, 32, 64); + fdt_init(_dtb_start); + serial_console_init(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdio.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdio.h index 5444563f62..884d5959a9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/stdio.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_BOOT_STDIO_H_ -#define _PPC_BOOT_STDIO_H_ - -#include - -#define ENOMEM 12 /* Out of Memory */ -#define EINVAL 22 /* Invalid argument */ -#define ENOSPC 28 /* No space left on device */ - -extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); - -#define fprintf(fmt, args...) printf(args) - -extern int sprintf(char *buf, const char *fmt, ...) - __attribute__((format(printf, 2, 3))); - -extern int vsprintf(char *buf, const char *fmt, va_list args); - -#endif /* _PPC_BOOT_STDIO_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_BOOT_STDIO_H_ +#define _PPC_BOOT_STDIO_H_ + +#include + +#define ENOMEM 12 /* Out of Memory */ +#define EINVAL 22 /* Invalid argument */ +#define ENOSPC 28 /* No space left on device */ + +extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2))); + +#define fprintf(fmt, args...) printf(args) + +extern int sprintf(char *buf, const char *fmt, ...) + __attribute__((format(printf, 2, 3))); + +extern int vsprintf(char *buf, const char *fmt, va_list args); + +#endif /* _PPC_BOOT_STDIO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/ugecon.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/ugecon.h index b7b76160c2..291f33f776 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/ugecon.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/boot/ugecon.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/powerpc/boot/ugecon.h - * - * USB Gecko early bootwrapper console. - * Copyright (C) 2008-2009 The GameCube Linux Team - * Copyright (C) 2008,2009 Albert Herranz - */ - -#ifndef __UGECON_H -#define __UGECON_H - -extern void *ug_probe(void); - -extern void ug_putc(char ch); -extern void ug_console_write(const char *buf, int len); - -#endif /* __UGECON_H */ - +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/powerpc/boot/ugecon.h + * + * USB Gecko early bootwrapper console. + * Copyright (C) 2008-2009 The GameCube Linux Team + * Copyright (C) 2008,2009 Albert Herranz + */ + +#ifndef __UGECON_H +#define __UGECON_H + +extern void *ug_probe(void); + +extern void ug_putc(char ch); +extern void ug_console_write(const char *buf, int len); + +#endif /* __UGECON_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc85xx_base.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc85xx_base.config index 2bd8392b1f..a1e4d72ed3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc85xx_base.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/mpc85xx_base.config @@ -1,20 +1,20 @@ -CONFIG_MATH_EMULATION=y -CONFIG_MPC8536_DS=y -CONFIG_MPC85xx_DS=y -CONFIG_MPC85xx_MDS=y -CONFIG_MPC85xx_RDB=y -CONFIG_KSI8560=y -CONFIG_MVME2500=y -CONFIG_P1010_RDB=y -CONFIG_P1022_DS=y -CONFIG_P1022_RDK=y -CONFIG_P1023_RDB=y -CONFIG_TWR_P102x=y -CONFIG_SOCRATES=y -CONFIG_STX_GP3=y -CONFIG_TQM8540=y -CONFIG_TQM8541=y -CONFIG_TQM8548=y -CONFIG_TQM8555=y -CONFIG_TQM8560=y -CONFIG_XES_MPC85xx=y +CONFIG_MATH_EMULATION=y +CONFIG_MPC8536_DS=y +CONFIG_MPC85xx_DS=y +CONFIG_MPC85xx_MDS=y +CONFIG_MPC85xx_RDB=y +CONFIG_KSI8560=y +CONFIG_MVME2500=y +CONFIG_P1010_RDB=y +CONFIG_P1022_DS=y +CONFIG_P1022_RDK=y +CONFIG_P1023_RDB=y +CONFIG_TWR_P102x=y +CONFIG_SOCRATES=y +CONFIG_STX_GP3=y +CONFIG_TQM8540=y +CONFIG_TQM8541=y +CONFIG_TQM8548=y +CONFIG_TQM8555=y +CONFIG_TQM8560=y +CONFIG_XES_MPC85xx=y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/security.config b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/security.config index a815749ddb..0d54e29e2c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/security.config +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/configs/security.config @@ -1,17 +1,17 @@ -# Help: Common security options for PowerPC builds - -# This is the equivalent of booting with lockdown=integrity -CONFIG_SECURITY=y -CONFIG_SECURITYFS=y -CONFIG_SECURITY_LOCKDOWN_LSM=y -CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y -CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY=y - -# These are some general, reasonably inexpensive hardening options -CONFIG_HARDENED_USERCOPY=y -CONFIG_FORTIFY_SOURCE=y -CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y - -# UBSAN bounds checking is very cheap and good for hardening -CONFIG_UBSAN=y -# CONFIG_UBSAN_MISC is not set +# Help: Common security options for PowerPC builds + +# This is the equivalent of booting with lockdown=integrity +CONFIG_SECURITY=y +CONFIG_SECURITYFS=y +CONFIG_SECURITY_LOCKDOWN_LSM=y +CONFIG_SECURITY_LOCKDOWN_LSM_EARLY=y +CONFIG_LOCK_DOWN_KERNEL_FORCE_INTEGRITY=y + +# These are some general, reasonably inexpensive hardening options +CONFIG_HARDENED_USERCOPY=y +CONFIG_FORTIFY_SOURCE=y +CONFIG_INIT_ON_ALLOC_DEFAULT_ON=y + +# UBSAN bounds checking is very cheap and good for hardening +CONFIG_UBSAN=y +# CONFIG_UBSAN_MISC is not set diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/archrandom.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/archrandom.h index 684b3784b4..51b093f675 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/archrandom.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/archrandom.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_ARCHRANDOM_H -#define _ASM_POWERPC_ARCHRANDOM_H - -static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) -{ - return 0; -} - -size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs); - -#ifdef CONFIG_PPC_POWERNV -int pnv_get_random_long(unsigned long *v); -#endif - -#endif /* _ASM_POWERPC_ARCHRANDOM_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_ARCHRANDOM_H +#define _ASM_POWERPC_ARCHRANDOM_H + +static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) +{ + return 0; +} + +size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs); + +#ifdef CONFIG_PPC_POWERNV +int pnv_get_random_long(unsigned long *v); +#endif + +#endif /* _ASM_POWERPC_ARCHRANDOM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm-const.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm-const.h index 1c75fd035e..bfb3c35348 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm-const.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/asm-const.h @@ -1,15 +1,15 @@ -#ifndef _ASM_POWERPC_ASM_CONST_H -#define _ASM_POWERPC_ASM_CONST_H - -#ifdef __ASSEMBLY__ -# define stringify_in_c(...) __VA_ARGS__ -# define ASM_CONST(x) x -#else -/* This version of stringify will deal with commas... */ -# define __stringify_in_c(...) #__VA_ARGS__ -# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " -# define __ASM_CONST(x) x##UL -# define ASM_CONST(x) __ASM_CONST(x) -#endif - -#endif /* _ASM_POWERPC_ASM_CONST_H */ +#ifndef _ASM_POWERPC_ASM_CONST_H +#define _ASM_POWERPC_ASM_CONST_H + +#ifdef __ASSEMBLY__ +# define stringify_in_c(...) __VA_ARGS__ +# define ASM_CONST(x) x +#else +/* This version of stringify will deal with commas... */ +# define __stringify_in_c(...) #__VA_ARGS__ +# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " +# define __ASM_CONST(x) x##UL +# define ASM_CONST(x) __ASM_CONST(x) +#endif + +#endif /* _ASM_POWERPC_ASM_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pgtable-64k.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pgtable-64k.h index a0c0ccc17a..4d8d7b4ea1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pgtable-64k.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pgtable-64k.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H -#define _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H - -#ifndef __ASSEMBLY__ -#ifdef CONFIG_HUGETLB_PAGE - -#endif /* CONFIG_HUGETLB_PAGE */ - -static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr, - unsigned long pfn, pgprot_t prot) -{ - if (radix_enabled()) - BUG(); - return hash__remap_4k_pfn(vma, addr, pfn, prot); -} -#endif /* __ASSEMBLY__ */ -#endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H +#define _ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H + +#ifndef __ASSEMBLY__ +#ifdef CONFIG_HUGETLB_PAGE + +#endif /* CONFIG_HUGETLB_PAGE */ + +static inline int remap_4k_pfn(struct vm_area_struct *vma, unsigned long addr, + unsigned long pfn, pgprot_t prot) +{ + if (radix_enabled()) + BUG(); + return hash__remap_4k_pfn(vma, addr, pfn, prot); +} +#endif /* __ASSEMBLY__ */ +#endif /*_ASM_POWERPC_BOOK3S_64_PGTABLE_64K_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pkeys.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pkeys.h index 48eb198243..5b178139f3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pkeys.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/64/pkeys.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef _ASM_POWERPC_BOOK3S_64_PKEYS_H -#define _ASM_POWERPC_BOOK3S_64_PKEYS_H - -#include - -static inline u64 vmflag_to_pte_pkey_bits(u64 vm_flags) -{ - if (!mmu_has_feature(MMU_FTR_PKEY)) - return 0x0UL; - - if (radix_enabled()) - BUG(); - return hash__vmflag_to_pte_pkey_bits(vm_flags); -} - -static inline u16 pte_to_pkey_bits(u64 pteflags) -{ - if (radix_enabled()) - BUG(); - return hash__pte_to_pkey_bits(pteflags); -} - -#endif /*_ASM_POWERPC_KEYS_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef _ASM_POWERPC_BOOK3S_64_PKEYS_H +#define _ASM_POWERPC_BOOK3S_64_PKEYS_H + +#include + +static inline u64 vmflag_to_pte_pkey_bits(u64 vm_flags) +{ + if (!mmu_has_feature(MMU_FTR_PKEY)) + return 0x0UL; + + if (radix_enabled()) + BUG(); + return hash__vmflag_to_pte_pkey_bits(vm_flags); +} + +static inline u16 pte_to_pkey_bits(u64 pteflags) +{ + if (radix_enabled()) + BUG(); + return hash__pte_to_pkey_bits(pteflags); +} + +#endif /*_ASM_POWERPC_KEYS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgalloc.h index cd18b3d481..6b178ca143 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/book3s/pgalloc.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_BOOK3S_PGALLOC_H -#define _ASM_POWERPC_BOOK3S_PGALLOC_H - -#include - -extern void tlb_remove_table(struct mmu_gather *tlb, void *table); - -#ifdef CONFIG_PPC64 -#include -#else -#include -#endif - -#endif /* _ASM_POWERPC_BOOK3S_PGALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_BOOK3S_PGALLOC_H +#define _ASM_POWERPC_BOOK3S_PGALLOC_H + +#include + +extern void tlb_remove_table(struct mmu_gather *tlb, void *table); + +#ifdef CONFIG_PPC64 +#include +#else +#include +#endif + +#endif /* _ASM_POWERPC_BOOK3S_PGALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/code-patching-asm.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/code-patching-asm.h index 85a72d69d4..ed7b144849 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/code-patching-asm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/code-patching-asm.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * Copyright 2018, Michael Ellerman, IBM Corporation. - */ -#ifndef _ASM_POWERPC_CODE_PATCHING_ASM_H -#define _ASM_POWERPC_CODE_PATCHING_ASM_H - -/* Define a "site" that can be patched */ -.macro patch_site label name - .pushsection ".rodata" - .balign 4 - .global \name -\name: - .4byte \label - . - .popsection -.endm - -#endif /* _ASM_POWERPC_CODE_PATCHING_ASM_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2018, Michael Ellerman, IBM Corporation. + */ +#ifndef _ASM_POWERPC_CODE_PATCHING_ASM_H +#define _ASM_POWERPC_CODE_PATCHING_ASM_H + +/* Define a "site" that can be patched */ +.macro patch_site label name + .pushsection ".rodata" + .balign 4 + .global \name +\name: + .4byte \label - . + .popsection +.endm + +#endif /* _ASM_POWERPC_CODE_PATCHING_ASM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/copro.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/copro.h index 9ee973dd48..fd2e166ea0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/copro.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/copro.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2014 IBM Corp. - */ - -#ifndef _ASM_POWERPC_COPRO_H -#define _ASM_POWERPC_COPRO_H - -#include - -struct copro_slb -{ - u64 esid, vsid; -}; - -int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, - unsigned long dsisr, vm_fault_t *flt); - -int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb); - - -#ifdef CONFIG_PPC_COPRO_BASE -void copro_flush_all_slbs(struct mm_struct *mm); -#else -static inline void copro_flush_all_slbs(struct mm_struct *mm) {} -#endif -#endif /* _ASM_POWERPC_COPRO_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2014 IBM Corp. + */ + +#ifndef _ASM_POWERPC_COPRO_H +#define _ASM_POWERPC_COPRO_H + +#include + +struct copro_slb +{ + u64 esid, vsid; +}; + +int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, + unsigned long dsisr, vm_fault_t *flt); + +int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb); + + +#ifdef CONFIG_PPC_COPRO_BASE +void copro_flush_all_slbs(struct mm_struct *mm); +#else +static inline void copro_flush_all_slbs(struct mm_struct *mm) {} +#endif +#endif /* _ASM_POWERPC_COPRO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/dma-direct.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/dma-direct.h index c96c0784a8..128304cbee 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/dma-direct.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/dma-direct.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_POWERPC_DMA_DIRECT_H -#define ASM_POWERPC_DMA_DIRECT_H 1 - -static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) -{ - return paddr + dev->archdata.dma_offset; -} - -static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) -{ - return daddr - dev->archdata.dma_offset; -} -#endif /* ASM_POWERPC_DMA_DIRECT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_POWERPC_DMA_DIRECT_H +#define ASM_POWERPC_DMA_DIRECT_H 1 + +static inline dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) +{ + return paddr + dev->archdata.dma_offset; +} + +static inline phys_addr_t dma_to_phys(struct device *dev, dma_addr_t daddr) +{ + return daddr - dev->archdata.dma_offset; +} +#endif /* ASM_POWERPC_DMA_DIRECT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/elfnote.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/elfnote.h index ed7c75cd7c..a201b6e9ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/elfnote.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/elfnote.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * PowerPC ELF notes. - * - * Copyright 2019, IBM Corporation - */ - -#ifndef __ASM_POWERPC_ELFNOTE_H__ -#define __ASM_POWERPC_ELFNOTE_H__ - -/* - * These note types should live in a SHT_NOTE segment and have - * "PowerPC" in the name field. - */ - -/* - * The capabilities supported/required by this kernel (bitmap). - * - * This type uses a bitmap as "desc" field. Each bit is described - * in arch/powerpc/kernel/note.S - */ -#define PPC_ELFNOTE_CAPABILITIES 1 - -#endif /* __ASM_POWERPC_ELFNOTE_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * PowerPC ELF notes. + * + * Copyright 2019, IBM Corporation + */ + +#ifndef __ASM_POWERPC_ELFNOTE_H__ +#define __ASM_POWERPC_ELFNOTE_H__ + +/* + * These note types should live in a SHT_NOTE segment and have + * "PowerPC" in the name field. + */ + +/* + * The capabilities supported/required by this kernel (bitmap). + * + * This type uses a bitmap as "desc" field. Each bit is described + * in arch/powerpc/kernel/note.S + */ +#define PPC_ELFNOTE_CAPABILITIES 1 + +#endif /* __ASM_POWERPC_ELFNOTE_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fpu.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fpu.h index 86ddb4fdab..ca584e4bc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fpu.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2023 SiFive - */ - -#ifndef _ASM_POWERPC_FPU_H -#define _ASM_POWERPC_FPU_H - -#include - -#include -#include - -#define kernel_fpu_available() (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) - -static inline void kernel_fpu_begin(void) -{ - preempt_disable(); - enable_kernel_fp(); -} - -static inline void kernel_fpu_end(void) -{ - disable_kernel_fp(); - preempt_enable(); -} - -#endif /* ! _ASM_POWERPC_FPU_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2023 SiFive + */ + +#ifndef _ASM_POWERPC_FPU_H +#define _ASM_POWERPC_FPU_H + +#include + +#include +#include + +#define kernel_fpu_available() (!cpu_has_feature(CPU_FTR_FPU_UNAVAILABLE)) + +static inline void kernel_fpu_begin(void) +{ + preempt_disable(); + enable_kernel_fp(); +} + +static inline void kernel_fpu_end(void) +{ + disable_kernel_fp(); + preempt_enable(); +} + +#endif /* ! _ASM_POWERPC_FPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fsl_pamu_stash.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fsl_pamu_stash.h index c6b9ffd05d..c0fbadb70b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fsl_pamu_stash.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/fsl_pamu_stash.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2013 Freescale Semiconductor, Inc. - */ - -#ifndef __FSL_PAMU_STASH_H -#define __FSL_PAMU_STASH_H - -struct iommu_domain; - -/* cache stash targets */ -enum pamu_stash_target { - PAMU_ATTR_CACHE_L1 = 1, - PAMU_ATTR_CACHE_L2, - PAMU_ATTR_CACHE_L3, -}; - -int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu); - -#endif /* __FSL_PAMU_STASH_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2013 Freescale Semiconductor, Inc. + */ + +#ifndef __FSL_PAMU_STASH_H +#define __FSL_PAMU_STASH_H + +struct iommu_domain; + +/* cache stash targets */ +enum pamu_stash_target { + PAMU_ATTR_CACHE_L1 = 1, + PAMU_ATTR_CACHE_L2, + PAMU_ATTR_CACHE_L3, +}; + +int fsl_pamu_configure_l1_stash(struct iommu_domain *domain, u32 cpu); + +#endif /* __FSL_PAMU_STASH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/i8259.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/i8259.h index 961d6efdeb..75481d363c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/i8259.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/i8259.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_I8259_H -#define _ASM_POWERPC_I8259_H -#ifdef __KERNEL__ - -#include - -extern void i8259_init(struct device_node *node, unsigned long intack_addr); -extern unsigned int i8259_irq(void); -struct irq_domain *__init i8259_get_host(void); - -#endif /* __KERNEL__ */ -#endif /* _ASM_POWERPC_I8259_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_I8259_H +#define _ASM_POWERPC_I8259_H +#ifdef __KERNEL__ + +#include + +extern void i8259_init(struct device_node *node, unsigned long intack_addr); +extern unsigned int i8259_irq(void); +struct irq_domain *__init i8259_get_host(void); + +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_I8259_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kvm_guest.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kvm_guest.h index 423c065571..68e499abdb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kvm_guest.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/kvm_guest.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 IBM Corporation - */ - -#ifndef _ASM_POWERPC_KVM_GUEST_H_ -#define _ASM_POWERPC_KVM_GUEST_H_ - -#if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_KVM_GUEST) -#include - -DECLARE_STATIC_KEY_FALSE(kvm_guest); - -static inline bool is_kvm_guest(void) -{ - return static_branch_unlikely(&kvm_guest); -} - -int __init check_kvm_guest(void); -#else -static inline bool is_kvm_guest(void) { return false; } -static inline int check_kvm_guest(void) { return 0; } -#endif - -#endif /* _ASM_POWERPC_KVM_GUEST_H_ */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 IBM Corporation + */ + +#ifndef _ASM_POWERPC_KVM_GUEST_H_ +#define _ASM_POWERPC_KVM_GUEST_H_ + +#if defined(CONFIG_PPC_PSERIES) || defined(CONFIG_KVM_GUEST) +#include + +DECLARE_STATIC_KEY_FALSE(kvm_guest); + +static inline bool is_kvm_guest(void) +{ + return static_branch_unlikely(&kvm_guest); +} + +int __init check_kvm_guest(void); +#else +static inline bool is_kvm_guest(void) { return false; } +static inline int check_kvm_guest(void) { return 0; } +#endif + +#endif /* _ASM_POWERPC_KVM_GUEST_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/linkage.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/linkage.h index a41219090c..b71b9582e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/linkage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/linkage.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_LINKAGE_H -#define _ASM_POWERPC_LINKAGE_H - -#include - -#ifdef CONFIG_PPC64_ELF_ABI_V1 -#define cond_syscall(x) \ - asm ("\t.weak " #x "\n\t.set " #x ", sys_ni_syscall\n" \ - "\t.weak ." #x "\n\t.set ." #x ", .sys_ni_syscall\n") -#define SYSCALL_ALIAS(alias, name) \ - asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \ - "\t.globl ." #alias "\n\t.set ." #alias ", ." #name) -#endif - -#endif /* _ASM_POWERPC_LINKAGE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_LINKAGE_H +#define _ASM_POWERPC_LINKAGE_H + +#include + +#ifdef CONFIG_PPC64_ELF_ABI_V1 +#define cond_syscall(x) \ + asm ("\t.weak " #x "\n\t.set " #x ", sys_ni_syscall\n" \ + "\t.weak ." #x "\n\t.set ." #x ", .sys_ni_syscall\n") +#define SYSCALL_ALIAS(alias, name) \ + asm ("\t.globl " #alias "\n\t.set " #alias ", " #name "\n" \ + "\t.globl ." #alias "\n\t.set ." #alias ", ." #name) +#endif + +#endif /* _ASM_POWERPC_LINKAGE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/livepatch.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/livepatch.h index ad9c521c1c..d044a1fd4f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/livepatch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/livepatch.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * livepatch.h - powerpc-specific Kernel Live Patching Core - * - * Copyright (C) 2015-2016, SUSE, IBM Corp. - */ -#ifndef _ASM_POWERPC_LIVEPATCH_H -#define _ASM_POWERPC_LIVEPATCH_H - -#include -#include - -#ifdef CONFIG_LIVEPATCH_64 -static inline void klp_init_thread_info(struct task_struct *p) -{ - /* + 1 to account for STACK_END_MAGIC */ - task_thread_info(p)->livepatch_sp = end_of_stack(p) + 1; -} -#else -static inline void klp_init_thread_info(struct task_struct *p) { } -#endif - -#endif /* _ASM_POWERPC_LIVEPATCH_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * livepatch.h - powerpc-specific Kernel Live Patching Core + * + * Copyright (C) 2015-2016, SUSE, IBM Corp. + */ +#ifndef _ASM_POWERPC_LIVEPATCH_H +#define _ASM_POWERPC_LIVEPATCH_H + +#include +#include + +#ifdef CONFIG_LIVEPATCH_64 +static inline void klp_init_thread_info(struct task_struct *p) +{ + /* + 1 to account for STACK_END_MAGIC */ + task_thread_info(p)->livepatch_sp = end_of_stack(p) + 1; +} +#else +static inline void klp_init_thread_info(struct task_struct *p) { } +#endif + +#endif /* _ASM_POWERPC_LIVEPATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mem_encrypt.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mem_encrypt.h index f36a460fbe..2f26b8fc8d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mem_encrypt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mem_encrypt.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * SVM helper functions - * - * Copyright 2018 IBM Corporation - */ - -#ifndef _ASM_POWERPC_MEM_ENCRYPT_H -#define _ASM_POWERPC_MEM_ENCRYPT_H - -#include - -static inline bool force_dma_unencrypted(struct device *dev) -{ - return is_secure_guest(); -} - -int set_memory_encrypted(unsigned long addr, int numpages); -int set_memory_decrypted(unsigned long addr, int numpages); - -#endif /* _ASM_POWERPC_MEM_ENCRYPT_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * SVM helper functions + * + * Copyright 2018 IBM Corporation + */ + +#ifndef _ASM_POWERPC_MEM_ENCRYPT_H +#define _ASM_POWERPC_MEM_ENCRYPT_H + +#include + +static inline bool force_dma_unencrypted(struct device *dev) +{ + return is_secure_guest(); +} + +int set_memory_encrypted(unsigned long addr, int numpages); +int set_memory_decrypted(unsigned long addr, int numpages); + +#endif /* _ASM_POWERPC_MEM_ENCRYPT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mmiowb.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mmiowb.h index 6722a332eb..74a00127eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mmiowb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mmiowb.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_MMIOWB_H -#define _ASM_POWERPC_MMIOWB_H - -#ifdef CONFIG_MMIOWB - -#include -#include -#include - -#define arch_mmiowb_state() (&local_paca->mmiowb_state) -#define mmiowb() mb() - -#endif /* CONFIG_MMIOWB */ - -#include - -#endif /* _ASM_POWERPC_MMIOWB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_MMIOWB_H +#define _ASM_POWERPC_MMIOWB_H + +#ifdef CONFIG_MMIOWB + +#include +#include +#include + +#define arch_mmiowb_state() (&local_paca->mmiowb_state) +#define mmiowb() mb() + +#endif /* CONFIG_MMIOWB */ + +#include + +#endif /* _ASM_POWERPC_MMIOWB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc5xxx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc5xxx.h index 15bfce1762..44db263804 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc5xxx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/mpc5xxx.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. - * - * Author: John Rigby, , Friday Apr 13 2007 - * - * Description: - * MPC5xxx Prototypes and definitions - */ - -#ifndef __ASM_POWERPC_MPC5xxx_H__ -#define __ASM_POWERPC_MPC5xxx_H__ - -#include - -unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode); - -static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev) -{ - return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); -} - -#endif /* __ASM_POWERPC_MPC5xxx_H__ */ - +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. + * + * Author: John Rigby, , Friday Apr 13 2007 + * + * Description: + * MPC5xxx Prototypes and definitions + */ + +#ifndef __ASM_POWERPC_MPC5xxx_H__ +#define __ASM_POWERPC_MPC5xxx_H__ + +#include + +unsigned long mpc5xxx_fwnode_get_bus_frequency(struct fwnode_handle *fwnode); + +static inline unsigned long mpc5xxx_get_bus_frequency(struct device *dev) +{ + return mpc5xxx_fwnode_get_bus_frequency(dev_fwnode(dev)); +} + +#endif /* __ASM_POWERPC_MPC5xxx_H__ */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nmi.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nmi.h index 17c0e42594..49a75340c3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nmi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nmi.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_NMI_H -#define _ASM_NMI_H - -#ifdef CONFIG_PPC_WATCHDOG -long soft_nmi_interrupt(struct pt_regs *regs); -void watchdog_hardlockup_set_timeout_pct(u64 pct); -#else -static inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} -#endif - -extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs); - -#endif /* _ASM_NMI_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_NMI_H +#define _ASM_NMI_H + +#ifdef CONFIG_PPC_WATCHDOG +long soft_nmi_interrupt(struct pt_regs *regs); +void watchdog_hardlockup_set_timeout_pct(u64 pct); +#else +static inline void watchdog_hardlockup_set_timeout_pct(u64 pct) {} +#endif + +extern void hv_nmi_check_nonrecoverable(struct pt_regs *regs); + +#endif /* _ASM_NMI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nohash/mmu.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nohash/mmu.h index 89617a6dba..4cc7950441 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nohash/mmu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/nohash/mmu.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_NOHASH_MMU_H_ -#define _ASM_POWERPC_NOHASH_MMU_H_ - -#if defined(CONFIG_44x) -/* 44x-style software loaded TLB */ -#include -#elif defined(CONFIG_PPC_E500) -/* Freescale Book-E software loaded TLB or Book-3e (ISA 2.06+) MMU */ -#include -#elif defined (CONFIG_PPC_8xx) -/* Motorola/Freescale 8xx software loaded TLB */ -#include -#endif - -#endif /* _ASM_POWERPC_NOHASH_MMU_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_NOHASH_MMU_H_ +#define _ASM_POWERPC_NOHASH_MMU_H_ + +#if defined(CONFIG_44x) +/* 44x-style software loaded TLB */ +#include +#elif defined(CONFIG_PPC_E500) +/* Freescale Book-E software loaded TLB or Book-3e (ISA 2.06+) MMU */ +#include +#elif defined (CONFIG_PPC_8xx) +/* Motorola/Freescale 8xx software loaded TLB */ +#include +#endif + +#endif /* _ASM_POWERPC_NOHASH_MMU_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/powernv.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/powernv.h index 0be77e9eb8..e1a8587187 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/powernv.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/powernv.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2017 IBM Corp. - */ - -#ifndef _ASM_POWERNV_H -#define _ASM_POWERNV_H - -#ifdef CONFIG_PPC_POWERNV -extern void powernv_set_nmmu_ptcr(unsigned long ptcr); - -void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val); - -void pnv_tm_init(void); -#else -static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { } - -static inline void pnv_tm_init(void) { } -#endif - -#endif /* _ASM_POWERNV_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2017 IBM Corp. + */ + +#ifndef _ASM_POWERNV_H +#define _ASM_POWERNV_H + +#ifdef CONFIG_PPC_POWERNV +extern void powernv_set_nmmu_ptcr(unsigned long ptcr); + +void pnv_program_cpu_hotplug_lpcr(unsigned int cpu, u64 lpcr_val); + +void pnv_tm_init(void); +#else +static inline void powernv_set_nmmu_ptcr(unsigned long ptcr) { } + +static inline void pnv_tm_init(void) { } +#endif + +#endif /* _ASM_POWERNV_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/rio.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/rio.h index 76da93aced..0e57cda2a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/rio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/rio.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * RapidIO architecture support - * - * Copyright 2005 MontaVista Software, Inc. - * Matt Porter - */ - -#ifndef ASM_PPC_RIO_H -#define ASM_PPC_RIO_H - -#ifdef CONFIG_FSL_RIO -extern int fsl_rio_mcheck_exception(struct pt_regs *); -#else -static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; } -#endif - -#endif /* ASM_PPC_RIO_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * RapidIO architecture support + * + * Copyright 2005 MontaVista Software, Inc. + * Matt Porter + */ + +#ifndef ASM_PPC_RIO_H +#define ASM_PPC_RIO_H + +#ifdef CONFIG_FSL_RIO +extern int fsl_rio_mcheck_exception(struct pt_regs *); +#else +static inline int fsl_rio_mcheck_exception(struct pt_regs *regs) {return 0; } +#endif + +#endif /* ASM_PPC_RIO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/secure_boot.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/secure_boot.h index 6aa0d6893a..a2ff556916 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/secure_boot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/secure_boot.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Secure boot definitions - * - * Copyright (C) 2019 IBM Corporation - * Author: Nayna Jain - */ -#ifndef _ASM_POWER_SECURE_BOOT_H -#define _ASM_POWER_SECURE_BOOT_H - -#ifdef CONFIG_PPC_SECURE_BOOT - -bool is_ppc_secureboot_enabled(void); -bool is_ppc_trustedboot_enabled(void); - -#else - -static inline bool is_ppc_secureboot_enabled(void) -{ - return false; -} - -static inline bool is_ppc_trustedboot_enabled(void) -{ - return false; -} - -#endif -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Secure boot definitions + * + * Copyright (C) 2019 IBM Corporation + * Author: Nayna Jain + */ +#ifndef _ASM_POWER_SECURE_BOOT_H +#define _ASM_POWER_SECURE_BOOT_H + +#ifdef CONFIG_PPC_SECURE_BOOT + +bool is_ppc_secureboot_enabled(void); +bool is_ppc_trustedboot_enabled(void); + +#else + +static inline bool is_ppc_secureboot_enabled(void) +{ + return false; +} + +static inline bool is_ppc_trustedboot_enabled(void) +{ + return false; +} + +#endif +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/serial.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/serial.h index 82ecb3399c..cd6c18d0e6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/serial.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/serial.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - */ -#ifndef _ASM_POWERPC_SERIAL_H -#define _ASM_POWERPC_SERIAL_H - -/* - * Serial ports are not listed here, because they are discovered - * through the device tree. - */ - -/* Default baud base if not found in device-tree */ -#define BASE_BAUD ( 1843200 / 16 ) - -#ifdef CONFIG_PPC_UDBG_16550 -extern void find_legacy_serial_ports(void); -#else -#define find_legacy_serial_ports() do { } while (0) -#endif - -#endif /* _PPC64_SERIAL_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + */ +#ifndef _ASM_POWERPC_SERIAL_H +#define _ASM_POWERPC_SERIAL_H + +/* + * Serial ports are not listed here, because they are discovered + * through the device tree. + */ + +/* Default baud base if not found in device-tree */ +#define BASE_BAUD ( 1843200 / 16 ) + +#ifdef CONFIG_PPC_UDBG_16550 +extern void find_legacy_serial_ports(void); +#else +#define find_legacy_serial_ports() do { } while (0) +#endif + +#endif /* _PPC64_SERIAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/setjmp.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/setjmp.h index 1e938a6b21..f798e80e41 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/setjmp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/setjmp.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright © 2008 Michael Neuling IBM Corporation - */ -#ifndef _ASM_POWERPC_SETJMP_H -#define _ASM_POWERPC_SETJMP_H - -#define JMP_BUF_LEN 23 - -typedef long jmp_buf[JMP_BUF_LEN]; - -extern int setjmp(jmp_buf env) __attribute__((returns_twice)); -extern void longjmp(jmp_buf env, int val) __attribute__((noreturn)); - -#endif /* _ASM_POWERPC_SETJMP_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright © 2008 Michael Neuling IBM Corporation + */ +#ifndef _ASM_POWERPC_SETJMP_H +#define _ASM_POWERPC_SETJMP_H + +#define JMP_BUF_LEN 23 + +typedef long jmp_buf[JMP_BUF_LEN]; + +extern int setjmp(jmp_buf env) __attribute__((returns_twice)); +extern void longjmp(jmp_buf env, int val) __attribute__((noreturn)); + +#endif /* _ASM_POWERPC_SETJMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/signal.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/signal.h index 94f4ac4ca1..922d43700f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/signal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/signal.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_SIGNAL_H -#define _ASM_POWERPC_SIGNAL_H - -#define __ARCH_HAS_SA_RESTORER -#include -#include - -struct pt_regs; -void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags); - -unsigned long get_min_sigframe_size_32(void); -unsigned long get_min_sigframe_size_64(void); -unsigned long get_min_sigframe_size(void); -unsigned long get_min_sigframe_size_compat(void); - -#endif /* _ASM_POWERPC_SIGNAL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_SIGNAL_H +#define _ASM_POWERPC_SIGNAL_H + +#define __ARCH_HAS_SA_RESTORER +#include +#include + +struct pt_regs; +void do_notify_resume(struct pt_regs *regs, unsigned long thread_info_flags); + +unsigned long get_min_sigframe_size_32(void); +unsigned long get_min_sigframe_size_64(void); +unsigned long get_min_sigframe_size(void); +unsigned long get_min_sigframe_size_compat(void); + +#endif /* _ASM_POWERPC_SIGNAL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/simple_spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/simple_spinlock_types.h index 15facc42ed..0824333806 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/simple_spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/simple_spinlock_types.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H -#define _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -typedef struct { - volatile unsigned int slock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } - -typedef struct { - volatile signed int lock; -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED { 0 } - -#endif /* _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H +#define _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +typedef struct { + volatile unsigned int slock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { 0 } + +typedef struct { + volatile signed int lock; +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED { 0 } + +#endif /* _ASM_POWERPC_SIMPLE_SPINLOCK_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock.h index ff23d395b7..7dafca8e3f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H -#ifdef __KERNEL__ - -#ifdef CONFIG_PPC_QUEUED_SPINLOCKS -#include -#include -#else -#include -#endif - -/* See include/linux/spinlock.h */ -#define smp_mb__after_spinlock() smp_mb() - -#ifndef CONFIG_PPC_QUEUED_SPINLOCKS -static inline void pv_spinlocks_init(void) { } -#endif - -#endif /* __KERNEL__ */ -#endif /* __ASM_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_SPINLOCK_H +#define __ASM_SPINLOCK_H +#ifdef __KERNEL__ + +#ifdef CONFIG_PPC_QUEUED_SPINLOCKS +#include +#include +#else +#include +#endif + +/* See include/linux/spinlock.h */ +#define smp_mb__after_spinlock() smp_mb() + +#ifndef CONFIG_PPC_QUEUED_SPINLOCKS +static inline void pv_spinlocks_init(void) { } +#endif + +#endif /* __KERNEL__ */ +#endif /* __ASM_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock_types.h index 4756efe190..40b01446cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/spinlock_types.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_SPINLOCK_TYPES_H -#define _ASM_POWERPC_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -#ifdef CONFIG_PPC_QUEUED_SPINLOCKS -#include -#include -#else -#include -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_SPINLOCK_TYPES_H +#define _ASM_POWERPC_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +#ifdef CONFIG_PPC_QUEUED_SPINLOCKS +#include +#include +#else +#include +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stackprotector.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stackprotector.h index b3e0c7b9c2..283c346478 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stackprotector.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/stackprotector.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * GCC stack protector support. - * - */ - -#ifndef _ASM_STACKPROTECTOR_H -#define _ASM_STACKPROTECTOR_H - -#include -#include -#include - -/* - * Initialize the stackprotector canary value. - * - * NOTE: this must only be called from functions that never return, - * and it must always be inlined. - */ -static __always_inline void boot_init_stack_canary(void) -{ - unsigned long canary = get_random_canary(); - - current->stack_canary = canary; -#ifdef CONFIG_PPC64 - get_paca()->canary = canary; -#endif -} - -#endif /* _ASM_STACKPROTECTOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * GCC stack protector support. + * + */ + +#ifndef _ASM_STACKPROTECTOR_H +#define _ASM_STACKPROTECTOR_H + +#include +#include +#include + +/* + * Initialize the stackprotector canary value. + * + * NOTE: this must only be called from functions that never return, + * and it must always be inlined. + */ +static __always_inline void boot_init_stack_canary(void) +{ + unsigned long canary = get_random_canary(); + + current->stack_canary = canary; +#ifdef CONFIG_PPC64 + get_paca()->canary = canary; +#endif +} + +#endif /* _ASM_STACKPROTECTOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/svm.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/svm.h index dbf3c28b8e..a02bd54b89 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/svm.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/svm.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* - * SVM helper functions - * - * Copyright 2018 Anshuman Khandual, IBM Corporation. - */ - -#ifndef _ASM_POWERPC_SVM_H -#define _ASM_POWERPC_SVM_H - -#ifdef CONFIG_PPC_SVM - -#include - -static inline bool is_secure_guest(void) -{ - return mfmsr() & MSR_S; -} - -void dtl_cache_ctor(void *addr); -#define get_dtl_cache_ctor() (is_secure_guest() ? dtl_cache_ctor : NULL) - -#else /* CONFIG_PPC_SVM */ - -static inline bool is_secure_guest(void) -{ - return false; -} - -#define get_dtl_cache_ctor() NULL - -#endif /* CONFIG_PPC_SVM */ -#endif /* _ASM_POWERPC_SVM_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * SVM helper functions + * + * Copyright 2018 Anshuman Khandual, IBM Corporation. + */ + +#ifndef _ASM_POWERPC_SVM_H +#define _ASM_POWERPC_SVM_H + +#ifdef CONFIG_PPC_SVM + +#include + +static inline bool is_secure_guest(void) +{ + return mfmsr() & MSR_S; +} + +void dtl_cache_ctor(void *addr); +#define get_dtl_cache_ctor() (is_secure_guest() ? dtl_cache_ctor : NULL) + +#else /* CONFIG_PPC_SVM */ + +static inline bool is_secure_guest(void) +{ + return false; +} + +#define get_dtl_cache_ctor() NULL + +#endif /* CONFIG_PPC_SVM */ +#endif /* _ASM_POWERPC_SVM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swiotlb.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swiotlb.h index c88deda463..4203b5e0a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swiotlb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/swiotlb.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor - */ - -#ifndef __ASM_SWIOTLB_H -#define __ASM_SWIOTLB_H - -#include - -extern unsigned int ppc_swiotlb_enable; -extern unsigned int ppc_swiotlb_flags; - -#ifdef CONFIG_SWIOTLB -void swiotlb_detect_4g(void); -#else -static inline void swiotlb_detect_4g(void) {} -#endif - -#endif /* __ASM_SWIOTLB_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2009 Becky Bruce, Freescale Semiconductor + */ + +#ifndef __ASM_SWIOTLB_H +#define __ASM_SWIOTLB_H + +#include + +extern unsigned int ppc_swiotlb_enable; +extern unsigned int ppc_swiotlb_flags; + +#ifdef CONFIG_SWIOTLB +void swiotlb_detect_4g(void); +#else +static inline void swiotlb_detect_4g(void) {} +#endif + +#endif /* __ASM_SWIOTLB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/task_size_32.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/task_size_32.h index f822f918a0..de7290ee77 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/task_size_32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/task_size_32.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_TASK_SIZE_32_H -#define _ASM_POWERPC_TASK_SIZE_32_H - -#if CONFIG_TASK_SIZE > CONFIG_KERNEL_START -#error User TASK_SIZE overlaps with KERNEL_START address -#endif - -#define TASK_SIZE (CONFIG_TASK_SIZE) - -/* - * This decides where the kernel will search for a free chunk of vm space during - * mmap's. - */ -#define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) - -#define DEFAULT_MAP_WINDOW TASK_SIZE -#define STACK_TOP TASK_SIZE -#define STACK_TOP_MAX STACK_TOP - -#endif /* _ASM_POWERPC_TASK_SIZE_32_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_TASK_SIZE_32_H +#define _ASM_POWERPC_TASK_SIZE_32_H + +#if CONFIG_TASK_SIZE > CONFIG_KERNEL_START +#error User TASK_SIZE overlaps with KERNEL_START address +#endif + +#define TASK_SIZE (CONFIG_TASK_SIZE) + +/* + * This decides where the kernel will search for a free chunk of vm space during + * mmap's. + */ +#define TASK_UNMAPPED_BASE (TASK_SIZE / 8 * 3) + +#define DEFAULT_MAP_WINDOW TASK_SIZE +#define STACK_TOP TASK_SIZE +#define STACK_TOP_MAX STACK_TOP + +#endif /* _ASM_POWERPC_TASK_SIZE_32_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/timex.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/timex.h index 4d52311f8c..14b4489de5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/timex.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/timex.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_POWERPC_TIMEX_H -#define _ASM_POWERPC_TIMEX_H - -#ifdef __KERNEL__ - -/* - * PowerPC architecture timex specifications - */ - -#include -#include - -#define CLOCK_TICK_RATE 1024000 /* Underlying HZ */ - -typedef unsigned long cycles_t; - -static inline cycles_t get_cycles(void) -{ - return mftb(); -} -#define get_cycles get_cycles - -#endif /* __KERNEL__ */ -#endif /* _ASM_POWERPC_TIMEX_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_POWERPC_TIMEX_H +#define _ASM_POWERPC_TIMEX_H + +#ifdef __KERNEL__ + +/* + * PowerPC architecture timex specifications + */ + +#include +#include + +#define CLOCK_TICK_RATE 1024000 /* Underlying HZ */ + +typedef unsigned long cycles_t; + +static inline cycles_t get_cycles(void) +{ + return mftb(); +} +#define get_cycles get_cycles + +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_TIMEX_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/trace_clock.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/trace_clock.h index 883f6043c1..ef70c2f797 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/trace_clock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/trace_clock.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * - * Copyright (C) 2015 Naveen N. Rao, IBM Corporation - */ - -#ifndef _ASM_PPC_TRACE_CLOCK_H -#define _ASM_PPC_TRACE_CLOCK_H - -#include -#include - -extern u64 notrace trace_clock_ppc_tb(void); - -#define ARCH_TRACE_CLOCKS { trace_clock_ppc_tb, "ppc-tb", 0 }, - -#endif /* _ASM_PPC_TRACE_CLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * + * Copyright (C) 2015 Naveen N. Rao, IBM Corporation + */ + +#ifndef _ASM_PPC_TRACE_CLOCK_H +#define _ASM_PPC_TRACE_CLOCK_H + +#include +#include + +extern u64 notrace trace_clock_ppc_tb(void); + +#define ARCH_TRACE_CLOCKS { trace_clock_ppc_tb, "ppc-tb", 0 }, + +#endif /* _ASM_PPC_TRACE_CLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/types.h index 3942dc3dc4..93157a661d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/types.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * This file is never included by application software unless - * explicitly requested (e.g., via linux/types.h) in which case the - * application is Linux specific so (user-) name space pollution is - * not a major issue. However, for interoperability, libraries still - * need to be careful to avoid a name clashes. - */ -#ifndef _ASM_POWERPC_TYPES_H -#define _ASM_POWERPC_TYPES_H - -#include - -#ifndef __ASSEMBLY__ - -typedef __vector128 vector128; - -#endif /* __ASSEMBLY__ */ - -#endif /* _ASM_POWERPC_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * This file is never included by application software unless + * explicitly requested (e.g., via linux/types.h) in which case the + * application is Linux specific so (user-) name space pollution is + * not a major issue. However, for interoperability, libraries still + * need to be careful to avoid a name clashes. + */ +#ifndef _ASM_POWERPC_TYPES_H +#define _ASM_POWERPC_TYPES_H + +#include + +#ifndef __ASSEMBLY__ + +typedef __vector128 vector128; + +#endif /* __ASSEMBLY__ */ + +#endif /* _ASM_POWERPC_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/uic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/uic.h index 2dfc832724..7b7bd15b1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/uic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/uic.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * IBM PPC4xx UIC external definitions and structure. - * - * Maintainer: David Gibson - * Copyright 2007 IBM Corporation. - */ -#ifndef _ASM_POWERPC_UIC_H -#define _ASM_POWERPC_UIC_H - -#ifdef __KERNEL__ - -extern void __init uic_init_tree(void); -extern unsigned int uic_get_irq(void); - -#endif /* __KERNEL__ */ -#endif /* _ASM_POWERPC_UIC_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * IBM PPC4xx UIC external definitions and structure. + * + * Maintainer: David Gibson + * Copyright 2007 IBM Corporation. + */ +#ifndef _ASM_POWERPC_UIC_H +#define _ASM_POWERPC_UIC_H + +#ifdef __KERNEL__ + +extern void __init uic_init_tree(void); +extern unsigned int uic_get_irq(void); + +#endif /* __KERNEL__ */ +#endif /* _ASM_POWERPC_UIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vermagic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vermagic.h index 9e3d159df0..6f250fe506 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vermagic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vermagic.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_VERMAGIC_H -#define _ASM_VERMAGIC_H - -#ifdef CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY -#define MODULE_ARCH_VERMAGIC_FTRACE "patchable-function-entry " -#elif defined(CONFIG_MPROFILE_KERNEL) -#define MODULE_ARCH_VERMAGIC_FTRACE "mprofile-kernel " -#else -#define MODULE_ARCH_VERMAGIC_FTRACE "" -#endif - -#ifdef CONFIG_RELOCATABLE -#define MODULE_ARCH_VERMAGIC_RELOCATABLE "relocatable " -#else -#define MODULE_ARCH_VERMAGIC_RELOCATABLE "" -#endif - -#define MODULE_ARCH_VERMAGIC \ - MODULE_ARCH_VERMAGIC_FTRACE MODULE_ARCH_VERMAGIC_RELOCATABLE - -#endif /* _ASM_VERMAGIC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_VERMAGIC_H +#define _ASM_VERMAGIC_H + +#ifdef CONFIG_ARCH_USING_PATCHABLE_FUNCTION_ENTRY +#define MODULE_ARCH_VERMAGIC_FTRACE "patchable-function-entry " +#elif defined(CONFIG_MPROFILE_KERNEL) +#define MODULE_ARCH_VERMAGIC_FTRACE "mprofile-kernel " +#else +#define MODULE_ARCH_VERMAGIC_FTRACE "" +#endif + +#ifdef CONFIG_RELOCATABLE +#define MODULE_ARCH_VERMAGIC_RELOCATABLE "relocatable " +#else +#define MODULE_ARCH_VERMAGIC_RELOCATABLE "" +#endif + +#define MODULE_ARCH_VERMAGIC \ + MODULE_ARCH_VERMAGIC_FTRACE MODULE_ARCH_VERMAGIC_RELOCATABLE + +#endif /* _ASM_VERMAGIC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/video.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/video.h index 07682e86ba..e1770114ff 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/video.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/video.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_VIDEO_H_ -#define _ASM_VIDEO_H_ - -#include - -static inline pgprot_t pgprot_framebuffer(pgprot_t prot, - unsigned long vm_start, unsigned long vm_end, - unsigned long offset) -{ - return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot); -} -#define pgprot_framebuffer pgprot_framebuffer - -#include - -#endif /* _ASM_VIDEO_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_VIDEO_H_ +#define _ASM_VIDEO_H_ + +#include + +static inline pgprot_t pgprot_framebuffer(pgprot_t prot, + unsigned long vm_start, unsigned long vm_end, + unsigned long offset) +{ + return __phys_mem_access_prot(PHYS_PFN(offset), vm_end - vm_start, prot); +} +#define pgprot_framebuffer pgprot_framebuffer + +#include + +#endif /* _ASM_VIDEO_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vmalloc.h index d85285eb35..59ed89890c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/asm/vmalloc.h @@ -1,24 +1,24 @@ -#ifndef _ASM_POWERPC_VMALLOC_H -#define _ASM_POWERPC_VMALLOC_H - -#include -#include - -#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP - -#define arch_vmap_pud_supported arch_vmap_pud_supported -static __always_inline bool arch_vmap_pud_supported(pgprot_t prot) -{ - /* HPT does not cope with large pages in the vmalloc area */ - return radix_enabled(); -} - -#define arch_vmap_pmd_supported arch_vmap_pmd_supported -static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot) -{ - return radix_enabled(); -} - -#endif - -#endif /* _ASM_POWERPC_VMALLOC_H */ +#ifndef _ASM_POWERPC_VMALLOC_H +#define _ASM_POWERPC_VMALLOC_H + +#include +#include + +#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP + +#define arch_vmap_pud_supported arch_vmap_pud_supported +static __always_inline bool arch_vmap_pud_supported(pgprot_t prot) +{ + /* HPT does not cope with large pages in the vmalloc area */ + return radix_enabled(); +} + +#define arch_vmap_pmd_supported arch_vmap_pmd_supported +static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot) +{ + return radix_enabled(); +} + +#endif + +#endif /* _ASM_POWERPC_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/byteorder.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/byteorder.h index ef5bbc9ca9..8ef66f7d9d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/byteorder.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/byteorder.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_BYTEORDER_H -#define _ASM_POWERPC_BYTEORDER_H - -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ -#ifdef __LITTLE_ENDIAN__ -#include -#else -#include -#endif - -#endif /* _ASM_POWERPC_BYTEORDER_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_BYTEORDER_H +#define _ASM_POWERPC_BYTEORDER_H + +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifdef __LITTLE_ENDIAN__ +#include +#else +#include +#endif + +#endif /* _ASM_POWERPC_BYTEORDER_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/fcntl.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/fcntl.h index f45ed4f37f..65ce08322a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/fcntl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/fcntl.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_FCNTL_H -#define _ASM_FCNTL_H - -#define O_DIRECTORY 040000 /* must be a directory */ -#define O_NOFOLLOW 0100000 /* don't follow links */ -#define O_LARGEFILE 0200000 -#define O_DIRECT 0400000 /* direct disk access hint */ - -#include - -#endif /* _ASM_FCNTL_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_FCNTL_H +#define _ASM_FCNTL_H + +#define O_DIRECTORY 040000 /* must be a directory */ +#define O_NOFOLLOW 0100000 /* don't follow links */ +#define O_LARGEFILE 0200000 +#define O_DIRECT 0400000 /* direct disk access hint */ + +#include + +#endif /* _ASM_FCNTL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-vpd.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-vpd.h index 775a277c0b..1c88e87cb4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-vpd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/papr-vpd.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPI_PAPR_VPD_H_ -#define _UAPI_PAPR_VPD_H_ - -#include -#include - -struct papr_location_code { - /* - * PAPR+ v2.13 12.3.2.4 Converged Location Code Rules - Length - * Restrictions. 79 characters plus nul. - */ - char str[80]; -}; - -/* - * ioctl for /dev/papr-vpd. Returns a VPD handle fd corresponding to - * the location code. - */ -#define PAPR_VPD_IOC_CREATE_HANDLE _IOW(PAPR_MISCDEV_IOC_ID, 0, struct papr_location_code) - -#endif /* _UAPI_PAPR_VPD_H_ */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPI_PAPR_VPD_H_ +#define _UAPI_PAPR_VPD_H_ + +#include +#include + +struct papr_location_code { + /* + * PAPR+ v2.13 12.3.2.4 Converged Location Code Rules - Length + * Restrictions. 79 characters plus nul. + */ + char str[80]; +}; + +/* + * ioctl for /dev/papr-vpd. Returns a VPD handle fd corresponding to + * the location code. + */ +#define PAPR_VPD_IOC_CREATE_HANDLE _IOW(PAPR_MISCDEV_IOC_ID, 0, struct papr_location_code) + +#endif /* _UAPI_PAPR_VPD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/perf_event.h index 43b82b30cd..ce488e48db 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/perf_event.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright 2013 Michael Ellerman, IBM Corp. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; version 2 of the - * License. - */ - -#ifndef _UAPI_ASM_POWERPC_PERF_EVENT_H -#define _UAPI_ASM_POWERPC_PERF_EVENT_H - -/* - * We use bit 63 of perf_event_attr.config as a flag to request EBB. - */ -#define PERF_EVENT_CONFIG_EBB_SHIFT 63 - -#endif /* _UAPI_ASM_POWERPC_PERF_EVENT_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright 2013 Michael Ellerman, IBM Corp. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; version 2 of the + * License. + */ + +#ifndef _UAPI_ASM_POWERPC_PERF_EVENT_H +#define _UAPI_ASM_POWERPC_PERF_EVENT_H + +/* + * We use bit 63 of perf_event_attr.config as a flag to request EBB. + */ +#define PERF_EVENT_CONFIG_EBB_SHIFT 63 + +#endif /* _UAPI_ASM_POWERPC_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/posix_types.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/posix_types.h index 17daad7f6b..9c03423125 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/posix_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/posix_types.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_POSIX_TYPES_H -#define _ASM_POWERPC_POSIX_TYPES_H - -/* - * This file is generally used by user-level software, so you need to - * be a little careful about namespace pollution etc. Also, we cannot - * assume GCC is being used. - */ - -#ifdef __powerpc64__ -typedef unsigned long __kernel_old_dev_t; -#define __kernel_old_dev_t __kernel_old_dev_t -#else -typedef short __kernel_ipc_pid_t; -#define __kernel_ipc_pid_t __kernel_ipc_pid_t -#endif - -#include - -#endif /* _ASM_POWERPC_POSIX_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_POSIX_TYPES_H +#define _ASM_POWERPC_POSIX_TYPES_H + +/* + * This file is generally used by user-level software, so you need to + * be a little careful about namespace pollution etc. Also, we cannot + * assume GCC is being used. + */ + +#ifdef __powerpc64__ +typedef unsigned long __kernel_old_dev_t; +#define __kernel_old_dev_t __kernel_old_dev_t +#else +typedef short __kernel_ipc_pid_t; +#define __kernel_ipc_pid_t __kernel_ipc_pid_t +#endif + +#include + +#endif /* _ASM_POWERPC_POSIX_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/socket.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/socket.h index 7fc5ec018f..12aa0c43e7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/socket.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/socket.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -#ifndef _ASM_POWERPC_SOCKET_H -#define _ASM_POWERPC_SOCKET_H - -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ - -#define SO_RCVLOWAT 16 -#define SO_SNDLOWAT 17 -#define SO_RCVTIMEO_OLD 18 -#define SO_SNDTIMEO_OLD 19 -#define SO_PASSCRED 20 -#define SO_PEERCRED 21 - -#include - -#endif /* _ASM_POWERPC_SOCKET_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +#ifndef _ASM_POWERPC_SOCKET_H +#define _ASM_POWERPC_SOCKET_H + +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ + +#define SO_RCVLOWAT 16 +#define SO_SNDLOWAT 17 +#define SO_RCVTIMEO_OLD 18 +#define SO_SNDTIMEO_OLD 19 +#define SO_PASSCRED 20 +#define SO_PEERCRED 21 + +#include + +#endif /* _ASM_POWERPC_SOCKET_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/swab.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/swab.h index feaaf9af8a..17b16c44d2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/swab.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/swab.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ -#ifndef _UAPI_ASM_POWERPC_SWAB_H -#define _UAPI_ASM_POWERPC_SWAB_H - - -#include -#include - -#ifdef __GNUC__ - -#ifndef __powerpc64__ -#define __SWAB_64_THRU_32__ -#endif /* __powerpc64__ */ - - -#endif /* __GNUC__ */ - -#endif /* _UAPI_ASM_POWERPC_SWAB_H */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef _UAPI_ASM_POWERPC_SWAB_H +#define _UAPI_ASM_POWERPC_SWAB_H + + +#include +#include + +#ifdef __GNUC__ + +#ifndef __powerpc64__ +#define __SWAB_64_THRU_32__ +#endif /* __powerpc64__ */ + + +#endif /* __GNUC__ */ + +#endif /* _UAPI_ASM_POWERPC_SWAB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/unistd.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/unistd.h index 39e19f7848..5f84e3dc98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/unistd.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/include/uapi/asm/unistd.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ -/* - * This file contains the system call numbers. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - */ -#ifndef _UAPI_ASM_POWERPC_UNISTD_H_ -#define _UAPI_ASM_POWERPC_UNISTD_H_ - -#ifndef __powerpc64__ -#include -#else -#include -#endif - -#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ +/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ +/* + * This file contains the system call numbers. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version + * 2 of the License, or (at your option) any later version. + */ +#ifndef _UAPI_ASM_POWERPC_UNISTD_H_ +#define _UAPI_ASM_POWERPC_UNISTD_H_ + +#ifndef __powerpc64__ +#include +#else +#include +#endif + +#endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cacheinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cacheinfo.h index 3e0c8f547f..52bd3fc664 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cacheinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cacheinfo.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _PPC_CACHEINFO_H -#define _PPC_CACHEINFO_H - -/* These are just hooks for sysfs.c to use. */ -extern void cacheinfo_cpu_online(unsigned int cpu_id); -extern void cacheinfo_cpu_offline(unsigned int cpu_id); - -/* Allow migration/suspend to tear down and rebuild the hierarchy. */ -extern void cacheinfo_teardown(void); -extern void cacheinfo_rebuild(void); - -#endif /* _PPC_CACHEINFO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _PPC_CACHEINFO_H +#define _PPC_CACHEINFO_H + +/* These are just hooks for sysfs.c to use. */ +extern void cacheinfo_cpu_online(unsigned int cpu_id); +extern void cacheinfo_cpu_offline(unsigned int cpu_id); + +/* Allow migration/suspend to tear down and rebuild the hierarchy. */ +extern void cacheinfo_teardown(void); +extern void cacheinfo_rebuild(void); + +#endif /* _PPC_CACHEINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_setup_pa6t.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_setup_pa6t.S index ac565a4567..e6bfd4490e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_setup_pa6t.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_setup_pa6t.S @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2006-2007 PA Semi, Inc - * - * Maintained by: Olof Johansson - */ - -#include -#include -#include -#include -#include -#include - -/* Right now, restore and setup are the same thing */ -_GLOBAL(__restore_cpu_pa6t) -_GLOBAL(__setup_cpu_pa6t) - /* Do nothing if not running in HV mode */ - mfmsr r0 - rldicl. r0,r0,4,63 - beqlr - - mfspr r0,SPRN_HID5 - ori r0,r0,0x38 - mtspr SPRN_HID5,r0 - - mfspr r0,SPRN_LPCR - ori r0,r0,0x7000 - mtspr SPRN_LPCR,r0 - - blr +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2006-2007 PA Semi, Inc + * + * Maintained by: Olof Johansson + */ + +#include +#include +#include +#include +#include +#include + +/* Right now, restore and setup are the same thing */ +_GLOBAL(__restore_cpu_pa6t) +_GLOBAL(__setup_cpu_pa6t) + /* Do nothing if not running in HV mode */ + mfmsr r0 + rldicl. r0,r0,4,63 + beqlr + + mfspr r0,SPRN_HID5 + ori r0,r0,0x38 + mtspr SPRN_HID5,r0 + + mfspr r0,SPRN_LPCR + ori r0,r0,0x7000 + mtspr SPRN_LPCR,r0 + + blr diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs.h index cd5a746642..5ea14605bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ - -#ifdef CONFIG_PPC_47x -#include "cpu_specs_47x.h" -#elif defined(CONFIG_44x) -#include "cpu_specs_44x.h" -#endif - -#ifdef CONFIG_PPC_8xx -#include "cpu_specs_8xx.h" -#endif - -#ifdef CONFIG_PPC_E500MC -#include "cpu_specs_e500mc.h" -#elif defined(CONFIG_PPC_85xx) -#include "cpu_specs_85xx.h" -#endif - -#ifdef CONFIG_PPC_BOOK3S_32 -#include "cpu_specs_book3s_32.h" -#endif - -#ifdef CONFIG_PPC_BOOK3S_64 -#include "cpu_specs_book3s_64.h" -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ + +#ifdef CONFIG_PPC_47x +#include "cpu_specs_47x.h" +#elif defined(CONFIG_44x) +#include "cpu_specs_44x.h" +#endif + +#ifdef CONFIG_PPC_8xx +#include "cpu_specs_8xx.h" +#endif + +#ifdef CONFIG_PPC_E500MC +#include "cpu_specs_e500mc.h" +#elif defined(CONFIG_PPC_85xx) +#include "cpu_specs_85xx.h" +#endif + +#ifdef CONFIG_PPC_BOOK3S_32 +#include "cpu_specs_book3s_32.h" +#endif + +#ifdef CONFIG_PPC_BOOK3S_64 +#include "cpu_specs_book3s_64.h" +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs_8xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs_8xx.h index bf4c41cba8..93ddbc202b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs_8xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/cpu_specs_8xx.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org) - */ - -static struct cpu_spec cpu_specs[] __initdata = { - { /* 8xx */ - .pvr_mask = 0xffff0000, - .pvr_value = PVR_8xx, - .cpu_name = "8xx", - /* - * CPU_FTR_MAYBE_CAN_DOZE is possible, - * if the 8xx code is there.... - */ - .cpu_features = CPU_FTRS_8XX, - .cpu_user_features = PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU, - .mmu_features = MMU_FTR_TYPE_8xx, - .icache_bsize = 16, - .dcache_bsize = 16, - .machine_check = machine_check_8xx, - .platform = "ppc823", - }, -}; +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org) + */ + +static struct cpu_spec cpu_specs[] __initdata = { + { /* 8xx */ + .pvr_mask = 0xffff0000, + .pvr_value = PVR_8xx, + .cpu_name = "8xx", + /* + * CPU_FTR_MAYBE_CAN_DOZE is possible, + * if the 8xx code is there.... + */ + .cpu_features = CPU_FTRS_8XX, + .cpu_user_features = PPC_FEATURE_32 | PPC_FEATURE_HAS_MMU, + .mmu_features = MMU_FTR_TYPE_8xx, + .icache_bsize = 16, + .dcache_bsize = 16, + .machine_check = machine_check_8xx, + .platform = "ppc823", + }, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/jump_label.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/jump_label.c index 91bcc11fd3..5277cf582c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/jump_label.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/jump_label.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2010 Michael Ellerman, IBM Corp. - */ - -#include -#include -#include -#include - -void arch_jump_label_transform(struct jump_entry *entry, - enum jump_label_type type) -{ - u32 *addr = (u32 *)jump_entry_code(entry); - - if (type == JUMP_LABEL_JMP) - patch_branch(addr, jump_entry_target(entry), 0); - else - patch_instruction(addr, ppc_inst(PPC_RAW_NOP())); -} +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * Copyright 2010 Michael Ellerman, IBM Corp. + */ + +#include +#include +#include +#include + +void arch_jump_label_transform(struct jump_entry *entry, + enum jump_label_type type) +{ + u32 *addr = (u32 *)jump_entry_code(entry); + + if (type == JUMP_LABEL_JMP) + patch_branch(addr, jump_entry_target(entry), 0); + else + patch_instruction(addr, ppc_inst(PPC_RAW_NOP())); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ptrace/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ptrace/Makefile index e3862a7e5a..77abd1a5a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ptrace/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/ptrace/Makefile @@ -1,21 +1,21 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' - -obj-y += ptrace.o ptrace-view.o -obj-y += ptrace-fpu.o -obj-$(CONFIG_COMPAT) += ptrace32.o -obj-$(CONFIG_VSX) += ptrace-vsx.o -ifneq ($(CONFIG_VSX),y) -obj-y += ptrace-novsx.o -endif -obj-$(CONFIG_ALTIVEC) += ptrace-altivec.o -obj-$(CONFIG_SPE) += ptrace-spe.o -obj-$(CONFIG_PPC_TRANSACTIONAL_MEM) += ptrace-tm.o -obj-$(CONFIG_PPC_ADV_DEBUG_REGS) += ptrace-adv.o -ifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y) -obj-y += ptrace-noadv.o -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +CFLAGS_ptrace-view.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' + +obj-y += ptrace.o ptrace-view.o +obj-y += ptrace-fpu.o +obj-$(CONFIG_COMPAT) += ptrace32.o +obj-$(CONFIG_VSX) += ptrace-vsx.o +ifneq ($(CONFIG_VSX),y) +obj-y += ptrace-novsx.o +endif +obj-$(CONFIG_ALTIVEC) += ptrace-altivec.o +obj-$(CONFIG_SPE) += ptrace-spe.o +obj-$(CONFIG_PPC_TRANSACTIONAL_MEM) += ptrace-tm.o +obj-$(CONFIG_PPC_ADV_DEBUG_REGS) += ptrace-adv.o +ifneq ($(CONFIG_PPC_ADV_DEBUG_REGS),y) +obj-y += ptrace-noadv.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/secvar-ops.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/secvar-ops.c index 51b00fe7f9..19172a2804 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/secvar-ops.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/secvar-ops.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2019 IBM Corporation - * Author: Nayna Jain - * - * This file initializes secvar operations for PowerPC Secureboot - */ - -#include -#include -#include - -const struct secvar_operations *secvar_ops __ro_after_init = NULL; - -int set_secvar_ops(const struct secvar_operations *ops) -{ - if (WARN_ON_ONCE(secvar_ops)) - return -EBUSY; - - secvar_ops = ops; - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 IBM Corporation + * Author: Nayna Jain + * + * This file initializes secvar operations for PowerPC Secureboot + */ + +#include +#include +#include + +const struct secvar_operations *secvar_ops __ro_after_init = NULL; + +int set_secvar_ops(const struct secvar_operations *ops) +{ + if (WARN_ON_ONCE(secvar_ops)) + return -EBUSY; + + secvar_ops = ops; + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/suspend.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/suspend.c index 72c3f2f1b6..b84992c108 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/suspend.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/suspend.c @@ -1,23 +1,23 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Suspend support specific for power. - * - * Copyright (c) 2002 Pavel Machek - * Copyright (c) 2001 Patrick Mochel - */ - -#include -#include -#include -#include - -/* - * pfn_is_nosave - check if given pfn is in the 'nosave' section - */ - -int pfn_is_nosave(unsigned long pfn) -{ - unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; - unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; - return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Suspend support specific for power. + * + * Copyright (c) 2002 Pavel Machek + * Copyright (c) 2001 Patrick Mochel + */ + +#include +#include +#include +#include + +/* + * pfn_is_nosave - check if given pfn is in the 'nosave' section + */ + +int pfn_is_nosave(unsigned long pfn) +{ + unsigned long nosave_begin_pfn = __pa(&__nosave_begin) >> PAGE_SHIFT; + unsigned long nosave_end_pfn = PAGE_ALIGN(__pa(&__nosave_end)) >> PAGE_SHIFT; + return (pfn >= nosave_begin_pfn) && (pfn < nosave_end_pfn); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/swsusp_64.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/swsusp_64.c index 6a2868906c..50fa8fc9ef 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/swsusp_64.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/swsusp_64.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * PowerPC 64-bit swsusp implementation - * - * Copyright 2006 Johannes Berg - */ - -#include -#include -#include -#include -#include - -void do_after_copyback(void); - -void do_after_copyback(void) -{ - iommu_restore(); - touch_softlockup_watchdog(); - mb(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * PowerPC 64-bit swsusp implementation + * + * Copyright 2006 Johannes Berg + */ + +#include +#include +#include +#include +#include + +void do_after_copyback(void); + +void do_after_copyback(void) +{ + iommu_restore(); + touch_softlockup_watchdog(); + mb(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso32_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso32_offsets.sh old mode 100644 new mode 100755 index de05e589c3..c7b54a5dcd --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso32_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kernel/vdso/gen_vdso32_offsets.sh @@ -1,16 +1,16 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Author: Will Deacon , CS GROUP France - */ -#include -#include - -ssize_t __c_kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, - size_t opaque_len, const struct vdso_rng_data *vd) -{ - return __cvdso_getrandom_data(vd, buffer, len, flags, opaque_state, opaque_len); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Powerpc userspace implementation of getrandom() + * + * Copyright (C) 2024 Christophe Leroy , CS GROUP France + */ +#include +#include + +ssize_t __c_kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, + size_t opaque_len, const struct vdso_rng_data *vd) +{ + return __cvdso_getrandom_data(vd, buffer, len, flags, opaque_state, opaque_len); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kexec/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kexec/Makefile index ba67d0c02a..470eb0453e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kexec/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kexec/Makefile @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -obj-y += core.o core_$(BITS).o ranges.o - -obj-$(CONFIG_PPC32) += relocate_32.o - -obj-$(CONFIG_KEXEC_FILE) += file_load.o file_load_$(BITS).o elf_$(BITS).o -obj-$(CONFIG_VMCORE_INFO) += vmcore_info.o -obj-$(CONFIG_CRASH_DUMP) += crash.o - -# Disable GCOV, KCOV & sanitizers in odd or sensitive code -GCOV_PROFILE_core_$(BITS).o := n -KCOV_INSTRUMENT_core_$(BITS).o := n -UBSAN_SANITIZE_core_$(BITS).o := n -KASAN_SANITIZE_core.o := n -KASAN_SANITIZE_core_$(BITS) := n +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux kernel. +# + +obj-y += core.o core_$(BITS).o ranges.o + +obj-$(CONFIG_PPC32) += relocate_32.o + +obj-$(CONFIG_KEXEC_FILE) += file_load.o file_load_$(BITS).o elf_$(BITS).o +obj-$(CONFIG_VMCORE_INFO) += vmcore_info.o +obj-$(CONFIG_CRASH_DUMP) += crash.o + +# Disable GCOV, KCOV & sanitizers in odd or sensitive code +GCOV_PROFILE_core_$(BITS).o := n +KCOV_INSTRUMENT_core_$(BITS).o := n +UBSAN_SANITIZE_core_$(BITS).o := n +KASAN_SANITIZE_core.o := n +KASAN_SANITIZE_core_$(BITS) := n diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/book3s_exports.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/book3s_exports.c index cec7e8bbcf..f08565885d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/book3s_exports.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/book3s_exports.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * - * Copyright SUSE Linux Products GmbH 2009 - * - * Authors: Alexander Graf - */ - -#include -#include -#include - -#ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE -EXPORT_SYMBOL_GPL(kvmppc_hv_entry_trampoline); -#endif -#ifdef CONFIG_KVM_BOOK3S_PR_POSSIBLE -EXPORT_SYMBOL_GPL(kvmppc_entry_trampoline); -#endif - +// SPDX-License-Identifier: GPL-2.0-only +/* + * + * Copyright SUSE Linux Products GmbH 2009 + * + * Authors: Alexander Graf + */ + +#include +#include +#include + +#ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE +EXPORT_SYMBOL_GPL(kvmppc_hv_entry_trampoline); +#endif +#ifdef CONFIG_KVM_BOOK3S_PR_POSSIBLE +EXPORT_SYMBOL_GPL(kvmppc_entry_trampoline); +#endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/e500_mmu_host.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/e500_mmu_host.h index 04d661f680..d8178cc86b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/e500_mmu_host.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/kvm/e500_mmu_host.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2008-2013 Freescale Semiconductor, Inc. All rights reserved. - */ - -#ifndef KVM_E500_MMU_HOST_H -#define KVM_E500_MMU_HOST_H - -void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, - int esel); - -int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500); -void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500); - -#endif /* KVM_E500_MMU_HOST_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2008-2013 Freescale Semiconductor, Inc. All rights reserved. + */ + +#ifndef KVM_E500_MMU_HOST_H +#define KVM_E500_MMU_HOST_H + +void inval_gtlbe_on_host(struct kvmppc_vcpu_e500 *vcpu_e500, int tlbsel, + int esel); + +int e500_mmu_host_init(struct kvmppc_vcpu_e500 *vcpu_e500); +void e500_mmu_host_uninit(struct kvmppc_vcpu_e500 *vcpu_e500); + +#endif /* KVM_E500_MMU_HOST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/lib/error-inject.c index 4395078515..e834079d2b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/lib/error-inject.c @@ -1,16 +1,16 @@ -// SPDX-License-Identifier: GPL-2.0+ - -#include -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - /* - * Emulate 'blr'. 'regs' represents the state on entry of a predefined - * function in the kernel/module, captured on a kprobe. We don't need - * to worry about 32-bit userspace on a 64-bit kernel. - */ - regs_set_return_ip(regs, regs->link); -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0+ + +#include +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + /* + * Emulate 'blr'. 'regs' represents the state on entry of a predefined + * function in the kernel/module, captured on a kprobe. We don't need + * to worry about 32-bit userspace on a 64-bit kernel. + */ + regs_set_return_ip(regs, regs->link); +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiw.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiw.c index 2843918240..ebb0f11e73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiw.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiw.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include -#include - -int -fctiw(u32 *frD, void *frB) -{ - FP_DECL_D(B); - FP_DECL_EX; - unsigned int r; - - FP_UNPACK_DP(B, frB); - FP_TO_INT_D(r, B, 32, 1); - frD[1] = r; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include +#include + +int +fctiw(u32 *frD, void *frB) +{ + FP_DECL_D(B); + FP_DECL_EX; + unsigned int r; + + FP_UNPACK_DP(B, frB); + FP_TO_INT_D(r, B, 32, 1); + frD[1] = r; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiwz.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiwz.c index 2de47c4535..426271c4f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiwz.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/fctiwz.c @@ -1,35 +1,35 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include -#include - -int -fctiwz(u32 *frD, void *frB) -{ - FP_DECL_D(B); - FP_DECL_EX; - u32 fpscr; - unsigned int r; - - fpscr = __FPU_FPSCR; - __FPU_FPSCR &= ~(3); - __FPU_FPSCR |= FP_RND_ZERO; - - FP_UNPACK_DP(B, frB); - FP_TO_INT_D(r, B, 32, 1); - frD[1] = r; - - __FPU_FPSCR = fpscr; - -#ifdef DEBUG - printk("%s: D %p, B %p: ", __func__, frD, frB); - dump_double(frD); - printk("\n"); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include +#include + +int +fctiwz(u32 *frD, void *frB) +{ + FP_DECL_D(B); + FP_DECL_EX; + u32 fpscr; + unsigned int r; + + fpscr = __FPU_FPSCR; + __FPU_FPSCR &= ~(3); + __FPU_FPSCR |= FP_RND_ZERO; + + FP_UNPACK_DP(B, frB); + FP_TO_INT_D(r, B, 32, 1); + frD[1] = r; + + __FPU_FPSCR = fpscr; + +#ifdef DEBUG + printk("%s: D %p, B %p: ", __func__, frD, frB); + dump_double(frD); + printk("\n"); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsp.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsp.c index 4fc17f20d2..cb33e3d9bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/frsp.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include -#include -#include - -int -frsp(void *frD, void *frB) -{ - FP_DECL_D(B); - FP_DECL_EX; - -#ifdef DEBUG - printk("%s: D %p, B %p\n", __func__, frD, frB); -#endif - - FP_UNPACK_DP(B, frB); - -#ifdef DEBUG - printk("B: %ld %lu %lu %ld (%ld)\n", B_s, B_f1, B_f0, B_e, B_c); -#endif - - __FP_PACK_DS(frD, B); - - return FP_CUR_EXCEPTIONS; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include +#include +#include + +int +frsp(void *frD, void *frB) +{ + FP_DECL_D(B); + FP_DECL_EX; + +#ifdef DEBUG + printk("%s: D %p, B %p\n", __func__, frD, frB); +#endif + + FP_UNPACK_DP(B, frB); + +#ifdef DEBUG + printk("B: %ld %lu %lu %ld (%ld)\n", B_s, B_f1, B_f0, B_e, B_c); +#endif + + __FP_PACK_DS(frD, B); + + return FP_CUR_EXCEPTIONS; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/lfd.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/lfd.c index 026a0f7790..3a6b03d999 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/lfd.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/lfd.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -lfd(void *frD, void *ea) -{ - if (copy_from_user(frD, ea, sizeof(double))) - return -EFAULT; -#ifdef DEBUG - printk("%s: D %p, ea %p: ", __func__, frD, ea); - dump_double(frD); - printk("\n"); -#endif - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +lfd(void *frD, void *ea) +{ + if (copy_from_user(frD, ea, sizeof(double))) + return -EFAULT; +#ifdef DEBUG + printk("%s: D %p, ea %p: ", __func__, frD, ea); + dump_double(frD); + printk("\n"); +#endif + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mcrfs.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mcrfs.c index fa203336bb..9c4fdaace4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mcrfs.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mcrfs.c @@ -1,33 +1,33 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -mcrfs(u32 *ccr, u32 crfD, u32 crfS) -{ - u32 value, clear; - -#ifdef DEBUG - printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); -#endif - - clear = 15 << ((7 - crfS) << 2); - if (!crfS) - clear = 0x90000000; - - value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; - __FPU_FPSCR &= ~(clear); - - *ccr &= ~(15 << ((7 - crfD) << 2)); - *ccr |= (value << ((7 - crfD) << 2)); - -#ifdef DEBUG - printk("CR: %08x\n", __func__, *ccr); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +mcrfs(u32 *ccr, u32 crfD, u32 crfS) +{ + u32 value, clear; + +#ifdef DEBUG + printk("%s: %p (%08x) %d %d\n", __func__, ccr, *ccr, crfD, crfS); +#endif + + clear = 15 << ((7 - crfS) << 2); + if (!crfS) + clear = 0x90000000; + + value = (__FPU_FPSCR >> ((7 - crfS) << 2)) & 15; + __FPU_FPSCR &= ~(clear); + + *ccr &= ~(15 << ((7 - crfD) << 2)); + *ccr |= (value << ((7 - crfD) << 2)); + +#ifdef DEBUG + printk("CR: %08x\n", __func__, *ccr); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb0.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb0.c index fbbf48c073..5753170b5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb0.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb0.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -mtfsb0(int crbD) -{ - if ((crbD != 1) && (crbD != 2)) - __FPU_FPSCR &= ~(1 << (31 - crbD)); - -#ifdef DEBUG - printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +mtfsb0(int crbD) +{ + if ((crbD != 1) && (crbD != 2)) + __FPU_FPSCR &= ~(1 << (31 - crbD)); + +#ifdef DEBUG + printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb1.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb1.c index 69b0f37e66..8162c3bfd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb1.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsb1.c @@ -1,20 +1,20 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -mtfsb1(int crbD) -{ - if ((crbD != 1) && (crbD != 2)) - __FPU_FPSCR |= (1 << (31 - crbD)); - -#ifdef DEBUG - printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +mtfsb1(int crbD) +{ + if ((crbD != 1) && (crbD != 2)) + __FPU_FPSCR |= (1 << (31 - crbD)); + +#ifdef DEBUG + printk("%s: %d %08lx\n", __func__, crbD, __FPU_FPSCR); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsfi.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsfi.c index 5f8d8e3268..45f1edbda3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsfi.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/math-emu/mtfsfi.c @@ -1,25 +1,25 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include - -#include -#include - -int -mtfsfi(unsigned int crfD, unsigned int IMM) -{ - u32 mask = 0xf; - - if (!crfD) - mask = 9; - - __FPU_FPSCR &= ~(mask << ((7 - crfD) << 2)); - __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); - -#ifdef DEBUG - printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); -#endif - - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include + +#include +#include + +int +mtfsfi(unsigned int crfD, unsigned int IMM) +{ + u32 mask = 0xf; + + if (!crfD) + mask = 9; + + __FPU_FPSCR &= ~(mask << ((7 - crfD) << 2)); + __FPU_FPSCR |= (IMM & 0xf) << ((7 - crfD) << 2); + +#ifdef DEBUG + printk("%s: %d %x: %08lx\n", __func__, crfD, IMM, __FPU_FPSCR); +#endif + + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/kuap.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/kuap.c index 57b9b4553a..3a8815555a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/kuap.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/book3s32/kuap.c @@ -1,22 +1,22 @@ -// SPDX-License-Identifier: GPL-2.0-or-later - -#include -#include - -void setup_kuap(bool disabled) -{ - if (!disabled) { - update_user_segments(mfsr(0) | SR_KS); - isync(); /* Context sync required after mtsr() */ - init_mm.context.sr0 |= SR_KS; - current->thread.sr0 |= SR_KS; - } - - if (smp_processor_id() != boot_cpuid) - return; - - if (disabled) - cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; - else - pr_info("Activating Kernel Userspace Access Protection\n"); -} +// SPDX-License-Identifier: GPL-2.0-or-later + +#include +#include + +void setup_kuap(bool disabled) +{ + if (!disabled) { + update_user_segments(mfsr(0) | SR_KS); + isync(); /* Context sync required after mtsr() */ + init_mm.context.sr0 |= SR_KS; + current->thread.sr0 |= SR_KS; + } + + if (smp_processor_id() != boot_cpuid) + return; + + if (disabled) + cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; + else + pr_info("Activating Kernel Userspace Access Protection\n"); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/Makefile index 449cedf301..cf60c776c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y += mmu_context.o tlb.o tlb_low.o kup.o -obj-$(CONFIG_PPC_BOOK3E_64) += tlb_64e.o tlb_low_64e.o book3e_pgtable.o -obj-$(CONFIG_44x) += 44x.o -obj-$(CONFIG_PPC_8xx) += 8xx.o -obj-$(CONFIG_PPC_E500) += e500.o -obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_booke.o -ifdef CONFIG_HUGETLB_PAGE -obj-$(CONFIG_PPC_E500) += e500_hugetlbpage.o -endif - -# Disable kcov instrumentation on sensitive code -# This is necessary for booting with kcov enabled on book3e machines -KCOV_INSTRUMENT_tlb.o := n -KCOV_INSTRUMENT_e500.o := n +# SPDX-License-Identifier: GPL-2.0 + +obj-y += mmu_context.o tlb.o tlb_low.o kup.o +obj-$(CONFIG_PPC_BOOK3E_64) += tlb_64e.o tlb_low_64e.o book3e_pgtable.o +obj-$(CONFIG_44x) += 44x.o +obj-$(CONFIG_PPC_8xx) += 8xx.o +obj-$(CONFIG_PPC_E500) += e500.o +obj-$(CONFIG_RANDOMIZE_BASE) += kaslr_booke.o +ifdef CONFIG_HUGETLB_PAGE +obj-$(CONFIG_PPC_E500) += e500_hugetlbpage.o +endif + +# Disable kcov instrumentation on sensitive code +# This is necessary for booting with kcov enabled on book3e machines +KCOV_INSTRUMENT_tlb.o := n +KCOV_INSTRUMENT_e500.o := n diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/kup.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/kup.c index 82ae350f64..c20c4f357f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/kup.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/nohash/kup.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * This file contains the routines for initializing kernel userspace protection - */ - -#include -#include -#include -#include - -#include -#include - -#ifdef CONFIG_PPC_KUAP -void setup_kuap(bool disabled) -{ - if (disabled) { - if (smp_processor_id() == boot_cpuid) - cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; - return; - } - - pr_info("Activating Kernel Userspace Access Protection\n"); - - prevent_user_access(KUAP_READ_WRITE); -} -#endif +// SPDX-License-Identifier: GPL-2.0-or-later +/* + * This file contains the routines for initializing kernel userspace protection + */ + +#include +#include +#include +#include + +#include +#include + +#ifdef CONFIG_PPC_KUAP +void setup_kuap(bool disabled) +{ + if (disabled) { + if (smp_processor_id() == boot_cpuid) + cur_cpu_spec->mmu_features &= ~MMU_FTR_KUAP; + return; + } + + pr_info("Activating Kernel Userspace Access Protection\n"); + + prevent_user_access(KUAP_READ_WRITE); +} +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/Makefile index a3913a62c8..0f7a050f32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 - -obj-y += ptdump.o - -obj-$(CONFIG_44x) += shared.o -obj-$(CONFIG_PPC_8xx) += 8xx.o -obj-$(CONFIG_PPC_E500) += shared.o -obj-$(CONFIG_PPC_BOOK3S_32) += shared.o -obj-$(CONFIG_PPC_BOOK3S_64) += book3s64.o - -ifdef CONFIG_PTDUMP_DEBUGFS -obj-$(CONFIG_PPC_BOOK3S_32) += bats.o segment_regs.o -obj-$(CONFIG_PPC_64S_HASH_MMU) += hashpagetable.o -endif +# SPDX-License-Identifier: GPL-2.0 + +obj-y += ptdump.o + +obj-$(CONFIG_44x) += shared.o +obj-$(CONFIG_PPC_8xx) += 8xx.o +obj-$(CONFIG_PPC_E500) += shared.o +obj-$(CONFIG_PPC_BOOK3S_32) += shared.o +obj-$(CONFIG_PPC_BOOK3S_64) += book3s64.o + +ifdef CONFIG_PTDUMP_DEBUGFS +obj-$(CONFIG_PPC_BOOK3S_32) += bats.o segment_regs.o +obj-$(CONFIG_PPC_64S_HASH_MMU) += hashpagetable.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/ptdump.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/ptdump.h index 0fec13729c..154efae96a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/ptdump.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/mm/ptdump/ptdump.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include -#include - -struct flag_info { - u64 mask; - u64 val; - const char *set; - const char *clear; - bool is_val; - int shift; -}; - -struct pgtable_level { - const struct flag_info *flag; - size_t num; - u64 mask; -}; - -extern struct pgtable_level pg_level[5]; - -void pt_dump_size(struct seq_file *m, unsigned long delta); +/* SPDX-License-Identifier: GPL-2.0 */ +#include +#include + +struct flag_info { + u64 mask; + u64 val; + const char *set; + const char *clear; + bool is_val; + int shift; +}; + +struct pgtable_level { + const struct flag_info *flag; + size_t num; + u64 mask; +}; + +extern struct pgtable_level pg_level[5]; + +void pt_dump_size(struct seq_file *m, unsigned long delta); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/internal.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/internal.h index 32218680fd..a70ac471a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/internal.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/internal.h @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0+ -// -// Copyright 2019 Madhavan Srinivasan, IBM Corporation. - -int __init init_ppc970_pmu(void); -int __init init_power5_pmu(void); -int __init init_power5p_pmu(void); -int __init init_power6_pmu(void); -int __init init_power7_pmu(void); -int __init init_power8_pmu(void); -int __init init_power9_pmu(void); -int __init init_power10_pmu(void); -int __init init_power11_pmu(void); -int __init init_generic_compat_pmu(void); +// SPDX-License-Identifier: GPL-2.0+ +// +// Copyright 2019 Madhavan Srinivasan, IBM Corporation. + +int __init init_ppc970_pmu(void); +int __init init_power5_pmu(void); +int __init init_power5p_pmu(void); +int __init init_power6_pmu(void); +int __init init_power7_pmu(void); +int __init init_power8_pmu(void); +int __init init_power9_pmu(void); +int __init init_power10_pmu(void); +int __init init_power11_pmu(void); +int __init init_generic_compat_pmu(void); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_begin.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_begin.h index 3309d3254f..a200b86eba 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_begin.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_begin.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* Include paths to be used in interface defining headers */ -#ifndef POWERPC_PERF_REQ_GEN_H_ -#define POWERPC_PERF_REQ_GEN_H_ - -#include - -#define CAT2_STR_(t, s) __stringify(t/s) -#define CAT2_STR(t, s) CAT2_STR_(t, s) -#define I(...) __VA_ARGS__ - -#endif - -#define REQ_GEN_PREFIX req-gen -#define REQUEST_BEGIN CAT2_STR(REQ_GEN_PREFIX, _request-begin.h) -#define REQUEST_END CAT2_STR(REQ_GEN_PREFIX, _request-end.h) +/* SPDX-License-Identifier: GPL-2.0 */ +/* Include paths to be used in interface defining headers */ +#ifndef POWERPC_PERF_REQ_GEN_H_ +#define POWERPC_PERF_REQ_GEN_H_ + +#include + +#define CAT2_STR_(t, s) __stringify(t/s) +#define CAT2_STR(t, s) CAT2_STR_(t, s) +#define I(...) __VA_ARGS__ + +#endif + +#define REQ_GEN_PREFIX req-gen +#define REQUEST_BEGIN CAT2_STR(REQ_GEN_PREFIX, _request-begin.h) +#define REQUEST_END CAT2_STR(REQ_GEN_PREFIX, _request-end.h) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-begin.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-begin.h index 68feb20525..7c74c2ab4c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-begin.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/perf/req-gen/_request-begin.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#define REQUEST(r_contents) \ - REQUEST_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, I(r_contents)) - -#define __field(f_offset, f_bytes, f_name) \ - __field_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ - f_offset, f_bytes, f_name) - -#define __array(f_offset, f_bytes, f_name) \ - __array_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ - f_offset, f_bytes, f_name) - -#define __count(f_offset, f_bytes, f_name) \ - __count_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ - f_offset, f_bytes, f_name) +/* SPDX-License-Identifier: GPL-2.0 */ + +#define REQUEST(r_contents) \ + REQUEST_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, I(r_contents)) + +#define __field(f_offset, f_bytes, f_name) \ + __field_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ + f_offset, f_bytes, f_name) + +#define __array(f_offset, f_bytes, f_name) \ + __array_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ + f_offset, f_bytes, f_name) + +#define __count(f_offset, f_bytes, f_name) \ + __count_(REQUEST_NAME, REQUEST_NUM, REQUEST_IDX_KIND, \ + f_offset, f_bytes, f_name) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/Makefile index 53f73d1ddc..ca7b1bb442 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/Makefile @@ -1,18 +1,18 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += misc_44x.o machine_check.o uic.o soc.o -ifneq ($(CONFIG_PPC4xx_CPM),y) -obj-y += idle.o -endif -obj-$(CONFIG_PPC44x_SIMPLE) += ppc44x_simple.o -obj-$(CONFIG_EBONY) += ebony.o -obj-$(CONFIG_SAM440EP) += sam440ep.o -obj-$(CONFIG_WARP) += warp.o -obj-$(CONFIG_ISS4xx) += iss4xx.o -obj-$(CONFIG_CANYONLANDS)+= canyonlands.o -obj-$(CONFIG_CURRITUCK) += ppc476.o -obj-$(CONFIG_AKEBONO) += ppc476.o -obj-$(CONFIG_FSP2) += fsp2.o -obj-$(CONFIG_PCI) += pci.o -obj-$(CONFIG_PPC4xx_HSTA_MSI) += hsta_msi.o -obj-$(CONFIG_PPC4xx_CPM) += cpm.o -obj-$(CONFIG_PPC4xx_GPIO) += gpio.o +# SPDX-License-Identifier: GPL-2.0 +obj-y += misc_44x.o machine_check.o uic.o soc.o +ifneq ($(CONFIG_PPC4xx_CPM),y) +obj-y += idle.o +endif +obj-$(CONFIG_PPC44x_SIMPLE) += ppc44x_simple.o +obj-$(CONFIG_EBONY) += ebony.o +obj-$(CONFIG_SAM440EP) += sam440ep.o +obj-$(CONFIG_WARP) += warp.o +obj-$(CONFIG_ISS4xx) += iss4xx.o +obj-$(CONFIG_CANYONLANDS)+= canyonlands.o +obj-$(CONFIG_CURRITUCK) += ppc476.o +obj-$(CONFIG_AKEBONO) += ppc476.o +obj-$(CONFIG_FSP2) += fsp2.o +obj-$(CONFIG_PCI) += pci.o +obj-$(CONFIG_PPC4xx_HSTA_MSI) += hsta_msi.o +obj-$(CONFIG_PPC4xx_CPM) += cpm.o +obj-$(CONFIG_PPC4xx_GPIO) += gpio.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/misc_44x.S b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/misc_44x.S index 14e40c7f42..3a0c4bd3d6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/misc_44x.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/44x/misc_44x.S @@ -1,41 +1,41 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * This file contains miscellaneous low-level functions for PPC 44x. - * Copyright 2007 David Gibson , IBM Corporation. - */ - -#include -#include - - .text - -/* - * Do an IO access in AS1 - */ -_GLOBAL(as1_readb) - mfmsr r7 - ori r0,r7,MSR_DS - sync - mtmsr r0 - sync - isync - lbz r3,0(r3) - sync - mtmsr r7 - sync - isync - blr - -_GLOBAL(as1_writeb) - mfmsr r7 - ori r0,r7,MSR_DS - sync - mtmsr r0 - sync - isync - stb r3,0(r4) - sync - mtmsr r7 - sync - isync - blr +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * This file contains miscellaneous low-level functions for PPC 44x. + * Copyright 2007 David Gibson , IBM Corporation. + */ + +#include +#include + + .text + +/* + * Do an IO access in AS1 + */ +_GLOBAL(as1_readb) + mfmsr r7 + ori r0,r7,MSR_DS + sync + mtmsr r0 + sync + isync + lbz r3,0(r3) + sync + mtmsr r7 + sync + isync + blr + +_GLOBAL(as1_writeb) + mfmsr r7 + ori r0,r7,MSR_DS + sync + mtmsr r0 + sync + isync + stb r3,0(r4) + sync + mtmsr r7 + sync + isync + blr diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/Makefile index fb41bdd9e8..2daf22ee26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/Makefile @@ -1,10 +1,10 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the Freescale PowerPC 512x linux kernel. -# -obj-$(CONFIG_COMMON_CLK) += clock-commonclk.o -obj-y += mpc512x_shared.o -obj-$(CONFIG_MPC5121_ADS) += mpc5121_ads.o mpc5121_ads_cpld.o -obj-$(CONFIG_MPC512x_GENERIC) += mpc512x_generic.o -obj-$(CONFIG_MPC512x_LPBFIFO) += mpc512x_lpbfifo.o -obj-$(CONFIG_PDM360NG) += pdm360ng.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the Freescale PowerPC 512x linux kernel. +# +obj-$(CONFIG_COMMON_CLK) += clock-commonclk.o +obj-y += mpc512x_shared.o +obj-$(CONFIG_MPC5121_ADS) += mpc5121_ads.o mpc5121_ads_cpld.o +obj-$(CONFIG_MPC512x_GENERIC) += mpc512x_generic.o +obj-$(CONFIG_MPC512x_LPBFIFO) += mpc512x_lpbfifo.o +obj-$(CONFIG_PDM360NG) += pdm360ng.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc5121_ads.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc5121_ads.h index 237edc37f6..c88dea828c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc5121_ads.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc5121_ads.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. - * - * Prototypes for ADS5121 specific code - */ - -#ifndef __MPC512ADS_H__ -#define __MPC512ADS_H__ -extern void __init mpc5121_ads_cpld_map(void); -extern void __init mpc5121_ads_cpld_pic_init(void); -#endif /* __MPC512ADS_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. + * + * Prototypes for ADS5121 specific code + */ + +#ifndef __MPC512ADS_H__ +#define __MPC512ADS_H__ +extern void __init mpc5121_ads_cpld_map(void); +extern void __init mpc5121_ads_cpld_pic_init(void); +#endif /* __MPC512ADS_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc512x.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc512x.h index cb327a3a72..d2cb06e3a4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc512x.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/512x/mpc512x.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. - * - * Prototypes for MPC512x shared code - */ - -#ifndef __MPC512X_H__ -#define __MPC512X_H__ -extern void __init mpc512x_init_IRQ(void); -extern void __init mpc512x_init_early(void); -extern void __init mpc512x_init(void); -extern void __init mpc512x_setup_arch(void); -extern int __init mpc5121_clk_init(void); -const char *__init mpc512x_select_psc_compat(void); -extern void __noreturn mpc512x_restart(char *cmd); - -#endif /* __MPC512X_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright (C) 2007 Freescale Semiconductor, Inc. All rights reserved. + * + * Prototypes for MPC512x shared code + */ + +#ifndef __MPC512X_H__ +#define __MPC512X_H__ +extern void __init mpc512x_init_IRQ(void); +extern void __init mpc512x_init_early(void); +extern void __init mpc512x_init(void); +extern void __init mpc512x_setup_arch(void); +extern int __init mpc5121_clk_init(void); +const char *__init mpc512x_select_psc_compat(void); +extern void __noreturn mpc512x_restart(char *cmd); + +#endif /* __MPC512X_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/52xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/52xx/Makefile index 2e185f27ac..1b1f72d833 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/52xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/52xx/Makefile @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for 52xx based boards -# -obj-y += mpc52xx_pic.o mpc52xx_common.o mpc52xx_gpt.o -obj-$(CONFIG_PCI) += mpc52xx_pci.o - -obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o -obj-$(CONFIG_PPC_EFIKA) += efika.o -obj-$(CONFIG_PPC_LITE5200) += lite5200.o -obj-$(CONFIG_PPC_MEDIA5200) += media5200.o - -obj-$(CONFIG_PM) += mpc52xx_sleep.o mpc52xx_pm.o -ifdef CONFIG_PPC_LITE5200 - obj-$(CONFIG_PM) += lite5200_sleep.o lite5200_pm.o -endif +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for 52xx based boards +# +obj-y += mpc52xx_pic.o mpc52xx_common.o mpc52xx_gpt.o +obj-$(CONFIG_PCI) += mpc52xx_pci.o + +obj-$(CONFIG_PPC_MPC5200_SIMPLE) += mpc5200_simple.o +obj-$(CONFIG_PPC_EFIKA) += efika.o +obj-$(CONFIG_PPC_LITE5200) += lite5200.o +obj-$(CONFIG_PPC_MEDIA5200) += media5200.o + +obj-$(CONFIG_PM) += mpc52xx_sleep.o mpc52xx_pm.o +ifdef CONFIG_PPC_LITE5200 + obj-$(CONFIG_PM) += lite5200_sleep.o lite5200_pm.o +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/mpc85xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/mpc85xx.h index 9ccaea7ae7..c764d7551e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/mpc85xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/85xx/mpc85xx.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef MPC85xx_H -#define MPC85xx_H -extern int mpc85xx_common_publish_devices(void); - -#ifdef CONFIG_CPM2 -extern void mpc85xx_cpm2_pic_init(void); -#else -static inline void __init mpc85xx_cpm2_pic_init(void) {} -#endif /* CONFIG_CPM2 */ - -#ifdef CONFIG_QUICC_ENGINE -extern void mpc85xx_qe_par_io_init(void); -#else -static inline void __init mpc85xx_qe_par_io_init(void) {} -#endif - -#ifdef CONFIG_PPC_I8259 -void __init mpc85xx_8259_init(void); -#else -static inline void __init mpc85xx_8259_init(void) {} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef MPC85xx_H +#define MPC85xx_H +extern int mpc85xx_common_publish_devices(void); + +#ifdef CONFIG_CPM2 +extern void mpc85xx_cpm2_pic_init(void); +#else +static inline void __init mpc85xx_cpm2_pic_init(void) {} +#endif /* CONFIG_CPM2 */ + +#ifdef CONFIG_QUICC_ENGINE +extern void mpc85xx_qe_par_io_init(void); +#else +static inline void __init mpc85xx_qe_par_io_init(void) {} +#endif + +#ifdef CONFIG_PPC_I8259 +void __init mpc85xx_8259_init(void); +#else +static inline void __init mpc85xx_8259_init(void) {} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/mpc86xx.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/mpc86xx.h index e4e25570e3..61e52c757e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/mpc86xx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/86xx/mpc86xx.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Copyright 2006 Freescale Semiconductor Inc. - */ - -#ifndef __MPC86XX_H__ -#define __MPC86XX_H__ - -/* - * Declaration for the various functions exported by the - * mpc86xx_* files. Mostly for use by mpc86xx_setup(). - */ - -extern void mpc86xx_smp_init(void); -extern void mpc86xx_init_irq(void); -extern long mpc86xx_time_init(void); -extern int mpc86xx_common_publish_devices(void); - -#endif /* __MPC86XX_H__ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Copyright 2006 Freescale Semiconductor Inc. + */ + +#ifndef __MPC86XX_H__ +#define __MPC86XX_H__ + +/* + * Declaration for the various functions exported by the + * mpc86xx_* files. Mostly for use by mpc86xx_setup(). + */ + +extern void mpc86xx_smp_init(void); +extern void mpc86xx_init_irq(void); +extern long mpc86xx_time_init(void); +extern int mpc86xx_common_publish_devices(void); + +#endif /* __MPC86XX_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/Makefile index b94058023d..5a098f7d5d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the PowerPC 8xx linux kernel. -# -obj-y += m8xx_setup.o machine_check.o pic.o -obj-$(CONFIG_CPM1) += cpm1.o cpm1-ic.o -obj-$(CONFIG_UCODE_PATCH) += micropatch.o -obj-$(CONFIG_MPC885ADS) += mpc885ads_setup.o -obj-$(CONFIG_MPC86XADS) += mpc86xads_setup.o -obj-$(CONFIG_PPC_EP88XC) += ep88xc.o -obj-$(CONFIG_PPC_ADDER875) += adder875.o -obj-$(CONFIG_TQM8XX) += tqm8xx_setup.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the PowerPC 8xx linux kernel. +# +obj-y += m8xx_setup.o machine_check.o pic.o +obj-$(CONFIG_CPM1) += cpm1.o cpm1-ic.o +obj-$(CONFIG_UCODE_PATCH) += micropatch.o +obj-$(CONFIG_MPC885ADS) += mpc885ads_setup.o +obj-$(CONFIG_MPC86XADS) += mpc86xads_setup.o +obj-$(CONFIG_PPC_EP88XC) += ep88xc.o +obj-$(CONFIG_PPC_ADDER875) += adder875.o +obj-$(CONFIG_TQM8XX) += tqm8xx_setup.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/pic.h index 20ff78dbb0..c70f1b446f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/8xx/pic.h @@ -1,19 +1,19 @@ -#ifndef _PPC_KERNEL_MPC8xx_H -#define _PPC_KERNEL_MPC8xx_H - -#include -#include - -void mpc8xx_pic_init(void); -unsigned int mpc8xx_get_irq(void); - -/* - * Some internal interrupt registers use an 8-bit mask for the interrupt - * level instead of a number. - */ -static inline uint mk_int_int_mask(uint mask) -{ - return (1 << (7 - (mask/2))); -} - -#endif /* _PPC_KERNEL_PPC8xx_H */ +#ifndef _PPC_KERNEL_MPC8xx_H +#define _PPC_KERNEL_MPC8xx_H + +#include +#include + +void mpc8xx_pic_init(void); +unsigned int mpc8xx_get_irq(void); + +/* + * Some internal interrupt registers use an 8-bit mask for the interrupt + * level instead of a number. + */ +static inline uint mk_int_int_mask(uint mask) +{ + return (1 << (7 - (mask/2))); +} + +#endif /* _PPC_KERNEL_PPC8xx_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/amigaone/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/amigaone/Kconfig index 62dd6b882c..0741edb10b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/amigaone/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/amigaone/Kconfig @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -config AMIGAONE - bool "Eyetech AmigaOne/MAI Teron" - depends on PPC_BOOK3S_32 && BROKEN_ON_SMP - select PPC_I8259 - select PPC_INDIRECT_PCI - select PPC_UDBG_16550 - select FORCE_PCI - select NOT_COHERENT_CACHE - select CHECK_CACHE_COHERENCY - select DEFAULT_UIMAGE - select HAVE_PCSPKR_PLATFORM - help - Select AmigaOne for the following machines: - - AmigaOne SE/Teron CX (G3 only) - - AmigaOne XE/Teron PX - - uA1/Teron mini - More information is available at: - . +# SPDX-License-Identifier: GPL-2.0 +config AMIGAONE + bool "Eyetech AmigaOne/MAI Teron" + depends on PPC_BOOK3S_32 && BROKEN_ON_SMP + select PPC_I8259 + select PPC_INDIRECT_PCI + select PPC_UDBG_16550 + select FORCE_PCI + select NOT_COHERENT_CACHE + select CHECK_CACHE_COHERENCY + select DEFAULT_UIMAGE + select HAVE_PCSPKR_PLATFORM + help + Select AmigaOne for the following machines: + - AmigaOne SE/Teron CX (G3 only) + - AmigaOne XE/Teron PX + - uA1/Teron mini + More information is available at: + . diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Kconfig index f77754708d..34c931592e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/book3s/Kconfig @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_VAS - bool "IBM Virtual Accelerator Switchboard (VAS)" - depends on (PPC_POWERNV || PPC_PSERIES) && PPC_64K_PAGES - default y - help - This enables support for IBM Virtual Accelerator Switchboard (VAS). - - VAS devices are found in POWER9-based and later systems, they - provide access to accelerator coprocessors such as NX-GZIP and - NX-842. This config allows the kernel to use NX-842 accelerators, - and user-mode APIs for the NX-GZIP accelerator on POWER9 PowerNV - and POWER10 PowerVM platforms. - - If unsure, say "N". +# SPDX-License-Identifier: GPL-2.0 +config PPC_VAS + bool "IBM Virtual Accelerator Switchboard (VAS)" + depends on (PPC_POWERNV || PPC_PSERIES) && PPC_64K_PAGES + default y + help + This enables support for IBM Virtual Accelerator Switchboard (VAS). + + VAS devices are found in POWER9-based and later systems, they + provide access to accelerator coprocessors such as NX-GZIP and + NX-842. This config allows the kernel to use NX-842 accelerators, + and user-mode APIs for the NX-GZIP accelerator on POWER9 PowerNV + and POWER10 PowerVM platforms. + + If unsure, say "N". diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/pervasive.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/pervasive.h index 0c1a68ceb1..0da74ab107 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/pervasive.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/cell/pervasive.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * Cell Pervasive Monitor and Debug interface and HW structures - * - * (C) Copyright IBM Corporation 2005 - * - * Authors: Maximino Aguilar (maguilar@us.ibm.com) - * David J. Erb (djerb@us.ibm.com) - */ - - -#ifndef PERVASIVE_H -#define PERVASIVE_H - -extern void cbe_pervasive_init(void); - -#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON -extern int cbe_sysreset_hack(void); -#else -static inline int cbe_sysreset_hack(void) -{ - return 1; -} -#endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */ - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * Cell Pervasive Monitor and Debug interface and HW structures + * + * (C) Copyright IBM Corporation 2005 + * + * Authors: Maximino Aguilar (maguilar@us.ibm.com) + * David J. Erb (djerb@us.ibm.com) + */ + + +#ifndef PERVASIVE_H +#define PERVASIVE_H + +extern void cbe_pervasive_init(void); + +#ifdef CONFIG_PPC_IBM_CELL_RESETBUTTON +extern int cbe_sysreset_hack(void); +#else +static inline int cbe_sysreset_hack(void) +{ + return 1; +} +#endif /* CONFIG_PPC_IBM_CELL_RESETBUTTON */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Kconfig index 6e7ccc52cd..ff30ed579a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/chrp/Kconfig @@ -1,16 +1,16 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_CHRP - bool "Common Hardware Reference Platform (CHRP) based machines" - depends on PPC_BOOK3S_32 - select HAVE_PCSPKR_PLATFORM - select MPIC - select PPC_I8259 - select PPC_INDIRECT_PCI - select PPC_RTAS - select PPC_RTAS_DAEMON - select RTAS_ERROR_LOGGING - select PPC_MPC106 - select PPC_UDBG_16550 - select PPC_HASH_MMU_NATIVE - select FORCE_PCI - default y +# SPDX-License-Identifier: GPL-2.0 +config PPC_CHRP + bool "Common Hardware Reference Platform (CHRP) based machines" + depends on PPC_BOOK3S_32 + select HAVE_PCSPKR_PLATFORM + select MPIC + select PPC_I8259 + select PPC_INDIRECT_PCI + select PPC_RTAS + select PPC_RTAS_DAEMON + select RTAS_ERROR_LOGGING + select PPC_MPC106 + select PPC_UDBG_16550 + select PPC_HASH_MMU_NATIVE + select FORCE_PCI + default y diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/Makefile index f2bc5c9d51..7f2a8154e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/Makefile @@ -1,12 +1,12 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the 6xx/7xx/7xxxx linux kernel. -# -obj-$(CONFIG_LINKSTATION) += linkstation.o ls_uart.o -obj-$(CONFIG_STORCENTER) += storcenter.o -obj-$(CONFIG_PPC_HOLLY) += holly.o -obj-$(CONFIG_USBGECKO_UDBG) += usbgecko_udbg.o -obj-$(CONFIG_GAMECUBE_COMMON) += flipper-pic.o -obj-$(CONFIG_GAMECUBE) += gamecube.o -obj-$(CONFIG_WII) += wii.o hlwd-pic.o -obj-$(CONFIG_MVME5100) += mvme5100.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the 6xx/7xx/7xxxx linux kernel. +# +obj-$(CONFIG_LINKSTATION) += linkstation.o ls_uart.o +obj-$(CONFIG_STORCENTER) += storcenter.o +obj-$(CONFIG_PPC_HOLLY) += holly.o +obj-$(CONFIG_USBGECKO_UDBG) += usbgecko_udbg.o +obj-$(CONFIG_GAMECUBE_COMMON) += flipper-pic.o +obj-$(CONFIG_GAMECUBE) += gamecube.o +obj-$(CONFIG_WII) += wii.o hlwd-pic.o +obj-$(CONFIG_MVME5100) += mvme5100.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/flipper-pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/flipper-pic.h index 330b6790bd..024ae70baa 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/flipper-pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/flipper-pic.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/powerpc/platforms/embedded6xx/flipper-pic.h - * - * Nintendo GameCube/Wii "Flipper" interrupt controller support. - * Copyright (C) 2004-2009 The GameCube Linux Team - * Copyright (C) 2007,2008,2009 Albert Herranz - */ - -#ifndef __FLIPPER_PIC_H -#define __FLIPPER_PIC_H - -unsigned int flipper_pic_get_irq(void); -void __init flipper_pic_probe(void); - -void flipper_quiesce(void); -void flipper_platform_reset(void); -int flipper_is_reset_button_pressed(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/powerpc/platforms/embedded6xx/flipper-pic.h + * + * Nintendo GameCube/Wii "Flipper" interrupt controller support. + * Copyright (C) 2004-2009 The GameCube Linux Team + * Copyright (C) 2007,2008,2009 Albert Herranz + */ + +#ifndef __FLIPPER_PIC_H +#define __FLIPPER_PIC_H + +unsigned int flipper_pic_get_irq(void); +void __init flipper_pic_probe(void); + +void flipper_quiesce(void); +void flipper_platform_reset(void); +int flipper_is_reset_button_pressed(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/hlwd-pic.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/hlwd-pic.h index 8bb49dbb30..c2fa42e191 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/hlwd-pic.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/hlwd-pic.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/powerpc/platforms/embedded6xx/hlwd-pic.h - * - * Nintendo Wii "Hollywood" interrupt controller support. - * Copyright (C) 2009 The GameCube Linux Team - * Copyright (C) 2009 Albert Herranz - */ - -#ifndef __HLWD_PIC_H -#define __HLWD_PIC_H - -extern unsigned int hlwd_pic_get_irq(void); -void __init hlwd_pic_probe(void); -extern void hlwd_quiesce(void); - -#endif +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/powerpc/platforms/embedded6xx/hlwd-pic.h + * + * Nintendo Wii "Hollywood" interrupt controller support. + * Copyright (C) 2009 The GameCube Linux Team + * Copyright (C) 2009 Albert Herranz + */ + +#ifndef __HLWD_PIC_H +#define __HLWD_PIC_H + +extern unsigned int hlwd_pic_get_irq(void); +void __init hlwd_pic_probe(void); +extern void hlwd_quiesce(void); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h index 1fbacf7a6d..bceb11911e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -/* - * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h - * - * udbg serial input/output routines for the USB Gecko adapter. - * Copyright (C) 2008-2009 The GameCube Linux Team - * Copyright (C) 2008,2009 Albert Herranz - */ - -#ifndef __USBGECKO_UDBG_H -#define __USBGECKO_UDBG_H - -#ifdef CONFIG_USBGECKO_UDBG - -extern void __init ug_udbg_init(void); - -#else - -static inline void __init ug_udbg_init(void) -{ -} - -#endif /* CONFIG_USBGECKO_UDBG */ - -void __init udbg_init_usbgecko(void); - -#endif /* __USBGECKO_UDBG_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +/* + * arch/powerpc/platforms/embedded6xx/usbgecko_udbg.h + * + * udbg serial input/output routines for the USB Gecko adapter. + * Copyright (C) 2008-2009 The GameCube Linux Team + * Copyright (C) 2008,2009 Albert Herranz + */ + +#ifndef __USBGECKO_UDBG_H +#define __USBGECKO_UDBG_H + +#ifdef CONFIG_USBGECKO_UDBG + +extern void __init ug_udbg_init(void); + +#else + +static inline void __init ug_udbg_init(void) +{ +} + +#endif /* CONFIG_USBGECKO_UDBG */ + +void __init udbg_init_usbgecko(void); + +#endif /* __USBGECKO_UDBG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/Kconfig index 66981e062f..4c058cc57c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/Kconfig @@ -1,19 +1,19 @@ -# SPDX-License-Identifier: GPL-2.0 -config PPC_MAPLE - depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN - bool "Maple 970FX Evaluation Board" - select FORCE_PCI - select MPIC - select U3_DART - select MPIC_U3_HT_IRQS - select GENERIC_TBSYNC - select PPC_UDBG_16550 - select PPC_970_NAP - select PPC_64S_HASH_MMU - select PPC_HASH_MMU_NATIVE - select PPC_RTAS - select MMIO_NVRAM - select ATA_NONSTANDARD if ATA - help - This option enables support for the Maple 970FX Evaluation Board. - For more information, refer to +# SPDX-License-Identifier: GPL-2.0 +config PPC_MAPLE + depends on PPC64 && PPC_BOOK3S && CPU_BIG_ENDIAN + bool "Maple 970FX Evaluation Board" + select FORCE_PCI + select MPIC + select U3_DART + select MPIC_U3_HT_IRQS + select GENERIC_TBSYNC + select PPC_UDBG_16550 + select PPC_970_NAP + select PPC_64S_HASH_MMU + select PPC_HASH_MMU_NATIVE + select PPC_RTAS + select MMIO_NVRAM + select ATA_NONSTANDARD if ATA + help + This option enables support for the Maple 970FX Evaluation Board. + For more information, refer to diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/maple.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/maple.h index 4e50188aa1..8ddbaa4ebd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/maple.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/maple/maple.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Declarations for maple-specific code. - * - * Maple is the name of a PPC970 evaluation board. - */ -extern int maple_set_rtc_time(struct rtc_time *tm); -extern void maple_get_rtc_time(struct rtc_time *tm); -extern time64_t maple_get_boot_time(void); -extern void maple_pci_init(void); -extern void maple_pci_irq_fixup(struct pci_dev *dev); -extern int maple_pci_get_legacy_ide_irq(struct pci_dev *dev, int channel); - -extern struct pci_controller_ops maple_pci_controller_ops; +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Declarations for maple-specific code. + * + * Maple is the name of a PPC970 evaluation board. + */ +extern int maple_set_rtc_time(struct rtc_time *tm); +extern void maple_get_rtc_time(struct rtc_time *tm); +extern time64_t maple_get_boot_time(void); +extern void maple_pci_init(void); +extern void maple_pci_irq_fixup(struct pci_dev *dev); +extern int maple_pci_get_legacy_ide_irq(struct pci_dev *dev, int channel); + +extern struct pci_controller_ops maple_pci_controller_ops; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/exports.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/exports.c index 35ac809d59..1ac31abcf9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/exports.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/ps3/exports.c @@ -1,13 +1,13 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * PS3 hvcall exports for modules. - * - * Copyright (C) 2006 Sony Computer Entertainment Inc. - * Copyright 2006 Sony Corp. - */ - -#define LV1_CALL(name, in, out, num) \ - extern s64 _lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL); \ - EXPORT_SYMBOL(_lv1_##name); - -#include +// SPDX-License-Identifier: GPL-2.0-only +/* + * PS3 hvcall exports for modules. + * + * Copyright (C) 2006 Sony Computer Entertainment Inc. + * Copyright 2006 Sony Corp. + */ + +#define LV1_CALL(name, in, out, num) \ + extern s64 _lv1_##name(LV1_##in##_IN_##out##_OUT_ARG_DECL); \ + EXPORT_SYMBOL(_lv1_##name); + +#include diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/cc_platform.c b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/cc_platform.c index 3d15997bee..e8021af83a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/cc_platform.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/platforms/pseries/cc_platform.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Confidential Computing Platform Capability checks - * - * Copyright (C) 2021 Advanced Micro Devices, Inc. - * - * Author: Tom Lendacky - */ - -#include -#include - -#include -#include - -bool cc_platform_has(enum cc_attr attr) -{ - switch (attr) { - case CC_ATTR_MEM_ENCRYPT: - return is_secure_guest(); - - default: - return false; - } -} -EXPORT_SYMBOL_GPL(cc_platform_has); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Confidential Computing Platform Capability checks + * + * Copyright (C) 2021 Advanced Micro Devices, Inc. + * + * Author: Tom Lendacky + */ + +#include +#include + +#include +#include + +bool cc_platform_has(enum cc_attr attr) +{ + switch (attr) { + case CC_ATTR_MEM_ENCRYPT: + return is_secure_guest(); + + default: + return false; + } +} +EXPORT_SYMBOL_GPL(cc_platform_has); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/Makefile index da612196fe..e989008595 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/purgatory/Makefile @@ -1,17 +1,17 @@ -# SPDX-License-Identifier: GPL-2.0 - -targets += trampoline_$(BITS).o purgatory.ro - -# When profile-guided optimization is enabled, llvm emits two different -# overlapping text sections, which is not supported by kexec. Remove profile -# optimization flags. -KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%,$(KBUILD_CFLAGS)) - -LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined - -$(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE - $(call if_changed,ld) - -$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro - -obj-y += kexec-purgatory.o +# SPDX-License-Identifier: GPL-2.0 + +targets += trampoline_$(BITS).o purgatory.ro + +# When profile-guided optimization is enabled, llvm emits two different +# overlapping text sections, which is not supported by kexec. Remove profile +# optimization flags. +KBUILD_CFLAGS := $(filter-out -fprofile-sample-use=% -fprofile-use=%,$(KBUILD_CFLAGS)) + +LDFLAGS_purgatory.ro := -e purgatory_start -r --no-undefined + +$(obj)/purgatory.ro: $(obj)/trampoline_$(BITS).o FORCE + $(call if_changed,ld) + +$(obj)/kexec-purgatory.o: $(obj)/purgatory.ro + +obj-y += kexec-purgatory.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/Kconfig index 9c5b479aca..18ff2c4a81 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/sysdev/Kconfig @@ -1,31 +1,31 @@ -# SPDX-License-Identifier: GPL-2.0 -# For a description of the syntax of this configuration file, -# see Documentation/kbuild/kconfig-language.rst. -# - -config PPC4xx_PCI_EXPRESS - bool - depends on PCI && 44x - -config PPC4xx_HSTA_MSI - bool - depends on PCI_MSI - depends on PCI && 44x - -config PPC_MSI_BITMAP - bool - depends on PCI_MSI - default y if MPIC - default y if FSL_PCI - default y if PPC_POWERNV - -source "arch/powerpc/sysdev/xics/Kconfig" -source "arch/powerpc/sysdev/xive/Kconfig" - -config GE_FPGA - bool - -config FSL_CORENET_RCPM - bool - help - This option enables support for RCPM (Run Control/Power Management). +# SPDX-License-Identifier: GPL-2.0 +# For a description of the syntax of this configuration file, +# see Documentation/kbuild/kconfig-language.rst. +# + +config PPC4xx_PCI_EXPRESS + bool + depends on PCI && 44x + +config PPC4xx_HSTA_MSI + bool + depends on PCI_MSI + depends on PCI && 44x + +config PPC_MSI_BITMAP + bool + depends on PCI_MSI + default y if MPIC + default y if FSL_PCI + default y if PPC_POWERNV + +source "arch/powerpc/sysdev/xics/Kconfig" +source "arch/powerpc/sysdev/xive/Kconfig" + +config GE_FPGA + bool + +config FSL_CORENET_RCPM + bool + help + This option enables support for RCPM (Run Control/Power Management). diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/checkpatch.sh b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/checkpatch.sh old mode 100644 new mode 100755 index 0d93cae51f..91c04802ec --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/checkpatch.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/tools/checkpatch.sh @@ -1,22 +1,22 @@ -#!/bin/bash -# SPDX-License-Identifier: GPL-2.0+ -# Copyright 2018, Michael Ellerman, IBM Corporation. -# -# Wrapper around checkpatch that uses our preferred settings - -script_base=$(realpath $(dirname $0)) - -exec $script_base/../../../scripts/checkpatch.pl \ - --subjective \ - --no-summary \ - --show-types \ - --ignore ARCH_INCLUDE_LINUX \ - --ignore BIT_MACRO \ - --ignore COMPARISON_TO_NULL \ - --ignore EMAIL_SUBJECT \ - --ignore FILE_PATH_CHANGES \ - --ignore GLOBAL_INITIALISERS \ - --ignore LINE_SPACING \ - --ignore MULTIPLE_ASSIGNMENTS \ - --ignore DT_SPLIT_BINDING_PATCH \ - $@ +#!/bin/bash +# SPDX-License-Identifier: GPL-2.0+ +# Copyright 2018, Michael Ellerman, IBM Corporation. +# +# Wrapper around checkpatch that uses our preferred settings + +script_base=$(realpath $(dirname $0)) + +exec $script_base/../../../scripts/checkpatch.pl \ + --subjective \ + --no-summary \ + --show-types \ + --ignore ARCH_INCLUDE_LINUX \ + --ignore BIT_MACRO \ + --ignore COMPARISON_TO_NULL \ + --ignore EMAIL_SUBJECT \ + --ignore FILE_PATH_CHANGES \ + --ignore GLOBAL_INITIALISERS \ + --ignore LINE_SPACING \ + --ignore MULTIPLE_ASSIGNMENTS \ + --ignore DT_SPLIT_BINDING_PATCH \ + $@ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/nonstdio.h b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/nonstdio.h index 3178eb2584..e8deac6c84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/nonstdio.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/powerpc/xmon/nonstdio.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#define EOF (-1) - -extern void xmon_set_pagination_lpp(unsigned long lpp); -extern void xmon_start_pagination(void); -extern void xmon_end_pagination(void); -extern int xmon_putchar(int c); -extern void xmon_puts(const char *); -extern char *xmon_gets(char *, int); -extern __printf(1, 2) void xmon_printf(const char *fmt, ...); - -#define printf xmon_printf -#define putchar xmon_putchar +/* SPDX-License-Identifier: GPL-2.0 */ +#define EOF (-1) + +extern void xmon_set_pagination_lpp(unsigned long lpp); +extern void xmon_start_pagination(void); +extern void xmon_end_pagination(void); +extern int xmon_putchar(int c); +extern void xmon_puts(const char *); +extern char *xmon_gets(char *, int); +extern __printf(1, 2) void xmon_printf(const char *fmt, ...); + +#define printf xmon_printf +#define putchar xmon_putchar diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kconfig.vendor b/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kconfig.vendor index 86d6876d99..6f1cdd32ed 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kconfig.vendor +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/Kconfig.vendor @@ -1,19 +1,19 @@ -menu "Vendor extensions" - -config RISCV_ISA_VENDOR_EXT - bool - -menu "Andes" -config RISCV_ISA_VENDOR_EXT_ANDES - bool "Andes vendor extension support" - select RISCV_ISA_VENDOR_EXT - default y - help - Say N here if you want to disable all Andes vendor extension - support. This will cause any Andes vendor extensions that are - requested by hardware probing to be ignored. - - If you don't know what to do here, say Y. -endmenu - -endmenu +menu "Vendor extensions" + +config RISCV_ISA_VENDOR_EXT + bool + +menu "Andes" +config RISCV_ISA_VENDOR_EXT_ANDES + bool "Andes vendor extension support" + select RISCV_ISA_VENDOR_EXT + default y + help + Say N here if you want to disable all Andes vendor extension + support. This will cause any Andes vendor extensions that are + requested by hardware probing to be ignored. + + If you don't know what to do here, say Y. +endmenu + +endmenu diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/Makefile index f137f78230..1c91be38ea 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-clockworkpi-v3.14.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-devterm-v3.14.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-dongshan-nezha-stu.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-480p.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-720p.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-dock.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-mangopi-mq-pro.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-nezha.dtb -dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1s-mangopi-mq.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-clockworkpi-v3.14.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-devterm-v3.14.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-dongshan-nezha-stu.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-480p.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-86-panel-720p.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv-dock.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-lichee-rv.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-mangopi-mq-pro.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1-nezha.dtb +dtb-$(CONFIG_ARCH_SUNXI) += sun20i-d1s-mangopi-mq.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sunxi-d1-t113.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sunxi-d1-t113.dtsi index abb977bad4..3b077dc086 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sunxi-d1-t113.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/allwinner/sunxi-d1-t113.dtsi @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: (GPL-2.0+ OR MIT) -// Copyright (C) 2021-2022 Samuel Holland - -/ { - soc { - dsp_wdt: watchdog@1700400 { - compatible = "allwinner,sun20i-d1-wdt"; - reg = <0x1700400 0x20>; - interrupts = ; - clocks = <&dcxo>, <&rtc CLK_OSC32K>; - clock-names = "hosc", "losc"; - status = "reserved"; - }; - }; -}; +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (C) 2021-2022 Samuel Holland + +/ { + soc { + dsp_wdt: watchdog@1700400 { + compatible = "allwinner,sun20i-d1-wdt"; + reg = <0x1700400 0x20>; + interrupts = ; + clocks = <&dcxo>, <&rtc CLK_OSC32K>; + clock-names = "hosc", "losc"; + status = "reserved"; + }; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/Makefile index 95b1619de3..f51aeeb9fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-beaglev-fire.dtb -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-icicle-kit.dtb -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-m100pfsevp.dtb -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-polarberry.dtb -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-sev-kit.dtb -dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-tysom-m.dtb +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-beaglev-fire.dtb +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-icicle-kit.dtb +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-m100pfsevp.dtb +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-polarberry.dtb +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-sev-kit.dtb +dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-tysom-m.dtb diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi index 3ffdf6d1ad..98f642e83a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/microchip/mpfs-tysom-m-fabric.dtsi @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* Copyright (c) 2022 Microchip Technology Inc */ - -// #include "dt-bindings/mailbox/miv-ihc.h" - -/ { - fabric_clk3: fabric-clk3 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <62500000>; - }; - - fabric_clk1: fabric-clk1 { - compatible = "fixed-clock"; - #clock-cells = <0>; - clock-frequency = <125000000>; - }; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* Copyright (c) 2022 Microchip Technology Inc */ + +// #include "dt-bindings/mailbox/miv-ihc.h" + +/ { + fabric_clk3: fabric-clk3 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <62500000>; + }; + + fabric_clk1: fabric-clk1 { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <125000000>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index bc43edbf7f..ec9530972a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2023 Jisheng Zhang - */ - -#include "cv18xx.dtsi" - -/ { - compatible = "sophgo,cv1800b"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x4000000>; - }; -}; - -&plic { - compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; -}; - -&clint { - compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; -}; - -&clk { - compatible = "sophgo,cv1800-clk"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Jisheng Zhang + */ + +#include "cv18xx.dtsi" + +/ { + compatible = "sophgo,cv1800b"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x4000000>; + }; +}; + +&plic { + compatible = "sophgo,cv1800b-plic", "thead,c900-plic"; +}; + +&clint { + compatible = "sophgo,cv1800b-clint", "thead,c900-clint"; +}; + +&clk { + compatible = "sophgo,cv1800-clk"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1812h.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1812h.dtsi index 6126800f9f..7fa4c1e2d1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1812h.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/sophgo/cv1812h.dtsi @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2023 Inochi Amaoto - */ - -#include -#include "cv18xx.dtsi" - -/ { - compatible = "sophgo,cv1812h"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x10000000>; - }; -}; - -&plic { - compatible = "sophgo,cv1812h-plic", "thead,c900-plic"; -}; - -&clint { - compatible = "sophgo,cv1812h-clint", "thead,c900-clint"; -}; - -&clk { - compatible = "sophgo,cv1810-clk"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Inochi Amaoto + */ + +#include +#include "cv18xx.dtsi" + +/ { + compatible = "sophgo,cv1812h"; + + memory@80000000 { + device_type = "memory"; + reg = <0x80000000 0x10000000>; + }; +}; + +&plic { + compatible = "sophgo,cv1812h-plic", "thead,c900-plic"; +}; + +&clint { + compatible = "sophgo,cv1812h-clint", "thead,c900-clint"; +}; + +&clk { + compatible = "sophgo,cv1810-clk"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts index 824f9faee5..168f5d9895 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7100-beaglev-starlight.dts @@ -1,24 +1,24 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -/* - * Copyright (C) 2021 StarFive Technology Co., Ltd. - * Copyright (C) 2021 Emil Renner Berthing - */ - -/dts-v1/; -#include "jh7100-common.dtsi" - -/ { - model = "BeagleV Starlight Beta"; - compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; -}; - -&gmac { - phy-handle = <&phy>; -}; - -&mdio { - phy: ethernet-phy@7 { - reg = <7>; - reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>; - }; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2021 StarFive Technology Co., Ltd. + * Copyright (C) 2021 Emil Renner Berthing + */ + +/dts-v1/; +#include "jh7100-common.dtsi" + +/ { + model = "BeagleV Starlight Beta"; + compatible = "beagle,beaglev-starlight-jh7100-r0", "starfive,jh7100"; +}; + +&gmac { + phy-handle = <&phy>; +}; + +&mdio { + phy: ethernet-phy@7 { + reg = <7>; + reset-gpios = <&gpio 63 GPIO_ACTIVE_LOW>; + }; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi index 85a676d6fe..18f38fc790 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi @@ -1,42 +1,42 @@ -// SPDX-License-Identifier: GPL-2.0 OR MIT -/* - * Copyright (C) 2022 StarFive Technology Co., Ltd. - * Copyright (C) 2022 Emil Renner Berthing - */ - -/dts-v1/; -#include "jh7110-common.dtsi" - -/ { - aliases { - ethernet1 = &gmac1; - }; -}; - -&gmac1 { - phy-handle = <&phy1>; - phy-mode = "rgmii-id"; - status = "okay"; - - mdio { - #address-cells = <1>; - #size-cells = <0>; - compatible = "snps,dwmac-mdio"; - - phy1: ethernet-phy@1 { - reg = <0>; - }; - }; -}; - -&mmc0 { - non-removable; -}; - -&pcie0 { - status = "okay"; -}; - -&pcie1 { - status = "okay"; -}; +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2022 StarFive Technology Co., Ltd. + * Copyright (C) 2022 Emil Renner Berthing + */ + +/dts-v1/; +#include "jh7110-common.dtsi" + +/ { + aliases { + ethernet1 = &gmac1; + }; +}; + +&gmac1 { + phy-handle = <&phy1>; + phy-mode = "rgmii-id"; + status = "okay"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + compatible = "snps,dwmac-mdio"; + + phy1: ethernet-phy@1 { + reg = <0>; + }; + }; +}; + +&mmc0 { + non-removable; +}; + +&pcie0 { + status = "okay"; +}; + +&pcie1 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts index 3cfd768388..7738d2895c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts @@ -1,37 +1,37 @@ -// SPDX-License-Identifier: (GPL-2.0 OR MIT) -/* - * Copyright (C) 2023 Jisheng Zhang - */ - -#include "th1520-lichee-module-4a.dtsi" - -/ { - model = "Sipeed Lichee Pi 4A"; - compatible = "sipeed,lichee-pi-4a", "sipeed,lichee-module-4a", "thead,th1520"; - - aliases { - gpio0 = &gpio0; - gpio1 = &gpio1; - gpio2 = &gpio2; - gpio3 = &gpio3; - serial0 = &uart0; - serial1 = &uart1; - serial2 = &uart2; - serial3 = &uart3; - serial4 = &uart4; - serial5 = &uart5; - spi0 = &spi0; - }; - - chosen { - stdout-path = "serial0:115200n8"; - }; -}; - -&uart0 { - status = "okay"; -}; - -&spi0 { - status = "okay"; -}; +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (C) 2023 Jisheng Zhang + */ + +#include "th1520-lichee-module-4a.dtsi" + +/ { + model = "Sipeed Lichee Pi 4A"; + compatible = "sipeed,lichee-pi-4a", "sipeed,lichee-module-4a", "thead,th1520"; + + aliases { + gpio0 = &gpio0; + gpio1 = &gpio1; + gpio2 = &gpio2; + gpio3 = &gpio3; + serial0 = &uart0; + serial1 = &uart1; + serial2 = &uart2; + serial3 = &uart3; + serial4 = &uart4; + serial5 = &uart5; + spi0 = &spi0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&spi0 { + status = "okay"; +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/Makefile index 15dad39931..bc6c77ba83 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/errata/Makefile @@ -1,17 +1,17 @@ -ifdef CONFIG_RELOCATABLE -# We can't use PIC/PIE when handling early-boot errata parsing, as the kernel -# doesn't have a GOT setup at that point. So instead just use medany: it's -# usually position-independent, so it should be good enough for the errata -# handling. -KBUILD_CFLAGS += -fno-pie -mcmodel=medany -endif - -ifdef CONFIG_RISCV_ALTERNATIVE_EARLY -ifdef CONFIG_FORTIFY_SOURCE -KBUILD_CFLAGS += -D__NO_FORTIFY -endif -endif - -obj-$(CONFIG_ERRATA_ANDES) += andes/ -obj-$(CONFIG_ERRATA_SIFIVE) += sifive/ -obj-$(CONFIG_ERRATA_THEAD) += thead/ +ifdef CONFIG_RELOCATABLE +# We can't use PIC/PIE when handling early-boot errata parsing, as the kernel +# doesn't have a GOT setup at that point. So instead just use medany: it's +# usually position-independent, so it should be good enough for the errata +# handling. +KBUILD_CFLAGS += -fno-pie -mcmodel=medany +endif + +ifdef CONFIG_RISCV_ALTERNATIVE_EARLY +ifdef CONFIG_FORTIFY_SOURCE +KBUILD_CFLAGS += -D__NO_FORTIFY +endif +endif + +obj-$(CONFIG_ERRATA_ANDES) += andes/ +obj-$(CONFIG_ERRATA_SIFIVE) += sifive/ +obj-$(CONFIG_ERRATA_THEAD) += thead/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/Kbuild b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/Kbuild index 1ceef69de5..1461af12da 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/Kbuild +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/Kbuild @@ -1,15 +1,15 @@ -# SPDX-License-Identifier: GPL-2.0 -syscall-y += syscall_table_32.h -syscall-y += syscall_table_64.h - -generic-y += early_ioremap.h -generic-y += flat.h -generic-y += kvm_para.h -generic-y += mmzone.h -generic-y += parport.h -generic-y += spinlock.h -generic-y += spinlock_types.h -generic-y += qrwlock.h -generic-y += qrwlock_types.h -generic-y += user.h -generic-y += vmlinux.lds.h +# SPDX-License-Identifier: GPL-2.0 +syscall-y += syscall_table_32.h +syscall-y += syscall_table_64.h + +generic-y += early_ioremap.h +generic-y += flat.h +generic-y += kvm_para.h +generic-y += mmzone.h +generic-y += parport.h +generic-y += spinlock.h +generic-y += spinlock_types.h +generic-y += qrwlock.h +generic-y += qrwlock_types.h +generic-y += user.h +generic-y += vmlinux.lds.h diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cacheinfo.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cacheinfo.h index f591828293..d1a365215e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cacheinfo.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cacheinfo.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2020 SiFive - */ - -#ifndef _ASM_RISCV_CACHEINFO_H -#define _ASM_RISCV_CACHEINFO_H - -#include - -struct riscv_cacheinfo_ops { - const struct attribute_group * (*get_priv_group)(struct cacheinfo - *this_leaf); -}; - -void riscv_set_cacheinfo_ops(struct riscv_cacheinfo_ops *ops); -uintptr_t get_cache_size(u32 level, enum cache_type type); -uintptr_t get_cache_geometry(u32 level, enum cache_type type); - -#endif /* _ASM_RISCV_CACHEINFO_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2020 SiFive + */ + +#ifndef _ASM_RISCV_CACHEINFO_H +#define _ASM_RISCV_CACHEINFO_H + +#include + +struct riscv_cacheinfo_ops { + const struct attribute_group * (*get_priv_group)(struct cacheinfo + *this_leaf); +}; + +void riscv_set_cacheinfo_ops(struct riscv_cacheinfo_ops *ops); +uintptr_t get_cache_size(u32 level, enum cache_type type); +uintptr_t get_cache_geometry(u32 level, enum cache_type type); + +#endif /* _ASM_RISCV_CACHEINFO_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu_ops_sbi.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu_ops_sbi.h index 6de8cfe729..d6e4665b31 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu_ops_sbi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpu_ops_sbi.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (c) 2021 by Rivos Inc. - */ -#ifndef __ASM_CPU_OPS_SBI_H -#define __ASM_CPU_OPS_SBI_H - -#ifndef __ASSEMBLY__ -#include -#include -#include - -extern const struct cpu_operations cpu_ops_sbi; - -/** - * struct sbi_hart_boot_data - Hart specific boot used during booting and - * cpu hotplug. - * @task_ptr: A pointer to the hart specific tp - * @stack_ptr: A pointer to the hart specific sp - */ -struct sbi_hart_boot_data { - void *task_ptr; - void *stack_ptr; -}; -#endif - -#endif /* ifndef __ASM_CPU_OPS_SBI_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (c) 2021 by Rivos Inc. + */ +#ifndef __ASM_CPU_OPS_SBI_H +#define __ASM_CPU_OPS_SBI_H + +#ifndef __ASSEMBLY__ +#include +#include +#include + +extern const struct cpu_operations cpu_ops_sbi; + +/** + * struct sbi_hart_boot_data - Hart specific boot used during booting and + * cpu hotplug. + * @task_ptr: A pointer to the hart specific tp + * @stack_ptr: A pointer to the hart specific sp + */ +struct sbi_hart_boot_data { + void *task_ptr; + void *stack_ptr; +}; +#endif + +#endif /* ifndef __ASM_CPU_OPS_SBI_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpuidle.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpuidle.h index 9eb86fc954..71fdc607d4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpuidle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/cpuidle.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2021 Allwinner Ltd - * Copyright (C) 2021 Western Digital Corporation or its affiliates. - */ - -#ifndef _ASM_RISCV_CPUIDLE_H -#define _ASM_RISCV_CPUIDLE_H - -#include -#include - -static inline void cpu_do_idle(void) -{ - /* - * Add mb() here to ensure that all - * IO/MEM accesses are completed prior - * to entering WFI. - */ - mb(); - wait_for_interrupt(); -} - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2021 Allwinner Ltd + * Copyright (C) 2021 Western Digital Corporation or its affiliates. + */ + +#ifndef _ASM_RISCV_CPUIDLE_H +#define _ASM_RISCV_CPUIDLE_H + +#include +#include + +static inline void cpu_do_idle(void) +{ + /* + * Add mb() here to ensure that all + * IO/MEM accesses are completed prior + * to entering WFI. + */ + mb(); + wait_for_interrupt(); +} + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/delay.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/delay.h index 6897e85d1a..524f8ef7c8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/delay.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/delay.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2009 Chen Liqin - * Copyright (C) 2016 Regents of the University of California - */ - -#ifndef _ASM_RISCV_DELAY_H -#define _ASM_RISCV_DELAY_H - -extern unsigned long riscv_timebase; - -#define udelay udelay -extern void udelay(unsigned long usecs); - -#define ndelay ndelay -extern void ndelay(unsigned long nsecs); - -extern void __delay(unsigned long cycles); - -#endif /* _ASM_RISCV_DELAY_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2009 Chen Liqin + * Copyright (C) 2016 Regents of the University of California + */ + +#ifndef _ASM_RISCV_DELAY_H +#define _ASM_RISCV_DELAY_H + +extern unsigned long riscv_timebase; + +#define udelay udelay +extern void udelay(unsigned long usecs); + +#define ndelay ndelay +extern void ndelay(unsigned long nsecs); + +extern void __delay(unsigned long cycles); + +#endif /* _ASM_RISCV_DELAY_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fence.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fence.h index 84779a0d36..182db7930e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fence.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/fence.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_RISCV_FENCE_H -#define _ASM_RISCV_FENCE_H - -#define RISCV_FENCE_ASM(p, s) "\tfence " #p "," #s "\n" -#define RISCV_FENCE(p, s) \ - ({ __asm__ __volatile__ (RISCV_FENCE_ASM(p, s) : : : "memory"); }) - -#ifdef CONFIG_SMP -#define RISCV_ACQUIRE_BARRIER RISCV_FENCE_ASM(r, rw) -#define RISCV_RELEASE_BARRIER RISCV_FENCE_ASM(rw, w) -#define RISCV_FULL_BARRIER RISCV_FENCE_ASM(rw, rw) -#else -#define RISCV_ACQUIRE_BARRIER -#define RISCV_RELEASE_BARRIER -#define RISCV_FULL_BARRIER -#endif - -#endif /* _ASM_RISCV_FENCE_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_RISCV_FENCE_H +#define _ASM_RISCV_FENCE_H + +#define RISCV_FENCE_ASM(p, s) "\tfence " #p "," #s "\n" +#define RISCV_FENCE(p, s) \ + ({ __asm__ __volatile__ (RISCV_FENCE_ASM(p, s) : : : "memory"); }) + +#ifdef CONFIG_SMP +#define RISCV_ACQUIRE_BARRIER RISCV_FENCE_ASM(r, rw) +#define RISCV_RELEASE_BARRIER RISCV_FENCE_ASM(rw, w) +#define RISCV_FULL_BARRIER RISCV_FENCE_ASM(rw, rw) +#else +#define RISCV_ACQUIRE_BARRIER +#define RISCV_RELEASE_BARRIER +#define RISCV_FULL_BARRIER +#endif + +#endif /* _ASM_RISCV_FENCE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/mmiowb.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/mmiowb.h index dc2b31f492..52ce4a399d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/mmiowb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/mmiowb.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_RISCV_MMIOWB_H -#define _ASM_RISCV_MMIOWB_H - -/* - * "o,w" is sufficient to ensure that all writes to the device have completed - * before the write to the spinlock is allowed to commit. - */ -#define mmiowb() RISCV_FENCE(o, w) - -#include -#include - -#endif /* _ASM_RISCV_MMIOWB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_RISCV_MMIOWB_H +#define _ASM_RISCV_MMIOWB_H + +/* + * "o,w" is sufficient to ensure that all writes to the device have completed + * before the write to the spinlock is allowed to commit. + */ +#define mmiowb() RISCV_FENCE(o, w) + +#include +#include + +#endif /* _ASM_RISCV_MMIOWB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/paravirt.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/paravirt.h index a45b33e32e..c0abde70fc 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/paravirt.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/paravirt.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_RISCV_PARAVIRT_H -#define _ASM_RISCV_PARAVIRT_H - -#ifdef CONFIG_PARAVIRT -#include - -struct static_key; -extern struct static_key paravirt_steal_enabled; -extern struct static_key paravirt_steal_rq_enabled; - -u64 dummy_steal_clock(int cpu); - -DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); - -static inline u64 paravirt_steal_clock(int cpu) -{ - return static_call(pv_steal_clock)(cpu); -} - -int __init pv_time_init(void); - -#else - -#define pv_time_init() do {} while (0) - -#endif /* CONFIG_PARAVIRT */ -#endif /* _ASM_RISCV_PARAVIRT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_RISCV_PARAVIRT_H +#define _ASM_RISCV_PARAVIRT_H + +#ifdef CONFIG_PARAVIRT +#include + +struct static_key; +extern struct static_key paravirt_steal_enabled; +extern struct static_key paravirt_steal_rq_enabled; + +u64 dummy_steal_clock(int cpu); + +DECLARE_STATIC_CALL(pv_steal_clock, dummy_steal_clock); + +static inline u64 paravirt_steal_clock(int cpu) +{ + return static_call(pv_steal_clock)(cpu); +} + +int __init pv_time_init(void); + +#else + +#define pv_time_init() do {} while (0) + +#endif /* CONFIG_PARAVIRT */ +#endif /* _ASM_RISCV_PARAVIRT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/patch.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/patch.h index 79c5746bf4..7228e266b9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/patch.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/patch.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2020 SiFive - */ - -#ifndef _ASM_RISCV_PATCH_H -#define _ASM_RISCV_PATCH_H - -int patch_insn_write(void *addr, const void *insn, size_t len); -int patch_text_nosync(void *addr, const void *insns, size_t len); -int patch_text_set_nosync(void *addr, u8 c, size_t len); -int patch_text(void *addr, u32 *insns, size_t len); - -extern int riscv_patch_in_stop_machine; - -#endif /* _ASM_RISCV_PATCH_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2020 SiFive + */ + +#ifndef _ASM_RISCV_PATCH_H +#define _ASM_RISCV_PATCH_H + +int patch_insn_write(void *addr, const void *insn, size_t len); +int patch_text_nosync(void *addr, const void *insns, size_t len); +int patch_text_set_nosync(void *addr, u8 c, size_t len); +int patch_text(void *addr, u32 *insns, size_t len); + +extern int riscv_patch_in_stop_machine; + +#endif /* _ASM_RISCV_PATCH_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/perf_event.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/perf_event.h index a09a6c5546..665bbc9b2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/perf_event.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/perf_event.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2018 SiFive - * Copyright (C) 2018 Andes Technology Corporation - * - */ - -#ifndef _ASM_RISCV_PERF_EVENT_H -#define _ASM_RISCV_PERF_EVENT_H - -#include -#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs - -#define perf_arch_fetch_caller_regs(regs, __ip) { \ - (regs)->epc = (__ip); \ - (regs)->s0 = (unsigned long) __builtin_frame_address(0); \ - (regs)->sp = current_stack_pointer; \ - (regs)->status = SR_PP; \ -} -#endif /* _ASM_RISCV_PERF_EVENT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2018 SiFive + * Copyright (C) 2018 Andes Technology Corporation + * + */ + +#ifndef _ASM_RISCV_PERF_EVENT_H +#define _ASM_RISCV_PERF_EVENT_H + +#include +#define perf_arch_bpf_user_pt_regs(regs) (struct user_regs_struct *)regs + +#define perf_arch_fetch_caller_regs(regs, __ip) { \ + (regs)->epc = (__ip); \ + (regs)->s0 = (unsigned long) __builtin_frame_address(0); \ + (regs)->sp = current_stack_pointer; \ + (regs)->status = SR_PP; \ +} +#endif /* _ASM_RISCV_PERF_EVENT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/probes.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/probes.h index 1d70329035..a787e6d537 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/probes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/probes.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_RISCV_PROBES_H -#define _ASM_RISCV_PROBES_H - -typedef u32 probe_opcode_t; -typedef bool (probes_handler_t) (u32 opcode, unsigned long addr, struct pt_regs *); - -/* architecture specific copy of original instruction */ -struct arch_probe_insn { - probe_opcode_t *insn; - probes_handler_t *handler; - /* restore address after simulation */ - unsigned long restore; -}; - -#ifdef CONFIG_KPROBES -typedef u32 kprobe_opcode_t; -struct arch_specific_insn { - struct arch_probe_insn api; -}; -#endif - -#endif /* _ASM_RISCV_PROBES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_RISCV_PROBES_H +#define _ASM_RISCV_PROBES_H + +typedef u32 probe_opcode_t; +typedef bool (probes_handler_t) (u32 opcode, unsigned long addr, struct pt_regs *); + +/* architecture specific copy of original instruction */ +struct arch_probe_insn { + probe_opcode_t *insn; + probes_handler_t *handler; + /* restore address after simulation */ + unsigned long restore; +}; + +#ifdef CONFIG_KPROBES +typedef u32 kprobe_opcode_t; +struct arch_specific_insn { + struct arch_probe_insn api; +}; +#endif + +#endif /* _ASM_RISCV_PROBES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/seccomp.h index 594fbf782a..c7ee6a3507 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/seccomp.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_SECCOMP_H -#define _ASM_SECCOMP_H - -#include - -#include - -#ifdef CONFIG_64BIT -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV64 -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "riscv64" -#else /* !CONFIG_64BIT */ -# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV32 -# define SECCOMP_ARCH_NATIVE_NR NR_syscalls -# define SECCOMP_ARCH_NATIVE_NAME "riscv32" -#endif - -#endif /* _ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_SECCOMP_H +#define _ASM_SECCOMP_H + +#include + +#include + +#ifdef CONFIG_64BIT +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV64 +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "riscv64" +#else /* !CONFIG_64BIT */ +# define SECCOMP_ARCH_NATIVE AUDIT_ARCH_RISCV32 +# define SECCOMP_ARCH_NATIVE_NR NR_syscalls +# define SECCOMP_ARCH_NATIVE_NAME "riscv32" +#endif + +#endif /* _ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/semihost.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/semihost.h index ee5af90a3a..557a349381 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/semihost.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/semihost.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2022 tinylab.org - * Author: Bin Meng - */ - -#ifndef _RISCV_SEMIHOST_H_ -#define _RISCV_SEMIHOST_H_ - -struct uart_port; - -static inline void smh_putc(struct uart_port *port, unsigned char c) -{ - asm volatile("addi a1, %0, 0\n" - "addi a0, zero, 3\n" - ".balign 16\n" - ".option push\n" - ".option norvc\n" - "slli zero, zero, 0x1f\n" - "ebreak\n" - "srai zero, zero, 0x7\n" - ".option pop\n" - : : "r" (&c) : "a0", "a1", "memory"); -} - -#endif /* _RISCV_SEMIHOST_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2022 tinylab.org + * Author: Bin Meng + */ + +#ifndef _RISCV_SEMIHOST_H_ +#define _RISCV_SEMIHOST_H_ + +struct uart_port; + +static inline void smh_putc(struct uart_port *port, unsigned char c) +{ + asm volatile("addi a1, %0, 0\n" + "addi a0, zero, 3\n" + ".balign 16\n" + ".option push\n" + ".option norvc\n" + "slli zero, zero, 0x1f\n" + "ebreak\n" + "srai zero, zero, 0x7\n" + ".option pop\n" + : : "r" (&c) : "a0", "a1", "memory"); +} + +#endif /* _RISCV_SEMIHOST_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/signal32.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/signal32.h index d8467d791b..96dc56932e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/signal32.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/signal32.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_SIGNAL32_H -#define __ASM_SIGNAL32_H - -#if IS_ENABLED(CONFIG_COMPAT) -int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, - struct pt_regs *regs); -#else -static inline -int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, - struct pt_regs *regs) -{ - return -1; -} -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef __ASM_SIGNAL32_H +#define __ASM_SIGNAL32_H + +#if IS_ENABLED(CONFIG_COMPAT) +int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, + struct pt_regs *regs); +#else +static inline +int compat_setup_rt_frame(struct ksignal *ksig, sigset_t *set, + struct pt_regs *regs) +{ + return -1; +} +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/stackprotector.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/stackprotector.h index 413f26c1ba..43895b90fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/stackprotector.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/stackprotector.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _ASM_RISCV_STACKPROTECTOR_H -#define _ASM_RISCV_STACKPROTECTOR_H - -extern unsigned long __stack_chk_guard; - -/* - * Initialize the stackprotector canary value. - * - * NOTE: this must only be called from functions that never return, - * and it must always be inlined. - */ -static __always_inline void boot_init_stack_canary(void) -{ - unsigned long canary = get_random_canary(); - - current->stack_canary = canary; - if (!IS_ENABLED(CONFIG_STACKPROTECTOR_PER_TASK)) - __stack_chk_guard = current->stack_canary; -} -#endif /* _ASM_RISCV_STACKPROTECTOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _ASM_RISCV_STACKPROTECTOR_H +#define _ASM_RISCV_STACKPROTECTOR_H + +extern unsigned long __stack_chk_guard; + +/* + * Initialize the stackprotector canary value. + * + * NOTE: this must only be called from functions that never return, + * and it must always be inlined. + */ +static __always_inline void boot_init_stack_canary(void) +{ + unsigned long canary = get_random_canary(); + + current->stack_canary = canary; + if (!IS_ENABLED(CONFIG_STACKPROTECTOR_PER_TASK)) + __stack_chk_guard = current->stack_canary; +} +#endif /* _ASM_RISCV_STACKPROTECTOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/data.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/data.h index e7b1f696ea..dc2f76f58b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/data.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/data.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __RISCV_ASM_VDSO_DATA_H -#define __RISCV_ASM_VDSO_DATA_H - -#include -#include -#include - -struct arch_vdso_data { - /* Stash static answers to the hwprobe queries when all CPUs are selected. */ - __u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1]; - - /* Boolean indicating all CPUs have the same static hwprobe values. */ - __u8 homogeneous_cpus; -}; - -#endif /* __RISCV_ASM_VDSO_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __RISCV_ASM_VDSO_DATA_H +#define __RISCV_ASM_VDSO_DATA_H + +#include +#include +#include + +struct arch_vdso_data { + /* Stash static answers to the hwprobe queries when all CPUs are selected. */ + __u64 all_cpu_hwprobe_values[RISCV_HWPROBE_MAX_KEY + 1]; + + /* Boolean indicating all CPUs have the same static hwprobe values. */ + __u8 homogeneous_cpus; +}; + +#endif /* __RISCV_ASM_VDSO_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/processor.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/processor.h index f6b143cd14..8f383f05a2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/processor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vdso/processor.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_VDSO_PROCESSOR_H -#define __ASM_VDSO_PROCESSOR_H - -#ifndef __ASSEMBLY__ - -#include -#include - -static inline void cpu_relax(void) -{ -#ifdef __riscv_muldiv - int dummy; - /* In lieu of a halt instruction, induce a long-latency stall. */ - __asm__ __volatile__ ("div %0, %0, zero" : "=r" (dummy)); -#endif - - /* - * Reduce instruction retirement. - * This assumes the PC changes. - */ - __asm__ __volatile__ (RISCV_PAUSE); - barrier(); -} - -#endif /* __ASSEMBLY__ */ - -#endif /* __ASM_VDSO_PROCESSOR_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_VDSO_PROCESSOR_H +#define __ASM_VDSO_PROCESSOR_H + +#ifndef __ASSEMBLY__ + +#include +#include + +static inline void cpu_relax(void) +{ +#ifdef __riscv_muldiv + int dummy; + /* In lieu of a halt instruction, induce a long-latency stall. */ + __asm__ __volatile__ ("div %0, %0, zero" : "=r" (dummy)); +#endif + + /* + * Reduce instruction retirement. + * This assumes the PC changes. + */ + __asm__ __volatile__ (RISCV_PAUSE); + barrier(); +} + +#endif /* __ASSEMBLY__ */ + +#endif /* __ASM_VDSO_PROCESSOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendor_extensions/andes.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendor_extensions/andes.h index 1a0d021d24..7bb2fc4343 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendor_extensions/andes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vendor_extensions/andes.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H -#define _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H - -#include - -#include - -#define RISCV_ISA_VENDOR_EXT_XANDESPMU 0 - -/* - * Extension keys should be strictly less than max. - * It is safe to increment this when necessary. - */ -#define RISCV_ISA_VENDOR_EXT_MAX_ANDES 32 - -extern struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H +#define _ASM_RISCV_VENDOR_EXTENSIONS_ANDES_H + +#include + +#include + +#define RISCV_ISA_VENDOR_EXT_XANDESPMU 0 + +/* + * Extension keys should be strictly less than max. + * It is safe to increment this when necessary. + */ +#define RISCV_ISA_VENDOR_EXT_MAX_ANDES 32 + +extern struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vmalloc.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vmalloc.h index 0b08447f6f..fefe94dc98 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vmalloc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/asm/vmalloc.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_RISCV_VMALLOC_H -#define _ASM_RISCV_VMALLOC_H - -#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP - -extern bool pgtable_l4_enabled, pgtable_l5_enabled; - -#define IOREMAP_MAX_ORDER (PUD_SHIFT) - -#define arch_vmap_pud_supported arch_vmap_pud_supported -static inline bool arch_vmap_pud_supported(pgprot_t prot) -{ - return pgtable_l4_enabled || pgtable_l5_enabled; -} - -#define arch_vmap_pmd_supported arch_vmap_pmd_supported -static inline bool arch_vmap_pmd_supported(pgprot_t prot) -{ - return true; -} - -#endif - -#endif /* _ASM_RISCV_VMALLOC_H */ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef _ASM_RISCV_VMALLOC_H +#define _ASM_RISCV_VMALLOC_H + +#ifdef CONFIG_HAVE_ARCH_HUGE_VMAP + +extern bool pgtable_l4_enabled, pgtable_l5_enabled; + +#define IOREMAP_MAX_ORDER (PUD_SHIFT) + +#define arch_vmap_pud_supported arch_vmap_pud_supported +static inline bool arch_vmap_pud_supported(pgprot_t prot) +{ + return pgtable_l4_enabled || pgtable_l5_enabled; +} + +#define arch_vmap_pmd_supported arch_vmap_pmd_supported +static inline bool arch_vmap_pmd_supported(pgprot_t prot) +{ + return true; +} + +#endif + +#endif /* _ASM_RISCV_VMALLOC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bitsperlong.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bitsperlong.h index b56c3177c2..7d0b32e3b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bitsperlong.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/include/uapi/asm/bitsperlong.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ -/* - * Copyright (C) 2012 ARM Ltd. - * Copyright (C) 2015 Regents of the University of California - */ - -#ifndef _UAPI_ASM_RISCV_BITSPERLONG_H -#define _UAPI_ASM_RISCV_BITSPERLONG_H - -#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8) - -#include - -#endif /* _UAPI_ASM_RISCV_BITSPERLONG_H */ +/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */ +/* + * Copyright (C) 2012 ARM Ltd. + * Copyright (C) 2015 Regents of the University of California + */ + +#ifndef _UAPI_ASM_RISCV_BITSPERLONG_H +#define _UAPI_ASM_RISCV_BITSPERLONG_H + +#define __BITS_PER_LONG (__SIZEOF_POINTER__ * 8) + +#include + +#endif /* _UAPI_ASM_RISCV_BITSPERLONG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/copy-unaligned.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/copy-unaligned.h index 420ca1f0c4..e3d70d35b7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/copy-unaligned.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/copy-unaligned.h @@ -1,13 +1,13 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos, Inc. - */ -#ifndef __RISCV_KERNEL_COPY_UNALIGNED_H -#define __RISCV_KERNEL_COPY_UNALIGNED_H - -#include - -void __riscv_copy_words_unaligned(void *dst, const void *src, size_t size); -void __riscv_copy_bytes_unaligned(void *dst, const void *src, size_t size); - -#endif /* __RISCV_KERNEL_COPY_UNALIGNED_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos, Inc. + */ +#ifndef __RISCV_KERNEL_COPY_UNALIGNED_H +#define __RISCV_KERNEL_COPY_UNALIGNED_H + +#include + +void __riscv_copy_words_unaligned(void *dst, const void *src, size_t size); +void __riscv_copy_bytes_unaligned(void *dst, const void *src, size_t size); + +#endif /* __RISCV_KERNEL_COPY_UNALIGNED_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/crash_dump.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/crash_dump.c index 6c29fce606..ea2158cee9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/crash_dump.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/crash_dump.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * This code comes from arch/arm64/kernel/crash_dump.c - * Created by: AKASHI Takahiro - * Copyright (C) 2017 Linaro Limited - */ - -#include -#include -#include - -ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, - size_t csize, unsigned long offset) -{ - void *vaddr; - - if (!csize) - return 0; - - vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); - if (!vaddr) - return -ENOMEM; - - csize = copy_to_iter(vaddr + offset, csize, iter); - - memunmap(vaddr); - return csize; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * This code comes from arch/arm64/kernel/crash_dump.c + * Created by: AKASHI Takahiro + * Copyright (C) 2017 Linaro Limited + */ + +#include +#include +#include + +ssize_t copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, + size_t csize, unsigned long offset) +{ + void *vaddr; + + if (!csize) + return 0; + + vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); + if (!vaddr) + return -ENOMEM; + + csize = copy_to_iter(vaddr + offset, csize, iter); + + memunmap(vaddr); + return csize; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/head.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/head.h index 13e2e03592..a556fdaafe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/head.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/head.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2019 SiFive, Inc. - */ -#ifndef __ASM_HEAD_H -#define __ASM_HEAD_H - -#include -#include - -extern atomic_t hart_lottery; - -asmlinkage void __init setup_vm(uintptr_t dtb_pa); -#ifdef CONFIG_XIP_KERNEL -asmlinkage void __init __copy_data(void); -#endif - -#ifdef CONFIG_RISCV_BOOT_SPINWAIT -extern void *__cpu_spinwait_stack_pointer[]; -extern void *__cpu_spinwait_task_pointer[]; -#endif - -#endif /* __ASM_HEAD_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2019 SiFive, Inc. + */ +#ifndef __ASM_HEAD_H +#define __ASM_HEAD_H + +#include +#include + +extern atomic_t hart_lottery; + +asmlinkage void __init setup_vm(uintptr_t dtb_pa); +#ifdef CONFIG_XIP_KERNEL +asmlinkage void __init __copy_data(void); +#endif + +#ifdef CONFIG_RISCV_BOOT_SPINWAIT +extern void *__cpu_spinwait_stack_pointer[]; +extern void *__cpu_spinwait_task_pointer[]; +#endif + +#endif /* __ASM_HEAD_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/kernel_mode_fpu.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/kernel_mode_fpu.c index 034ffa3713..0ac8348876 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/kernel_mode_fpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/kernel_mode_fpu.c @@ -1,28 +1,28 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2023 SiFive - */ - -#include -#include - -#include -#include -#include -#include - -void kernel_fpu_begin(void) -{ - preempt_disable(); - fstate_save(current, task_pt_regs(current)); - csr_set(CSR_SSTATUS, SR_FS); -} -EXPORT_SYMBOL_GPL(kernel_fpu_begin); - -void kernel_fpu_end(void) -{ - csr_clear(CSR_SSTATUS, SR_FS); - fstate_restore(current, task_pt_regs(current)); - preempt_enable(); -} -EXPORT_SYMBOL_GPL(kernel_fpu_end); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2023 SiFive + */ + +#include +#include + +#include +#include +#include +#include + +void kernel_fpu_begin(void) +{ + preempt_disable(); + fstate_save(current, task_pt_regs(current)); + csr_set(CSR_SSTATUS, SR_FS); +} +EXPORT_SYMBOL_GPL(kernel_fpu_begin); + +void kernel_fpu_end(void) +{ + csr_clear(CSR_SSTATUS, SR_FS); + fstate_restore(current, task_pt_regs(current)); + preempt_enable(); +} +EXPORT_SYMBOL_GPL(kernel_fpu_end); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/archrandom_early.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/archrandom_early.c index 0619a5680c..3f05d3cf3b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/archrandom_early.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/archrandom_early.c @@ -1,30 +1,30 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include - -#include "pi.h" - -/* - * To avoid rewriting code include asm/archrandom.h and create macros - * for the functions that won't be included. - */ -#undef riscv_has_extension_unlikely -#define riscv_has_extension_likely(...) false -#undef pr_err_once -#define pr_err_once(...) - -#include - -u64 get_kaslr_seed_zkr(const uintptr_t dtb_pa) -{ - unsigned long seed = 0; - - if (!fdt_early_match_extension_isa((const void *)dtb_pa, "zkr")) - return 0; - - if (!csr_seed_long(&seed)) - return 0; - - return seed; -} +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include + +#include "pi.h" + +/* + * To avoid rewriting code include asm/archrandom.h and create macros + * for the functions that won't be included. + */ +#undef riscv_has_extension_unlikely +#define riscv_has_extension_likely(...) false +#undef pr_err_once +#define pr_err_once(...) + +#include + +u64 get_kaslr_seed_zkr(const uintptr_t dtb_pa) +{ + unsigned long seed = 0; + + if (!fdt_early_match_extension_isa((const void *)dtb_pa, "zkr")) + return 0; + + if (!csr_seed_long(&seed)) + return 0; + + return seed; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/pi.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/pi.h index 313d5b26fd..21141d84fe 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/pi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/pi/pi.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _RISCV_PI_H_ -#define _RISCV_PI_H_ - -#include - -/* - * The following functions are exported (but prefixed). Declare them here so - * that LLVM does not complain it lacks the 'static' keyword (which, if - * added, makes LLVM complain because the function is unused). - */ - -u64 get_kaslr_seed(uintptr_t dtb_pa); -u64 get_kaslr_seed_zkr(const uintptr_t dtb_pa); -bool set_nokaslr_from_cmdline(uintptr_t dtb_pa); -u64 set_satp_mode_from_cmdline(uintptr_t dtb_pa); - -bool fdt_early_match_extension_isa(const void *fdt, const char *ext_name); - -#endif /* _RISCV_PI_H_ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _RISCV_PI_H_ +#define _RISCV_PI_H_ + +#include + +/* + * The following functions are exported (but prefixed). Declare them here so + * that LLVM does not complain it lacks the 'static' keyword (which, if + * added, makes LLVM complain because the function is unused). + */ + +u64 get_kaslr_seed(uintptr_t dtb_pa); +u64 get_kaslr_seed_zkr(const uintptr_t dtb_pa); +bool set_nokaslr_from_cmdline(uintptr_t dtb_pa); +u64 set_satp_mode_from_cmdline(uintptr_t dtb_pa); + +bool fdt_early_match_extension_isa(const void *fdt, const char *ext_name); + +#endif /* _RISCV_PI_H_ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/Makefile index 68eddea57e..d2129f2c61 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/Makefile @@ -1,7 +1,7 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o simulate-insn.o -obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o -obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o -CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE) -CFLAGS_REMOVE_rethook_trampoline.o = $(CC_FLAGS_FTRACE) +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_KPROBES) += kprobes.o decode-insn.o simulate-insn.o +obj-$(CONFIG_RETHOOK) += rethook.o rethook_trampoline.o +obj-$(CONFIG_UPROBES) += uprobes.o decode-insn.o simulate-insn.o +CFLAGS_REMOVE_simulate-insn.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_rethook.o = $(CC_FLAGS_FTRACE) +CFLAGS_REMOVE_rethook_trampoline.o = $(CC_FLAGS_FTRACE) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/decode-insn.h b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/decode-insn.h index 9540804861..42269a7d67 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/decode-insn.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/probes/decode-insn.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ - -#ifndef _RISCV_KERNEL_KPROBES_DECODE_INSN_H -#define _RISCV_KERNEL_KPROBES_DECODE_INSN_H - -#include -#include - -enum probe_insn { - INSN_REJECTED, - INSN_GOOD_NO_SLOT, - INSN_GOOD, -}; - -enum probe_insn __kprobes -riscv_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *asi); - -#endif /* _RISCV_KERNEL_KPROBES_DECODE_INSN_H */ +/* SPDX-License-Identifier: GPL-2.0+ */ + +#ifndef _RISCV_KERNEL_KPROBES_DECODE_INSN_H +#define _RISCV_KERNEL_KPROBES_DECODE_INSN_H + +#include +#include + +enum probe_insn { + INSN_REJECTED, + INSN_GOOD_NO_SLOT, + INSN_GOOD, +}; + +enum probe_insn __kprobes +riscv_probe_decode_insn(probe_opcode_t *addr, struct arch_probe_insn *asi); + +#endif /* _RISCV_KERNEL_KPROBES_DECODE_INSN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/reset.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/reset.c index a6881a1afa..9122885722 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/reset.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/reset.c @@ -1,34 +1,34 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2012 Regents of the University of California - */ - -#include -#include - -static void default_power_off(void) -{ - while (1) - wait_for_interrupt(); -} - -void (*pm_power_off)(void) = NULL; -EXPORT_SYMBOL(pm_power_off); - -void machine_restart(char *cmd) -{ - do_kernel_restart(cmd); - while (1); -} - -void machine_halt(void) -{ - do_kernel_power_off(); - default_power_off(); -} - -void machine_power_off(void) -{ - do_kernel_power_off(); - default_power_off(); -} +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2012 Regents of the University of California + */ + +#include +#include + +static void default_power_off(void) +{ + while (1) + wait_for_interrupt(); +} + +void (*pm_power_off)(void) = NULL; +EXPORT_SYMBOL(pm_power_off); + +void machine_restart(char *cmd) +{ + do_kernel_restart(cmd); + while (1); +} + +void machine_halt(void) +{ + do_kernel_power_off(); + default_power_off(); +} + +void machine_power_off(void) +{ + do_kernel_power_off(); + default_power_off(); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/riscv_ksyms.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/riscv_ksyms.c index d392d37330..5ab1c7e1a6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/riscv_ksyms.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/riscv_ksyms.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (C) 2017 Zihao Yu - */ - -#include -#include - -/* - * Assembly functions that may be used (directly or indirectly) by modules - */ -EXPORT_SYMBOL(memset); -EXPORT_SYMBOL(memcpy); -EXPORT_SYMBOL(memmove); -EXPORT_SYMBOL(__memset); -EXPORT_SYMBOL(__memcpy); -EXPORT_SYMBOL(__memmove); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (C) 2017 Zihao Yu + */ + +#include +#include + +/* + * Assembly functions that may be used (directly or indirectly) by modules + */ +EXPORT_SYMBOL(memset); +EXPORT_SYMBOL(memcpy); +EXPORT_SYMBOL(memmove); +EXPORT_SYMBOL(__memset); +EXPORT_SYMBOL(__memcpy); +EXPORT_SYMBOL(__memmove); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/Makefile index d07b1deb82..d7a6fd8943 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/Makefile @@ -1,15 +1,15 @@ -obj-m += test_module_linking.o - -test_sub := test_sub6.o test_sub8.o test_sub16.o test_sub32.o test_sub64.o - -test_set := test_set6.o test_set8.o test_set16.o test_set32.o - -test_module_linking-objs += $(test_sub) - -test_module_linking-objs += $(test_set) - -ifeq ($(CONFIG_AS_HAS_ULEB128),y) -test_module_linking-objs += test_uleb128.o -endif - -test_module_linking-objs += test_module_linking_main.o +obj-m += test_module_linking.o + +test_sub := test_sub6.o test_sub8.o test_sub16.o test_sub32.o test_sub64.o + +test_set := test_set6.o test_set8.o test_set16.o test_set32.o + +test_module_linking-objs += $(test_sub) + +test_module_linking-objs += $(test_set) + +ifeq ($(CONFIG_AS_HAS_ULEB128),y) +test_module_linking-objs += test_uleb128.o +endif + +test_module_linking-objs += test_module_linking_main.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_uleb128.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_uleb128.S index cacdfefcff..8515ed7cd8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_uleb128.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/tests/module_test/test_uleb128.S @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2023 Rivos Inc. - */ - -.text -.global test_uleb_basic -test_uleb_basic: - lw a0, second - addi a0, a0, -127 - ret - -.global test_uleb_large -test_uleb_large: - lw a0, fourth - addi a0, a0, -0x07e8 - ret - -.data -first: - .space 127 -second: - .reloc second, R_RISCV_SET_ULEB128, second - .reloc second, R_RISCV_SUB_ULEB128, first - .word 0 -third: - .space 1000 -fourth: - .reloc fourth, R_RISCV_SET_ULEB128, fourth - .reloc fourth, R_RISCV_SUB_ULEB128, third - .word 0 +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2023 Rivos Inc. + */ + +.text +.global test_uleb_basic +test_uleb_basic: + lw a0, second + addi a0, a0, -127 + ret + +.global test_uleb_large +test_uleb_large: + lw a0, fourth + addi a0, a0, -0x07e8 + ret + +.data +first: + .space 127 +second: + .reloc second, R_RISCV_SET_ULEB128, second + .reloc second, R_RISCV_SUB_ULEB128, first + .word 0 +third: + .space 1000 +fourth: + .reloc fourth, R_RISCV_SET_ULEB128, fourth + .reloc fourth, R_RISCV_SUB_ULEB128, third + .word 0 diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/flush_icache.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/flush_icache.S index 5fe888553b..8f884227e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/flush_icache.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/flush_icache.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2017 SiFive - */ - -#include -#include - - .text -/* int __vdso_flush_icache(void *start, void *end, unsigned long flags); */ -SYM_FUNC_START(__vdso_flush_icache) - .cfi_startproc -#ifdef CONFIG_SMP - li a7, __NR_riscv_flush_icache - ecall -#else - fence.i - li a0, 0 -#endif - ret - .cfi_endproc -SYM_FUNC_END(__vdso_flush_icache) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2017 SiFive + */ + +#include +#include + + .text +/* int __vdso_flush_icache(void *start, void *end, unsigned long flags); */ +SYM_FUNC_START(__vdso_flush_icache) + .cfi_startproc +#ifdef CONFIG_SMP + li a7, __NR_riscv_flush_icache + ecall +#else + fence.i + li a0, 0 +#endif + ret + .cfi_endproc +SYM_FUNC_END(__vdso_flush_icache) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/getcpu.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/getcpu.S index 41cbd240f6..9c1bd53190 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/getcpu.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/getcpu.S @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2017 SiFive - */ - -#include -#include - - .text -/* int __vdso_getcpu(unsigned *cpu, unsigned *node, void *unused); */ -SYM_FUNC_START(__vdso_getcpu) - .cfi_startproc - /* For now, just do the syscall. */ - li a7, __NR_getcpu - ecall - ret - .cfi_endproc -SYM_FUNC_END(__vdso_getcpu) +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2017 SiFive + */ + +#include +#include + + .text +/* int __vdso_getcpu(unsigned *cpu, unsigned *node, void *unused); */ +SYM_FUNC_START(__vdso_getcpu) + .cfi_startproc + /* For now, just do the syscall. */ + li a7, __NR_getcpu + ecall + ret + .cfi_endproc +SYM_FUNC_END(__vdso_getcpu) diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vdso.S b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vdso.S index f1cc5bb31a..83f1c899e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vdso.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vdso.S @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * Copyright (C) 2014 Regents of the University of California - */ - -#include -#include -#include - -#ifndef __VDSO_PATH -#define __VDSO_PATH "arch/riscv/kernel/vdso/vdso.so" -#endif - - __PAGE_ALIGNED_DATA - - .globl vdso_start, vdso_end - .balign PAGE_SIZE -vdso_start: - .incbin __VDSO_PATH - .balign PAGE_SIZE -vdso_end: - - .previous +/* SPDX-License-Identifier: GPL-2.0-only */ +/* + * Copyright (C) 2014 Regents of the University of California + */ + +#include +#include +#include + +#ifndef __VDSO_PATH +#define __VDSO_PATH "arch/riscv/kernel/vdso/vdso.so" +#endif + + __PAGE_ALIGNED_DATA + + .globl vdso_start, vdso_end + .balign PAGE_SIZE +vdso_start: + .incbin __VDSO_PATH + .balign PAGE_SIZE +vdso_end: + + .previous diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vgettimeofday.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vgettimeofday.c index dd298388a4..b350578025 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vgettimeofday.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vdso/vgettimeofday.c @@ -1,26 +1,26 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copied from arch/arm64/kernel/vdso/vgettimeofday.c - * - * Copyright (C) 2018 ARM Ltd. - * Copyright (C) 2020 SiFive - */ - -#include -#include -#include - -int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) -{ - return __cvdso_clock_gettime(clock, ts); -} - -int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) -{ - return __cvdso_gettimeofday(tv, tz); -} - -int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) -{ - return __cvdso_clock_getres(clock_id, res); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copied from arch/arm64/kernel/vdso/vgettimeofday.c + * + * Copyright (C) 2018 ARM Ltd. + * Copyright (C) 2020 SiFive + */ + +#include +#include +#include + +int __vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) +{ + return __cvdso_clock_gettime(clock, ts); +} + +int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) +{ + return __cvdso_gettimeofday(tv, tz); +} + +int __vdso_clock_getres(clockid_t clock_id, struct __kernel_timespec *res) +{ + return __cvdso_clock_getres(clock_id, res); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/andes.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/andes.c index d7f602450f..51f302b6d5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/andes.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/kernel/vendor_extensions/andes.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0-only - -#include -#include -#include - -#include -#include - -/* All Andes vendor extensions supported in Linux */ -static const struct riscv_isa_ext_data riscv_isa_vendor_ext_andes[] = { - __RISCV_ISA_EXT_DATA(xandespmu, RISCV_ISA_VENDOR_EXT_XANDESPMU), -}; - -struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes = { - .ext_data_count = ARRAY_SIZE(riscv_isa_vendor_ext_andes), - .ext_data = riscv_isa_vendor_ext_andes, -}; +// SPDX-License-Identifier: GPL-2.0-only + +#include +#include +#include + +#include +#include + +/* All Andes vendor extensions supported in Linux */ +static const struct riscv_isa_ext_data riscv_isa_vendor_ext_andes[] = { + __RISCV_ISA_EXT_DATA(xandespmu, RISCV_ISA_VENDOR_EXT_XANDESPMU), +}; + +struct riscv_isa_vendor_ext_data_list riscv_isa_vendor_ext_list_andes = { + .ext_data_count = ARRAY_SIZE(riscv_isa_vendor_ext_andes), + .ext_data = riscv_isa_vendor_ext_andes, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/mm/cache-ops.c b/image/debian/UFI003_MB_V02/kernel/arch/riscv/mm/cache-ops.c index 19bd58d9ce..a993ad11d0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/mm/cache-ops.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/mm/cache-ops.c @@ -1,17 +1,17 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* - * Copyright (c) 2021 Western Digital Corporation or its affiliates. - */ - -#include - -struct riscv_nonstd_cache_ops noncoherent_cache_ops __ro_after_init; - -void -riscv_noncoherent_register_cache_ops(const struct riscv_nonstd_cache_ops *ops) -{ - if (!ops) - return; - noncoherent_cache_ops = *ops; -} -EXPORT_SYMBOL_GPL(riscv_noncoherent_register_cache_ops); +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2021 Western Digital Corporation or its affiliates. + */ + +#include + +struct riscv_nonstd_cache_ops noncoherent_cache_ops __ro_after_init; + +void +riscv_noncoherent_register_cache_ops(const struct riscv_nonstd_cache_ops *ops) +{ + if (!ops) + return; + noncoherent_cache_ops = *ops; +} +EXPORT_SYMBOL_GPL(riscv_noncoherent_register_cache_ops); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/riscv/tools/relocs_check.sh b/image/debian/UFI003_MB_V02/kernel/arch/riscv/tools/relocs_check.sh old mode 100644 new mode 100755 index 0c632cc8ef..baeb2e7b22 --- a/image/debian/UFI003_MB_V02/kernel/arch/riscv/tools/relocs_check.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/riscv/tools/relocs_check.sh @@ -1,26 +1,26 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0-or-later -# Based on powerpc relocs_check.sh - -# This script checks the relocations of a vmlinux for "suspicious" -# relocations. - -if [ $# -lt 3 ]; then - echo "$0 [path to objdump] [path to nm] [path to vmlinux]" 1>&2 - exit 1 -fi - -bad_relocs=$( -${srctree}/scripts/relocs_check.sh "$@" | - # These relocations are okay - # R_RISCV_RELATIVE - grep -F -w -v 'R_RISCV_RELATIVE' -) - -if [ -z "$bad_relocs" ]; then - exit 0 -fi - -num_bad=$(echo "$bad_relocs" | wc -l) -echo "WARNING: $num_bad bad relocations" -echo "$bad_relocs" +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0-or-later +# Based on powerpc relocs_check.sh + +# This script checks the relocations of a vmlinux for "suspicious" +# relocations. + +if [ $# -lt 3 ]; then + echo "$0 [path to objdump] [path to nm] [path to vmlinux]" 1>&2 + exit 1 +fi + +bad_relocs=$( +${srctree}/scripts/relocs_check.sh "$@" | + # These relocations are okay + # R_RISCV_RELATIVE + grep -F -w -v 'R_RISCV_RELATIVE' +) + +if [ -z "$bad_relocs" ]; then + exit 0 +fi + +num_bad=$(echo "$bad_relocs" | wc -l) +echo "WARNING: $num_bad bad relocations" +echo "$bad_relocs" diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/arch_random.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/arch_random.c index 7f2a3859ee..a8a2407381 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/arch_random.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/arch_random.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * s390 arch random implementation. - * - * Copyright IBM Corp. 2017, 2020 - * Author(s): Harald Freudenberger - */ - -#include -#include -#include -#include -#include -#include - -DEFINE_STATIC_KEY_FALSE(s390_arch_random_available); - -atomic64_t s390_arch_random_counter = ATOMIC64_INIT(0); -EXPORT_SYMBOL(s390_arch_random_counter); +// SPDX-License-Identifier: GPL-2.0 +/* + * s390 arch random implementation. + * + * Copyright IBM Corp. 2017, 2020 + * Author(s): Harald Freudenberger + */ + +#include +#include +#include +#include +#include +#include + +DEFINE_STATIC_KEY_FALSE(s390_arch_random_available); + +atomic64_t s390_arch_random_counter = ATOMIC64_INIT(0); +EXPORT_SYMBOL(s390_arch_random_counter); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/crc32-vx.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/crc32-vx.h index 3e8d43ed3c..652c96e1a8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/crc32-vx.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/crypto/crc32-vx.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#ifndef _CRC32_VX_S390_H -#define _CRC32_VX_S390_H - -#include - -u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size); -u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); -u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); - -#endif /* _CRC32_VX_S390_H */ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _CRC32_VX_S390_H +#define _CRC32_VX_S390_H + +#include + +u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size); +u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); +u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size); + +#endif /* _CRC32_VX_S390_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/hypfs/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/hypfs/Makefile index 3d6ced397f..c34854d298 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/hypfs/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/hypfs/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux hypfs filesystem routines. -# - -obj-$(CONFIG_S390_HYPFS) += hypfs_dbfs.o -obj-$(CONFIG_S390_HYPFS) += hypfs_diag.o -obj-$(CONFIG_S390_HYPFS) += hypfs_diag0c.o -obj-$(CONFIG_S390_HYPFS) += hypfs_sprp.o -obj-$(CONFIG_S390_HYPFS) += hypfs_vm.o - -obj-$(CONFIG_S390_HYPFS_FS) += hypfs_diag_fs.o -obj-$(CONFIG_S390_HYPFS_FS) += hypfs_vm_fs.o -obj-$(CONFIG_S390_HYPFS_FS) += inode.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux hypfs filesystem routines. +# + +obj-$(CONFIG_S390_HYPFS) += hypfs_dbfs.o +obj-$(CONFIG_S390_HYPFS) += hypfs_diag.o +obj-$(CONFIG_S390_HYPFS) += hypfs_diag0c.o +obj-$(CONFIG_S390_HYPFS) += hypfs_sprp.o +obj-$(CONFIG_S390_HYPFS) += hypfs_vm.o + +obj-$(CONFIG_S390_HYPFS_FS) += hypfs_diag_fs.o +obj-$(CONFIG_S390_HYPFS_FS) += hypfs_vm_fs.o +obj-$(CONFIG_S390_HYPFS_FS) += inode.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-const.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-const.h index 642bdb1b2b..11f615eb00 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-const.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-const.h @@ -1,12 +1,12 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_ASM_CONST_H -#define _ASM_S390_ASM_CONST_H - -#ifdef __ASSEMBLY__ -# define stringify_in_c(...) __VA_ARGS__ -#else -/* This version of stringify will deal with commas... */ -# define __stringify_in_c(...) #__VA_ARGS__ -# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " -#endif -#endif /* _ASM_S390_ASM_CONST_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_ASM_CONST_H +#define _ASM_S390_ASM_CONST_H + +#ifdef __ASSEMBLY__ +# define stringify_in_c(...) __VA_ARGS__ +#else +/* This version of stringify will deal with commas... */ +# define __stringify_in_c(...) #__VA_ARGS__ +# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " +#endif +#endif /* _ASM_S390_ASM_CONST_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-prototypes.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-prototypes.h index b0c0190546..f662eb4b92 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-prototypes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/asm-prototypes.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_PROTOTYPES_H - -#include -#include -#include -#include -#include - -__int128_t __ashlti3(__int128_t a, int b); -__int128_t __ashrti3(__int128_t a, int b); -__int128_t __lshrti3(__int128_t a, int b); - -#endif /* _ASM_S390_PROTOTYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_PROTOTYPES_H + +#include +#include +#include +#include +#include + +__int128_t __ashlti3(__int128_t a, int b); +__int128_t __ashrti3(__int128_t a, int b); +__int128_t __lshrti3(__int128_t a, int b); + +#endif /* _ASM_S390_PROTOTYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/boot_data.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/boot_data.h index 39aec50a11..f7eed27b32 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/boot_data.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/boot_data.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_BOOT_DATA_H - -#include -#include - -extern char early_command_line[COMMAND_LINE_SIZE]; -extern struct ipl_parameter_block ipl_block; -extern int ipl_block_valid; -extern int ipl_secure_flag; - -extern unsigned long ipl_cert_list_addr; -extern unsigned long ipl_cert_list_size; - -extern unsigned long early_ipl_comp_list_addr; -extern unsigned long early_ipl_comp_list_size; - -#endif /* _ASM_S390_BOOT_DATA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_BOOT_DATA_H + +#include +#include + +extern char early_command_line[COMMAND_LINE_SIZE]; +extern struct ipl_parameter_block ipl_block; +extern int ipl_block_valid; +extern int ipl_secure_flag; + +extern unsigned long ipl_cert_list_addr; +extern unsigned long ipl_cert_list_size; + +extern unsigned long early_ipl_comp_list_addr; +extern unsigned long early_ipl_comp_list_size; + +#endif /* _ASM_S390_BOOT_DATA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cache.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cache.h index cb176717ef..00128174c0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cache.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cache.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * S390 version - * Copyright IBM Corp. 1999 - * - * Derived from "include/asm-i386/cache.h" - * Copyright (C) 1992, Linus Torvalds - */ - -#ifndef __ARCH_S390_CACHE_H -#define __ARCH_S390_CACHE_H - -#define L1_CACHE_BYTES 256 -#define L1_CACHE_SHIFT 8 -#define NET_SKB_PAD 32 - -#define __read_mostly __section(".data..read_mostly") - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * S390 version + * Copyright IBM Corp. 1999 + * + * Derived from "include/asm-i386/cache.h" + * Copyright (C) 1992, Linus Torvalds + */ + +#ifndef __ARCH_S390_CACHE_H +#define __ARCH_S390_CACHE_H + +#define L1_CACHE_BYTES 256 +#define L1_CACHE_SHIFT 8 +#define NET_SKB_PAD 32 + +#define __read_mostly __section(".data..read_mostly") + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cmb.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cmb.h index cd2ff7ebc7..599594c372 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cmb.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cmb.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef S390_CMB_H -#define S390_CMB_H - -#include - -struct ccw_device; -extern int enable_cmf(struct ccw_device *cdev); -extern int disable_cmf(struct ccw_device *cdev); -extern int __disable_cmf(struct ccw_device *cdev); -extern u64 cmf_read(struct ccw_device *cdev, int index); -extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data); - -#endif /* S390_CMB_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef S390_CMB_H +#define S390_CMB_H + +#include + +struct ccw_device; +extern int enable_cmf(struct ccw_device *cdev); +extern int disable_cmf(struct ccw_device *cdev); +extern int __disable_cmf(struct ccw_device *cdev); +extern u64 cmf_read(struct ccw_device *cdev, int index); +extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data); + +#endif /* S390_CMB_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu.h index b5548c863b..26c710cd34 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 2000, 2009 - * Author(s): Hartmut Penner , - * Martin Schwidefsky , - * Christian Ehrhardt , - */ - -#ifndef _ASM_S390_CPU_H -#define _ASM_S390_CPU_H - -#ifndef __ASSEMBLY__ - -#include -#include - -struct cpuid -{ - unsigned int version : 8; - unsigned int ident : 24; - unsigned int machine : 16; - unsigned int unused : 16; -} __attribute__ ((packed, aligned(8))); - -DECLARE_STATIC_KEY_FALSE(cpu_has_bear); - -#endif /* __ASSEMBLY__ */ -#endif /* _ASM_S390_CPU_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 2000, 2009 + * Author(s): Hartmut Penner , + * Martin Schwidefsky , + * Christian Ehrhardt , + */ + +#ifndef _ASM_S390_CPU_H +#define _ASM_S390_CPU_H + +#ifndef __ASSEMBLY__ + +#include +#include + +struct cpuid +{ + unsigned int version : 8; + unsigned int ident : 24; + unsigned int machine : 16; + unsigned int unused : 16; +} __attribute__ ((packed, aligned(8))); + +DECLARE_STATIC_KEY_FALSE(cpu_has_bear); + +#endif /* __ASSEMBLY__ */ +#endif /* _ASM_S390_CPU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu_mf-insn.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu_mf-insn.h index f9a83e3cd4..a68b362e09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu_mf-insn.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpu_mf-insn.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Support for CPU-MF instructions - * - * Copyright IBM Corp. 2019 - * Author(s): Hendrik Brueckner - */ -#ifndef _ASM_S390_CPU_MF_INSN_H -#define _ASM_S390_CPU_MF_INSN_H - -#ifdef __ASSEMBLY__ - -/* Macro to generate the STCCTM instruction with a customized - * M3 field designating the counter set. - */ -.macro STCCTM r1 m3 db2 - .insn rsy,0xeb0000000017,\r1,\m3 & 0xf,\db2 -.endm - -#endif /* __ASSEMBLY__ */ - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Support for CPU-MF instructions + * + * Copyright IBM Corp. 2019 + * Author(s): Hendrik Brueckner + */ +#ifndef _ASM_S390_CPU_MF_INSN_H +#define _ASM_S390_CPU_MF_INSN_H + +#ifdef __ASSEMBLY__ + +/* Macro to generate the STCCTM instruction with a customized + * M3 field designating the counter set. + */ +.macro STCCTM r1 m3 db2 + .insn rsy,0xeb0000000017,\r1,\m3 & 0xf,\db2 +.endm + +#endif /* __ASSEMBLY__ */ + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpufeature.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpufeature.h index f0a2100bbe..9312046137 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpufeature.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cpufeature.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Module interface for CPU features - * - * Copyright IBM Corp. 2015, 2022 - * Author(s): Hendrik Brueckner - */ - -#ifndef __ASM_S390_CPUFEATURE_H -#define __ASM_S390_CPUFEATURE_H - -enum { - S390_CPU_FEATURE_MSA, - S390_CPU_FEATURE_VXRS, - S390_CPU_FEATURE_UV, - MAX_CPU_FEATURES -}; - -#define cpu_feature(feature) (feature) - -int cpu_have_feature(unsigned int nr); - -#endif /* __ASM_S390_CPUFEATURE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Module interface for CPU features + * + * Copyright IBM Corp. 2015, 2022 + * Author(s): Hendrik Brueckner + */ + +#ifndef __ASM_S390_CPUFEATURE_H +#define __ASM_S390_CPUFEATURE_H + +enum { + S390_CPU_FEATURE_MSA, + S390_CPU_FEATURE_VXRS, + S390_CPU_FEATURE_UV, + MAX_CPU_FEATURES +}; + +#define cpu_feature(feature) (feature) + +int cpu_have_feature(unsigned int nr); + +#endif /* __ASM_S390_CPUFEATURE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cputime.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cputime.h index 6fc153a021..30bb3ec4e5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cputime.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/cputime.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 2004 - * - * Author: Martin Schwidefsky - */ - -#ifndef _S390_CPUTIME_H -#define _S390_CPUTIME_H - -#include -#include - -/* - * Convert cputime to nanoseconds. - */ -#define cputime_to_nsecs(cputime) tod_to_ns(cputime) - -void account_idle_time_irq(void); - -#endif /* _S390_CPUTIME_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 2004 + * + * Author: Martin Schwidefsky + */ + +#ifndef _S390_CPUTIME_H +#define _S390_CPUTIME_H + +#include +#include + +/* + * Convert cputime to nanoseconds. + */ +#define cputime_to_nsecs(cputime) tod_to_ns(cputime) + +void account_idle_time_irq(void); + +#endif /* _S390_CPUTIME_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/current.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/current.h index 1363d468bc..d03a922c64 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/current.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/current.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * S390 version - * Copyright IBM Corp. 1999 - * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) - * - * Derived from "include/asm-i386/current.h" - */ - -#ifndef _S390_CURRENT_H -#define _S390_CURRENT_H - -#include - -struct task_struct; - -#define current ((struct task_struct *const)get_lowcore()->current_task) - -#endif /* !(_S390_CURRENT_H) */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * S390 version + * Copyright IBM Corp. 1999 + * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) + * + * Derived from "include/asm-i386/current.h" + */ + +#ifndef _S390_CURRENT_H +#define _S390_CURRENT_H + +#include + +struct task_struct; + +#define current ((struct task_struct *const)get_lowcore()->current_task) + +#endif /* !(_S390_CURRENT_H) */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/dma.h index 572493d7bf..7fe3e31956 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/dma.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_DMA_H -#define _ASM_S390_DMA_H - -#include - -/* - * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated - * to DMA. It _is_ used for the s390 memory zone split at 2GB caused - * by the 31 bit heritage. - */ -#define MAX_DMA_ADDRESS __va(0x80000000) - -#endif /* _ASM_S390_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_DMA_H +#define _ASM_S390_DMA_H + +#include + +/* + * MAX_DMA_ADDRESS is ambiguous because on s390 its completely unrelated + * to DMA. It _is_ used for the s390 memory zone split at 2GB caused + * by the 31 bit heritage. + */ +#define MAX_DMA_ADDRESS __va(0x80000000) + +#endif /* _ASM_S390_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/idle.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/idle.h index f235049d45..09f763b9eb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/idle.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/idle.h @@ -1,27 +1,27 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 2014 - * - * Author: Martin Schwidefsky - */ - -#ifndef _S390_IDLE_H -#define _S390_IDLE_H - -#include -#include - -struct s390_idle_data { - unsigned long idle_count; - unsigned long idle_time; - unsigned long clock_idle_enter; - unsigned long timer_idle_enter; - unsigned long mt_cycles_enter[8]; -}; - -extern struct device_attribute dev_attr_idle_count; -extern struct device_attribute dev_attr_idle_time_us; - -void psw_idle(struct s390_idle_data *data, unsigned long psw_mask); - -#endif /* _S390_IDLE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 2014 + * + * Author: Martin Schwidefsky + */ + +#ifndef _S390_IDLE_H +#define _S390_IDLE_H + +#include +#include + +struct s390_idle_data { + unsigned long idle_count; + unsigned long idle_time; + unsigned long clock_idle_enter; + unsigned long timer_idle_enter; + unsigned long mt_cycles_enter[8]; +}; + +extern struct device_attribute dev_attr_idle_count; +extern struct device_attribute dev_attr_idle_time_us; + +void psw_idle(struct s390_idle_data *data, unsigned long psw_mask); + +#endif /* _S390_IDLE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kasan.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kasan.h index 969a8e20d5..0cffead0f2 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kasan.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kasan.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_KASAN_H -#define __ASM_KASAN_H - -#include - -#ifdef CONFIG_KASAN - -#define KASAN_SHADOW_SCALE_SHIFT 3 -#define KASAN_SHADOW_SIZE \ - (_AC(1, UL) << (_REGION1_SHIFT - KASAN_SHADOW_SCALE_SHIFT)) -#define KASAN_SHADOW_OFFSET _AC(CONFIG_KASAN_SHADOW_OFFSET, UL) -#define KASAN_SHADOW_START KASAN_SHADOW_OFFSET -#define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) - -#endif - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_KASAN_H +#define __ASM_KASAN_H + +#include + +#ifdef CONFIG_KASAN + +#define KASAN_SHADOW_SCALE_SHIFT 3 +#define KASAN_SHADOW_SIZE \ + (_AC(1, UL) << (_REGION1_SHIFT - KASAN_SHADOW_SCALE_SHIFT)) +#define KASAN_SHADOW_OFFSET _AC(CONFIG_KASAN_SHADOW_OFFSET, UL) +#define KASAN_SHADOW_START KASAN_SHADOW_OFFSET +#define KASAN_SHADOW_END (KASAN_SHADOW_START + KASAN_SHADOW_SIZE) + +#endif + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kdebug.h index 2c47818c89..4377238e47 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/kdebug.h @@ -1,28 +1,28 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _S390_KDEBUG_H -#define _S390_KDEBUG_H - -/* - * Feb 2006 Ported to s390 - */ - -struct pt_regs; - -enum die_val { - DIE_OOPS = 1, - DIE_BPT, - DIE_SSTEP, - DIE_PANIC, - DIE_NMI, - DIE_DIE, - DIE_NMIWATCHDOG, - DIE_KERNELDEBUG, - DIE_TRAP, - DIE_GPF, - DIE_CALL, - DIE_NMI_IPI, -}; - -extern void __noreturn die(struct pt_regs *, const char *); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _S390_KDEBUG_H +#define _S390_KDEBUG_H + +/* + * Feb 2006 Ported to s390 + */ + +struct pt_regs; + +enum die_val { + DIE_OOPS = 1, + DIE_BPT, + DIE_SSTEP, + DIE_PANIC, + DIE_NMI, + DIE_DIE, + DIE_NMIWATCHDOG, + DIE_KERNELDEBUG, + DIE_TRAP, + DIE_GPF, + DIE_CALL, + DIE_NMI_IPI, +}; + +extern void __noreturn die(struct pt_regs *, const char *); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/maccess.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/maccess.h index 828726b483..50225940d9 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/maccess.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/maccess.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_S390_MACCESS_H -#define __ASM_S390_MACCESS_H - -#include - -#define MEMCPY_REAL_SIZE PAGE_SIZE -#define MEMCPY_REAL_MASK PAGE_MASK - -struct iov_iter; - -extern unsigned long __memcpy_real_area; -extern pte_t *memcpy_real_ptep; -size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count); -int memcpy_real(void *dest, unsigned long src, size_t count); -#ifdef CONFIG_CRASH_DUMP -int copy_oldmem_kernel(void *dst, unsigned long src, size_t count); -#endif - -#endif /* __ASM_S390_MACCESS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_S390_MACCESS_H +#define __ASM_S390_MACCESS_H + +#include + +#define MEMCPY_REAL_SIZE PAGE_SIZE +#define MEMCPY_REAL_MASK PAGE_MASK + +struct iov_iter; + +extern unsigned long __memcpy_real_area; +extern pte_t *memcpy_real_ptep; +size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count); +int memcpy_real(void *dest, unsigned long src, size_t count); +#ifdef CONFIG_CRASH_DUMP +int copy_oldmem_kernel(void *dst, unsigned long src, size_t count); +#endif + +#endif /* __ASM_S390_MACCESS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/msi.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/msi.h index 42a70484ec..399343ed9f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/msi.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/msi.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_S390_MSI_H -#define _ASM_S390_MSI_H -#include - -/* - * Work around S390 not using irq_domain at all so we can't set - * IRQ_DOMAIN_FLAG_ISOLATED_MSI. See for an explanation how it works: - * - * https://lore.kernel.org/r/31af8174-35e9-ebeb-b9ef-74c90d4bfd93@linux.ibm.com/ - * - * Note this is less isolated than the ARM/x86 versions as userspace can trigger - * MSI belonging to kernel devices within the same gisa. - */ -#define arch_is_isolated_msi() true - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _ASM_S390_MSI_H +#define _ASM_S390_MSI_H +#include + +/* + * Work around S390 not using irq_domain at all so we can't set + * IRQ_DOMAIN_FLAG_ISOLATED_MSI. See for an explanation how it works: + * + * https://lore.kernel.org/r/31af8174-35e9-ebeb-b9ef-74c90d4bfd93@linux.ibm.com/ + * + * Note this is less isolated than the ARM/x86 versions as userspace can trigger + * MSI belonging to kernel devices within the same gisa. + */ +#define arch_is_isolated_msi() true + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/numa.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/numa.h index f97f604b1c..23cd5d1b73 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/numa.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/numa.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * NUMA support for s390 - * - * Declare the NUMA core code structures and functions. - * - * Copyright IBM Corp. 2015 - */ - -#ifndef _ASM_S390_NUMA_H -#define _ASM_S390_NUMA_H - -#ifdef CONFIG_NUMA - -#include - -void numa_setup(void); - -#else - -static inline void numa_setup(void) { } - -#endif /* CONFIG_NUMA */ - -#endif /* _ASM_S390_NUMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * NUMA support for s390 + * + * Declare the NUMA core code structures and functions. + * + * Copyright IBM Corp. 2015 + */ + +#ifndef _ASM_S390_NUMA_H +#define _ASM_S390_NUMA_H + +#ifdef CONFIG_NUMA + +#include + +void numa_setup(void); + +#else + +static inline void numa_setup(void) { } + +#endif /* CONFIG_NUMA */ + +#endif /* _ASM_S390_NUMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pfault.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pfault.h index 1b7bcd90d7..a1bee4a1e4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pfault.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/pfault.h @@ -1,26 +1,26 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright IBM Corp. 1999, 2023 - */ -#ifndef _ASM_S390_PFAULT_H -#define _ASM_S390_PFAULT_H - -#include - -int __pfault_init(void); -void __pfault_fini(void); - -static inline int pfault_init(void) -{ - if (IS_ENABLED(CONFIG_PFAULT)) - return __pfault_init(); - return -EOPNOTSUPP; -} - -static inline void pfault_fini(void) -{ - if (IS_ENABLED(CONFIG_PFAULT)) - __pfault_fini(); -} - -#endif /* _ASM_S390_PFAULT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright IBM Corp. 1999, 2023 + */ +#ifndef _ASM_S390_PFAULT_H +#define _ASM_S390_PFAULT_H + +#include + +int __pfault_init(void); +void __pfault_fini(void); + +static inline int pfault_init(void) +{ + if (IS_ENABLED(CONFIG_PFAULT)) + return __pfault_init(); + return -EOPNOTSUPP; +} + +static inline void pfault_fini(void) +{ + if (IS_ENABLED(CONFIG_PFAULT)) + __pfault_fini(); +} + +#endif /* _ASM_S390_PFAULT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/schid.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/schid.h index 793063ff16..3ac405a67f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/schid.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/schid.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef ASM_SCHID_H -#define ASM_SCHID_H - -#include -#include - -/* Helper function for sane state of pre-allocated subchannel_id. */ -static inline void -init_subchannel_id(struct subchannel_id *schid) -{ - memset(schid, 0, sizeof(struct subchannel_id)); - schid->one = 1; -} - -static inline int -schid_equal(struct subchannel_id *schid1, struct subchannel_id *schid2) -{ - return !memcmp(schid1, schid2, sizeof(struct subchannel_id)); -} - -#endif /* ASM_SCHID_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef ASM_SCHID_H +#define ASM_SCHID_H + +#include +#include + +/* Helper function for sane state of pre-allocated subchannel_id. */ +static inline void +init_subchannel_id(struct subchannel_id *schid) +{ + memset(schid, 0, sizeof(struct subchannel_id)); + schid->one = 1; +} + +static inline int +schid_equal(struct subchannel_id *schid1, struct subchannel_id *schid2) +{ + return !memcmp(schid1, schid2, sizeof(struct subchannel_id)); +} + +#endif /* ASM_SCHID_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/softirq_stack.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/softirq_stack.h index 1a1fc39a53..42d61296bb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/softirq_stack.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/softirq_stack.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ASM_S390_SOFTIRQ_STACK_H -#define __ASM_S390_SOFTIRQ_STACK_H - -#include -#include - -#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK -static inline void do_softirq_own_stack(void) -{ - call_on_stack(0, get_lowcore()->async_stack, void, __do_softirq); -} -#endif -#endif /* __ASM_S390_SOFTIRQ_STACK_H */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#ifndef __ASM_S390_SOFTIRQ_STACK_H +#define __ASM_S390_SOFTIRQ_STACK_H + +#include +#include + +#ifdef CONFIG_SOFTIRQ_ON_OWN_STACK +static inline void do_softirq_own_stack(void) +{ + call_on_stack(0, get_lowcore()->async_stack, void, __do_softirq); +} +#endif +#endif /* __ASM_S390_SOFTIRQ_STACK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/spinlock_types.h index 6d83fb36ba..b69695e399 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/spinlock_types.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SPINLOCK_TYPES_H -#define __ASM_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -typedef struct { - int lock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, } - -typedef struct { - int cnts; - arch_spinlock_t wait; -} arch_rwlock_t; - -#define __ARCH_RW_LOCK_UNLOCKED { 0 } - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SPINLOCK_TYPES_H +#define __ASM_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +typedef struct { + int lock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { .lock = 0, } + +typedef struct { + int cnts; + arch_spinlock_t wait; +} arch_rwlock_t; + +#define __ARCH_RW_LOCK_UNLOCKED { 0 } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/uprobes.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/uprobes.h index debc1717ef..b60b3c7ef6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/uprobes.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/uprobes.h @@ -1,33 +1,33 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * User-space Probes (UProbes) for s390 - * - * Copyright IBM Corp. 2014 - * Author(s): Jan Willeke, - */ - -#ifndef _ASM_UPROBES_H -#define _ASM_UPROBES_H - -#include - -typedef u16 uprobe_opcode_t; - -#define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */ - -#define UPROBE_SWBP_INSN 0x0002 -#define UPROBE_SWBP_INSN_SIZE 2 - -struct arch_uprobe { - union{ - uprobe_opcode_t insn[3]; - uprobe_opcode_t ixol[3]; - }; - unsigned int saved_per : 1; - unsigned int saved_int_code; -}; - -struct arch_uprobe_task { -}; - -#endif /* _ASM_UPROBES_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * User-space Probes (UProbes) for s390 + * + * Copyright IBM Corp. 2014 + * Author(s): Jan Willeke, + */ + +#ifndef _ASM_UPROBES_H +#define _ASM_UPROBES_H + +#include + +typedef u16 uprobe_opcode_t; + +#define UPROBE_XOL_SLOT_BYTES 256 /* cache aligned */ + +#define UPROBE_SWBP_INSN 0x0002 +#define UPROBE_SWBP_INSN_SIZE 2 + +struct arch_uprobe { + union{ + uprobe_opcode_t insn[3]; + uprobe_opcode_t ixol[3]; + }; + unsigned int saved_per : 1; + unsigned int saved_int_code; +}; + +struct arch_uprobe_task { +}; + +#endif /* _ASM_UPROBES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso-symbols.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso-symbols.h index abcbd1b1ca..0df17574d7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso-symbols.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso-symbols.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __S390_VDSO_SYMBOLS_H__ -#define __S390_VDSO_SYMBOLS_H__ - -#include -#ifdef CONFIG_COMPAT -#include -#endif - -#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) -#ifdef CONFIG_COMPAT -#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) -#else -#define VDSO32_SYMBOL(tsk, name) (-1UL) -#endif - -#endif /* __S390_VDSO_SYMBOLS_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __S390_VDSO_SYMBOLS_H__ +#define __S390_VDSO_SYMBOLS_H__ + +#include +#ifdef CONFIG_COMPAT +#include +#endif + +#define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) +#ifdef CONFIG_COMPAT +#define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) +#else +#define VDSO32_SYMBOL(tsk, name) (-1UL) +#endif + +#endif /* __S390_VDSO_SYMBOLS_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso.h index 59417e6ae0..91061f0279 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vdso.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __S390_VDSO_H__ -#define __S390_VDSO_H__ - -#include - -#ifndef __ASSEMBLY__ - -extern struct vdso_data *vdso_data; - -int vdso_getcpu_init(void); - -#endif /* __ASSEMBLY__ */ - -/* Default link address for the vDSO */ -#define VDSO_LBASE 0 - -#define __VVAR_PAGES 2 - -#define VDSO_VERSION_STRING LINUX_2.6.29 - -#endif /* __S390_VDSO_H__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __S390_VDSO_H__ +#define __S390_VDSO_H__ + +#include + +#ifndef __ASSEMBLY__ + +extern struct vdso_data *vdso_data; + +int vdso_getcpu_init(void); + +#endif /* __ASSEMBLY__ */ + +/* Default link address for the vDSO */ +#define VDSO_LBASE 0 + +#define __VVAR_PAGES 2 + +#define VDSO_VERSION_STRING LINUX_2.6.29 + +#endif /* __S390_VDSO_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vtime.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vtime.h index 09499ddad1..9d25fb35a0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vtime.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/vtime.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _S390_VTIME_H -#define _S390_VTIME_H - -static inline void update_timer_sys(void) -{ - struct lowcore *lc = get_lowcore(); - - lc->system_timer += lc->last_update_timer - lc->exit_timer; - lc->user_timer += lc->exit_timer - lc->sys_enter_timer; - lc->last_update_timer = lc->sys_enter_timer; -} - -static inline void update_timer_mcck(void) -{ - struct lowcore *lc = get_lowcore(); - - lc->system_timer += lc->last_update_timer - lc->exit_timer; - lc->user_timer += lc->exit_timer - lc->mcck_enter_timer; - lc->last_update_timer = lc->mcck_enter_timer; -} - -#endif /* _S390_VTIME_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _S390_VTIME_H +#define _S390_VTIME_H + +static inline void update_timer_sys(void) +{ + struct lowcore *lc = get_lowcore(); + + lc->system_timer += lc->last_update_timer - lc->exit_timer; + lc->user_timer += lc->exit_timer - lc->sys_enter_timer; + lc->last_update_timer = lc->sys_enter_timer; +} + +static inline void update_timer_mcck(void) +{ + struct lowcore *lc = get_lowcore(); + + lc->system_timer += lc->last_update_timer - lc->exit_timer; + lc->user_timer += lc->exit_timer - lc->mcck_enter_timer; + lc->last_update_timer = lc->mcck_enter_timer; +} + +#endif /* _S390_VTIME_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/xor.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/xor.h index 60076feb85..857d6759b6 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/xor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/asm/xor.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Optimited xor routines - * - * Copyright IBM Corp. 2016 - * Author(s): Martin Schwidefsky - */ -#ifndef _ASM_S390_XOR_H -#define _ASM_S390_XOR_H - -extern struct xor_block_template xor_block_xc; - -#undef XOR_TRY_TEMPLATES -#define XOR_TRY_TEMPLATES \ -do { \ - xor_speed(&xor_block_xc); \ -} while (0) - -#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_xc) - -#endif /* _ASM_S390_XOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Optimited xor routines + * + * Copyright IBM Corp. 2016 + * Author(s): Martin Schwidefsky + */ +#ifndef _ASM_S390_XOR_H +#define _ASM_S390_XOR_H + +extern struct xor_block_template xor_block_xc; + +#undef XOR_TRY_TEMPLATES +#define XOR_TRY_TEMPLATES \ +do { \ + xor_speed(&xor_block_xc); \ +} while (0) + +#define XOR_SELECT_TEMPLATE(FASTEST) (&xor_block_xc) + +#endif /* _ASM_S390_XOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/chpid.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/chpid.h index e2a6991834..2ae2ed8c09 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/chpid.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/chpid.h @@ -1,23 +1,23 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Copyright IBM Corp. 2007, 2012 - * Author(s): Peter Oberparleiter - */ - -#ifndef _UAPI_ASM_S390_CHPID_H -#define _UAPI_ASM_S390_CHPID_H - -#include -#include - -#define __MAX_CHPID 255 - -struct chp_id { - __u8 reserved1; - __u8 cssid; - __u8 reserved2; - __u8 id; -} __attribute__((packed)); - - -#endif /* _UAPI_ASM_S390_CHPID_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Copyright IBM Corp. 2007, 2012 + * Author(s): Peter Oberparleiter + */ + +#ifndef _UAPI_ASM_S390_CHPID_H +#define _UAPI_ASM_S390_CHPID_H + +#include +#include + +#define __MAX_CHPID 255 + +struct chp_id { + __u8 reserved1; + __u8 cssid; + __u8 reserved2; + __u8 id; +} __attribute__((packed)); + + +#endif /* _UAPI_ASM_S390_CHPID_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/clp.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/clp.h index 33386d2fa6..b36d9e9cdd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/clp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/clp.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * ioctl interface for /dev/clp - * - * Copyright IBM Corp. 2016 - * Author(s): Martin Schwidefsky - */ - -#ifndef _ASM_CLP_H -#define _ASM_CLP_H - -#include -#include - -struct clp_req { - unsigned int c : 1; - unsigned int r : 1; - unsigned int lps : 6; - unsigned int cmd : 8; - unsigned int : 16; - unsigned int reserved; - __u64 data_p; -}; - -#define CLP_IOCTL_MAGIC 'c' - -#define CLP_SYNC _IOWR(CLP_IOCTL_MAGIC, 0xC1, struct clp_req) - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * ioctl interface for /dev/clp + * + * Copyright IBM Corp. 2016 + * Author(s): Martin Schwidefsky + */ + +#ifndef _ASM_CLP_H +#define _ASM_CLP_H + +#include +#include + +struct clp_req { + unsigned int c : 1; + unsigned int r : 1; + unsigned int lps : 6; + unsigned int cmd : 8; + unsigned int : 16; + unsigned int reserved; + __u64 data_p; +}; + +#define CLP_IOCTL_MAGIC 'c' + +#define CLP_SYNC _IOWR(CLP_IOCTL_MAGIC, 0xC1, struct clp_req) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_perf.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_perf.h index 38fcdf7448..84606b8cc4 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_perf.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/kvm_perf.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * Definitions for perf-kvm on s390 - * - * Copyright 2014 IBM Corp. - * Author(s): Alexander Yarygin - */ - -#ifndef __LINUX_KVM_PERF_S390_H -#define __LINUX_KVM_PERF_S390_H - -#include - -#define DECODE_STR_LEN 40 - -#define VCPU_ID "id" - -#define KVM_ENTRY_TRACE "kvm:kvm_s390_sie_enter" -#define KVM_EXIT_TRACE "kvm:kvm_s390_sie_exit" -#define KVM_EXIT_REASON "icptcode" - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * Definitions for perf-kvm on s390 + * + * Copyright 2014 IBM Corp. + * Author(s): Alexander Yarygin + */ + +#ifndef __LINUX_KVM_PERF_S390_H +#define __LINUX_KVM_PERF_S390_H + +#include + +#define DECODE_STR_LEN 40 + +#define VCPU_ID "id" + +#define KVM_ENTRY_TRACE "kvm:kvm_s390_sie_enter" +#define KVM_EXIT_TRACE "kvm:kvm_s390_sie_exit" +#define KVM_EXIT_REASON "icptcode" + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/schid.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/schid.h index 24a14f7a82..a3e1cf1685 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/schid.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/schid.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -#ifndef _UAPIASM_SCHID_H -#define _UAPIASM_SCHID_H - -#include - -#ifndef __ASSEMBLY__ - -struct subchannel_id { - __u32 cssid : 8; - __u32 : 4; - __u32 m : 1; - __u32 ssid : 2; - __u32 one : 1; - __u32 sch_no : 16; -} __attribute__ ((packed, aligned(4))); - -#endif /* __ASSEMBLY__ */ - -#endif /* _UAPIASM_SCHID_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +#ifndef _UAPIASM_SCHID_H +#define _UAPIASM_SCHID_H + +#include + +#ifndef __ASSEMBLY__ + +struct subchannel_id { + __u32 cssid : 8; + __u32 : 4; + __u32 m : 1; + __u32 ssid : 2; + __u32 one : 1; + __u32 sch_no : 16; +} __attribute__ ((packed, aligned(4))); + +#endif /* __ASSEMBLY__ */ + +#endif /* _UAPIASM_SCHID_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sclp_ctl.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sclp_ctl.h index d83f83ac25..e4e8c4dcd1 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sclp_ctl.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/sclp_ctl.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * IOCTL interface for SCLP - * - * Copyright IBM Corp. 2012 - * - * Author: Michael Holzheu - */ - -#ifndef _ASM_SCLP_CTL_H -#define _ASM_SCLP_CTL_H - -#include - -struct sclp_ctl_sccb { - __u32 cmdw; - __u64 sccb; -} __attribute__((packed)); - -#define SCLP_CTL_IOCTL_MAGIC 0x10 - -#define SCLP_CTL_SCCB \ - _IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb) - -#endif +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * IOCTL interface for SCLP + * + * Copyright IBM Corp. 2012 + * + * Author: Michael Holzheu + */ + +#ifndef _ASM_SCLP_CTL_H +#define _ASM_SCLP_CTL_H + +#include + +struct sclp_ctl_sccb { + __u32 cmdw; + __u64 sccb; +} __attribute__((packed)); + +#define SCLP_CTL_IOCTL_MAGIC 0x10 + +#define SCLP_CTL_SCCB \ + _IOWR(SCLP_CTL_IOCTL_MAGIC, 0x10, struct sclp_ctl_sccb) + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/types.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/types.h index 5b6d8c4fb6..84457dbb26 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/types.h @@ -1,30 +1,30 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/* - * S390 version - * - * Derived from "include/asm-i386/types.h" - */ - -#ifndef _UAPI_S390_TYPES_H -#define _UAPI_S390_TYPES_H - -#include - -#ifndef __ASSEMBLY__ - -typedef unsigned long addr_t; -typedef __signed__ long saddr_t; - -typedef struct { - union { - struct { - __u64 high; - __u64 low; - }; - __u32 u[4]; - }; -} __attribute__((packed, aligned(4))) __vector128; - -#endif /* __ASSEMBLY__ */ - -#endif /* _UAPI_S390_TYPES_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/* + * S390 version + * + * Derived from "include/asm-i386/types.h" + */ + +#ifndef _UAPI_S390_TYPES_H +#define _UAPI_S390_TYPES_H + +#include + +#ifndef __ASSEMBLY__ + +typedef unsigned long addr_t; +typedef __signed__ long saddr_t; + +typedef struct { + union { + struct { + __u64 high; + __u64 low; + }; + __u32 u[4]; + }; +} __attribute__((packed, aligned(4))) __vector128; + +#endif /* __ASSEMBLY__ */ + +#endif /* _UAPI_S390_TYPES_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/virtio-ccw.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/virtio-ccw.h index 4d40ddd187..2b605f7e84 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/virtio-ccw.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/include/uapi/asm/virtio-ccw.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ -/* - * Definitions for virtio-ccw devices. - * - * Copyright IBM Corp. 2013 - * - * Author(s): Cornelia Huck - */ -#ifndef __KVM_VIRTIO_CCW_H -#define __KVM_VIRTIO_CCW_H - -/* Alignment of vring buffers. */ -#define KVM_VIRTIO_CCW_RING_ALIGN 4096 - -/* Subcode for diagnose 500 (virtio hypercall). */ -#define KVM_S390_VIRTIO_CCW_NOTIFY 3 - -#endif +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ +/* + * Definitions for virtio-ccw devices. + * + * Copyright IBM Corp. 2013 + * + * Author(s): Cornelia Huck + */ +#ifndef __KVM_VIRTIO_CCW_H +#define __KVM_VIRTIO_CCW_H + +/* Alignment of vring buffers. */ +#define KVM_VIRTIO_CCW_RING_ALIGN 4096 + +/* Subcode for diagnose 500 (virtio hypercall). */ +#define KVM_S390_VIRTIO_CCW_NOTIFY 3 + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/audit.h b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/audit.h index 89ce384ed3..4d4b596412 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/audit.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/audit.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARCH_S390_KERNEL_AUDIT_H -#define __ARCH_S390_KERNEL_AUDIT_H - -#include - -#ifdef CONFIG_COMPAT -extern int s390_classify_syscall(unsigned); -extern __u32 s390_dir_class[]; -extern __u32 s390_write_class[]; -extern __u32 s390_read_class[]; -extern __u32 s390_chattr_class[]; -extern __u32 s390_signal_class[]; -#endif /* CONFIG_COMPAT */ - -#endif /* __ARCH_S390_KERNEL_AUDIT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ARCH_S390_KERNEL_AUDIT_H +#define __ARCH_S390_KERNEL_AUDIT_H + +#include + +#ifdef CONFIG_COMPAT +extern int s390_classify_syscall(unsigned); +extern __u32 s390_dir_class[]; +extern __u32 s390_write_class[]; +extern __u32 s390_read_class[]; +extern __u32 s390_chattr_class[]; +extern __u32 s390_signal_class[]; +#endif /* CONFIG_COMPAT */ + +#endif /* __ARCH_S390_KERNEL_AUDIT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/gen_vdso_offsets.sh old mode 100644 new mode 100755 index d268c03122..9c4f951e22 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/gen_vdso_offsets.sh @@ -1,15 +1,15 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Inspired by arm64 version. -# - -LC_ALL=C -sed -n 's/\([0-9a-f]*\) . __kernel_compat_\(.*\)/\#define vdso32_offset_\2\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# +# Doing this inside the Makefile will break the $(filter-out) function, +# causing Kbuild to rebuild the vdso-offsets header file every time. +# +# Inspired by arm64 version. +# + +LC_ALL=C +sed -n 's/\([0-9a-f]*\) . __kernel_compat_\(.*\)/\#define vdso32_offset_\2\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso_user_wrapper.S b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso_user_wrapper.S index 2111511ee3..2e645003fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso_user_wrapper.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso32/vdso_user_wrapper.S @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ - -#include -#include -#include - -.macro vdso_syscall func,syscall - .globl __kernel_compat_\func - .type __kernel_compat_\func,@function - __ALIGN -__kernel_compat_\func: - CFI_STARTPROC - svc \syscall - /* Make sure we notice when a syscall returns, which shouldn't happen */ - .word 0 - CFI_ENDPROC - .size __kernel_compat_\func,.-__kernel_compat_\func -.endm - -vdso_syscall restart_syscall,__NR_restart_syscall -vdso_syscall sigreturn,__NR_sigreturn -vdso_syscall rt_sigreturn,__NR_rt_sigreturn +/* SPDX-License-Identifier: GPL-2.0 */ + +#include +#include +#include + +.macro vdso_syscall func,syscall + .globl __kernel_compat_\func + .type __kernel_compat_\func,@function + __ALIGN +__kernel_compat_\func: + CFI_STARTPROC + svc \syscall + /* Make sure we notice when a syscall returns, which shouldn't happen */ + .word 0 + CFI_ENDPROC + .size __kernel_compat_\func,.-__kernel_compat_\func +.endm + +vdso_syscall restart_syscall,__NR_restart_syscall +vdso_syscall sigreturn,__NR_sigreturn +vdso_syscall rt_sigreturn,__NR_rt_sigreturn diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/gen_vdso_offsets.sh b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/gen_vdso_offsets.sh old mode 100644 new mode 100755 index fea3843a65..37f05cb38d --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/gen_vdso_offsets.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/gen_vdso_offsets.sh @@ -1,15 +1,15 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 - -# -# Match symbols in the DSO that look like VDSO_*; produce a header file -# of constant offsets into the shared object. -# -# Doing this inside the Makefile will break the $(filter-out) function, -# causing Kbuild to rebuild the vdso-offsets header file every time. -# -# Inspired by arm64 version. -# - -LC_ALL=C -sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso64_offset_\2\t0x\1/p' +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 + +# +# Match symbols in the DSO that look like VDSO_*; produce a header file +# of constant offsets into the shared object. +# +# Doing this inside the Makefile will break the $(filter-out) function, +# causing Kbuild to rebuild the vdso-offsets header file every time. +# +# Inspired by arm64 version. +# + +LC_ALL=C +sed -n 's/\([0-9a-f]*\) . __kernel_\(.*\)/\#define vdso64_offset_\2\t0x\1/p' diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/getcpu.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/getcpu.c index 7b02098ef8..5c5d4a848b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/getcpu.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/getcpu.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* Copyright IBM Corp. 2020 */ - -#include -#include -#include -#include "vdso.h" - -int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) -{ - union tod_clock clk; - - /* CPU number is stored in the programmable field of the TOD clock */ - store_tod_clock_ext(&clk); - if (cpu) - *cpu = clk.pf; - /* NUMA node is always zero */ - if (node) - *node = 0; - return 0; -} +// SPDX-License-Identifier: GPL-2.0 +/* Copyright IBM Corp. 2020 */ + +#include +#include +#include +#include "vdso.h" + +int __s390_vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) +{ + union tod_clock clk; + + /* CPU number is stored in the programmable field of the TOD clock */ + store_tod_clock_ext(&clk); + if (cpu) + *cpu = clk.pf; + /* NUMA node is always zero */ + if (node) + *node = 0; + return 0; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_generic.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_generic.c index 62ee809220..a9aa75643c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_generic.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vdso64_generic.c @@ -1,19 +1,19 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "../../../../lib/vdso/gettimeofday.c" -#include "vdso.h" - -int __s390_vdso_gettimeofday(struct __kernel_old_timeval *tv, - struct timezone *tz) -{ - return __cvdso_gettimeofday(tv, tz); -} - -int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) -{ - return __cvdso_clock_gettime(clock, ts); -} - -int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts) -{ - return __cvdso_clock_getres(clock, ts); -} +// SPDX-License-Identifier: GPL-2.0 +#include "../../../../lib/vdso/gettimeofday.c" +#include "vdso.h" + +int __s390_vdso_gettimeofday(struct __kernel_old_timeval *tv, + struct timezone *tz) +{ + return __cvdso_gettimeofday(tv, tz); +} + +int __s390_vdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts) +{ + return __cvdso_clock_gettime(clock, ts); +} + +int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts) +{ + return __cvdso_clock_getres(clock, ts); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vgetrandom.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vgetrandom.c index ff172bd804..b5268b507f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vgetrandom.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kernel/vdso64/vgetrandom.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0 - -#include -#include -#include "vdso.h" - -ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) -{ - if (test_facility(129)) - return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); - if (unlikely(opaque_len == ~0UL && !buffer && !len && !flags)) - return -ENOSYS; - return getrandom_syscall(buffer, len, flags); -} +// SPDX-License-Identifier: GPL-2.0 + +#include +#include +#include "vdso.h" + +ssize_t __kernel_getrandom(void *buffer, size_t len, unsigned int flags, void *opaque_state, size_t opaque_len) +{ + if (test_facility(129)) + return __cvdso_getrandom(buffer, len, flags, opaque_state, opaque_len); + if (unlikely(opaque_len == ~0UL && !buffer && !len && !flags)) + return -ENOSYS; + return getrandom_syscall(buffer, len, flags); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/kvm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/kvm/Makefile index 8993b55ffe..02217fb4ae 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/kvm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/kvm/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# Makefile for kernel virtual machines on s390 -# -# Copyright IBM Corp. 2008 - -include $(srctree)/virt/kvm/Makefile.kvm - -ccflags-y := -Ivirt/kvm -Iarch/s390/kvm - -kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o -kvm-y += diag.o gaccess.o guestdbg.o vsie.o pv.o - -kvm-$(CONFIG_VFIO_PCI_ZDEV_KVM) += pci.o -obj-$(CONFIG_KVM) += kvm.o +# SPDX-License-Identifier: GPL-2.0 +# Makefile for kernel virtual machines on s390 +# +# Copyright IBM Corp. 2008 + +include $(srctree)/virt/kvm/Makefile.kvm + +ccflags-y := -Ivirt/kvm -Iarch/s390/kvm + +kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o +kvm-y += diag.o gaccess.o guestdbg.o vsie.o pv.o + +kvm-$(CONFIG_VFIO_PCI_ZDEV_KVM) += pci.o +obj-$(CONFIG_KVM) += kvm.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/error-inject.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/error-inject.c index afe2638770..8c9d4da87e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/error-inject.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/lib/error-inject.c @@ -1,14 +1,14 @@ -// SPDX-License-Identifier: GPL-2.0+ -#include -#include -#include - -void override_function_with_return(struct pt_regs *regs) -{ - /* - * Emulate 'br 14'. 'regs' is captured by kprobes on entry to some - * kernel function. - */ - regs->psw.addr = regs->gprs[14]; -} -NOKPROBE_SYMBOL(override_function_with_return); +// SPDX-License-Identifier: GPL-2.0+ +#include +#include +#include + +void override_function_with_return(struct pt_regs *regs) +{ + /* + * Emulate 'br 14'. 'regs' is captured by kprobes on entry to some + * kernel function. + */ + regs->psw.addr = regs->gprs[14]; +} +NOKPROBE_SYMBOL(override_function_with_return); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/Makefile index 7b8b713cac..f6c2db7a86 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/Makefile @@ -1,14 +1,14 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux s390-specific parts of the memory manager. -# - -obj-y := init.o fault.o extmem.o mmap.o vmem.o maccess.o -obj-y += page-states.o pageattr.o pgtable.o pgalloc.o extable.o - -obj-$(CONFIG_CMM) += cmm.o -obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o -obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o -obj-$(CONFIG_PTDUMP_CORE) += dump_pagetables.o -obj-$(CONFIG_PGSTE) += gmap.o -obj-$(CONFIG_PFAULT) += pfault.o +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for the linux s390-specific parts of the memory manager. +# + +obj-y := init.o fault.o extmem.o mmap.o vmem.o maccess.o +obj-y += page-states.o pageattr.o pgtable.o pgalloc.o extable.o + +obj-$(CONFIG_CMM) += cmm.o +obj-$(CONFIG_DEBUG_VIRTUAL) += physaddr.o +obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o +obj-$(CONFIG_PTDUMP_CORE) += dump_pagetables.o +obj-$(CONFIG_PGSTE) += gmap.o +obj-$(CONFIG_PFAULT) += pfault.o diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/physaddr.c b/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/physaddr.c index e2ba650271..59de866c72 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/physaddr.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/mm/physaddr.c @@ -1,15 +1,15 @@ -// SPDX-License-Identifier: GPL-2.0 -#include -#include -#include -#include - -unsigned long __phys_addr(unsigned long x, bool is_31bit) -{ - VIRTUAL_BUG_ON(is_vmalloc_or_module_addr((void *)(x))); - x = __pa_nodebug(x); - if (is_31bit) - VIRTUAL_BUG_ON(x >> 31); - return x; -} -EXPORT_SYMBOL(__phys_addr); +// SPDX-License-Identifier: GPL-2.0 +#include +#include +#include +#include + +unsigned long __phys_addr(unsigned long x, bool is_31bit) +{ + VIRTUAL_BUG_ON(is_vmalloc_or_module_addr((void *)(x))); + x = __pa_nodebug(x); + if (is_31bit) + VIRTUAL_BUG_ON(x >> 31); + return x; +} +EXPORT_SYMBOL(__phys_addr); diff --git a/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/gcc-thunk-extern.sh b/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/gcc-thunk-extern.sh old mode 100644 new mode 100755 index 3231c8e819..20bcbf6dd7 --- a/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/gcc-thunk-extern.sh +++ b/image/debian/UFI003_MB_V02/kernel/arch/s390/tools/gcc-thunk-extern.sh @@ -1,24 +1,24 @@ -#!/bin/sh -# SPDX-License-Identifier: GPL-2.0 -# Borrowed from gcc: gcc/testsuite/gcc.target/s390/nobp-section-type-conflict.c -# Checks that we don't get error: section type conflict with ‘put_page’. - -cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-table -O2 -c -o /dev/null -int a; -int b (void); -void c (int); - -static void -put_page (void) -{ - if (b ()) - c (a); -} - -__attribute__ ((__section__ (".init.text"), __cold__)) void -d (void) -{ - put_page (); - put_page (); -} -END +#!/bin/sh +# SPDX-License-Identifier: GPL-2.0 +# Borrowed from gcc: gcc/testsuite/gcc.target/s390/nobp-section-type-conflict.c +# Checks that we don't get error: section type conflict with ‘put_page’. + +cat << "END" | $@ -x c - -fno-PIE -march=z10 -mindirect-branch=thunk-extern -mfunction-return=thunk-extern -mindirect-branch-table -O2 -c -o /dev/null +int a; +int b (void); +void c (int); + +static void +put_page (void) +{ + if (b ()) + c (a); +} + +__attribute__ ((__section__ (".init.text"), __cold__)) void +d (void) +{ + put_page (); + put_page (); +} +END diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/board-titan.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/board-titan.c index 580c503dbb..074a848d8b 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/board-titan.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/board-titan.c @@ -1,21 +1,21 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/sh/boards/titan/setup.c - Setup for Titan - * - * Copyright (C) 2006 Jamie Lenehan - */ -#include -#include -#include -#include - -static void __init init_titan_irq(void) -{ - /* enable individual interrupt mode for externals */ - plat_irq_setup_pins(IRQ_MODE_IRQ); -} - -static struct sh_machine_vector mv_titan __initmv = { - .mv_name = "Titan", - .mv_init_irq = init_titan_irq, -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/sh/boards/titan/setup.c - Setup for Titan + * + * Copyright (C) 2006 Jamie Lenehan + */ +#include +#include +#include +#include + +static void __init init_titan_irq(void) +{ + /* enable individual interrupt mode for externals */ + plat_irq_setup_pins(IRQ_MODE_IRQ); +} + +static struct sh_machine_vector mv_titan __initmv = { + .mv_name = "Titan", + .mv_init_irq = init_titan_irq, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Kconfig index bfb48258ee..b0abd03cac 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/Kconfig @@ -1,26 +1,26 @@ -# SPDX-License-Identifier: GPL-2.0 -if SH_HIGHLANDER - -choice - prompt "Highlander options" - default SH_R7780MP - -config SH_R7780RP - bool "R7780RP-1 board support" - depends on CPU_SUBTYPE_SH7780 - -config SH_R7780MP - bool "R7780MP board support" - depends on CPU_SUBTYPE_SH7780 - help - Selecting this option will enable support for the mass-production - version of the R7780RP. If in doubt, say Y. - -config SH_R7785RP - bool "R7785RP board support" - depends on CPU_SUBTYPE_SH7785 - select GPIOLIB - -endchoice - -endif +# SPDX-License-Identifier: GPL-2.0 +if SH_HIGHLANDER + +choice + prompt "Highlander options" + default SH_R7780MP + +config SH_R7780RP + bool "R7780RP-1 board support" + depends on CPU_SUBTYPE_SH7780 + +config SH_R7780MP + bool "R7780MP board support" + depends on CPU_SUBTYPE_SH7780 + help + Selecting this option will enable support for the mass-production + version of the R7780RP. If in doubt, say Y. + +config SH_R7785RP + bool "R7785RP board support" + depends on CPU_SUBTYPE_SH7785 + select GPIOLIB + +endchoice + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/pinmux-r7785rp.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/pinmux-r7785rp.c index 8a2afc5323..689bd8732d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/pinmux-r7785rp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-highlander/pinmux-r7785rp.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * Copyright (C) 2008 Paul Mundt - */ -#include -#include -#include -#include - -void __init highlander_plat_pinmux_setup(void) -{ - /* SCIF0 */ - gpio_request(GPIO_FN_SCIF0_CTS, NULL); - gpio_request(GPIO_FN_SCIF0_RTS, NULL); - gpio_request(GPIO_FN_SCIF0_SCK, NULL); - gpio_request(GPIO_FN_SCIF0_RXD, NULL); - gpio_request(GPIO_FN_SCIF0_TXD, NULL); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2008 Paul Mundt + */ +#include +#include +#include +#include + +void __init highlander_plat_pinmux_setup(void) +{ + /* SCIF0 */ + gpio_request(GPIO_FN_SCIF0_CTS, NULL); + gpio_request(GPIO_FN_SCIF0_RTS, NULL); + gpio_request(GPIO_FN_SCIF0_SCK, NULL); + gpio_request(GPIO_FN_SCIF0_RXD, NULL); + gpio_request(GPIO_FN_SCIF0_TXD, NULL); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/pm_wakeup.S b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/pm_wakeup.S index 8851376499..0fd43301f0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/pm_wakeup.S +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-hp6xx/pm_wakeup.S @@ -1,39 +1,39 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Copyright (c) 2006 Andriy Skulysh - */ - -#include -#include - -/* - * Kernel mode register usage: - * k0 scratch - * k1 scratch - * For more details, please have a look at entry.S - */ - -#define k0 r0 -#define k1 r1 - -ENTRY(wakeup_start) -! clear STBY bit - mov #-126, k1 - and #127, k0 - mov.b k0, @k1 -! enable refresh - mov.l 5f, k1 - mov.w 6f, k0 - mov.w k0, @k1 -! jump to handler - mov.l 4f, k1 - jmp @k1 - nop - - .align 2 -4: .long handle_interrupt -5: .long 0xffffff68 -6: .word 0x0524 - -ENTRY(wakeup_end) - nop +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (c) 2006 Andriy Skulysh + */ + +#include +#include + +/* + * Kernel mode register usage: + * k0 scratch + * k1 scratch + * For more details, please have a look at entry.S + */ + +#define k0 r0 +#define k1 r1 + +ENTRY(wakeup_start) +! clear STBY bit + mov #-126, k1 + and #127, k0 + mov.b k0, @k1 +! enable refresh + mov.l 5f, k1 + mov.w 6f, k0 + mov.w k0, @k1 +! jump to handler + mov.l 4f, k1 + jmp @k1 + nop + + .align 2 +4: .long handle_interrupt +5: .long 0xffffff68 +6: .word 0x0524 + +ENTRY(wakeup_end) + nop diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/irq.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/irq.c index 3d6ec85ba1..a250e3b901 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/irq.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-lboxre2/irq.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * linux/arch/sh/boards/lboxre2/irq.c - * - * Copyright (C) 2007 Nobuhiro Iwamatsu - * - * NTT COMWARE L-BOX RE2 Support. - */ -#include -#include -#include -#include -#include -#include - -/* - * Initialize IRQ setting - */ -void __init init_lboxre2_IRQ(void) -{ - make_imask_irq(IRQ_CF1); - make_imask_irq(IRQ_CF0); - make_imask_irq(IRQ_INTD); - make_imask_irq(IRQ_ETH1); - make_imask_irq(IRQ_ETH0); - make_imask_irq(IRQ_INTA); -} +// SPDX-License-Identifier: GPL-2.0 +/* + * linux/arch/sh/boards/lboxre2/irq.c + * + * Copyright (C) 2007 Nobuhiro Iwamatsu + * + * NTT COMWARE L-BOX RE2 Support. + */ +#include +#include +#include +#include +#include +#include + +/* + * Initialize IRQ setting + */ +void __init init_lboxre2_IRQ(void) +{ + make_imask_irq(IRQ_CF1); + make_imask_irq(IRQ_CF0); + make_imask_irq(IRQ_INTD); + make_imask_irq(IRQ_ETH1); + make_imask_irq(IRQ_ETH0); + make_imask_irq(IRQ_INTA); +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Kconfig index 613e351b36..21770e668d 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-r2d/Kconfig @@ -1,24 +1,24 @@ -# SPDX-License-Identifier: GPL-2.0 -if SH_RTS7751R2D - -menu "RTS7751R2D Board Revision" - -config RTS7751R2D_PLUS - bool "R2D-PLUS" - help - Selecting this option will configure the kernel for R2D-PLUS. - - R2D-PLUS is the smaller of the two R2D board versions, equipped - with a single PCI slot. - -config RTS7751R2D_1 - bool "R2D-1" - help - Selecting this option will configure the kernel for R2D-1. - - R2D-1 is the larger of the two R2D board versions, equipped - with two PCI slots. -endmenu - -endif - +# SPDX-License-Identifier: GPL-2.0 +if SH_RTS7751R2D + +menu "RTS7751R2D Board Revision" + +config RTS7751R2D_PLUS + bool "R2D-PLUS" + help + Selecting this option will configure the kernel for R2D-PLUS. + + R2D-PLUS is the smaller of the two R2D board versions, equipped + with a single PCI slot. + +config RTS7751R2D_1 + bool "R2D-1" + help + Selecting this option will configure the kernel for R2D-1. + + R2D-1 is the larger of the two R2D board versions, equipped + with two PCI slots. +endmenu + +endif + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Kconfig index 7081b0036f..f0299bc441 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-rsk/Kconfig @@ -1,29 +1,29 @@ -# SPDX-License-Identifier: GPL-2.0 -if SH_RSK - -choice - prompt "RSK+ options" - default SH_RSK7203 - -config SH_RSK7201 - bool "RSK7201" - depends on CPU_SUBTYPE_SH7201 - -config SH_RSK7203 - bool "RSK7203" - select GPIOLIB - depends on CPU_SUBTYPE_SH7203 - -config SH_RSK7264 - bool "RSK2+SH7264" - select GPIOLIB - depends on CPU_SUBTYPE_SH7264 - -config SH_RSK7269 - bool "RSK2+SH7269" - select GPIOLIB - depends on CPU_SUBTYPE_SH7269 - -endchoice - -endif +# SPDX-License-Identifier: GPL-2.0 +if SH_RSK + +choice + prompt "RSK+ options" + default SH_RSK7203 + +config SH_RSK7201 + bool "RSK7201" + depends on CPU_SUBTYPE_SH7201 + +config SH_RSK7203 + bool "RSK7203" + select GPIOLIB + depends on CPU_SUBTYPE_SH7203 + +config SH_RSK7264 + bool "RSK2+SH7264" + select GPIOLIB + depends on CPU_SUBTYPE_SH7264 + +config SH_RSK7269 + bool "RSK2+SH7269" + select GPIOLIB + depends on CPU_SUBTYPE_SH7269 + +endchoice + +endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/Makefile b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/Makefile index d6143c7be7..8f69fc147c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/Makefile +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/Makefile @@ -1,11 +1,11 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-$(CONFIG_SH_7619_SOLUTION_ENGINE) += board-se7619.o - -obj-$(CONFIG_SH_SOLUTION_ENGINE) += 770x/ -obj-$(CONFIG_SH_7206_SOLUTION_ENGINE) += 7206/ -obj-$(CONFIG_SH_7722_SOLUTION_ENGINE) += 7722/ -obj-$(CONFIG_SH_7751_SOLUTION_ENGINE) += 7751/ -obj-$(CONFIG_SH_7780_SOLUTION_ENGINE) += 7780/ -obj-$(CONFIG_SH_7343_SOLUTION_ENGINE) += 7343/ -obj-$(CONFIG_SH_7721_SOLUTION_ENGINE) += 7721/ -obj-$(CONFIG_SH_7724_SOLUTION_ENGINE) += 7724/ +# SPDX-License-Identifier: GPL-2.0 +obj-$(CONFIG_SH_7619_SOLUTION_ENGINE) += board-se7619.o + +obj-$(CONFIG_SH_SOLUTION_ENGINE) += 770x/ +obj-$(CONFIG_SH_7206_SOLUTION_ENGINE) += 7206/ +obj-$(CONFIG_SH_7722_SOLUTION_ENGINE) += 7722/ +obj-$(CONFIG_SH_7751_SOLUTION_ENGINE) += 7751/ +obj-$(CONFIG_SH_7780_SOLUTION_ENGINE) += 7780/ +obj-$(CONFIG_SH_7343_SOLUTION_ENGINE) += 7343/ +obj-$(CONFIG_SH_7721_SOLUTION_ENGINE) += 7721/ +obj-$(CONFIG_SH_7724_SOLUTION_ENGINE) += 7724/ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/board-se7619.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/board-se7619.c index db7b58b376..4431da64a5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/board-se7619.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/boards/mach-se/board-se7619.c @@ -1,27 +1,27 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/sh/boards/se/7619/setup.c - * - * Copyright (C) 2006 Yoshinori Sato - * - * Hitachi SH7619 SolutionEngine Support. - */ - -#include -#include -#include -#include - -static int se7619_mode_pins(void) -{ - return MODE_PIN2 | MODE_PIN0; -} - -/* - * The Machine Vector - */ - -static struct sh_machine_vector mv_se __initmv = { - .mv_name = "SolutionEngine", - .mv_mode_pins = se7619_mode_pins, -}; +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/sh/boards/se/7619/setup.c + * + * Copyright (C) 2006 Yoshinori Sato + * + * Hitachi SH7619 SolutionEngine Support. + */ + +#include +#include +#include +#include + +static int se7619_mode_pins(void) +{ + return MODE_PIN2 | MODE_PIN0; +} + +/* + * The Machine Vector + */ + +static struct sh_machine_vector mv_se __initmv = { + .mv_name = "SolutionEngine", + .mv_mode_pins = se7619_mode_pins, +}; diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Kconfig b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Kconfig index b0d63580bd..80a45ad285 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Kconfig +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/Kconfig @@ -1,20 +1,20 @@ -# SPDX-License-Identifier: GPL-2.0 -source "arch/sh/drivers/dma/Kconfig" -source "arch/sh/cchips/Kconfig" - -menu "Additional SuperH Device Drivers" - -config HEARTBEAT - bool "Heartbeat LED" - help - Use the power-on LED on your machine as a load meter. The exact - behavior is platform-dependent, but normally the flash frequency is - a hyperbolic function of the 5-minute load average. - -config PUSH_SWITCH - tristate "Push switch support" - help - This enables support for the push switch framework, a simple - framework that allows for sysfs driven switch status reporting. - -endmenu +# SPDX-License-Identifier: GPL-2.0 +source "arch/sh/drivers/dma/Kconfig" +source "arch/sh/cchips/Kconfig" + +menu "Additional SuperH Device Drivers" + +config HEARTBEAT + bool "Heartbeat LED" + help + Use the power-on LED on your machine as a load meter. The exact + behavior is platform-dependent, but normally the flash frequency is + a hyperbolic function of the 5-minute load average. + +config PUSH_SWITCH + tristate "Push switch support" + help + This enables support for the push switch framework, a simple + framework that allows for sysfs driven switch status reporting. + +endmenu diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/pci/fixups-r7780rp.c b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/pci/fixups-r7780rp.c index b08542f578..3c9139c595 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/pci/fixups-r7780rp.c +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/drivers/pci/fixups-r7780rp.c @@ -1,18 +1,18 @@ -// SPDX-License-Identifier: GPL-2.0 -/* - * arch/sh/drivers/pci/fixups-r7780rp.c - * - * Highlander R7780RP-1 PCI fixups - * - * Copyright (C) 2003 Lineo uSolutions, Inc. - * Copyright (C) 2004 - 2006 Paul Mundt - */ -#include -#include -#include -#include "pci-sh4.h" - -int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) -{ - return evt2irq(0xa20) + slot; -} +// SPDX-License-Identifier: GPL-2.0 +/* + * arch/sh/drivers/pci/fixups-r7780rp.c + * + * Highlander R7780RP-1 PCI fixups + * + * Copyright (C) 2003 Lineo uSolutions, Inc. + * Copyright (C) 2004 - 2006 Paul Mundt + */ +#include +#include +#include +#include "pci-sh4.h" + +int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) +{ + return evt2irq(0xa20) + slot; +} diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/clock.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/clock.h index 3bfd9f78dc..b65bc2908e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/clock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/clock.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CLOCK_H -#define __ASM_SH_CLOCK_H - -#include - -/* Should be defined by processor-specific code */ -void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); -int __init arch_clk_init(void); - -/* arch/sh/kernel/cpu/clock-cpg.c */ -int __init __deprecated cpg_clk_init(void); - -/* arch/sh/kernel/cpu/clock.c */ -int clk_init(void); - -#endif /* __ASM_SH_CLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CLOCK_H +#define __ASM_SH_CLOCK_H + +#include + +/* Should be defined by processor-specific code */ +void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); +int __init arch_clk_init(void); + +/* arch/sh/kernel/cpu/clock-cpg.c */ +int __init __deprecated cpg_clk_init(void); + +/* arch/sh/kernel/cpu/clock.c */ +int clk_init(void); + +#endif /* __ASM_SH_CLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cmpxchg-cas.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cmpxchg-cas.h index 737d155508..f508db6eaf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cmpxchg-cas.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/cmpxchg-cas.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CMPXCHG_CAS_H -#define __ASM_SH_CMPXCHG_CAS_H - -static inline unsigned long -__cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new) -{ - __asm__ __volatile__("cas.l %1,%0,@r0" - : "+r"(new) - : "r"(old), "z"(m) - : "t", "memory" ); - return new; -} - -static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) -{ - unsigned long old; - do old = *m; - while (__cmpxchg_u32(m, old, val) != old); - return old; -} - -#include - -#endif /* __ASM_SH_CMPXCHG_CAS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CMPXCHG_CAS_H +#define __ASM_SH_CMPXCHG_CAS_H + +static inline unsigned long +__cmpxchg_u32(volatile u32 *m, unsigned long old, unsigned long new) +{ + __asm__ __volatile__("cas.l %1,%0,@r0" + : "+r"(new) + : "r"(old), "z"(m) + : "t", "memory" ); + return new; +} + +static inline unsigned long xchg_u32(volatile u32 *m, unsigned long val) +{ + unsigned long old; + do old = *m; + while (__cmpxchg_u32(m, old, val) != old); + return old; +} + +#include + +#endif /* __ASM_SH_CMPXCHG_CAS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/device.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/device.h index 95f545d327..6f3e686a1c 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/device.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/device.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Arch specific extensions to struct device - */ -#ifndef __ASM_SH_DEVICE_H -#define __ASM_SH_DEVICE_H - -#include - -struct platform_device; -/* allocate contiguous memory chunk and fill in struct resource */ -int platform_resource_setup_memory(struct platform_device *pdev, - char *name, unsigned long memsize); - -void plat_early_device_setup(void); - -#endif /* __ASM_SH_DEVICE_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * Arch specific extensions to struct device + */ +#ifndef __ASM_SH_DEVICE_H +#define __ASM_SH_DEVICE_H + +#include + +struct platform_device; +/* allocate contiguous memory chunk and fill in struct resource */ +int platform_resource_setup_memory(struct platform_device *pdev, + char *name, unsigned long memsize); + +void plat_early_device_setup(void); + +#endif /* __ASM_SH_DEVICE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/dmabrg.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/dmabrg.h index 1eb24171bd..69e119cfd7 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/dmabrg.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/dmabrg.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * SH7760 DMABRG (USB/Audio) support - */ - -#ifndef _DMABRG_H_ -#define _DMABRG_H_ - -/* IRQ sources */ -#define DMABRGIRQ_USBDMA 0 -#define DMABRGIRQ_USBDMAERR 1 -#define DMABRGIRQ_A0TXF 2 -#define DMABRGIRQ_A0TXH 3 -#define DMABRGIRQ_A0RXF 4 -#define DMABRGIRQ_A0RXH 5 -#define DMABRGIRQ_A1TXF 6 -#define DMABRGIRQ_A1TXH 7 -#define DMABRGIRQ_A1RXF 8 -#define DMABRGIRQ_A1RXH 9 - -extern int dmabrg_request_irq(unsigned int, void(*)(void *), void *); -extern void dmabrg_free_irq(unsigned int); - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * SH7760 DMABRG (USB/Audio) support + */ + +#ifndef _DMABRG_H_ +#define _DMABRG_H_ + +/* IRQ sources */ +#define DMABRGIRQ_USBDMA 0 +#define DMABRGIRQ_USBDMAERR 1 +#define DMABRGIRQ_A0TXF 2 +#define DMABRGIRQ_A0TXH 3 +#define DMABRGIRQ_A0RXF 4 +#define DMABRGIRQ_A0RXH 5 +#define DMABRGIRQ_A1TXF 6 +#define DMABRGIRQ_A1TXH 7 +#define DMABRGIRQ_A1RXF 8 +#define DMABRGIRQ_A1RXH 9 + +extern int dmabrg_request_irq(unsigned int, void(*)(void *), void *); +extern void dmabrg_free_irq(unsigned int); + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/futex-irq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/futex-irq.h index b8c09a19a9..9bc053242e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/futex-irq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/futex-irq.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_FUTEX_IRQ_H -#define __ASM_SH_FUTEX_IRQ_H - -static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, - u32 __user *uaddr, - u32 oldval, u32 newval) -{ - unsigned long flags; - int ret; - u32 prev = 0; - - local_irq_save(flags); - - ret = get_user(prev, uaddr); - if (!ret && oldval == prev) - ret = put_user(newval, uaddr); - - local_irq_restore(flags); - - *uval = prev; - return ret; -} - -#endif /* __ASM_SH_FUTEX_IRQ_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_FUTEX_IRQ_H +#define __ASM_SH_FUTEX_IRQ_H + +static inline int atomic_futex_op_cmpxchg_inatomic(u32 *uval, + u32 __user *uaddr, + u32 oldval, u32 newval) +{ + unsigned long flags; + int ret; + u32 prev = 0; + + local_irq_save(flags); + + ret = get_user(prev, uaddr); + if (!ret && oldval == prev) + ret = put_user(newval, uaddr); + + local_irq_restore(flags); + + *uval = prev; + return ret; +} + +#endif /* __ASM_SH_FUTEX_IRQ_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/heartbeat.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/heartbeat.h index fb4b577622..4028ca4058 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/heartbeat.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/heartbeat.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_HEARTBEAT_H -#define __ASM_SH_HEARTBEAT_H - -#include - -#define HEARTBEAT_INVERTED (1 << 0) - -struct heartbeat_data { - void __iomem *base; - unsigned char *bit_pos; - unsigned int nr_bits; - struct timer_list timer; - unsigned int regsize; - unsigned int mask; - unsigned long flags; -}; - -#endif /* __ASM_SH_HEARTBEAT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_HEARTBEAT_H +#define __ASM_SH_HEARTBEAT_H + +#include + +#define HEARTBEAT_INVERTED (1 << 0) + +struct heartbeat_data { + void __iomem *base; + unsigned char *bit_pos; + unsigned int nr_bits; + struct timer_list timer; + unsigned int regsize; + unsigned int mask; + unsigned long flags; +}; + +#endif /* __ASM_SH_HEARTBEAT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/i2c-sh7760.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/i2c-sh7760.h index ed62c5d5d4..a777f1410a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/i2c-sh7760.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/i2c-sh7760.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * MMIO/IRQ and platform data for SH7760 I2C channels - */ - -#ifndef _I2C_SH7760_H_ -#define _I2C_SH7760_H_ - -#define SH7760_I2C_DEVNAME "sh7760-i2c" - -#define SH7760_I2C0_MMIO 0xFE140000 -#define SH7760_I2C0_MMIOEND 0xFE14003B - -#define SH7760_I2C1_MMIO 0xFE150000 -#define SH7760_I2C1_MMIOEND 0xFE15003B - -struct sh7760_i2c_platdata { - unsigned int speed_khz; -}; - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * MMIO/IRQ and platform data for SH7760 I2C channels + */ + +#ifndef _I2C_SH7760_H_ +#define _I2C_SH7760_H_ + +#define SH7760_I2C_DEVNAME "sh7760-i2c" + +#define SH7760_I2C0_MMIO 0xFE140000 +#define SH7760_I2C0_MMIOEND 0xFE14003B + +#define SH7760_I2C1_MMIO 0xFE150000 +#define SH7760_I2C1_MMIOEND 0xFE15003B + +struct sh7760_i2c_platdata { + unsigned int speed_khz; +}; + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/kdebug.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/kdebug.h index faaed5db59..de8693fabb 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/kdebug.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/kdebug.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_KDEBUG_H -#define __ASM_SH_KDEBUG_H - -/* Grossly misnamed. */ -enum die_val { - DIE_TRAP, - DIE_NMI, - DIE_OOPS, - DIE_BREAKPOINT, - DIE_SSTEP, -}; - -/* arch/sh/kernel/dumpstack.c */ -extern void printk_address(unsigned long address, int reliable); -extern void dump_mem(const char *str, const char *loglvl, - unsigned long bottom, unsigned long top); - -#endif /* __ASM_SH_KDEBUG_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_KDEBUG_H +#define __ASM_SH_KDEBUG_H + +/* Grossly misnamed. */ +enum die_val { + DIE_TRAP, + DIE_NMI, + DIE_OOPS, + DIE_BREAKPOINT, + DIE_SSTEP, +}; + +/* arch/sh/kernel/dumpstack.c */ +extern void printk_address(unsigned long address, int reliable); +extern void dump_mem(const char *str, const char *loglvl, + unsigned long bottom, unsigned long top); + +#endif /* __ASM_SH_KDEBUG_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/pgtable-2level.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/pgtable-2level.h index 7f89ffbda7..08bff93927 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/pgtable-2level.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/pgtable-2level.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_PGTABLE_2LEVEL_H -#define __ASM_SH_PGTABLE_2LEVEL_H - -#include - -/* - * traditional two-level paging structure - */ -#define PAGETABLE_LEVELS 2 - -/* PTE bits */ -#define PTE_MAGNITUDE 2 /* 32-bit PTEs */ - -#define PTE_SHIFT PAGE_SHIFT -#define PTE_BITS (PTE_SHIFT - PTE_MAGNITUDE) - -/* PGD bits */ -#define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) - -#define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) -#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) - -#endif /* __ASM_SH_PGTABLE_2LEVEL_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_PGTABLE_2LEVEL_H +#define __ASM_SH_PGTABLE_2LEVEL_H + +#include + +/* + * traditional two-level paging structure + */ +#define PAGETABLE_LEVELS 2 + +/* PTE bits */ +#define PTE_MAGNITUDE 2 /* 32-bit PTEs */ + +#define PTE_SHIFT PAGE_SHIFT +#define PTE_BITS (PTE_SHIFT - PTE_MAGNITUDE) + +/* PGD bits */ +#define PGDIR_SHIFT (PTE_SHIFT + PTE_BITS) + +#define PTRS_PER_PGD (PAGE_SIZE / (1 << PTE_MAGNITUDE)) +#define USER_PTRS_PER_PGD (TASK_SIZE/PGDIR_SIZE) + +#endif /* __ASM_SH_PGTABLE_2LEVEL_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/reboot.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/reboot.h index 2e45159493..5c445c90df 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/reboot.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/reboot.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_REBOOT_H -#define __ASM_SH_REBOOT_H - -#include - -struct pt_regs; - -struct machine_ops { - void (*restart)(char *cmd); - void (*halt)(void); - void (*power_off)(void); - void (*shutdown)(void); - void (*crash_shutdown)(struct pt_regs *); -}; - -extern struct machine_ops machine_ops; - -/* arch/sh/kernel/machine_kexec.c */ -void native_machine_crash_shutdown(struct pt_regs *regs); - -#endif /* __ASM_SH_REBOOT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_REBOOT_H +#define __ASM_SH_REBOOT_H + +#include + +struct pt_regs; + +struct machine_ops { + void (*restart)(char *cmd); + void (*halt)(void); + void (*power_off)(void); + void (*shutdown)(void); + void (*crash_shutdown)(struct pt_regs *); +}; + +extern struct machine_ops machine_ops; + +/* arch/sh/kernel/machine_kexec.c */ +void native_machine_crash_shutdown(struct pt_regs *regs); + +#endif /* __ASM_SH_REBOOT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/seccomp.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/seccomp.h index 2c067f2683..d4578395fd 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/seccomp.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/seccomp.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SECCOMP_H - -#include - -#define __NR_seccomp_read __NR_read -#define __NR_seccomp_write __NR_write -#define __NR_seccomp_exit __NR_exit -#define __NR_seccomp_sigreturn __NR_rt_sigreturn - -#ifdef CONFIG_CPU_LITTLE_ENDIAN -#define __SECCOMP_ARCH_LE __AUDIT_ARCH_LE -#else -#define __SECCOMP_ARCH_LE 0 -#endif - -#define SECCOMP_ARCH_NATIVE (AUDIT_ARCH_SH | __SECCOMP_ARCH_LE) -#define SECCOMP_ARCH_NATIVE_NR NR_syscalls -#define SECCOMP_ARCH_NATIVE_NAME "sh" - -#endif /* __ASM_SECCOMP_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SECCOMP_H + +#include + +#define __NR_seccomp_read __NR_read +#define __NR_seccomp_write __NR_write +#define __NR_seccomp_exit __NR_exit +#define __NR_seccomp_sigreturn __NR_rt_sigreturn + +#ifdef CONFIG_CPU_LITTLE_ENDIAN +#define __SECCOMP_ARCH_LE __AUDIT_ARCH_LE +#else +#define __SECCOMP_ARCH_LE 0 +#endif + +#define SECCOMP_ARCH_NATIVE (AUDIT_ARCH_SH | __SECCOMP_ARCH_LE) +#define SECCOMP_ARCH_NATIVE_NR NR_syscalls +#define SECCOMP_ARCH_NATIVE_NAME "sh" + +#endif /* __ASM_SECCOMP_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/shmparam.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/shmparam.h index 73768d0eba..6c580a644a 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/shmparam.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/shmparam.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/shmparam.h - * - * Copyright (C) 1999 Niibe Yutaka - * Copyright (C) 2006 Paul Mundt - */ -#ifndef __ASM_SH_SHMPARAM_H -#define __ASM_SH_SHMPARAM_H - -/* - * SH-4 and SH-3 7705 have an aliasing dcache. Bump this up to a sensible value - * for everyone, and work out the specifics from the probed cache descriptor. - */ -#define SHMLBA 0x4000 /* attach addr a multiple of this */ - -#define __ARCH_FORCE_SHMLBA - -#endif /* __ASM_SH_SHMPARAM_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/shmparam.h + * + * Copyright (C) 1999 Niibe Yutaka + * Copyright (C) 2006 Paul Mundt + */ +#ifndef __ASM_SH_SHMPARAM_H +#define __ASM_SH_SHMPARAM_H + +/* + * SH-4 and SH-3 7705 have an aliasing dcache. Bump this up to a sensible value + * for everyone, and work out the specifics from the probed cache descriptor. + */ +#define SHMLBA 0x4000 /* attach addr a multiple of this */ + +#define __ARCH_FORCE_SHMLBA + +#endif /* __ASM_SH_SHMPARAM_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/siu.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/siu.h index 0ac37d7171..35e4839d38 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/siu.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/siu.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * platform header for the SIU ASoC driver - * - * Copyright (C) 2009-2010 Guennadi Liakhovetski - */ - -#ifndef ASM_SIU_H -#define ASM_SIU_H - -struct device; - -struct siu_platform { - unsigned int dma_slave_tx_a; - unsigned int dma_slave_rx_a; - unsigned int dma_slave_tx_b; - unsigned int dma_slave_rx_b; -}; - -#endif /* ASM_SIU_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * platform header for the SIU ASoC driver + * + * Copyright (C) 2009-2010 Guennadi Liakhovetski + */ + +#ifndef ASM_SIU_H +#define ASM_SIU_H + +struct device; + +struct siu_platform { + unsigned int dma_slave_tx_a; + unsigned int dma_slave_rx_a; + unsigned int dma_slave_tx_b; + unsigned int dma_slave_rx_b; +}; + +#endif /* ASM_SIU_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock.h index 08f54f486f..fa6801f635 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/spinlock.h - * - * Copyright (C) 2002, 2003 Paul Mundt - * Copyright (C) 2006, 2007 Akio Idehara - */ -#ifndef __ASM_SH_SPINLOCK_H -#define __ASM_SH_SPINLOCK_H - -#if defined(CONFIG_CPU_SH4A) -#include -#elif defined(CONFIG_CPU_J2) -#include -#else -#error "The configured cpu type does not support spinlocks" -#endif - -#endif /* __ASM_SH_SPINLOCK_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/spinlock.h + * + * Copyright (C) 2002, 2003 Paul Mundt + * Copyright (C) 2006, 2007 Akio Idehara + */ +#ifndef __ASM_SH_SPINLOCK_H +#define __ASM_SH_SPINLOCK_H + +#if defined(CONFIG_CPU_SH4A) +#include +#elif defined(CONFIG_CPU_J2) +#include +#else +#error "The configured cpu type does not support spinlocks" +#endif + +#endif /* __ASM_SH_SPINLOCK_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock_types.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock_types.h index 7c373a1d7d..907bda4b16 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock_types.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/spinlock_types.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SPINLOCK_TYPES_H -#define __ASM_SH_SPINLOCK_TYPES_H - -#ifndef __LINUX_SPINLOCK_TYPES_RAW_H -# error "please don't include this file directly" -#endif - -typedef struct { - volatile unsigned int lock; -} arch_spinlock_t; - -#define __ARCH_SPIN_LOCK_UNLOCKED { 1 } - -typedef struct { - volatile unsigned int lock; -} arch_rwlock_t; - -#define RW_LOCK_BIAS 0x01000000 -#define __ARCH_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } - -#endif +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SPINLOCK_TYPES_H +#define __ASM_SH_SPINLOCK_TYPES_H + +#ifndef __LINUX_SPINLOCK_TYPES_RAW_H +# error "please don't include this file directly" +#endif + +typedef struct { + volatile unsigned int lock; +} arch_spinlock_t; + +#define __ARCH_SPIN_LOCK_UNLOCKED { 1 } + +typedef struct { + volatile unsigned int lock; +} arch_rwlock_t; + +#define RW_LOCK_BIAS 0x01000000 +#define __ARCH_RW_LOCK_UNLOCKED { RW_LOCK_BIAS } + +#endif diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stackprotector.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stackprotector.h index 20b33cb83a..665dafac37 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stackprotector.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stackprotector.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_STACKPROTECTOR_H -#define __ASM_SH_STACKPROTECTOR_H - -extern unsigned long __stack_chk_guard; - -/* - * Initialize the stackprotector canary value. - * - * NOTE: this must only be called from functions that never return, - * and it must always be inlined. - */ -static __always_inline void boot_init_stack_canary(void) -{ - unsigned long canary = get_random_canary(); - - current->stack_canary = canary; - __stack_chk_guard = current->stack_canary; -} - -#endif /* __ASM_SH_STACKPROTECTOR_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_STACKPROTECTOR_H +#define __ASM_SH_STACKPROTECTOR_H + +extern unsigned long __stack_chk_guard; + +/* + * Initialize the stackprotector canary value. + * + * NOTE: this must only be called from functions that never return, + * and it must always be inlined. + */ +static __always_inline void boot_init_stack_canary(void) +{ + unsigned long canary = get_random_canary(); + + current->stack_canary = canary; + __stack_chk_guard = current->stack_canary; +} + +#endif /* __ASM_SH_STACKPROTECTOR_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stacktrace.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stacktrace.h index 80b9b8166a..4f98cdc64e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stacktrace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/stacktrace.h @@ -1,21 +1,21 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Copyright (C) 2009 Matt Fleming - * - * Based on: - * The x86 implementation - arch/x86/include/asm/stacktrace.h - */ -#ifndef _ASM_SH_STACKTRACE_H -#define _ASM_SH_STACKTRACE_H - -/* Generic stack tracer with callbacks */ - -struct stacktrace_ops { - void (*address)(void *data, unsigned long address, int reliable); -}; - -void dump_trace(struct task_struct *tsk, struct pt_regs *regs, - unsigned long *stack, - const struct stacktrace_ops *ops, void *data); - -#endif /* _ASM_SH_STACKTRACE_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (C) 2009 Matt Fleming + * + * Based on: + * The x86 implementation - arch/x86/include/asm/stacktrace.h + */ +#ifndef _ASM_SH_STACKTRACE_H +#define _ASM_SH_STACKTRACE_H + +/* Generic stack tracer with callbacks */ + +struct stacktrace_ops { + void (*address)(void *data, unsigned long address, int reliable); +}; + +void dump_trace(struct task_struct *tsk, struct pt_regs *regs, + unsigned long *stack, + const struct stacktrace_ops *ops, void *data); + +#endif /* _ASM_SH_STACKTRACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscalls.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscalls.h index 5373641398..39240e06e8 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscalls.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/syscalls.h @@ -1,15 +1,15 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_SYSCALLS_H -#define __ASM_SH_SYSCALLS_H - -asmlinkage int old_mmap(unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - int fd, unsigned long off); -asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, - unsigned long prot, unsigned long flags, - unsigned long fd, unsigned long pgoff); -asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op); - -#include - -#endif /* __ASM_SH_SYSCALLS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_SYSCALLS_H +#define __ASM_SH_SYSCALLS_H + +asmlinkage int old_mmap(unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + int fd, unsigned long off); +asmlinkage long sys_mmap2(unsigned long addr, unsigned long len, + unsigned long prot, unsigned long flags, + unsigned long fd, unsigned long pgoff); +asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op); + +#include + +#endif /* __ASM_SH_SYSCALLS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/traps.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/traps.h index 866dd66322..ba831bc7e0 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/traps.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/traps.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_TRAPS_H -#define __ASM_SH_TRAPS_H - -#include - -# include - -BUILD_TRAP_HANDLER(address_error); -BUILD_TRAP_HANDLER(debug); -BUILD_TRAP_HANDLER(bug); -BUILD_TRAP_HANDLER(breakpoint); -BUILD_TRAP_HANDLER(singlestep); -BUILD_TRAP_HANDLER(fpu_error); -BUILD_TRAP_HANDLER(fpu_state_restore); -BUILD_TRAP_HANDLER(nmi); - -#endif /* __ASM_SH_TRAPS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_TRAPS_H +#define __ASM_SH_TRAPS_H + +#include + +# include + +BUILD_TRAP_HANDLER(address_error); +BUILD_TRAP_HANDLER(debug); +BUILD_TRAP_HANDLER(bug); +BUILD_TRAP_HANDLER(breakpoint); +BUILD_TRAP_HANDLER(singlestep); +BUILD_TRAP_HANDLER(fpu_error); +BUILD_TRAP_HANDLER(fpu_state_restore); +BUILD_TRAP_HANDLER(nmi); + +#endif /* __ASM_SH_TRAPS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmlinux.lds.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmlinux.lds.h index 2b7f08513c..8d96c4f9b3 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmlinux.lds.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/asm/vmlinux.lds.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_VMLINUX_LDS_H -#define __ASM_SH_VMLINUX_LDS_H - -#include - -#ifdef CONFIG_DWARF_UNWINDER -#define DWARF_EH_FRAME \ - .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \ - __start_eh_frame = .; \ - *(.eh_frame) \ - __stop_eh_frame = .; \ - } -#else -#define DWARF_EH_FRAME -#endif - -#endif /* __ASM_SH_VMLINUX_LDS_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_VMLINUX_LDS_H +#define __ASM_SH_VMLINUX_LDS_H + +#include + +#ifdef CONFIG_DWARF_UNWINDER +#define DWARF_EH_FRAME \ + .eh_frame : AT(ADDR(.eh_frame) - LOAD_OFFSET) { \ + __start_eh_frame = .; \ + *(.eh_frame) \ + __stop_eh_frame = .; \ + } +#else +#define DWARF_EH_FRAME +#endif + +#endif /* __ASM_SH_VMLINUX_LDS_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/addrspace.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/addrspace.h index c69caeb2d5..d8bf5d7d2f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/addrspace.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/addrspace.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Definitions for the address spaces of the SH-2 CPUs. - * - * Copyright (C) 2003 Paul Mundt - */ -#ifndef __ASM_CPU_SH2_ADDRSPACE_H -#define __ASM_CPU_SH2_ADDRSPACE_H - -#define P0SEG 0x00000000 -#define P1SEG 0x80000000 -#define P2SEG 0xa0000000 -#define P3SEG 0xc0000000 -#define P4SEG 0xe0000000 - -#endif /* __ASM_CPU_SH2_ADDRSPACE_H */ +/* SPDX-License-Identifier: GPL-2.0 + * + * Definitions for the address spaces of the SH-2 CPUs. + * + * Copyright (C) 2003 Paul Mundt + */ +#ifndef __ASM_CPU_SH2_ADDRSPACE_H +#define __ASM_CPU_SH2_ADDRSPACE_H + +#define P0SEG 0x00000000 +#define P1SEG 0x80000000 +#define P2SEG 0xa0000000 +#define P3SEG 0xc0000000 +#define P4SEG 0xe0000000 + +#endif /* __ASM_CPU_SH2_ADDRSPACE_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/pfc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/pfc.h index a51079eacd..879d2c9da5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/pfc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/pfc.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * SH Pin Function Control Initialization - * - * Copyright (C) 2012 Renesas Solutions Corp. - */ - -#ifndef __ARCH_SH_CPU_PFC_H__ -#define __ARCH_SH_CPU_PFC_H__ - -#include - -struct resource; - -int sh_pfc_register(const char *name, - struct resource *resource, u32 num_resources); - -#endif /* __ARCH_SH_CPU_PFC_H__ */ +/* SPDX-License-Identifier: GPL-2.0 + * + * SH Pin Function Control Initialization + * + * Copyright (C) 2012 Renesas Solutions Corp. + */ + +#ifndef __ARCH_SH_CPU_PFC_H__ +#define __ARCH_SH_CPU_PFC_H__ + +#include + +struct resource; + +int sh_pfc_register(const char *name, + struct resource *resource, u32 num_resources); + +#endif /* __ARCH_SH_CPU_PFC_H__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/sigcontext.h index 1a66e34032..e005dd176f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-common/cpu/sigcontext.h @@ -1,18 +1,18 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH2_SIGCONTEXT_H -#define __ASM_CPU_SH2_SIGCONTEXT_H - -struct sigcontext { - unsigned long oldmask; - - /* CPU registers */ - unsigned long sc_regs[16]; - unsigned long sc_pc; - unsigned long sc_pr; - unsigned long sc_sr; - unsigned long sc_gbr; - unsigned long sc_mach; - unsigned long sc_macl; -}; - -#endif /* __ASM_CPU_SH2_SIGCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH2_SIGCONTEXT_H +#define __ASM_CPU_SH2_SIGCONTEXT_H + +struct sigcontext { + unsigned long oldmask; + + /* CPU registers */ + unsigned long sc_regs[16]; + unsigned long sc_pc; + unsigned long sc_pr; + unsigned long sc_sr; + unsigned long sc_gbr; + unsigned long sc_mach; + unsigned long sc_macl; +}; + +#endif /* __ASM_CPU_SH2_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/adc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/adc.h index 1041a76249..2ee206c9bf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/adc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/adc.h @@ -1,29 +1,29 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH3_ADC_H -#define __ASM_CPU_SH3_ADC_H - -/* - * Copyright (C) 2004 Andriy Skulysh - */ - - -#define ADDRAH 0xa4000080 -#define ADDRAL 0xa4000082 -#define ADDRBH 0xa4000084 -#define ADDRBL 0xa4000086 -#define ADDRCH 0xa4000088 -#define ADDRCL 0xa400008a -#define ADDRDH 0xa400008c -#define ADDRDL 0xa400008e -#define ADCSR 0xa4000090 - -#define ADCSR_ADF 0x80 -#define ADCSR_ADIE 0x40 -#define ADCSR_ADST 0x20 -#define ADCSR_MULTI 0x10 -#define ADCSR_CKS 0x08 -#define ADCSR_CH_MASK 0x07 - -#define ADCR 0xa4000092 - -#endif /* __ASM_CPU_SH3_ADC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH3_ADC_H +#define __ASM_CPU_SH3_ADC_H + +/* + * Copyright (C) 2004 Andriy Skulysh + */ + + +#define ADDRAH 0xa4000080 +#define ADDRAL 0xa4000082 +#define ADDRBH 0xa4000084 +#define ADDRBL 0xa4000086 +#define ADDRCH 0xa4000088 +#define ADDRCL 0xa400008a +#define ADDRDH 0xa400008c +#define ADDRDL 0xa400008e +#define ADCSR 0xa4000090 + +#define ADCSR_ADF 0x80 +#define ADCSR_ADIE 0x40 +#define ADCSR_ADST 0x20 +#define ADCSR_MULTI 0x10 +#define ADCSR_CKS 0x08 +#define ADCSR_CH_MASK 0x07 + +#define ADCR 0xa4000092 + +#endif /* __ASM_CPU_SH3_ADC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/dma.h index 693b5801a1..cd139681af 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/dma.h @@ -1,19 +1,19 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH3_DMA_H -#define __ASM_CPU_SH3_DMA_H - -#include - -#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ - defined(CONFIG_CPU_SUBTYPE_SH7721) || \ - defined(CONFIG_CPU_SUBTYPE_SH7710) || \ - defined(CONFIG_CPU_SUBTYPE_SH7712) -#define SH_DMAC_BASE0 0xa4010020 -#else /* SH7705/06/07/09 */ -#define SH_DMAC_BASE0 0xa4000020 -#endif - -#define DMTE0_IRQ evt2irq(0x800) -#define DMTE4_IRQ evt2irq(0xb80) - -#endif /* __ASM_CPU_SH3_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH3_DMA_H +#define __ASM_CPU_SH3_DMA_H + +#include + +#if defined(CONFIG_CPU_SUBTYPE_SH7720) || \ + defined(CONFIG_CPU_SUBTYPE_SH7721) || \ + defined(CONFIG_CPU_SUBTYPE_SH7710) || \ + defined(CONFIG_CPU_SUBTYPE_SH7712) +#define SH_DMAC_BASE0 0xa4010020 +#else /* SH7705/06/07/09 */ +#define SH_DMAC_BASE0 0xa4000020 +#endif + +#define DMTE0_IRQ evt2irq(0x800) +#define DMTE4_IRQ evt2irq(0xb80) + +#endif /* __ASM_CPU_SH3_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/freq.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/freq.h index 31388e0701..7290f02b71 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/freq.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/freq.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/cpu-sh3/freq.h - * - * Copyright (C) 2002, 2003 Paul Mundt - */ -#ifndef __ASM_CPU_SH3_FREQ_H -#define __ASM_CPU_SH3_FREQ_H - -#ifdef CONFIG_CPU_SUBTYPE_SH7712 -#define FRQCR 0xA415FF80 -#else -#define FRQCR 0xffffff80 -#endif - -#define MIN_DIVISOR_NR 0 -#define MAX_DIVISOR_NR 4 - -#define FRQCR_CKOEN 0x0100 -#define FRQCR_PLLEN 0x0080 -#define FRQCR_PSTBY 0x0040 - -#endif /* __ASM_CPU_SH3_FREQ_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/cpu-sh3/freq.h + * + * Copyright (C) 2002, 2003 Paul Mundt + */ +#ifndef __ASM_CPU_SH3_FREQ_H +#define __ASM_CPU_SH3_FREQ_H + +#ifdef CONFIG_CPU_SUBTYPE_SH7712 +#define FRQCR 0xA415FF80 +#else +#define FRQCR 0xffffff80 +#endif + +#define MIN_DIVISOR_NR 0 +#define MAX_DIVISOR_NR 4 + +#define FRQCR_CKOEN 0x0100 +#define FRQCR_PLLEN 0x0080 +#define FRQCR_PSTBY 0x0040 + +#endif /* __ASM_CPU_SH3_FREQ_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/watchdog.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/watchdog.h index f4571bbb77..9d7e9d9868 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/watchdog.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh3/cpu/watchdog.h @@ -1,22 +1,22 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/cpu-sh3/watchdog.h - * - * Copyright (C) 2002, 2003 Paul Mundt - */ -#ifndef __ASM_CPU_SH3_WATCHDOG_H -#define __ASM_CPU_SH3_WATCHDOG_H - -/* Register definitions */ -#define WTCNT 0xffffff84 -#define WTCSR 0xffffff86 - -/* Bit definitions */ -#define WTCSR_TME 0x80 -#define WTCSR_WT 0x40 -#define WTCSR_RSTS 0x20 -#define WTCSR_WOVF 0x10 -#define WTCSR_IOVF 0x08 - -#endif /* __ASM_CPU_SH3_WATCHDOG_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/cpu-sh3/watchdog.h + * + * Copyright (C) 2002, 2003 Paul Mundt + */ +#ifndef __ASM_CPU_SH3_WATCHDOG_H +#define __ASM_CPU_SH3_WATCHDOG_H + +/* Register definitions */ +#define WTCNT 0xffffff84 +#define WTCSR 0xffffff86 + +/* Bit definitions */ +#define WTCSR_TME 0x80 +#define WTCSR_WT 0x40 +#define WTCSR_RSTS 0x20 +#define WTCSR_WOVF 0x10 +#define WTCSR_IOVF 0x08 + +#endif /* __ASM_CPU_SH3_WATCHDOG_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/dma.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/dma.h index e7ed3643a1..e97fb2c791 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/dma.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/dma.h @@ -1,17 +1,17 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH4_DMA_H -#define __ASM_CPU_SH4_DMA_H - -#include - -/* - * SH7750/SH7751/SH7760 - */ -#define DMTE0_IRQ evt2irq(0x640) -#define DMTE4_IRQ evt2irq(0x780) -#define DMTE6_IRQ evt2irq(0x7c0) -#define DMAE0_IRQ evt2irq(0x6c0) - -#define SH_DMAC_BASE0 0xffa00000 - -#endif /* __ASM_CPU_SH4_DMA_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH4_DMA_H +#define __ASM_CPU_SH4_DMA_H + +#include + +/* + * SH7750/SH7751/SH7760 + */ +#define DMTE0_IRQ evt2irq(0x640) +#define DMTE4_IRQ evt2irq(0x780) +#define DMTE6_IRQ evt2irq(0x7c0) +#define DMAE0_IRQ evt2irq(0x6c0) + +#define SH_DMAC_BASE0 0xffa00000 + +#endif /* __ASM_CPU_SH4_DMA_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/rtc.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/rtc.h index 0e2cbeb0b6..4564756694 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/rtc.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/rtc.h @@ -1,14 +1,14 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_CPU_SH4_RTC_H -#define __ASM_SH_CPU_SH4_RTC_H - -#if defined(CONFIG_CPU_SUBTYPE_SH7722) || defined(CONFIG_CPU_SUBTYPE_SH7723) -#define rtc_reg_size sizeof(u16) -#else -#define rtc_reg_size sizeof(u32) -#endif - -#define RTC_BIT_INVERTED 0x40 /* bug on SH7750, SH7750S */ -#define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR - -#endif /* __ASM_SH_CPU_SH4_RTC_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_CPU_SH4_RTC_H +#define __ASM_SH_CPU_SH4_RTC_H + +#if defined(CONFIG_CPU_SUBTYPE_SH7722) || defined(CONFIG_CPU_SUBTYPE_SH7723) +#define rtc_reg_size sizeof(u16) +#else +#define rtc_reg_size sizeof(u32) +#endif + +#define RTC_BIT_INVERTED 0x40 /* bug on SH7750, SH7750S */ +#define RTC_DEF_CAPABILITIES RTC_CAP_4_DIGIT_YEAR + +#endif /* __ASM_SH_CPU_SH4_RTC_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/sigcontext.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/sigcontext.h index 1061bdb3f3..2cc5f55dca 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/sigcontext.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/cpu-sh4/cpu/sigcontext.h @@ -1,25 +1,25 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_CPU_SH4_SIGCONTEXT_H -#define __ASM_CPU_SH4_SIGCONTEXT_H - -struct sigcontext { - unsigned long oldmask; - - /* CPU registers */ - unsigned long sc_regs[16]; - unsigned long sc_pc; - unsigned long sc_pr; - unsigned long sc_sr; - unsigned long sc_gbr; - unsigned long sc_mach; - unsigned long sc_macl; - - /* FPU registers */ - unsigned long sc_fpregs[16]; - unsigned long sc_xfpregs[16]; - unsigned int sc_fpscr; - unsigned int sc_fpul; - unsigned int sc_ownedfp; -}; - -#endif /* __ASM_CPU_SH4_SIGCONTEXT_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_CPU_SH4_SIGCONTEXT_H +#define __ASM_CPU_SH4_SIGCONTEXT_H + +struct sigcontext { + unsigned long oldmask; + + /* CPU registers */ + unsigned long sc_regs[16]; + unsigned long sc_pc; + unsigned long sc_pr; + unsigned long sc_sr; + unsigned long sc_gbr; + unsigned long sc_mach; + unsigned long sc_macl; + + /* FPU registers */ + unsigned long sc_fpregs[16]; + unsigned long sc_xfpregs[16]; + unsigned int sc_fpscr; + unsigned int sc_fpul; + unsigned int sc_ownedfp; +}; + +#endif /* __ASM_CPU_SH4_SIGCONTEXT_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/lboxre2.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/lboxre2.h index 518123f07f..5b6bb8e3cf 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/lboxre2.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/lboxre2.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_LBOXRE2_H -#define __ASM_SH_LBOXRE2_H - -/* - * Copyright (C) 2007 Nobuhiro Iwamatsu - * - * NTT COMWARE L-BOX RE2 support - */ -#include - -#define IRQ_CF1 evt2irq(0x320) /* CF1 */ -#define IRQ_CF0 evt2irq(0x340) /* CF0 */ -#define IRQ_INTD evt2irq(0x360) /* INTD */ -#define IRQ_ETH1 evt2irq(0x380) /* Ether1 */ -#define IRQ_ETH0 evt2irq(0x3a0) /* Ether0 */ -#define IRQ_INTA evt2irq(0x3c0) /* INTA */ - -void init_lboxre2_IRQ(void); - -#define __IO_PREFIX lboxre2 -#include - -#endif /* __ASM_SH_LBOXRE2_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef __ASM_SH_LBOXRE2_H +#define __ASM_SH_LBOXRE2_H + +/* + * Copyright (C) 2007 Nobuhiro Iwamatsu + * + * NTT COMWARE L-BOX RE2 support + */ +#include + +#define IRQ_CF1 evt2irq(0x320) /* CF1 */ +#define IRQ_CF0 evt2irq(0x340) /* CF0 */ +#define IRQ_INTD evt2irq(0x360) /* INTD */ +#define IRQ_ETH1 evt2irq(0x380) /* Ether1 */ +#define IRQ_ETH0 evt2irq(0x3a0) /* Ether0 */ +#define IRQ_INTA evt2irq(0x3c0) /* INTA */ + +void init_lboxre2_IRQ(void); + +#define __IO_PREFIX lboxre2 +#include + +#endif /* __ASM_SH_LBOXRE2_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/titan.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/titan.h index e5cfe3bcfb..54df351de5 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/titan.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-common/mach/titan.h @@ -1,20 +1,20 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Platform definitions for Titan - */ -#ifndef _ASM_SH_TITAN_H -#define _ASM_SH_TITAN_H - -#include - -#define __IO_PREFIX titan -#include - -/* IRQ assignments */ -#define TITAN_IRQ_WAN evt2irq(0x240) /* eth0 (WAN) */ -#define TITAN_IRQ_LAN evt2irq(0x2a0) /* eth1 (LAN) */ -#define TITAN_IRQ_MPCIA evt2irq(0x300) /* mPCI A */ -#define TITAN_IRQ_MPCIB evt2irq(0x360) /* mPCI B */ -#define TITAN_IRQ_USB evt2irq(0x360) /* USB */ - -#endif /* __ASM_SH_TITAN_H */ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Platform definitions for Titan + */ +#ifndef _ASM_SH_TITAN_H +#define _ASM_SH_TITAN_H + +#include + +#define __IO_PREFIX titan +#include + +/* IRQ assignments */ +#define TITAN_IRQ_WAN evt2irq(0x240) /* eth0 (WAN) */ +#define TITAN_IRQ_LAN evt2irq(0x2a0) /* eth1 (LAN) */ +#define TITAN_IRQ_MPCIA evt2irq(0x300) /* mPCI A */ +#define TITAN_IRQ_MPCIB evt2irq(0x360) /* mPCI B */ +#define TITAN_IRQ_USB evt2irq(0x360) /* USB */ + +#endif /* __ASM_SH_TITAN_H */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-dreamcast/mach/pci.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-dreamcast/mach/pci.h index 77d5a7ff1c..c037c1ec63 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-dreamcast/mach/pci.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-dreamcast/mach/pci.h @@ -1,24 +1,24 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * include/asm-sh/dreamcast/pci.h - * - * Copyright (C) 2001, 2002 M. R. Brown - * Copyright (C) 2002, 2003 Paul Mundt - */ -#ifndef __ASM_SH_DREAMCAST_PCI_H -#define __ASM_SH_DREAMCAST_PCI_H - -#include - -#define GAPSPCI_REGS 0x01001400 -#define GAPSPCI_DMA_BASE 0x01840000 -#define GAPSPCI_DMA_SIZE 32768 -#define GAPSPCI_BBA_CONFIG 0x01001600 -#define GAPSPCI_BBA_CONFIG_SIZE 0x2000 - -#define GAPSPCI_IRQ HW_EVENT_EXTERNAL - -extern struct pci_ops gapspci_pci_ops; - -#endif /* __ASM_SH_DREAMCAST_PCI_H */ - +/* SPDX-License-Identifier: GPL-2.0 + * + * include/asm-sh/dreamcast/pci.h + * + * Copyright (C) 2001, 2002 M. R. Brown + * Copyright (C) 2002, 2003 Paul Mundt + */ +#ifndef __ASM_SH_DREAMCAST_PCI_H +#define __ASM_SH_DREAMCAST_PCI_H + +#include + +#define GAPSPCI_REGS 0x01001400 +#define GAPSPCI_DMA_BASE 0x01840000 +#define GAPSPCI_DMA_SIZE 32768 +#define GAPSPCI_BBA_CONFIG 0x01001600 +#define GAPSPCI_BBA_CONFIG_SIZE 0x2000 + +#define GAPSPCI_IRQ HW_EVENT_EXTERNAL + +extern struct pci_ops gapspci_pci_ops; + +#endif /* __ASM_SH_DREAMCAST_PCI_H */ + diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-kfr2r09/mach/romimage.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-kfr2r09/mach/romimage.h index e6c8bc6397..209275872f 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-kfr2r09/mach/romimage.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-kfr2r09/mach/romimage.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifdef __ASSEMBLY__ - -/* kfr2r09 board specific boot code: - * converts the "partner-jet-script.txt" script into assembly - * the assembly code is the first code to be executed in the romImage - */ - -#include -#include - - /* execute icbi after enabling cache */ - mov.l 1f, r0 - icbi @r0 - - /* jump to cached area */ - mova 2f, r0 - jmp @r0 - nop - - .align 2 -1: .long 0xa8000000 -2: - -#else /* __ASSEMBLY__ */ - -static inline void mmcif_update_progress(int nr) -{ -} - -#endif /* __ASSEMBLY__ */ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifdef __ASSEMBLY__ + +/* kfr2r09 board specific boot code: + * converts the "partner-jet-script.txt" script into assembly + * the assembly code is the first code to be executed in the romImage + */ + +#include +#include + + /* execute icbi after enabling cache */ + mov.l 1f, r0 + icbi @r0 + + /* jump to cached area */ + mova 2f, r0 + jmp @r0 + nop + + .align 2 +1: .long 0xa8000000 +2: + +#else /* __ASSEMBLY__ */ + +static inline void mmcif_update_progress(int nr) +{ +} + +#endif /* __ASSEMBLY__ */ diff --git a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-migor/mach/migor.h b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-migor/mach/migor.h index 9e44105cf8..2a422b778e 100644 --- a/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-migor/mach/migor.h +++ b/image/debian/UFI003_MB_V02/kernel/arch/sh/include/mach-migor/mach/migor.h @@ -1,16 +1,16 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ASM_SH_MIGOR_H -#define __ASM_SH_MIGOR_H - -#define PORT_MSELCRA 0xa4050180 -#define PORT_MSELCRB 0xa4050182 -#define BSC_CS4BCR 0xfec10010 -#define BSC_CS6ABCR 0xfec1001c -#define BSC_CS4WCR 0xfec10030 - -#include